-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
142 lines (115 loc) · 3.59 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
#
# TeensyMud configuration file
#
# Note that command line options will override the same named option
# in this configuration file. The default configuration is named
# 'config.yaml' and can only be overridden on the command line.
#
# version:: 3.0.0
# date:: 02/19/2013
###########################################################
### Storage configuration section
###########################################################
# Name of the database without extension 'dbtype' will determine it.
dbfile: db/testworld
# Type of database
#
# Valid values are: :yaml, :gdbm, :sdbm, :dbm, :xml, :sqlite, :sqlite3
#
dbtype: :yaml
# Cache sizes for dbm type databases
cache_width: 23
cache_depth: 7
# Cache sizes for sqlite (Number of 1K pages)
cache_size: 1000
# If you change this to false you must explicitly mark objects as
# changed when you use read accessors that modify the object. Write
# accessors are automatically safe. No affect with yaml store.
#
# Ex. Character.name.capitalize! - uses read accessor but modifies receiver
safe_read: true
# This turns property into attr_accessor
props_are_accessors_only: false
###########################################################
### Network configuration section
###########################################################
### Main server configuration
# The port to use for the telnet interface to the game
server_port: 4000
# Type of service
#
# Valid values are
# :server - run reactor as server (default)
# :client - run reactor as client
server_type: :server
# Service io handler
#
# Valid values are
# :sockio - use sockio as io handler (default)
# :lineio - use lineio as io handler
# :packetio - use packetio as io handler
server_io: :sockio
# Filters to use on this service
#
# Valid values are
#
# :filter - attach dummy filter
# :debugfilter - attach debug filter (default)
# :telnetfilter - attach telnet filter (default)
# :colorfilter - attach color filter (default)
# :terminalfilter - attach terminal filter
#
# Order is important here.
server_filters:
- :debugfilter
- :telnetfilter
- :terminalfilter
- :colorfilter
# Desired negotiation for the service
#
# Valid values are
#
# :sga - suppress go ahead
# :echo - server will do echoing
# :naws - negotiate about window size
# :ttype - negotiate terminal type
# :zmp - negotiate zmp protocol
# :binary - binary stream
# :eorec - end of record support
server_negotiation:
- :sga
# - :eorec
- :echo
- :naws
- :ttype
# - :zmp
###########################################################
### Engine configuration section
###########################################################
# not used - should set $VERBOSE?
verbose: false
# tracing on - sllooooow
trace: false
# starting location for characters
home: 1
# command interfaces to load (in order)
character_interface:
- teensy
# - tiny
object_interface:
- objects
# account system
# true - Account has multiple Characters
# false - Account is associated with one Character
account_system: false
# Max number of characters per account
character_limit: 10
# allow guest accounts
# guest accounts are not saved - names are "Guest #<acctid>"
guest_accounts: true
###########################################################
### Utility configuration section
###########################################################
# Where the server log resides
logfile: logs/server.log
###########################################################