mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-12-06 11:17:17 +00:00
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
This commit is contained in:
1 parent
622b3264e1
commit
e1efbb0fdf
12 files changed
+256
-101
No files matched your search
@@ -24,7 +24,6 @@
|
||||
"timeout": 60,
|
||||
"item_requirements": true,
|
||||
"max_players": 200,
|
||||
"website_integration": false,
|
||||
"cycle_logging": true,
|
||||
"cycle_logging_tick": 10
|
||||
},
|
||||
@@ -33,5 +32,10 @@
|
||||
"welcome_channel_id": "655143683083206667",
|
||||
"log_channel_id": "1083146780507656294",
|
||||
"player_count": false
|
||||
},
|
||||
"website": {
|
||||
"password": "",
|
||||
"players_online": false,
|
||||
"registered_accounts": false
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user