I'm not sure why you need this (Usually there are better ways to achieve what you plan on doing) . Reguardless , looking at your code shows me you...
Where you are going wrongs is trying to update config from the file its self , while the server is running . The way you should modify configs...
You are are saving it . The problem you had before was modifying it and not saving it back into memory , so it got overwritten. If you want to...
I think you can use horse.setTarget(player) , if you get the horse object .
I believe you can use the player.setPlayerListName(); to change the players name in the tab.
Are you sure you are not registering the PlayerDeathEvent twice? If you are using InteliJ you can press ctrl+shift+f and search for where you are...
Could you show the method where you call the killer.getInventory()....?
If the question is 'Why isn't this amplifying my hast in game, if i have more armour on' , the answer would be: You are setting the potion effect...
Where is killer.getInventory().... Being called?
Do you stop the server when you change the value? If you don't that's why you are getting the problem . Basically you change the value in the...
I repeated this , including the .isSet(playerName) method recommended and found it worked just fine. I used a fake name to add in the other player...
I'm not sure about all of the config but certaintly there is a problem with how you are defining kits. See here (from the header at the top): #...
Separate names with a comma.