OddItem
Unified custom items list and parser
This plugin provides a dictionary for custom item names (cstairs for cobblestone stairs, wbucket for water bucket, dpick for diamond pickaxe, etc.) and groups (kits, whitelists/blacklists, circuit elements, etc.). If a lookup is performed for a non-existent item/group, it will throw an exception with the closest matching alias as the message.
Features
- Item groups - one word can stand for a set of many items, accessible to other plugins
- Create kits for /give plugins
- Create whitelists and blacklists
- Throw exception with closest match when item not found
- Multiple suggestion engines (using Apache commons-codec)
- Utility functions - Provides enhanced ItemStack/Inventory methods (some methods may duplicate current Bukkit functionality that was lacking in previous Bukkit versions)
- compare(ItemStack, ItemStack) compares ItemStacks for equality
- contains(Player, ItemStack...) checks for ItemStack in Player's inventory
- remove(Player, ItemStack...) removes ItemStack from Player's inventory
Configuration
config.yml, groups.yml, items.yml
@Tombikos
Stone bricks have been in since the very first 0.9 version. Jungle wood/plank/sapling and brick/stone brick slabs will be in the next update.
I'm looking for jungle wood, stonebricks and all this new stuff :/.
@petteyg359
ok its working fine now, thx
@nhoclesnar
If you mean change an alias, it wouldn't be hard to add. If you mean change the name shown in a tooltip, you'd need Spout, and I'd need to figure out a way to have a preferred alias in the configuration, unless you only had one alias per item.
Um..can this plugin rename items?
@WingedSpear
Trying once more. Sorry for the broken fixes, I've got a bunch of assignments for classes that I'm trying to keep up with. http://repo.somethingodd.info/content/repositories/releases/info/somethingodd/odditem/0.9.4/odditem-0.9.4.jar
@petteyg359
mmm sorry, but its still bugged, i have the 0.9.3 and they are still able to repair their tools, i added the plugin commandblocker for that till u fix this
@WingedSpear
Fixed in 0.9.2. Uploading now, wait for moderator to approve it or get it from http://repo.somethingodd.info/content/repositories/releases/info/somethingodd/odditem/0.9.2/odditem-0.9.2.jar
EDIT: 0.9.2 might have broken it even worse. Uploading 0.9.3 instead. http://repo.somethingodd.info/content/repositories/releases/info/somethingodd/odditem/0.9.3/odditem-0.9.3.jar
@petteyg359
Huuuuuuuuuge bug!, if u type /odditems , u get the alias of the held item, but if u have one tool, the command fix the tool, now every1 on my server are fixing their tools for free with that =_=
@WingedSpear
The plugin supports other characters just fine, as does all of Java. Make sure you're saving the file in UTF-8.
@petteyg359
Hi, i need this plugin for ChestShop, its working fine but this plugin dont support the character ''Ñ'' and i need it, this is my config for items: http://pastie.org/3713342 , its 80% translated to spanish, just ignored some items like potions, anyway, i need to translate things like ''web'' to ''telaraÑa'', ''vines'' to ''viÑas'', ''sugarcane'' to ''caÑadeazucar'' and ''fishingrod'' to ''caÑadepescar'' but i cant cuz the plugin dont support Ñ/ñ =/
@softvelvet
If you're comfortable unzipping the jar yourself, editing a file, then re-zipping the thing, delete "odditem.reload" from the children section in plugin.yml. It's also fixed in snapshots (http://repo.somethingodd.info/content/repositories/snapshots/info/somethingodd/odditem/0.9.2-SNAPSHOT/odditem-0.9.2-20120328.185426-3.jar)
Small thing, I get this when I try to use /odditemreload or /oir from either in-game (I am op) or from the console itself:
"I'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe this is in error"
Not sure if it is a bukkit thing or what, but I can't reload it as it stands.
Nevermind.
Error in items.yml file.
Very sorry.
I put a number as an alias.
@CosmicVoyager
Have you tried 0.9.1?
Never mind.
Error in items.yml file.
Very sorry.
@Flenix1
It already has a reload command: /odditemreload (or /oir) I'll look at the Spout thing.
Two things that would be really useful:
/odditem reload - to reload the config,
And importing from the spout itemMap (if possible) - we're using custom Spout items, of which our server has just under 500. Adding them all manually to the list will take a LONG time :P
@Zenolijo
Use the latest beta or wait for the release I'm uploading now to get approved.
Needs a update for 1.2.3
18:50:17 [INFO] [OddItem] 0.8.1 enabled 18:50:17 [ALLVARLIG] Error occurred while enabling OddItem v0.8.1 (Is it up to date?) java.lang.NoClassDefFoundError: org/bukkit/util/config/Configuration at info.somethingodd.bukkit.OddItem.OddItemConfiguration.configure(OddItemConfiguration.java:55) at info.somethingodd.bukkit.OddItem.OddItemBase.onEnable(OddItemBase.java:55) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:363) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.ClassNotFoundException: org.bukkit.util.config.Configuration at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 12 more