EssentialsX

EssentialsX

2M Downloads

Auto equip armor from kit

xMrPoi opened this issue ยท 18 comments

commented

There should be an option to automatically equip armor from a kit. It could there could be a separate helmet, chestplate, pants, and boots node to put in an item.

commented

+1

commented

Very good idea +1

commented

How do you suggest we implement this?

commented

I think
[chestplate] diamondchestplate 1 (etc)

When inventory is full drop it.

commented

It could look something like this: http://i.imgur.com/S1aVGzG.png

commented

Or items:

  • x
  • y
  • z

armour:

  • Helmet ID
  • Chestplate ID
  • Leggings ID
  • Shoes ID
commented

I think just attempt to equip any piece of armor if there is currently nothing in that specific armor slot.

commented

Sounds good if it auto equips from list

commented

Attenpting to equip any armor in the inventory could work but then you're sacrificing 4 inventory slots which will always be empty.

commented

auto-equip-armour: true/false.
Don't see it being an issue @xMrPoi

commented

Adding on to the item deserialization specifications, maybe we could have an auto-equip property that automatically equips that item.

commented

@xMrPoi's example is probably the best one

commented

I would rather just attempt to equip pieces of armor if the player's armor slots are empty.

commented

Was this ever implemented?

commented

No. Feel free to write the code and make a pull request if you would like to add it.

commented

has anyone made a plugin that does this already? i have one but it only works when you run the command in chat

commented

Any update ?

commented

We need this