Added new permission nodes ki.onjoin.on and ki.onjoin.off
If the player joins the server and has either one of the permission nodes mentioned above, it'll automatically have KeepInventory enabled or disabled.
Blacklisted worlds will still prevent the player from having KeepInventory enabled.
Added new config option debug.send-on-join-notification
By default, this config option is set to "false", but if enabled, it'll send the joining player a message about KeepInventory being enabled or disabled for them.
Added three new messages for the on-join notifications
Now introducing: KeepInvAPI
You can now use KeepInventory Individual inside your project's library! Right now, it only lets you enable and disable KeepInventory for the specified player. More info on the wiki!
As always, please don't hesitate reaching out to me, if you got any questions or if something is not working right.
And remember, please do not use the review section to seek support.
-
Added new config option debug.enabled, which prints debug messages of the plugin's behaviour into the server console.
-
Reduced messages with ".self" and ".other" into it's own messages.*
-
Various code optimizations
-
Added api-version to plugin.yml to prevent legacy mode.
*I highly suggest removing those lines in the messages.yml and use the reload command in-game / restart the server to have the new changes.
-
Added command argument "list" (ki.admin.cmd.list) to get a list of players who have KeepInventory enabled.
-
Added command argument "help" (ki.admin.cmd.help) to get a list of commands for this plugin.
-
Added permission node "ki.keepxp" (default to op players) to prevent players from losing their experience levels upon death.
-
Various code optimizations were done for better plugin performance.