setup/Language
Language File
The language file (default called EN_US.yml) 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. Change "language" in config.yml to the name of the language file you want to use (example: "EN_US.yml"). All messages support color codes and can have multiple lines.
NOTE: This list is no longer being updated, as the file has become quite large and the texts should be self-explanatory. The old file contents are still here for reference though.
Event Messages | |||
---|---|---|---|
Name | Default | Description | Variable Support1 |
onFirstLoginMessages | see config | Shown to a player (<player>) when they first log on to the server. | <player> |
onLoginMessages | see config | Shown to a player (<player>) who has been on the server before but has logged in again. | <player> |
onJoinGameMessages | see config | Shown to a player when they join a game in an arena (<arena>). | <arena> |
onJoinGameOpMessages | see config | Shown to ops when a player (<player>) joins a game in an arena (<arena>). | <player>, <arena> |
onLeaveGameMessages | see config | Shown to a player when they leave a game. | none |
onJoinSpectateMessages | see config | Shown to a player when they begin spectating. | none |
onLeaveSpectateMessages | see config | Shown to a player when they stop spectating. | none |
onWinMessages | see config | Broadcasted to everyone when a player (<player>) wins a game in an arena (<arena>). | <player>, <arena> |
rulesMessages | see config | Shown when a player uses the /rules command. | none |
howtoMessages | see config | Shown when a player uses the /howto command. | none |
Command and Error Messages | |||
Name | Default | Description | Variable Support1 |
onAttackDuringGracePeriodMessages | see config | Shown when a player attempts to attack during the grace period. | none |
onWaitForArenaToGenerateMessages | see config | Shown when an arena (<arena>) is not done generating but a game was started in that arena. | <arena> |
WrongNumOfArgsMessages | see config | Shown when a command was entered with the wrong number of arguments. | none |
ArenaExistsMessages | see config | Shown when an arena (<arena>) already exists and this causes an error. | <arena> |
ArenaNotExistsMessages | see config | Shown when an arena (<arena>) doesn't exist and this causes an error. | <arena> |
newArenaMessages | see config | Shown when a new arena (<arena>) is created. | <arena> |
PlayerOnlyCommandMessages | see config | Shown when a command is run by a non-player. | none |
InGameMessages | see config | Shown when a player is already in a game and this causes an error. | none |
NotInGameMessages | see config | Shown when a player is not in a game and this causes an error. | none |
NoVIPMessages | see config | Shown when a player does not have VIP permission. | none |
NoSponsorMessages | see config | Shown when a player does not have sponsoring permission. | none |
PlayerCannotBeSponsoredMessages | see config | Shown when a player (<player>) cannot be sponsored for whatever reason. | <player> |
PlayerCannotBeForceJoinedMessages | see config | Shown when a player (<player>) cannot be forced to join an arena. | <player> |
ItemCannotBeSponsoredMessages | see config | Shown when an item is not allowed to be sponsored. | none |
CantAffordSponsorMessages | see config | Shown when a player doesn't have the required quantity (<qty>) of an item (<item>) to sponsor. | <item>, <qty> |
WaitToSponsorMessages | see config | Shown when a player has recently sponsored and is not allowed to sponsor again for a given time (<time>). | <time> |
SponsoredMessages | see config | Shown when a player is sponsored by another player (<player>). | <player> |
SponsorMessages | see config | Shown when a player (<player>) sponsors someone. | <player> |
GameFullMessages | see config | Shown when a game is full in an arena (<arena>). | <arena> |
GameNotFullMessages | see config | Shown when there are not enough players in an arena (<arena>). | <arena> |
GameInProgressMessages | see config | Shown when a game is in progress in an arena (<arena>) and this causes an error. | <arena> |
VotingNotEnabledMessages | see config | Shown when voting is not enabled in an arena (<arena>). | <arena> |
NotEnoughVotesMessages | see config | Shown when there are less than <minplayers> that have voted. | <minplayers> |
VotedMessages | see config | Shown when a player votes in an arena (<arena>). | <arena> |
AlreadyVotedMessages | see config | Shown when a player has already voted in an arena. | none |
PlayerNotFoundMessages | see config | Shown when a command could not find the given player. | none |
ItemNotFoundMessages | see config | Shown when a command could not find the given item. | none |
onForceJoinedMessages | see config | Shown when a player is forced to join an arena (<arena>). | <arena> |
ForceJoinCompleteMessages | see config | Shown when a player uses the forcejoin command on an arena (<arena>). | <arena> |
GameStartedMessages | see config | Shown when a player starts a game in an arena (<arena>). | <arena> |
GameStoppedMessages | see config | Shown when a player stops a game in an arena (<arena>). | <arena> |
ArenaRegenerateMessages | see config | Shown when a player regenerates an arena (<arena>). | <arena> |
ArenaReloadMessages | see config | Shown when a player reloads an arena (<arena>). | <arena> |
SetFirstLoginMessages | see config | Shown when a player sets the first login position. | none |
JoinSignInfoMessages | see config | Shown to a player when they run /hg setsign <arena>. | <arena> |
JoinSignCreatedMessages | see config | Shown to a player when they clicked a sign to use for joining an arena (<arena>). | <arena> |
JoinSignFailedMessages | see config | Shown when a player failed to click a sign for use in joining an arena (<arena>). | <arena> |
StatsNotEnabledMessages | see config | Shown when a player requests statistics but no file was specified for "statloggerJAR". | none |
RankPrefixMessages | see config | Shown when a player requests their rank, this text appears above the list of the top (<number>) players. | <number> |
RankPostfixMessages | see config | Shown after the list of top players and before the player's current rank. | none |
GamesPrefixMessages | see config | Shown after the list of the last <number> games. | <number> |
1Messages with variable support will replace the variable listed with the entity related to the event. For example, the "onWinMessages" will replace "<player>" (without quotes) with the name of the winning player and "<arena>" (without quotes) with the arena they won in.