Different Teleport cooldown for ranks ?
How can i set different /home , /tpa cooldown before actual teleportation ?
for eg : 5 sec for default players , 3 sec for vip , 1 sec for vip+ , this way ..
10 Replies
i dont think essentials has this, you will have to use something else
this can be made in skript in about 5 minutes
downside is that u need to make the home and tpa systems urself on that skript
!skript
Caution with skript
Skript is a plugin for Spigot/Paper-based servers that allows users to create scripts without needing to understand Java. Its syntax is similar to pseudocode, so you can write simple commands like 'set attacker health to 20' without worrying about complex syntax.
However, there are some drawbacks to using Skript. It can consume a lot of resources and negatively impact your TPS (ticks per second). The community often dislikes Skript because it has a lower barrier to entry than Java does, which sometimes leads to poorly written code that causes lag or bugs. Additionally, the syntax can be unintuitive, and the documentation is often inconsistent or hard to follow.
For example, many users are unaware that Skript, by default, writes data to disk and retrieves it from there. This isn't the most efficient method, especially as you add more variables, which can affect other I/O operations.
Ultimately, using Skript is up to you. It can be a handy tool for quickly fixing small bugs, adding temporary features while you work on a more permanent plugin, or creating a simple custom command. If you need help or support, check out the resources below or join the Discord server, where you're likely to get better assistance.
Tutorials:
- introduction
- skriptlang docs
- skripthub
- Skript's discord
Admincraft Canned Responses
just use it for small commands like the tpa with different rank permissions. dont use it for complicated stuff like an auctionhouse or trade system or things will eventually break or be exploited easily
so i cant use essentialx's tpa, home cmds?
is there any plugin for this work?
you can but with those i dont think u can set a cooldown per rank like you wanted
only one cd that applies to all
ah got it
!solved
there might be a way actually to get already existing permissions and check if the user has that on a skript and then set a cooldown from that but im not good enough at skript to know how to exactly do that
theres tutorials for skript online
ahh thanks ill try, im also new to skripts