mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-09-22 22:57:56 +03:00
Make Config a real class instead of a Dict, for safer access and defaults.
This commit is contained in:
+23
-22
@@ -1,26 +1,27 @@
|
||||
database:
|
||||
# IP or DNS entry for MySQL instance
|
||||
# IP or DNS entry for MySQL instance.
|
||||
address: "localhost"
|
||||
# Database that will be used
|
||||
# Database that will be used.
|
||||
database: "bemani"
|
||||
# User who has full credentials to the above DB
|
||||
# User who has full credentials to the above DB.
|
||||
user: "bemani"
|
||||
# Password of said user
|
||||
# Password of said user.
|
||||
password: "bemani"
|
||||
|
||||
server:
|
||||
# Advertised server IP or DNS entry games will connect to
|
||||
# Advertised server IP or DNS entry games will connect to.
|
||||
address: "192.168.0.1"
|
||||
# Advertised keepalive address, must be globally pingable
|
||||
# Advertised keepalive address, must be globally pingable. Delete
|
||||
# this to use the address above instead of a unique keepalive address.
|
||||
keepalive: "127.0.0.1"
|
||||
# What port games will connect to
|
||||
# What port on the above address games will connect to.
|
||||
port: 80
|
||||
# Whether games should connect over HTTPS
|
||||
# Whether games should connect over HTTPS.
|
||||
https: False
|
||||
# Advertised frontend URI. Delete this to mask the frontend address.
|
||||
uri: "https://eagate.573.jp"
|
||||
# URI that users hitting the GET interface will be redirected to.
|
||||
# Delete this to return an HTTP error instead.
|
||||
# Delete this to return an HTTP error instead of redirecting.
|
||||
redirect: "https://eagate.573.jp"
|
||||
# Whether PCBIDs must be added to the network before games will work.
|
||||
enforce_pcbid: False
|
||||
@@ -39,31 +40,31 @@ paseli:
|
||||
infinite: True
|
||||
|
||||
support:
|
||||
# Bishi Bashi frontend/backend enabled
|
||||
# Bishi Bashi frontend/backend enabled.
|
||||
bishi: True
|
||||
# DDR frontend/backend enabled
|
||||
# DDR frontend/backend enabled.
|
||||
ddr: True
|
||||
# IIDX frontend/backend enabled
|
||||
# IIDX frontend/backend enabled.
|
||||
iidx: True
|
||||
# Jubeat frontend/backend enabled
|
||||
# Jubeat frontend/backend enabled.
|
||||
jubeat: True
|
||||
# Museca frontend/backend enabled
|
||||
# Museca frontend/backend enabled.
|
||||
museca: True
|
||||
# Pop'n Music frontend/backend enabled
|
||||
# Pop'n Music frontend/backend enabled.
|
||||
pnm: True
|
||||
# Reflec Beat frontend/backend enabled
|
||||
# Reflec Beat frontend/backend enabled.
|
||||
reflec: True
|
||||
# SDVX frontend/backend enabled
|
||||
# SDVX frontend/backend enabled.
|
||||
sdvx: True
|
||||
|
||||
# Key used to encrypt cookies, should be unique per instance
|
||||
# Key used to encrypt cookies, should be unique per network instance.
|
||||
secret_key: 'this_is_a_secret_please_change_me'
|
||||
# Name of this network
|
||||
# Name of this network.
|
||||
name: 'e-AMUSEMENT Network'
|
||||
# Administrative contact for this network
|
||||
# Administrative contact for this network.
|
||||
email: 'nobody@nowhere.com'
|
||||
# Cache DIR, should point somewhere other than /tmp for production instances
|
||||
# Cache DIR, should point somewhere other than /tmp for production instances.
|
||||
cache_dir: '/tmp'
|
||||
# Number of seconds to preserve event logs before deleting them.
|
||||
# Set to zero to disable deleting logs.
|
||||
# Set to zero or delete to disable deleting logs.
|
||||
event_log_duration: 2592000
|
||||
|
||||
Reference in New Issue
Block a user