Difference between revisions of "Server config"
From AAGRINDER wiki
Jump to navigationJump to searchimported>Maze (Created page with "The AAGRINDER server has a number of settings, which can be found in the file ''server-properties.json''. This file is created when the server is first started, and it is fill...") |
imported>Maze m |
||
Line 8: | Line 8: | ||
| level_name || "world" || The name of the directory where the world will be saved. | | level_name || "world" || The name of the directory where the world will be saved. | ||
|- | |- | ||
− | | level_seed || A random value between 0 and 65535 || The seed, which will be used for [terrain generation]. | + | | level_seed || A random value between 0 and 65535 || The seed, which will be used for [[terrain generation]]. |
|- | |- | ||
| generate_structures || true || Whether or not structures should be generated. | | generate_structures || true || Whether or not structures should be generated. |
Revision as of 19:32, 4 November 2019
The AAGRINDER server has a number of settings, which can be found in the file server-properties.json. This file is created when the server is first started, and it is filled with default values. If the file already exists when the server is started, its contents are read and interpreted. In case any settings are missing, default values are added to the file automatically.
The following table lists all the settings, their default values and their explanations.
Setting name | Default value | Explanation |
---|---|---|
level_name | "world" | The name of the directory where the world will be saved. |
level_seed | A random value between 0 and 65535 | The seed, which will be used for terrain generation. |
generate_structures | true | Whether or not structures should be generated. |
spawn_monsters | true | Whether or not monsters should spawn on this server. |
load_distance | 1 | The distance (in chunks) in which chunks are loaded around the player. |
unload_distance | 2 | The distance (in chunks), beyond which chunks are unloaded. |
gamemode | 0 | The default gamemode on this server. |
allow_home | true | Whether the /home command is allowed. |
server_port | 8080 | The port on which the server should run. |
restrict_to_localhost | false | Whether only localhost should be allowed to connect to this server. |
max_players | 42 | The number of players that are allowed to play at the same time. |
database_host | "localhost" | The address of the server on which the database is running. |
database_username | "root" | The username which should be used for connecting to the database. |
database_password | "" | The password which should be used for connecting to the database. |
database_name | "aagrinder" | The name of the database which should be used. |
debug_server | false | Whether debug logs should be kept on the server (warning: ram fills very fast in debug mode). |
insecure_mode | false | Whether passwords should be ignored. |
authorization | true | Whether admins.txt should be checked. |
allow_sudo | false | Whether the /sudo command should be allowed for the users specified in the file sudo.txt. |
enable_server_log | true | Whether a log of logins, messages and commands should be kept. |