Started by
janisishere
on
Topic category: Help with Minecraft modding (Java Edition)
Hey, im trying to make a system thats like lifesteal, and you get banned after having 0 hearts. Now I want to make an unban item that unbans players. But I dont know how to change a player persistent Variable while the entity is offline. And how would i make a gui for it (optional)
there is a plugin you can download called array lists by nerdy, you can make a procedure with the global trigger player join world, you can then grab that username and add it to the array list, but first make sure to check if it already exists before you add, otherwise there will be duplicate names, then in the item it will let you open a gui that will display the names of that array list, with buttons next to them that will change the variable for them, however that's all I can help with, hopefully you can get the rest working, goodluck!