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
Ok,so how can i use this so i can provide an alias for the items from Moarstuff so i can add them at chesthop?
Help most appreciated
@Solblade45
Why would you be using the ID on the sign? The purpose of OddItem is to allow you to use the alias. Put WaterStone on the sign.
@petteyg359
what if im not using spout.. and im using a mod.. is it the same process?
like '10265;0': [WaterStone]
Thats how i have it writen but chestshop doesnt recognize it when i type in the ID unless i have to type in the ID ont he sign like 10265;0? i just typed 10265
@Solblade45
Yes, you need to add the new item IDs to items.yml. Assuming those other plugins are using SpoutPlugin, you just need to add
IIRC, the SpoutPlugin items are listed in another file, which is either in the plugins/SpoutPlugin directory, or in your world directory.
@petteyg359
i was told this would work with chest shop if i wanted to sell/buy items from a mod such as rare candys, pokeballs, adamantite ore, buildcraft pipes, etc but after installing it, it doesnt seem to work with that or am i suppose to add them to the config or something?
If something is broken, I'll attempt to fix it, but AFAIK, nothing's broken. What are you asking for?
@petteyg359
what happend to this? :o its so good! you should bring it back up now that forge an bukkit are merging closer togueter :3
@petteyg359
Not anymore ....
Any updates?
@karatetoes
This doesn't change any item names in game, it simply provides a single lookup table usable by any plugins needing item name aliases (/give, shop & auction, item spawning, etc.), so that users do not need to remember different item lists for each plugin or have to look up ID numbers and damage values. I am working on a version that will rename items in-game, but it will require Spout or SpoutPlugin.
@petteyg359 so the names are changed globally correct? So if someone was the view this in their inv the name would show idk "Shadow Hammer" for the Diamond Axe other than "Diamond Axe" and would maintain the name "Shadow Hammer" even with lost durability
@Tombikos
Here's a list generated for our server that should be complete for 1.4 (though doesn't contain all the original odditem names, we just always stuck with one):
http://pastebin.com/nEUyFrcn
Any 1.4 update?
Any 1.3 update?
@Tunix2
The version is printed by Bukkit when the plugin is loaded.
Is there on enable and disable text? I didnt see any... could we have a version number in the enable/disable output? use pdf for that.
If there ios and I didnt see it please disregard.
Hey petteyg,
I always wanted to have an extended alias support for commandbook. i tried it many times but it just won't work :(. is it up to you or the devs of commandbook that these plugins can work together? i'd love to see a cooperation between the plugins <3
boot
@CosmicVoyager
There's nothing in OddItem that prevents aliases with spaces from working, but whatever other plugin you're using would have to know not to treat the two words as one string (in quotes maybe).
Greetings,
Is there a way to make an alias with a space in it?
Thanks
0.9.5 release uploaded pending approval. Fixes aliases query on potions returning waterbottle instead of the correct aliases.