Prevent interaction with items and blocks!
Works just like the old version, they can interact with anything except what is in the blacklist.
This commit is contained in:
@ -11,6 +11,10 @@ public enum LangString {
|
||||
COMMAND ("actions"),
|
||||
/** Section for when a player tramples a crop and protection is enabled. */
|
||||
CROPTRAMPLING ("actions"),
|
||||
/** Section for when a player interacts with a block that is blacklisted. */
|
||||
INTERACTIONBLOCKS ("actions"),
|
||||
/** Section for when a player interacts with an item that is blacklisted. */
|
||||
INTERACTIONITEMS ("actions"),
|
||||
|
||||
//Jailing section
|
||||
|
||||
|
@ -32,6 +32,10 @@ public enum Settings {
|
||||
LOGJAILING("jailing.jail.logToConsole"),
|
||||
MAXAFKTIME("jailing.during.maxAFKTime"),
|
||||
OPENCHEST("jailing.during.openChest"),
|
||||
PREVENTINTERACTIONBLOCKS("jailing.during.preventInteractionBlocks"),
|
||||
PREVENTINTERACTIONBLOCKSPENALTY("jailing.during.preventInteractionBlocksPenalty"),
|
||||
PREVENTINTERACTIONITEMS("jailing.during.preventInteractionItems"),
|
||||
PREVENTINTERACTIONITEMSPENALTY("jailing.during.preventInteractionItemsPenalty"),
|
||||
RECIEVEMESSAGES("jailing.during.recieveMessages"),
|
||||
RELEASETOPREVIOUSPOSITION("jailing.release.backToPreviousPosition"),
|
||||
RESTOREPREVIOUSGAMEMODE("jailing.release.restorePreviousGameMode"),
|
||||
|
Reference in New Issue
Block a user