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
I cant use special characters like "möägen" it will turn into "mgen" and remove my öä
Aww nevermind, i fixed it by changing the .yml to ANSI.
Can someone upload a german OddItem.yml for 1.0.0
@mushroomhostage
Thanks mushroomhostage!
:) yes tnx
Updated OddItem.yml for 1.0.1: http://pastebin.com/raw.php?i=C1FNTRJG
@BoomGEMSTA
Editing files now :)
when will 1.0.1 come out
Having issues with this and ChestShop something to do with big and small letters...
Edit
this was due the error in ChestShop (LWC checks) nothing to do with Odd Items..
:) I wait for the new version.. with Joy happy happy joy
Can someone upload a german OddItem.yml for 1.0.0
Sorry for lack of updates. Lots of projects and presentations and exams in classes lately. Last exam is tomorrow, so I'll try to have everything fixed and updated for 1.0.1 soon.
I also get that error:
[SEVERE] Error occurred while enabling Showcase v0.7.9 (Is it up to date?): info.somethingodd.bukkit.OddItem.OddItemBase cannot be cast to info.somethingodd.bukkit.OddItem.OddItem java.lang.ClassCastException: info.somethingodd.bukkit.OddItem.OddItemBase cannot be cast to info.somethingodd.bukkit.OddItem.OddItem at com.narrowtux.showcase.Showcase.onEnable(Showcase.java:167) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
When using this with Showcase, i get:
[SEVERE] Error occurred while enabling Showcase v0.7.7.11 (Is it up to date?): info.somethingodd.bukkit.OddItem.OddItemBase cannot be cast to info.somethingodd.bukkit.OddItem.OddItem java.lang.ClassCastException: info.somethingodd.bukkit.OddItem.OddItemBase cannot be cast to info.somethingodd.bukkit.OddItem.OddItem at com.narrowtux.showcase.Showcase.onEnable(Showcase.java:167) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:413) at org.bukkit.Bukkit.reload(Bukkit.java:182) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:351) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
Seems like you're still missing: 43:4, 43:5, 44:4, 44:5, 98:1, 98:2
@petteyg359
I just added the .jar to the server and after a restart I get this in the server.log:
2011-11-06 23:11:17 [WARNING] [OddItem] Invalid format: 110
2011-11-06 23:11:17 [WARNING] [OddItem] Invalid format: 111
2011-11-06 23:11:17 [WARNING] [OddItem] Invalid format: 112
2011-11-06 23:11:17 [WARNING] [OddItem] Invalid format: 113
2011-11-06 23:11:17 [WARNING] [OddItem] Invalid format: 114
2011-11-06 23:11:17 [WARNING] [OddItem] Invalid format: 115
2011-11-06 23:11:17 [WARNING] [OddItem] Invalid format: 369
2011-11-06 23:11:17 [WARNING] [OddItem] Invalid format: 370
2011-11-06 23:11:17 [WARNING] [OddItem] Invalid format: 371
2011-11-06 23:11:17 [WARNING] [OddItem] Invalid format: 372
Why do I get these? I havent touched the file that Odditem generated.
Awesome plugin :)
@Massimo1993
Done, just waiting on moderator to approve the file.
@Massimo1993
I've uploaded all the previous jars since I started using Maven to http://bukkit.somethingodd.info/files/ if you want to use an old one, but it'd be better to actually fix the problem :) Post it on the tickets page. If it's an OddItem problem, I'll fix it, otherwise I can send a pull request on iConomyChestShop.
please update the plugin ç.ç
I have version 7.3.1, but if there is a version between that and 7.4 I would appreciate the upload. My version is causing problems with iConomyChestShop 3. The system works just fine when I remove odditem, but errors when it is in place. If I could get some historical versions I would like to find one that works so I don't have to choose between the two.
FYI, you said for the other person to click the download icon but every icon on every page for all of bukkit and google points to the 7.4 version now.
@ScorpioN8611
The page clearly says to not use that version.
Click the download icon on the main page.
[INFO] [OddItem] 0.7.4 enabled
[OddItem] Wrote default config
[SEVERE] Error occurred while enabling OddItem v0.7.4 (Is it up to date?): while scanning for the next token; found character '\t' that cannot start any token
while scanning for the next token
found character '\t' that cannot start any token
in "<reader>", line 8, column 1:
sample:
^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
at org.bukkit.util.config.Configuration.load(Configuration.java:82)
at info.somethingodd.bukkit.OddItem.OddItem.configure(OddItem.java:109)
at info.somethingodd.bukkit.OddItem.OddItem.onEnable(OddItem.java:326)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)