How to set up
To set cooldown 20s, warmup 5s, price 20, itemcost 5 Stone, XPcost 5 levels, limit 10, message "welcome on warp" and potion effect during wamup to slow 3 for /warp for all users (without any booscooldowns.group permission), try this:
commands: groups: default: /warp: cooldown: 20 warmup: 5 price: 20.0 itemcost: STONE,5 xpcost: 5 limit:10 message: "Welcome on warp" potion: SLOW,3
To set same for /home, for users with "booscooldowns.vip" permission, use this:
commands: groups: vip: /home: cooldown: 20 warmup: 5 price: 20.0 itemcost: STONE,5 xpcost: 5 limit:10 message: "Welcome on warp" potion: SLOW,3
All users use default group by default, if you add any other group, you have to give users appropriate permission node.
I hope you understand now. :-)
I would like to group several commands together on the same cooldown. They all use the same base command with different parameters. Something like this:
/Warp PlaceA /Warp PlaceB /Warp PlaceC All of the above on a shared 120s cooldown (if you just warped to Place A, have to wait to warp PlaceB or PlaceC as well as PlaceA on same cooldown).
The examples I've seen would allow you to warp PlaceB immediately after warping PlaceA becuase you would have to set a cooldown on PlaceB that is seperate from the cooldown on PlaceA.
Doing a timer on the root command of /Warp doesn't work because I don't want timers on warps to anywhere else. Just a shared timer on warps to these specific places.
Does this plugin have such capability?
@Max_Coffeebreath commands: groups: default: /warp *: cooldown: 20 warmup: 5 price: 20.0 itemcost: STONE,5 xpcost: 5 limit:10 message: "Welcome on warp" potion: SLOW,3 you have to add a * for the parameter
I'm having a problem using BoosCoolDown with PEX or any system that inherits permissions. This is what i've determined. If you assign two booscooldown's node to a single rank they both don't work.
Eg. TestRANK has the following nodes: booscooldowns.ceo booscooldowns.vip
Only the last (alphabetical) node permission will work and the ones above it is ignored and no cooldowns are assigned to the command.
This is what i have for my config:
commands:
groups:
vip:
/repair:
cooldown: 43200
ceo:
/spawner*:
cooldown: 60
aliases:
/fix hand: /repair
/repair hand: /repair
/fix: /repair
how do u make it per life