A cooldown to prevent use for x amount of seconds/minutes
Cooldown to prevent use for x amount of seconds/minutesSuggestion
I'll add that
I gave myself perms, but this happens when i try to tp to outpost.

What permission did you grant yourself?
There is a permission for each town:
townteleport.outpost
townteleport.bandit
Is it the cancel teleport command you don't have permission to?
There is a permission for each town:
townteleport.outpost
townteleport.bandit
Is it the cancel teleport command you don't have permission to?
No i didn't cancel anything i just typed the command /otp and it gave me that message, i just gave myself perms to the outpost only or do i need to give myself perms to the bandit town too?
Merged post
Yea i guess that's the problem you need to have perms to townteleport.bandit too, can you make it so you don't need to have both perms to tp please.
Merged post
Yea i guess that's the problem you need to have perms to townteleport.bandit too, can you make it so you don't need to have both perms to tp please.
That's odd, I've just tested it with and without permissions:

It works for me with just one of the permissions.

It works for me with just one of the permissions.
Yea it works but you need perms to both the bandit and outpost to use /otp.
Without outpost permission and with bandit camp permission:


Mmm i just revoked myself perms to townteleport.bandit, and i get the same message 
but when i give myself back perms to townteleport.bandit, /otp works.
Merged post
then when i try using /otp again it says
but nothing happens.

but when i give myself back perms to townteleport.bandit, /otp works.
Merged post
then when i try using /otp again it says

but nothing happens.
I found a mistake in my code. I'll post an update now, thanks for helping me find it.
Np and thx :)
Edit: Works perfectly now, tyvm.
Merged post
Hey mvrb can you possibly add a cooldown separately, instead of having the cooldown count for both otp and btp. So if a players tp to the outpost it would have a cooldown, and if the player wants to tp to the bandit town then that's another cooldown.
Edit: Works perfectly now, tyvm.
Merged post
Hey mvrb can you possibly add a cooldown separately, instead of having the cooldown count for both otp and btp. So if a players tp to the outpost it would have a cooldown, and if the player wants to tp to the bandit town then that's another cooldown.