I am trying to create a "dungeon," in Minecraft, but I do not want players to be able to continuously do it. I want there to be a gap of one hour before they can use the sign again. By this, I mean a Warp sign.
The idea is that the player presses the warp sign, but cannot press it again for another hour (Or any amount of time).
I have seen this before on others servers and would like to know what plugin it is. Is these essentials' warp signs?
If they are, (or not) how do I create what I am talkin about?
Best Answer
Alternatively, you can use the CommandSigns plugin to achieve this.
This assumes that the dungeon can be reached with
/warp Dungeon
and standard players have no access to it via the commands; only signs.Firstly, the
~
identifier allows you to place a limit on the sign, and the^
identifier executes the command under the player's name, but with the'*'
permission node.Note that this does not give them full command permissions, only just for the sign's execution; command stated in the sign.
You can visit the BukkitDev Wiki page for more information.
Here's how you set it up.
Just ensure it doesn't follow Essential's sign formatting.
/cmds add ~3600
This defines a sign, with a execution cooldown of 3,600 seconds (or 60 minutes).
Except, your sign does nothing.
/cmds edit
and punch the sign that you created in Step 2./cmds insert 2 /^warp Dungeon
.