First attempt at getting the signs of cells to display information #31
The variables possible are: * %player% - the player's last known name * %uuid% - the player's uuid, or what can fit on a sign * %reason% - the reason the player was jailed * %jailer% - the person/thing who jailed this player * %afktime% - the amount of time the player has been afk * %timeinminutes% - the amount of remaining time the player has in minutes If the player is jailed forever, then it pulls from the language file `jailedforeversign` property.
This commit is contained in:
@ -125,10 +125,14 @@ public enum Lang {
|
||||
// General section, used by different parts
|
||||
/** Part message of any messages which require 'all the jails' or such. */
|
||||
ALLJAILS("general"),
|
||||
/** The one line on signs when the cell is empty. */
|
||||
CELLEMPTYSIGN("general"),
|
||||
/** The message sent to the sender whenever they try to remove a cell but was unsuccessful due to a prisoner. */
|
||||
CELLREMOVALUNSUCCESSFUL("general"),
|
||||
/** The message sent whenever a cell is successfully removed. */
|
||||
CELLREMOVED("general"),
|
||||
/** The line on a cell's sign when the prisoner is jailed forever. */
|
||||
JAILEDFOREVERSIGN("general"),
|
||||
/** The simple word jailing to be put in other parts. */
|
||||
JAILING("general"),
|
||||
/** The message sent to the sender when they try to remove a jail but there are still prisoners in there. */
|
||||
|
@ -9,6 +9,7 @@ public enum Settings {
|
||||
BLOCKPLACEPENALTY("jailing.during.blockPlacePenalty"),
|
||||
BLOCKPLACEPROTECTION("jailing.during.blockPlaceProtection"),
|
||||
BLOCKPLACEWHITELIST("jailing.during.blockPlaceWhiteList"),
|
||||
CELLSIGNLINES("jailing.during.cellsign"),
|
||||
CLOTHINGENABLED("jailing.jail.clothing.enabled"),
|
||||
CLOTHINGHELMET("jailing.jail.clothing.helmet"),
|
||||
CLOTHINGCHEST("jailing.jail.clothing.chest"),
|
||||
|
Reference in New Issue
Block a user