Commit 52b85591 authored by Atsukio's avatar Atsukio 🐬

PotatoTown - Prevent outsiders from interacting with fence gates and doors

parent f54a168a
......@@ -49,6 +49,7 @@ command /potatotown <text="help"> [<text>]:
if arg 2 is "3":
message "&6-------------------Potato Town (&e3&6/&e4&6)-------------------"
message "&e/ptown prinvite <player> - &aAdd player from different town as PR"
message "&e/ptown prkick <player> - &aRemove player's PR status"
message "&e/ptown prflag <build/break> - &aFlags to allow PRs interactions"
message "&e/ptown desc <text> - &aChanges the description of the town"
message "&e/ptown sethome - &aSet the town's home to where you stand"
......@@ -1425,7 +1426,7 @@ on block damage:
if {language.%player%} is "english":
message "[&6PTown&f] &4This is not your town!"
on right click on chest or trapped chest or furnace or dispenser or dropper or cauldron or jukebox or hopper or brewing stand or any shulker box:
on right click on chest or trapped chest or furnace or dispenser or dropper or cauldron or jukebox or hopper or brewing stand or any shulker box or any fence gate or any door:
if {ptown.%player%.adminmode} is not set:
if {ptown.%player%} is not set:
if {ptownlist.chunk::%chunk at event-block%} is set:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment