mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
Merge The File&Game Servers Into One Module (#519)
* Merge The File&Game Servers Into One Module * Make SettingsLoader A GameConstants ConfigLoader If A Config File Isn't Used, The Server Will Fall Back To The Defaults Set In GameConstants.java Config Files Can Be Loaded With The "-c/-config configfilelocation.json" Added A Default Prefilled ServerConfig.json * Update ConfigLoader * Bring Back Independant "Secrets" Loader For External Password Stuff * Added A Bunch More Vars To The ConfigLoader * Included A Sample "Server Config" * Also Updated README.md As Parabot Is No Longer Maintained & We No Longer Have A FileServer Module * Bundle FileServer with Server (docker) * Remove /udp and http port * Update .gitignore * Move FileServer from `org.apollo.jagcached` → `org/apollo/jagcached` * Tidy GameConstants & Add More Vars To ConfigLoader * Organised Up GameConstants A Little To Separate ConfigLoader Vars From The Rest * Added Some More Variables To Be Loaded Through The ConfigLoader * Fix A Derp Caused By Laziness * Add -c/-config arg to README.md * Enable FileServer By Default Co-authored-by: Danial <admin@redsparr0w.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"server_name": "2006Scape",
|
||||
"website_link": "https://2006Scape.org",
|
||||
"server_debug": false,
|
||||
"file_server": true,
|
||||
"world_id": 1,
|
||||
"members_only": false,
|
||||
"tutorial_island_enabled": false,
|
||||
"party_room_enabled": true,
|
||||
"clues_enabled": true,
|
||||
"admin_can_trade": false,
|
||||
"admin_can_sell": false,
|
||||
"respawn_x": 3222,
|
||||
"respawn_y": 3218,
|
||||
"save_timer": 120,
|
||||
"timeout": 60,
|
||||
"item_requirements": true,
|
||||
"xp_rate": 1.0,
|
||||
"max_players": 200
|
||||
}
|
||||
Reference in New Issue
Block a user