NoChance20 Glad I could help, and we all have different feelings about caps in code. I generally hate it when caps is in the middle of a word but...
NoChance20 First of all, I would recommend using YamlConfiguration for your customConfig so instead of: public FileConfiguration customConfig =...
9903286 No problem Glad I could help! You can also add methods in your config file sort of like this one to make it easier for you: public String...
9903286 That means that the config is null, make sure you identify the file correctly. This is an example of how I would load the config from my...
9903286 I wouldn't recommend putting all of that in your save method. I would make a separate method that is called when the plugin loads like...
Fatcorny When a player dies, that will return the entity that killed the player.
Fatcorny Here you go :D. Working for PlayerDeathEvent: if(event.getEntity() !=null) { EntityType EntityTypeThatKilledPlayer =...
9903286 Can you show us your config save method? Well...at least I hope you have a method for it. It would be something like this except changed...
Julian1Reinhardt Sorry I was away (again :D ). that error looks like it is from part of the script I didn't help you with :confused:. There must...
Julian1Reinhardt Did you try what I said before?
Julian1Reinhardt Yeah sorry I meant to create a new inventory within the method and set the contents as i.getContents() and then base64 that.
HeyAwesomePeople What you are basically saying is you want us to code this for you, which I guess is fine but to become a good coder you have to...
Julian1Reinhardt Does the listener script have access to it? I personally think the best thing to do would be this: tobase64(i.getContents());...
Julian1Reinhardt In your listener script, you don't actually set the contents of the inventory, you have to get the inventory from the event like...
Julian1Reinhardt I'm not entirely sure why you are getting that problem, the code for the InventorySerializer class has been tested quiet a lot,...
HeyAwesomePeople ok, I didn't realize that you were doing this within a config file class, you could just type in getConfig() without the "this"...
Julian1Reinhardt Can you paste the line that the NPE is happening on from the InventorySerializer class please? From the error that looks like...
HeyAwesomePeople You will first need to start with creating a commandlistener class, well it doesn't have to be a second class but I like it to be...
wiiwilleat or you could set a custom display name for that player that takes their currently display name and adds a chat color to the end.
Julian1Reinhardt Try something like this: Player p = (Player) sender; Inventory inv = Bukkit.createInventory(p, 9, "pigzombieinv"); Sorry for...
Separate names with a comma.