Files
2006Scape/2006Scape Server/ServerConfig.Sample.json
T
Dark98 e1efbb0fdf Website Integration Rewrite, Upgrades & Plugin Migration
- Remove synchronous website integration execution from the GameEngine 600ms tick loop
- Decouple website credentials and toggles from ConfigLoader, secrets.json, and Constants.WEBSITE_INTEGRATION
- Introduce modular "website" configuration group with independent toggles for players_online and registered_accounts
- Consolidate background tasks onto a single daemon ScheduledExecutorService with graceful lifecycle management via ServerStartupEvent and ServerShutdownEvent
- Optimize character directory counting with Java NIO streaming to prevent heap allocations
- Add UTF-8 URL encoding, User-Agent headers, safe stream handling, and network exception throttling
2026-11-13 01:12:15 +00:00

42 lines
1007 B
JSON

{
"core": {
"server_name": "2006Scape",
"server_test_version": 2.3,
"gui_enabled": false,
"website_link": "https://2006Scape.org",
"server_debug": false,
"file_server": true,
"http_port": 8080,
"jaggrab_port": 43595,
"world_id": 1,
"xp_rate": 1.0,
"variable_xp_rate": false,
"variable_xp_rates": [1, 2, 5, 10],
"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,
"max_players": 200,
"cycle_logging": true,
"cycle_logging_tick": 10
},
"discord": {
"token": "",
"welcome_channel_id": "655143683083206667",
"log_channel_id": "1083146780507656294",
"player_count": false
},
"website": {
"password": "",
"players_online": false,
"registered_accounts": false
}
}