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
@darkcloud784
Chestshop gets the sold item name from Bukkit, not OddItem, so Acrobot will have to update that for you.
@petteyg359
We dont use duckshop we use IConomyChestShop AkA ChestShop
@darkcloud784
Try the same DuckShop build I posted for drunkenmeows, and let me know if it is any better.
We seem to get alot of "item not recognized" when making chestshops (which uses odditem).
No errors, the shops create but when you click them it just says not recognized I'm assuming its an issue with oddtiem as its still in beta but ill also post this in the chestshop forum.
@drunkenmeows
Try this build of DuckShop
@wvenderbush
Which version are you using? It works for me in the latest snapshots.
I added some names (for differen't spawn eggs)
Ex. Creeper Egg (383:50) to be "creeperegg" or "cregg"
But then when I hold the item and do /odditem it says "An internal error occured while attempting to perform this command."
I set it up like this: (in the YML) '383;50': [cregg, creeperegg]
which i'm sure is right... so whats the problem?
@drunkenmeows
That is DuckShop failing at proper API usage. I'll fix it and send him a pull request.
DuckShop seems to be using (either in itself or in older dependencies) several things that are being removed in 1.1-R5, so you might want to encourage the author to update.
I'm Getting thrown this for using a sell sign This happens when the player does have enough or any of the items there with to sell...
DuckShop issue with new oddItem or an oddItem issue?
@icheesy
The latest beta version includes potions in the item list, and works with the latest OddGive beta for me.
@petteyg359
Do you support potions? The item list link won't work
0.9 beta 1 has been uploaded.
@petteyg359
thx
@darkcloud784
Transitioning to running Jenkins on Jetty instead of standalone. It'll be back up shortly.
EDIT: Back up.
@petteyg359
Cant go to http://ci.somethingodd.info/
requires a login to access =\
The current version doesnt work for some items, reguardless of how they are implemented into the yml. Default config doesnt even work for potions =\
@darkcloud784
If the current release version is not working with the new item lists that have been posted in the comments, then tell me what's broken. There any many things I'm planning to change in the next version, but until somebody notes a bug in the current version, I have no reason to rush an update.
Please use the "Tickets" link at the top if there are bugs.
I've added a link on the page to the items list.
If you don't need groups, which I'm reworking, the stable builds on http://ci.somethingodd.info/ should be working, too.
1.2 will be out before this is updated it seems...
@darkcloud784
Sorry, still working on it.
@funkystudios
Noted.
Needs update im sure - we get Item not recognized on all potions.
EDIT: I want to add I have the auto generated odditem.yml.
Great plugin! My users love this along with DuckShop. One possible new feature could be a command to check the name of an item. Hold an item and check its "OddItem" name using a command (ex /odditem check)
@KittyHopHop
The file in the jar (and what it writes to the disk) should be UTF-8. Just make sure your editor is using the right encoding.