Clearing Player Data - LootrMinecraft/Lootr GitHub Wiki
To clear generated loot for specific players, you can use the following commands:
Before 1.20
Unfortunately, it is not consistently possible to safely clear generated in earlier versions of Lootr.
The /lootr clear <player_name>
command exists, but it may not function as expected depending on the version.
1.20
The /lootr clear <player_name>
command allows you to specify a player name to clear. You will be told how many containers were cleared.
Please note: while this will clear the generated loot, it will not change the visual appearance of the container for that player. Thus, containers they have previously opened will still appear "opened", even if those containers have been cleared.
1.20 for Forge
Version 0.7.35.91
for Forge only also has the /lootr cclear
command which supports entity selectors like @e
, @a
, etc.
1.21
The /lootr clear <player_name>
command allows you to specify a player name to clear, and you will be told how many containers were cleared.
This command will also reset the visual appearance of containers, but it will require that player to log out of the server and back into it in order for the visual change to synchronize.
The /lootr cclear
command functions the same way, but supports entity selectors like @a
, @e
, etc.