forum Forumskeyboard_arrow_right Help keyboard_arrow_right dnsServers

Create Forum Thread
2

Help, my friend has lots of hearts and cant remove them.

2 emeralds5 replies82 views
Vlokecraft started 06/29/2020 11:05 am
sleepylessons replied 07/01/2020 1:48 pm
My friend recently realised that he had many more hearts than normal. We determined that it was health boost and removed effects but it seemed like he had no effects on him. The server is running 1.16.1 spigot and our only plugin is 1.16 world edit. Nothing we have tried has removed the hearts but relogging removes the extra health but not extra hearts. As soon as he takes damage, the hearts replenish.

Thanks!
Posted by avatar
Vlokecraft
Level 3 : Apprentice Miner
0

comment Login or register to post a reply.

5 replies

1
07/01/2020 12:34 pmhistory
Level 7 : Apprentice Miner
sleepylessons
You've got to edit the NBT data. It's in a folder called "player data" or something along those lines in your main world folder (not the nether or end worlds)

You will need to find which file contains the information for the players with extra hearts.

You can do this by searching in the file called "usercache.json" in the main directory of your minecraft server (same folder your server.properties lives in).

- Open usercache.json with a text editor and do "CTRL + F" on a PC "CMD + F" on Mac to open the "Find" feature. Search for the player's name
- Once you find their name, you will see their UUID listed next to their IGN. Take note of their UUID. The list has a user per-line, and an individual player's info will look like this:
{"name":"Gamerr6514124","uuid":"a00t8a23-8e86-4ng5-aa9f-dadf06gd3e86","expiresOn":"2020-07-30 09:01:49 -0700"},
- Now, go into the mainworld > playerdata folder and find the file that is named after their UUID (e.g. a00t8a23-8e86-4ng5-aa9f-dadf06gd3e86.dat for the player in the example above)
- Download it
- Open it using an online NBT editor such as https://irath96.github.io/webNBT/
- Fix their "Health" value (default is 20 I believe)
- Save your changes and redownload
- THE NEXT STEP IS VERY IMPORTANT
- MAKE SURE THE PLAYER IS OFFLINE. When the player is OFFLINE, and ONLY when they are OFFLINE, replace the .dat file for the player in mainworld > playerdata with the new one you just edited.
- When the player logs back in they should have normal health.
2
07/01/2020 1:09 pm
Level 46 : Master Cowboy
CrazyCowMM
Since they're in 1.16 they can just use /attribute
1
07/01/2020 1:44 pm
Level 7 : Apprentice Miner
sleepylessons
Oh wow! I didn't know about this feature, thanks :)
1
07/01/2020 12:57 pm
Level 37 : Artisan Waffle
CatUnicorn123
huh, so you can change someone to have say 1000000000000 health? or would that not work?
1
07/01/2020 1:48 pm
Level 7 : Apprentice Miner
sleepylessons
I'm not sure... Maybe refer to this? https://minecraft.gamepedia.com/Health#:~:text=At%20the%20levels%20of%20252,health%22%20limit%20for%20entities).



Can't really say what happens when u set such a high number.
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome