Home›Java›Mods›ISVS - ItemStack ValueSaver
ISVS - ItemStack ValueSaver 1.3

This API allows you to save values in ItemStacks.
Thesese values are unique for every ItemStack, they are invisivble, renaming / enchanting the item won't make the values disappear. Even after a server restart the values are still there... Without a config or database.
Also this plugin allows you to create unique Inventories by giving them a id.

Commands:
/value set <valuename> <value> | Set a value of the item in your hand
/value get <valuename> | Get a value of the item in your hand
/value check | Get all values of the item in your hand
/value remove <valuename> | Remove a value of the item in your hand
/value clear | Remove all values of the item in your hand
/value raw | Get raw value information of the item in your hand

Permissions:
ISVS.Value -> Allows you to use the 'value' command

API:
Code (Text):
ValueSaver.setValue(ItemStack is, String name, Object value);
//Sets a value for an ItemStack
Code (Text):
ValueSaver.hasValue(ItemStack is);
//Checks if a ItemStack has any values
Code (Text):
ValueSaver.hasValue(ItemStack is, String value);
//Checks if a ItemStack has a specific value
Code (Text):
ValueSaver.getValueBoolean(ItemStack is, String value);
ValueSaver.getValueString(ItemStack is, String value);
ValueSaver.getValueInteger(ItemStack is, String value);
ValueSaver.getValueObject(ItemStack is, String value);
//Gets a value from an ItemStack
Code (Text):
ValueSaver.getAllValues(ItemStack is);
//Get all values from an ItemStack
Code (Text):
ValueSaver.remakeItem(ItemStack is, String name, Material material, List<String> lore);
//Changes the name / material / lore of an ItemStack without losing the values of the ItemStack (Leaving one parameter blank wont't have any impact to that parameter)
Code (Text):
ValueSaver.deleteAllValues(ItemStack is);
//Delete all values of an ItemStack
Code (Text):
ValueSaver.deleteValue(ItemStack is, String valuename);
//Delete a specific value from an ItemStack
Code (Text):
ValueSaver.setRawValues(ItemStack is, String values);
//Sets raw information of an ItemStack (Don't use this)
Code (Text):
ValueSaver.getRawValues(ItemStack is);
//Gets raw information of an ItemStack (Don't use this)
Code (Text):
InventoryManager.createInventory(String title, int size, int uniqueId);
//Created an inventory with the choosen id
Code (Text):
InventoryManager.getInventoryId(Inventory inv);
//Gets the id of an inventory
Known bugs:
Plugins using ISVS:

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ISVS - ItemStack ValueSaver is a free Minecraft Java mod. Downloaded 425 times (via Spigot). Download it and open it directly in the game.

Explore more