PayToKeepInventory Remastered icon

PayToKeepInventory Remastered -----

Utilise your VAULT Economy to allow users to buy their inventory back



PayToKeepInventory
Let your players buy their inventory back on death!
This is a re-upload of my second ever spigot plugin, it has been re-modelled slightly to improve efficiency and support for newer spigot versions.

This is very much a plug-and-play plugin in the sense that it will work out of the box as long as you also have vault installed on your server.

Commands
/keepinv-reload
- Reloads the plugins Config.yml file and brings all changes into effect ingame.

Permission Nodes

KeepInv.reload - Allows access to the /keepinv-reload command
KeepInv.free - Allows you to regain access to your inventory without having to pay anything


Sample Configuration
Code (YAML):
[/B ] [/SIZE ] [/SIZE ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] #--[################################################################][/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ] #--[##################### GENERAL INFORMATION ######################][/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ] #--[################################################################][/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ] # Don't delete anything below, just edit the fields![/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ] # General Reminder: true means yes; false means no[/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ] # If you ever feel like you have messed up and need to get the file back to its default state just delete the .yml file and restart the server[/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] # The below will notify any ops that join the game if a new version of the plugin is available[/B][/SIZE][/SIZE]
[SIZE=6][SIZE=5][B]Update Notifications
: true [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] #################################################################[/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ] ##################### General Configuration #####################[/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ] #################################################################[/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] # The cost to retrieve the players items[/B][/SIZE][/SIZE]
[SIZE=6][SIZE=5][B]Cost
: 1000 [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] # Whether buying back inventory should also award a player their XP back[/B][/SIZE][/SIZE]
[SIZE=6][SIZE=5][B]KeepXP
: true [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] # Whether instead of just deleting a players items you wish to allow them to choose to retrieve their items by themselves[/B][/SIZE][/SIZE]
[SIZE=6][SIZE=5][B]AllowSelfRecovery
: true [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] # In these worlds if a player dies PayToKeepInventory will take no effect whatsoever[/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ]disabled-worlds: [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ]- world1 [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ]- world2 [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] #################################################################[/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ] ############### GUI Names & Message Customisation ###############[/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ] #################################################################[/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] # The title of the Keep Inventory Options GUI[/B][/SIZE][/SIZE]
[SIZE=6][SIZE=5][B]MainGuiTitle
: "Keep Inventory?" [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] # The title of the retrieve items GUI[/B][/SIZE][/SIZE]
[SIZE=6][SIZE=5][B]SecondaryGuiTitle
: "Your Items" [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] # Change the text of the emerald block used to save your inventory[/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ]SaveInventory: [/B ] [/SIZE ] [/SIZE ]
[SIZE=6][SIZE=5][B]Title
: "&a&lGet Inventory" [/B ] [/SIZE ] [/SIZE ]
[SIZE=6][SIZE=5][B]SubText
: "&fGet your inventory back, This will cost: &a&l$<cost>" [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] # Change the text of the redstone block if config field: 'AllowSelfRecovery' is set to false[/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ]LoseInventory: [/B ] [/SIZE ] [/SIZE ]
[SIZE=6][SIZE=5][B]Title
: "&c&lLose Inventory" [/B ] [/SIZE ] [/SIZE ]
[SIZE=6][SIZE=5][B]SubText
: "&fYou will lose your items forever!" [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] # Change the text of the redstone block if config field: 'AllowSelfRecovery' is set to true[/B][/SIZE][/SIZE]
[SIZE=6 ] [SIZE=5 ] [B ]RetrieveInventory: [/B ] [/SIZE ] [/SIZE ]
[SIZE=6][SIZE=5][B]Title
: "&c&lRetrieve items yourself" [/B ] [/SIZE ] [/SIZE ]
[SIZE=6][SIZE=5][B]SubText
: "&fYou will have to go and get your items yourself" [/B ] [/SIZE ] [/SIZE ]
[SIZE=6 ] [SIZE=5 ] [B ] [SIZE=6 ] [SIZE=5 ] [B ]


Got any questions or bugs? Let us know here!​
Resource Information
Author:
----------
Total Downloads: 93
First Release: Jul 10, 2023
Last Update: Jul 10, 2023
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings