diff --git a/etc/lacuna.example.conf b/etc/lacuna.example.conf index 685e465..aca130d 100644 --- a/etc/lacuna.example.conf +++ b/etc/lacuna.example.conf @@ -1,144 +1,118 @@ # config-file-type: JSON 1 { - "develop_mode" : 0, + "server_url": "https://meanjin-one.tlecommunity.com", + "assets_url": "https://assets.tlecommunity.com", - # Amazon S3 details - # "access_key" : "XXXX", - # "secret_key" : "XXXX", + "develop_mode": 0, + "offline": 0, - "bhg_param" : { -# If any are set to 0, use default. - "success" : 0, - "waste_cost" : 0, - "recovery" : 0, - "side_chance" : 0, - }, - "beanstalk" : { - "debug" : 0, - "server" : "beanstalk:11300", - "ttr" : 120, - "max_timeouts" : 10, - "max_reserves" : 10 - }, - "captcha" : { - # path to the fonts being used. - "fontpath" : "/home/lacuna/server/var/fonts", - # .ttf fonts in above path - "fonts" : [ - "Ayuthaya", - "Chalkduster", - "Caveat", - "EduNSWACTCursive", - "Merienda", - "PermanentMarker", - "PlaywriteAUQLD" + "rpc_limit": 10000, + "rpc_throttle": 200, + "self_destruct_after_inactive_days": 9999999, + + "bhg_param": { + # If any are set to 0, use default. + "success": 0, + "waste_cost": 0, + "recovery": 0, + "side_chance": 0, + }, + + "beanstalk": { + "debug": 0, + "server": "beanstalk:11300", + "ttr": 120, + "max_timeouts": 10, + "max_reserves": 10 + }, + + "captcha": { + # path to the fonts being used. + "fontpath": "/home/lacuna/server/var/fonts", + # .ttf fonts in above path + "fonts": [ + "Ayuthaya", + "Chalkduster", + "Caveat", + "EduNSWACTCursive", + "Merienda", + "PermanentMarker", + "PlaywriteAUQLD" ], - }, - "db" : { - "dsn" : "DBI:mysql:host=mysql;database=lacuna", - "password" : "lacuna", - "username" : "root" - }, - "essentia_code_server_url" : "", - "feeds" : { - "bucket" : "XXXX", - "surl" : "https://xxxx/", - "url" : "http://xxxx/" - }, - "itransact" : { - "APIKey" : "XXXX", - "APIUsername" : "XXXX", - "Gateway" : "XXXX", - "OrderFormUID" : "XXXX", - "SendCustomerEmail" : "TRUE", - "SendMerchantEmail" : "TRUE", - "TestMode" : "FALSE" - }, - "jambool" : { - "api_url" : "XXXX", - "offer_id" : "XXXX", - "secret_key" : "XXXX" - }, - "map_size" : { - "x" : [ - -1500, - 1500 - ], - "y" : [ - -1500, - 1500 - ] - }, - "memcached" : [ - { - "host" : "memcached", - "port" : "11211" - } - ], - "neutral_area" : { -# If zone is set to a valid zone, x & y are confined to within that zone. -# Coord set to 1 will further narrow Neutral area. -# Setting zone to 0 will only use x & y. -# Setting x & y outside of the zone, will result in nothing be within the NZ. -# If only coord is set, then zone boundries are ignored. - "active" : 1, - "zone" : 1, - "zone_list" : [ - "-3|0" - ], - "coord" : 0, - "x" : [ - -1000, - -750 - ], - "y" : [ - -250, - 250 - ] - }, - "offline" : 0, - "rpc_limit" : 10000, - "rpc_throttle" : 200, - "self_destruct_after_inactive_days" : 9999999, - "server_key" : "XXXX", - "server_keys" : [ - "XXXX" - ], - "server_url" : "https://meanjin-one.tlecommunity.com", - "assets_url": "https://meanjin-one.tlecommunity.com/assets", - "starter_zone" : { -# If zone is set to a valid zone, x & y are confined to within that zone. -# Coord set to 1 will further narrow area. -# Setting zone to 0 will only use x & y. -# Setting x & y outside of the zone, will result in nothing be within the NZ. -# If only coord is set, then zone boundries are ignored. - "active" : 1, - # "max_colonies" : 2, - "zone" : 1, - "zone_list" : [ - "0|0" - # "-1|-1", - # "-1|1", - # "1|-1", - # "1|1" - ], - "coord" : 0, - "x" : [ -50, 50 ], - "y" : [ -50, 50 ] - }, - "voting_sites" : [ - { - "name" : "Natalie Rose", - "url" : "https://nataliethistime.com/" - }, - { - "name" : "TLE Community", - "url" : "https://tlecommunity.com/" - } - ], - "test" : { - "foo" : "bar" - }, - "secret" : "a random code", - "email_secret" : "another random code" + }, + + "db": { + "dsn": "DBI:mysql:host=mysql;database=lacuna", + "password": "lacuna", + "username": "root" + }, + + "feeds": { + "url": "https://meanjin-one.tlecommunity.com/" + }, + + "map_size": { + "x": [-1500, 1500], + "y": [-1500, 1500] + }, + + "memcached": [ + { + "host": "memcached", + "port": "11211" + } + ], + + # If zone is set to a valid zone, x & y are confined to within that zone. + # Coord set to 1 will further narrow Neutral area. + # Setting zone to 0 will only use x & y. + # Setting x & y outside of the zone, will result in nothing be within the NZ. + # If only coord is set, then zone boundaries are ignored. + "neutral_area": { + "active": 1, + "zone": 1, + "zone_list": ["-3|0"], + "coord": 0, + "x": [-1000, -750], + "y": [-250, 250] + }, + + # Required to remember essentia amounts after empires are deleted + # Note that none of this will work as we don't have the code for the + # "essentia server" and it doesn't look like the empire implementation + # will handle those API calls failing. + "essentia_code_server_url": "", + "server_key": "XXXX", + + # Required for essentia codes to work + "server_keys": [ + "XXXX" + ], + + # If zone is set to a valid zone, x & y are confined to within that zone. + # Coord set to 1 will further narrow area. + # Setting zone to 0 will only use x & y. + # Setting x & y outside of the zone, will result in nothing be within the NZ. + # If only coord is set, then zone boundries are ignored. + "starter_zone": { + "active": 1, + # "max_colonies" : 2, + "zone": 1, + "zone_list": [ + "0|0" + # "-1|-1", + # "-1|1", + # "1|-1", + # "1|1" + ], + "coord": 0, + "x": [ -50, 50 ], + "y": [ -50, 50 ] + }, + + # Entertainment District lottery voting options + "voting_sites": [ + { "name": "Natalie Rose", "url": "https://nataliethistime.com/" }, + { "name": "TLE Community", "url": "https://tlecommunity.com/" } + ] }