Codisimus / PhatLoots

Bukkit Plugin which provides highly configurable loot for all
http://codisimus.com/phatloots
18 stars 58 forks source link

Command delay not explained #65

Open tara81 opened 7 years ago

tara81 commented 7 years ago

How do i make a command delay?

is it /loot add cmd delay [seconds] /say hi is it /loot add cmd delay [minutes] /say hi

is it /loot add cmd delay [hours][minutes][seconds] [world/ignore if all worlds] /say hi

?

Your /loot add help only says /loot add cmd [parameter1] [parameter2]

Codisimus commented 7 years ago

There is currently no way to add a delay to a command in-game. You must modify the PhatLoot save file and add "Delay: 1200" to the CommandLoot you wish to delay. The number is equal to the number of ticks so 1200 = 1 minute.

tara81 commented 7 years ago

Is this how you would do it?

http://pastebin.com/zZHaALL4

Can you edit phatloot tables while the server is live?

Codisimus commented 7 years ago

Yes, that looks right. You can edit the loot table and use the '/loot reload' command.

I am working on adding a command to make this easier BTW. But I wanted to first give at least basic functionality so that you could begin using it.

tara81 commented 7 years ago

Codi this doesnt work neither does the network booster permission work properly. I made tickets for both.