setup/Config
Configuration File
The configuration file, config.yml, is created when you first run the server with the HGMGS plugin. It is found in "plugins/Hunger Games Map Generator Server" folder. You can edit this file with any text editor. Check the validity of the file's contents here.
Note: This file can have many more settings, they are described on this page:
Any setting from that page given in this file will be used as a default for new arenas.
General Plugin Settings
Name | Default | Description |
language | EN_US.yml | Defines the name of the file to use for plugin messages. The name should include .yml. |
sponsoritems | empty | List of items that can be sponsored. Format is <item #/name>, <qty>, <cost #/name>, <qty>. Example: - arrow, 5, emerald, 10 will require 10 emeralds to sponsor a player 5 arrows. Use "/hg sponsoritem add" command to add items with the wizard. |
sponsorcooldown | 600 | The amount of time in seconds after sponsoring until a player can sponsor again. |
sponsorcooldownVIP | 300 | The amount of time in seconds after sponsoring until a VIP player can sponsor again. |
statloggerJAR | SBD.jar | Gives the name of the JAR file in the configuration folder to use for exporting statistics. |
General Plugin Event Commands
Name | Default | Description | Variable Support1 |
commands.onLogin | empty | Console commands to run when a player (<player>) logs in. | <player> |
1Commands with variable support will replace the variable listed with the entity related to the event. For example, the "commands.onLogin" will replace "<player>" (without quotes) with the name of the player that joined before running the commands.