EssentialsX

EssentialsX

2M Downloads

Keep xp on death

Niko302 opened this issue · 5 comments

commented

Type of bug

Other unexpected behaviour

/ess version output

[12:03:36 INFO]: Server version: 1.17.1-R0.1-SNAPSHOT git-Purpur-1296 (MC: 1.17.1)
[12:03:36 INFO]: Brand version: Purpur
[12:03:36 INFO]: EssentialsX version: 2.19.0-dev+221-1556b91
[12:03:36 INFO]: PlaceholderAPI version: 2.10.10
[12:03:36 INFO]: LuckPerms version: 5.3.51
[12:03:36 INFO]: Vault version: 1.7.3-b131
[12:03:36 INFO]: EssentialsXSpawn version: 2.19.0-dev+221-1556b91
[12:03:36 INFO]: Citizens version: 2.0.28-SNAPSHOT (build 2354)
[12:03:36 INFO]: DiscordSRV version: 1.23.0
[12:03:36 INFO]: Economy Layer: None
[12:03:36 INFO]: Fetching version information...
[12:03:36 INFO]: You're running the latest EssentialsX dev build!

Server startup log

Irrelevant

EssentialsX config files

Irrelevant ?

Error log (if applicable)

Nope

Bug description

on death even if player has "essentials.keepxp" or the player is opped it does not keep xp after death

Steps to reproduce

Get exp
/suicide
Exp gets reset

Expected behaviour

Keep exp on death

Actual behaviour

No keeping exp on death

commented

Im having the same problem. It works with OP players but doesn´t for normal players with permission "essentials.keepxp"

commented

Tested with LuckPerms and works as expected.

commented

Tested with LuckPerms and works as expected.

Incorrect

commented

Tested with LuckPerms and works as expected.

Incorrect

It is, I cannot reproduce this. Either your permission plugin or some other plugin is messing with this behavior.

commented

Hi i had the same issue, and figured it out. Atleast for me its because i had the gamerule keep inventory set to true. If you disable keep inventory and then use the essentials keep inv system it works fine, but if you just use the game rule it makes you lose XP.