-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Tyler Bucher edited this page Sep 6, 2018
·
3 revisions
- serverName
- serverList
- address
- port
- url
- chunkCacheLifetime
- playerRequestTime
- generalCommandInterval
- totalTickPercentage
- tickInterval
- defaultWorld
- worldList
- loadWorld
- generateWorld
- respectWorldBorder
- limitCache
- maximumChunksInCache
- jdbcDatabaseUrl
- databaseTablePrefix
- certifiedUuids
- Description: The name of the server to send to the web map. This helps to identify the server from the client server list.
- Examples:
Jacks cool server
,Survival
,Minigames Server
- Description: The list of server to network together.
- Examples:
Or empty for no extra linked servers.
serverList=[ "127.0.0.1:25565", "example.com:25565", "map.example.com:25565" ]
serverList=[ ]
- Notes: The primary server / plguin should specify any child servers which also run this plugin if you want them to be linked. If a child server is specified the client will
NOT
fetch theserverList
configuration option recursively. In simpler terms, theserverList
configuration option will not be called for the child servers if it is present in the master serverserverList
configuration option.
- Description: The address to start the WebSocket server on.
- Examples:
localhost
,127.0.0.1
,173.233.265.1
- Description: The port to start the WebSocket server on.
- Examples:
80
,443
,25568
- Notes: Some browsers do not like using certain ports on certain connection types. I will list the conflicts below.
- Chrome: Does not like accepting Secure WebSocket connections that are not using port 443 while the page is being loaded over HTTPS.
- Cloudflare: Allowed ports
- Should the web socket server use ssl.
- Examples:
false
,true
.
- The url of the map the plugin gives the players.
- Examples:
https://example.com/map/
,http://map.example.com
.
- The amount of time in milliseconds which a chunk can live in the cache. (1 second = 1000 milliseconds)
- Examples:
60000
,1000
.
- The amount of time in between calls for player information. Use -1 for real time. (1 second = 1000 milliseconds)
- Examples:
2000
,-1
.
- The amount of time in between calls for general commands like 'init'. (1 second = 1000 milliseconds)
- Examples:
30000
,1000
.
- The percent of a tick to consume processing chunks. Values range from 0.1 to 1.0.
- Examples:
0.8
,0.2
.
- The amount of ticks to wait until the next iteration of chunk processing.
- Examples:
4
,0
,19
.
- The name of the default world to display first.
- Examples:
world
,DIM1
,DIM-1
. - Notes: The client will try to render this world first.
- The list of worlds to allow to be queried.
- Examples:
worldList=[ "world", "DIM-1" ]
- Notes: You must include the
defaultWorld
option in this list.
- Allow the web map to load terrain (chunks) for the initial caching process.
- Examples:
true
,false
.
- Allow the web map to generate terrain. Only effects plugin if
loadWorld
is enabled. - Examples:
true
,false
. - Note: This option currently sometimes generates phase tracker errors for an unknown reason. Please try to refrain from using it until fixed.
- Make the plugin respect the world border when generation or loadWorld is enabled.
- Examples:
true
,false
.
- Limit the size of the cache. If you are worried about the amount of ram consumed enable this option.
- Examples:
true
,false
.
- Maximum number of chunks (per world) allowed in the cache at one time. The following number represents 318 x 318 chunks or roughly 80 megabytes.
- Examples:
1000
,256
.
- Jdbc database url for chunk storage.
- Examples:
jdbc:mysql://<host>:<port>/<database>?user=<username>&password=<password>
.
- The prefix for database tables.
- Examples:
main_
,glm-
,storage
.
- Should the plugin only allow certified map uuid's to connect.
- Examples:
true
,false
. - Notes: These ids help to filter people from trying to use the map as a ddos tool.
- A certified list of uuid's for client maps. There must be at least one value in this list.
- Notes: This uuid
8a5ad958-655e-4fbf-b662-fcca5fd92a61
is the default id of the client created by the GLM development team.