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

Commands

Items list

JavaDoc API

Latest Maven artifact information

Downloads

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Indal21 Indal21 Apr 09, 2013 at 00:20 UTC - 0 likes

    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

  • Avatar of petteyg359 petteyg359 Feb 06, 2013 at 21:46 UTC - 0 likes

    @Solblade45: Go

    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.

    BFAK:petteyg359,8249,a6545f848544c2d4d31ec1a2bf48d860720d937472167aa5e1ba557a5c7b2305

  • Avatar of Solblade45 Solblade45 Feb 06, 2013 at 15:51 UTC - 0 likes

    @petteyg359: Go

    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

  • Avatar of petteyg359 petteyg359 Feb 05, 2013 at 20:31 UTC - 0 likes

    @Solblade45: Go

    Yes, you need to add the new item IDs to items.yml. Assuming those other plugins are using SpoutPlugin, you just need to add

    '318;SpoutIdGoesHere': [your,aliases,here]
    

    IIRC, the SpoutPlugin items are listed in another file, which is either in the plugins/SpoutPlugin directory, or in your world directory.

  • Avatar of Solblade45 Solblade45 Feb 05, 2013 at 19:15 UTC - 0 likes

    @petteyg359: Go

    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?

  • Avatar of petteyg359 petteyg359 Feb 05, 2013 at 18:20 UTC - 0 likes

    If something is broken, I'll attempt to fix it, but AFAIK, nothing's broken. What are you asking for?

  • Avatar of Solblade45 Solblade45 Feb 05, 2013 at 18:19 UTC - 0 likes

    @petteyg359: Go

    what happend to this? :o its so good! you should bring it back up now that forge an bukkit are merging closer togueter :3

  • Avatar of netsurfer912 netsurfer912 Feb 05, 2013 at 17:56 UTC - 0 likes

    @petteyg359: Go

    Not anymore ....

  • Avatar of Krankbait1 Krankbait1 Jan 19, 2013 at 02:24 UTC - 0 likes

    Any updates?

  • Avatar of petteyg359 petteyg359 Dec 22, 2012 at 00:18 UTC - 0 likes

    @karatetoes: Go

    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.

Which comparator option do you use?

  1. Choice:

  1. Results
  2. 1 comment

Facts

Date created
Aug 25, 2011
Categories
Last update
May 31, 2012
Development stage
Release
Language
  • enUS
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
OddItem
Downloads
14,252
Recent files

Authors