Skip to content

Plugin Configuration

Nathan edited this page Sep 10, 2021 · 1 revision

config.yml

The main config file is found in config.yml. In your server directory, it's located at /plugins/Assault/config.yml. Here's the default config:

lobby_world: lobby_world
lobby_spawn: 0.5 101.5 0.5 90 0
lobby_gamemode: ADVENTURE

# Allow players to rearrange their inventory while in the lobby
allow_lobby_inventory_editing: false

game_start_countdown: 20

# References maps in the maps/ directory.
# Map files should be in the form map_[name].yml.
# They can take these forms: saloon, map_saloon, saloon.yml, or map_saloon.yml.
map_list:
  - map_saloon

Explanation

lobby_world: The name of the world to be used as the lobby. A world's name is the same as a world's directory name.

lobby_spawn: The coordinates of the lobby's spawn-point, in x y z yaw pitch. Can take float values.

lobby_gamemode: The gamemode players will be put into in the lobby world. One of ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL.

allow_lobby_inventory_editing: Allow players to rearrange/modify their inventories—when this is false, they won't be able to add/remove items from their inventory.

game_start_countdown: The number of seconds players will wait in the game world before the building phase starts. They can vote for game modifiers during this time.

map_list: A list of map names. Maps are stored in the directory /plugins/Assault/maps/. These names can take any of these forms: saloon, map_saloon, saloon.yml, or map_saloon.yml.

Clone this wiki locally