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:
Known bugs:
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
//Sets a value for an ItemStack
Code (Text):
ValueSaver.hasValue(ItemStack is);
//Checks if a ItemStack has any values
//Checks if a ItemStack has any values
Code (Text):
ValueSaver.hasValue(ItemStack is, String value);
//Checks if a ItemStack has a specific 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
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
//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)
//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
//Delete all values of an ItemStack
Code (Text):
ValueSaver.deleteValue(ItemStack is, String valuename);
//Delete a specific value from an ItemStack
//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)
//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)
//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
//Created an inventory with the choosen id
Code (Text):
InventoryManager.getInventoryId(Inventory inv);
//Gets the id of an inventory
//Gets the id of an inventory
- After enchanting an item with values this item won't have a blue displayname
- If you want to rename a item with values via anvil you aren't allowed to use the character ':' or '='
- (Contact me if your plugin uses ISVS and I will post it here)
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.