BattleKits

BattleKits

250k Downloads

Best suggestion ever!

xron89 opened this issue ยท 10 comments

commented

Theres a plugin called "potioncommands" and I want to give some effects to the kits, but for that the plugin only uses permission nodes.

So my suggestion is to run an optional command when a play picks a kit for example,
PotionCommands.effect.fireresistance

Then pyro will be better, you need to add a way to remove the permission or the command run when a player dies though

commented

Edit - just noticed you make that plugin wow! I think you already have added them together

commented

PotionCommands works with commands ๐Ÿ˜„

Add "potion hunger 1000 1" as a kit command

commented

kit commands dont exist yet though do they?

commented

@xron89 #65 (comment)

kit commands dont exist yet though do they?

Yeah - they have for a while ๐Ÿ˜
https://github.com/np98765/BattleKits/blob/master/BattleKits/kits.yml#L7

commented

Wait how I dont see it in any kit config?

commented

@xron89 #65 (comment)

Wait how I dont see it in any kit config?

Take a look at the link I posted above, it gives you an example ๐Ÿ˜บ

commented

my bad thanks

commented

so this is correct usage?

" commands: potion [user] Fire Resistance [duration]"

it gave the kit but not effect does it require a "/"

this far now - "commands: potion Fire Resistance"
Dang it work!

commented

Yeah I don't get it could you show a working example be more helpful than #Executed on kit give :S

commented

Did you see the link? That was an example kit config with it in use. Just copy it.

    commands: #Executed on kit give
      - 'potion hunger 1000 1'