EssentialsX

EssentialsX

2M Downloads

Kits containing commands and items can have their commands exploited infinitely - ignoring the cooldown - if the claimer has a full inventory

I-Knight-I opened this issue ยท 2 comments

commented

Information

Full output of /ess version:

[12:05:27 INFO]: Server version: 1.16.1-R0.1-SNAPSHOT git-Paper-41 (MC: 1.16.1)
[12:05:27 INFO]: EssentialsX version: 2.17.2.136
[12:05:27 INFO]: PlaceholderAPI version: 2.10.6
[12:05:27 INFO]: LuckPerms version: 5.1.64
[12:05:27 INFO]: Vault version: 1.7.2-b107
[12:05:27 INFO]: Citizens version: 2.0.27-SNAPSHOT (build 2019)
[12:05:27 INFO]: EssentialsXChat version: 2.17.2.136
[12:05:27 INFO]: EssentialsXSpawn version: 2.17.2.136

Server log: https://gist.github.com/B-Knight49/d8ccee36218d6e3cb5a030dcfed743f2

EssentialsX config: https://gist.github.com/B-Knight49/6be5a86e7d0fe8095e42174b660427bd

Details

Description
If a player has a full inventory and a kit contains a mixture of commands as well as items, the kit will issue the commands but will fail to give the items. This tricks it into thinking the kit was not claimed and the cooldown will not activate. The claimer can then claim the kit and have the commands run again - repeat forever to exploit.

Steps to reproduce

  1. drop-items-if-full: false in config.yml
  2. Create a kit that issues commands as well as items like so.
  3. Fill your inventory with items so no slot is free
  4. Claim the kit
  5. Commands are sent, player is told their inventory is full and the kit cooldown does not activate
  6. Reclaim the kit again for the commands to resend (repeat infinite times)

Expected behavior
If the claiming of a kit is interrupted, all items in a kit - regardless of type - MUST NOT be given to the claimer.

Screenshots
N/A

commented

If I'm not mistaken, a fix for this bug (#3431, fix included both money and commands) was implemented in 2.17.2.137 - you might have missed it by just one build. Try updating to the newest version at https://essentialsx.net/downloads.html to see if your problem is resolved.

commented

Is this fixed? I am going to assume so and close this for now, as there has been no response.