To answer the question:
Someone would have to make a plugin that uses the api of the register plugin to know when to save/restore the items...
You can force it, but you can stack it so that the server crashes.
You mean like this: https://www.spigotmc.org/resources/13571/ ?
Sure, there are ways to make it work with a custom server and maybe a custom client.
That depends on what you mean by "your inventory is updated". Do you mean when a player opens their inventory? Or maybe when they receive an item?
The reason I did not wanted to do that is because there are several reason a player could disconnect before re-spawning and receiving their items,...
I've done something similar by setting the keepInventory to true on the PlayerDeathEvent and then dropping all items that do not meet the...
Take a look at this post I've made on the SpigotMC form.
I suppose you would need packets to do that.
The @EventHandler is an annotation to mark methods as being event handler methods. It is used to 'register' a method so it will be called when the...
You can use InventoryType instead of the numbers. Check out the JavaDoc.
Chest whatever = (Chest) world.getBlockAt(location).getState();
Remove the '/' at the beginning of your command.
I think I made this mistake before on a thread... Feels bad.
In that case @Zombie_Striker has provided enough information for you to fix it.
I asume you ment to do main.oldLoc.containsKey(asd.getUniqueId())
Separate names with a comma.