WebThe CMI plugin is made for Spigot / Paper 1.19.x and lower, and helps server owners conviniently manage their servers with an extensive feature set. It has a flexible and dynamic set of commands, permissions, and placeholders. CMI offers your players a modern and consistent experience. WebOct 5, 2024 · The inventories are saved in ./config/saveandloadinventories/*.txt. Commands: /saveinventory - Saves the current inventory of the user as . alias: /si /loadinventory - Loads an inventory named previously saved. alias: /li
Solved - Save and Load a Bukkit Inventory in config
WebMar 28, 2024 · What you could do is save the config after setting all the values, like this: for (String string : PScore.keySet ()) { this.getConfig ().set ("score.pscore", string); } this.saveConfig (); Also keep in mind you're adding all the values into the same section in the config. Save an array instead. Share Improve this answer Follow WebA Spigot plugin that enables you to let your players keep a selection of their inventory on death. You can create multiple configs and assign different permissions for each config. This can be useful for servers that want their different donors to keep different parts of their inventory. Features Installation Dependencies Configuration config.yml suwannee county public records
Save inventory to Config file Bukkit Forums
WebAug 13, 2015 · This will be our method to save the HashMap: Code:Java public void saveHashMap ( HashMap < Object, Object > hm) { } Inside it, we loop through every key in the HashMap and set the key + value to the config: Code:Java for (Object key : hm. keySet()) { config. set("HashMap."+ key, hm. get( key)); } //important: save the config! saveConfig (); WebMay 31, 2024 · Not only does this save your inventory, it saves your stats as well! This includes things like active potion effects, exp, level, economy balance, and more. These all … WebAug 20, 2024 · + i, player.getInventory ().getContents () [i]); } player.getInventory ().clear (); saveConfig (); } public static void getInventory (Player player, WorldGroup worldGroup) { String configarmor = "WorldGroups." + worldGroup.getName () + "." + player.getUniqueId () + ".Inventory.Armor"; String configcontent = "WorldGroups." skechers casual sandals