Start work on the protection and penalties. First up is Block Place

This commit is contained in:
graywolf336
2014-01-19 14:40:39 -06:00
parent d9d0de046d
commit 95649e7f03
7 changed files with 71 additions and 0 deletions

View File

@ -1,6 +1,13 @@
package com.graywolf336.jail.enums;
public enum LangString {
//actions section
/** Section for when they break a block. */
BLOCKBREAKING ("actions"),
/** Section for when they place a block. */
BLOCKPLACING ("actions"),
//Jailing section
/** The message displayed when players are kicked for being afk. */
@ -19,6 +26,8 @@ public enum LangString {
JAILEDWITHREASON ("jailing"),
/** The message sent when players are jailed and they try to talk. */
MUTED ("jailing"),
/** The message sent to the prisoner when they try to do something but it is protected. */
PROTECTIONMESSAGE ("jailing"),
/** The message sent when players are released from jail. */
UNJAILED ("jailing"),

View File

@ -2,7 +2,9 @@ package com.graywolf336.jail.enums;
public enum Settings {
BROADCASTJAILING("jailing.jail.broadcastJailing"),
BLOCKBREAKPENALTY("jailing.during.blockBreakPenalty"),
BLOCKBREAKPROTECTION("jailing.during.blockBreakProtection"),
BLOCKPLACEPENALTY("jailing.during.blockPlacePenalty"),
BLOCKPLACEPROTECTION("jailing.during.blockPlaceProtection"),
COMMANDSONJAIL("jailing.jail.commands"),
COMMANDSONRELEASE("jailing.release.commands"),