minecraft/README.md

219 lines
3.8 KiB
Markdown
Raw Permalink Normal View History

2023-12-19 16:19:42 +00:00
A [Minecraft](https://minecraft.net) server running on
[Paper](https://papermc.io/).
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
# Volumes
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- `/var/lib/minecraft/plugins`
- `/var/lib/minecraft/world`
- `/var/lib/minecraft/world_nether`
- `/var/lib/minecraft/world_the_end`
- `/var/lib/minecraft/ops.json`
- `/var/lib/minecraft/whitelist.json`
- `/var/lib/minecraft/banned-ips.json`
- `/var/lib/minecraft/banned-players.json`
2016-10-31 10:26:36 +00:00
# Environment Variables
2023-12-19 16:19:42 +00:00
2016-10-31 10:26:36 +00:00
## SERVER_NAME
2023-12-19 16:19:42 +00:00
2021-02-18 14:31:55 +00:00
The name of the server.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## MOTD
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
Message of the day.
2016-10-31 10:26:36 +00:00
## LEVEL_SEED
2023-12-19 16:19:42 +00:00
[Seed](http://minecraft.gamepedia.com/Seed_(level_generation)) for level
generation.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## BUKKIT_CONNECTION_THROTTLE
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: 4000
2023-12-19 16:19:42 +00:00
The delay before a client is allowed to connect again after a recent connection
attempt in milliseconds. `0` disables the limit.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## OP_PERMISSION_LEVEL
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: 4
One of:
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- 1: Ops can bypass spawn protection.
2023-12-19 16:19:42 +00:00
- 2: Ops can use /clear, /difficulty, /effect, /gamemode, /gamerule, /give, and
/tp, and can edit command blocks.
2016-10-27 12:46:43 +00:00
- 3: Ops can use /ban, /deop, /kick, and /op.
2021-02-18 14:31:55 +00:00
- 4: Ops can use /stop.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## ALLOW_NETHER
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: true
Whether players can travel to the Nether.
2016-10-31 10:26:36 +00:00
## ALLOW_FLIGHT
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: false
2023-12-19 16:19:42 +00:00
Allows users to use flight on your server while in Survival mode, if they have a
mod that provides flight installed. No effect in Creative mode.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## ANNOUNCE_PLAYER_ACHIEVEMENTS
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: true
Whether there is a server announcment when a player gets an achievement.
2016-10-31 10:26:36 +00:00
## MAX_WORLDSIZE
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: 29999984
2023-12-19 16:19:42 +00:00
This sets the maximum possible size in blocks, expressed as a radius, that the
world border can obtain.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## LEVEL_TYPE
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: DEFAULT
One of:
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- DEFAULT: Standard world with hills, valleys, water, etc.
- FLAT: A flat world with no features, meant for building.
- LARGEBIOMES: Same as default but all biomes are larger.
- AMPLIFIED: Same as default but world-generation height limit is increased.
2021-02-18 14:31:55 +00:00
- CUSTOMIZED: Same as default unless generator-settings is set to a preset.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## MAX_BUILD_HEIGHT
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: 256
2023-12-19 16:19:42 +00:00
The maximum height in which building is allowed. Terrain may still naturally
generate above a low height limit.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## SPAWN_NPCS
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: true
2021-02-18 14:31:55 +00:00
Determines whether villagers will be spawned.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## SPAWN_ANIMALS
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: true
2023-12-19 16:19:42 +00:00
Determines if [animals](http://minecraft.gamepedia.com/Mob#Passive) will be able
to spawn.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## SPAWN_MONSTERS
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: true
2021-02-18 14:31:55 +00:00
Determines if monsters will be spawned.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## GENERATE_STRUCTURES
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: true
2023-12-19 16:19:42 +00:00
Defines whether
[structures](http://minecraft.gamepedia.com/Generated_structures) will be
generated.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## WHITELIST
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: false
Whether the whitelist is used.
2016-10-31 10:26:36 +00:00
## HARDCORE
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: false
If set to true, players will be set to spectator mode if they die.
2016-10-31 10:26:36 +00:00
## PVP
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: true
Whether PvP is enabled.
2016-10-31 10:26:36 +00:00
## DIFFICULTY
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: 2
2023-12-19 16:19:42 +00:00
Defines the [difficulty](http://minecraft.gamepedia.com/Difficulty) of the
server.
2016-10-27 12:46:43 +00:00
One of:
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- 0: Peaceful
- 1: Easy
- 2: Normal
2021-02-18 14:31:55 +00:00
- 3: Hard
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## GAMEMODE
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: 0
2023-12-19 16:19:42 +00:00
Defines the
[mode of gameplay](http://minecraft.gamepedia.com/Gameplay#Game_modes).
2016-10-27 12:46:43 +00:00
One of:
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- 0: Survival
- 1: Creative
- 2: Adventure
2021-02-18 14:31:55 +00:00
- 3: Spectator
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## ONLINE_MODE
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: true
2023-12-19 16:19:42 +00:00
Whether to authenticate players with the mojang database. Disable it when
running behind bungeecord.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## PLAYER_IDLE_TIMEOUT
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: 0
2023-12-19 16:19:42 +00:00
If non-zero, players are kicked from the server if they are idle for more than
that many minutes.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## MAX_PLAYERS
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: 20
2021-02-18 14:31:55 +00:00
The maximum number of players that can play on the server at the same time.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## VIEW_DISTANCE
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: 10
2023-12-19 16:19:42 +00:00
Sets the amount of world data the server sends the client, measured in chunks in
each direction of the player (radius, not diameter).
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## BUNGEECORD
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- default: false
Whether the server runs behind a bungeecord instance.
2016-10-31 10:26:36 +00:00
## MIN_RAM
2023-12-19 16:19:42 +00:00
- default: 512M Minimal heapsize for the jvm.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
## MAX_RAM
2023-12-19 16:19:42 +00:00
- default: 512M Maximal heapsize for the jvm.
2016-10-27 12:46:43 +00:00
2016-10-31 10:26:36 +00:00
# Ports
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- 25565
2016-10-31 10:26:36 +00:00
# Capabilities
2023-12-19 16:19:42 +00:00
2016-10-27 12:46:43 +00:00
- DAC_OVERRIDE
2016-10-27 13:24:44 +00:00
- FOWNER
2016-10-27 12:46:43 +00:00
- NET_BIND_SERVICE
- SETGID
- SETUID