Skip to main content

Overview

The plugin uses multiple configuration files to separate global settings for world-specific settings. This ensures that each arena world can be configured independently while keeping shared settings centralized.

warning

Note that some files are meant to be edited by running commands through the plugin itself. While they can be directly edited, unexpected errors can occur if done incorrectly

Configuration Files

Here's a table of the different configuration files and their properties. Please note that the destination is relative to the HungerGames directory, at server/plugins/HungerGames/

FileScopeEdit MethodDestinationNotes
arena.ymlPer-arenaCommands<world_name>/arena.ymlConfigure bounds of the arena
config.ymlPer-arenaText editor<world_name>/config.ymlWorld specific gameplay settings
items.ymlPer-arenaText editor<world_name>/items.ymlLoot tables and item configuration
settings.ymlGlobalText editorsettings.ymlCore plugin behaviour and global options
setspawn.ymlPer-arenaCommands<world_name>/setspawn.ymlLocaiton for spawnpoints in an arena
signs.ymlGlobalCommandssigns.ymlTracks assigned signs and slots

Loading of files

When the server starts, it checks for missing config files and keys, and it adds them as required. After that, it loads the required files to memory for quick access. If you make any changes to the file you can apply them by restarting the server or running the command /hg reloadconfig.


If you have any more questions about this process or encounter issues related to this, visit our Discord Server