#
# 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:: 2.10.0
# date:: 06/25/2006
###########################################################
### Storage configuration section
###########################################################
# Name of the database without extension 'dbtype' will determine it.
dbfile: db/world
# 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
# Allow new user creation
accept_new_users: true
# Require a password to create an account (Invite Only System)
#newuser_password_required: devoper0nly
# Give new players some starting money (+ 0-5 dollars). Comment out to not give $$
starting_cash: 25
# 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
# :mccp2filter - MCCP2 Compression filter (must be first)
# :debugfilter - attach debug filter (default)
# :telnetfilter - attach telnet filter (default)
# :colorfilter - attach color filter (default)
# :terminalfilter - attach terminal filter
# :mxpfilter - attach an MXP protocol filter
#
# Order is important here.
server_filters:
#- :mccp2filter
- :debugfilter
- :telnetfilter
- :terminalfilter
- :mxpfilter
- :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
# :mxp - negotiate MPX protocol
# :mccp2 - MCCP2 Compression protocol
# :binary - binary stream
# :eorec - end of record support
server_negotiation:
- :sga
# - :eorec
- :echo
- :naws
- :ttype
- :zmp
- :mxp
#- :mccp2
###########################################################
### Engine configuration section
###########################################################
# not used - should set $VERBOSE?
verbose: false
# tracing on - sllooooow
trace: false
# starting location for characters
home: 1
# starting location of infected players (You probably don't want them starting
# in your newbie area, eh?
infected_home: 1
# command interfaces to load (in order)
character_interface:
- teensy
- tiny
- zombie
- emotes
object_interface:
- objects
# account system
# true - Account has multiple Characters
# false - Account is associated with one Character
# NOTE: Multiple accounts currently do not work with ZNMud
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: false
# Enable classes/occupations
enable_occupations: true
# Random onlhy occupations
random_occupations_only: false
# List of classes/occupations
occupations:
- Unemployed
- Fireman
- Janitor
- Butcher
- Lawyer
- Hacker
- Soldier
- Doctor
- Taxi Driver
- Sailor
- Cashier
- Trucker
- Police Officer
- Journalist
- Student
- Gravedigger
- Farmer
- Scientist
- Mechanic
- Anarchist
- Pilot
- Stripper
- Drug Dealer
- Teacher
- Bartender
###########################################################
### Utility configuration section
###########################################################
# Where the server log resides
logfile: logs/server.log
# Todo file
todofile: logs/todo
# Bugs file
bugfile: logs/bugs
###########################################################