diff options
Diffstat (limited to 'config.sample.json')
| -rw-r--r-- | config.sample.json | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/config.sample.json b/config.sample.json new file mode 100644 index 0000000..88d62d0 --- /dev/null +++ b/config.sample.json @@ -0,0 +1,128 @@ +{
+ "gameLocation": "./game/",
+ "secret": "38F7E3B816EF9F31BFAB8F4C9716C90D106BD85E9D6913FBB4D833C866F837B0",
+ "simNFS": "./nfs",
+
+ "database": {
+ "connectionString": "server=127.0.0.1;uid=fsoserver;pwd=password;database=fso;"
+ },
+
+ "services": {
+ "tasks": {
+ "enabled": true,
+ "call_sign": "callisto",
+ "binding": "0.0.0.0:35100",
+ "internal_host": "127.0.0.1:35",
+ "public_host": "127.0.0.1:35",
+ // "certificate": "auth.east.ea.com.pfx",
+ "schedule": [
+ {
+ "cron": "0 3 * * *",
+ "task": "prune_database",
+ "timeout": 3600,
+ "parameter": {}
+ },
+ {
+ "cron": "0 4 * * *",
+ "task": "bonus",
+ "timeout": 3600,
+ "shard_id": 1,
+ "parameter": {}
+ },
+ {
+ "cron": "0 4 * * *",
+ "task": "job_balance",
+ "timeout": 3600,
+ "parameter": {}
+ },
+ {
+ "cron": "0 9 * * *",
+ "task": "shutdown",
+ "timeout": 3600,
+ "parameter": {}
+ },
+ {
+ "cron": "0 0 * * *",
+ "task": "neighborhood_tick",
+ "timeout": 3600,
+ "run_if_missed": true,
+ "parameter": {}
+ },
+ {
+ "cron": "0 0 * * *",
+ "task": "birthday_gift",
+ "timeout": 3600,
+ "run_if_missed": true,
+ "parameter": {}
+ }
+ ],
+ "tuning": {
+ "bonus": {
+ "property_bonus": {
+ "per_unit": 10,
+ "overrides": {
+ "1": 1500,
+ "2": 1250,
+ "3": 1000
+ }
+ },
+ "visitor_bonus": {
+ "per_unit": 8
+ }
+ },
+ "birthdayGift": {
+ "items": [
+ {
+ "age": 1000,
+ "guid": 1303919565,
+ "mail_subject": "1000 Days!",
+ "mail_message": "This is an example gift that shows how birthday gifts can be awarded by the server at different milestones - this one is for 1000 days. Please change this message. Or leave it the same, I don't mind.\n - Rhys",
+ "mail_sender_name": "FreeSO Developers"
+ }
+ ]
+ }
+ }
+ },
+ "userApi": {
+ "enabled": true,
+ "bindings": [
+ "http://+:9000/"
+ ],
+ // "cdnUrl": "http://0.0.0.0:9000",
+ "maintenance": false
+ },
+ "cities": [
+ {
+ "call_sign": "ganymede",
+ "id": 1,
+ "binding": "0.0.0.0:33100",
+ "internal_host": "127.0.0.1:33",
+ "public_host": "0.0.0.0:33",
+ // "certificate": "auth.east.ea.com.pfx",
+ "neighborhoods": {
+ "mayor_elegibility_limit": 4,
+ "mayor_elegibility_falloff": 4,
+ "min_nominations": 2,
+ "election_week_align": true,
+ "election_move_penalty": 14
+ }
+ }
+ ],
+ "lots": [
+ {
+ "call_sign": "europa",
+ "binding": "0.0.0.0:34100",
+ "internal_host": "127.0.0.1:34",
+ "public_host": "0.0.0.0:34",
+ // "certificate": "auth.east.ea.com.pfx",
+ "max_lots": 25,
+ "cities": [
+ {
+ "id": 1,
+ "host": "127.0.0.1:33100"
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file |
