GDBrowser/settings.js
GDColon c662f26698 HE WILL NEVER ADD PRIVATE SERVERS TO GDBROWSER
holy shit this is probably my biggest update yet
2021-01-18 21:54:18 -05:00

21 lines
No EOL
958 B
JavaScript

// This used to be a place for GDPS settings but that has all been moved over to servers.json
// Feel free to enable/disable stuff here for smoother local use, free of rate limits
module.exports = {
port: 2000, // Port to host website on
params: { // Always send this stuff to the servers
secret: 'Wmfd2893gb7',
gameVersion: '21',
binaryVersion: '35',
gdbrowser: '1'
},
rateLimiting: true, // Enables rate limiting to avoid api spam, feel free to disable for private use.
ipForwarding: true, // Forwards 'x-real-ip' to the servers. (requested by robtop)
cacheMapPacks: true, // Caches map packs to speed up loading. Useful if they're rarely updated.
cacheAccountIDs: true, // Caches account IDs in order to shave off an extra request to the servers.
cachePlayerIcons: true, // Caches player icons to speed up loading. Changing your icon in-game may take time to update on the site.
}