[INACTIVE][INFO] SearchIds v1.2 [254]

Discussion in 'Inactive/Unsupported Plugins' started by croemmich, Jan 17, 2011.

  1. Offline

    croemmich

    SearchIds allows players to find block and item ids without leaving the game. It is a perfect companion to the give command or plugins like iConomy. Data values are automatically updated daily to ensure that even the newest blocks and items are searchable.

    Usage:
    /search pickaxe
    [​IMG]

    /search gold
    [​IMG]

    /search cloth
    [​IMG]

    /search blue
    [​IMG]



    search-ids.properties:
    Code:
    #search-type=[all|items|blocks]
    search-type=all
    
    # Update Options
    data-xml=search-ids-data.xml
    update-source=https://github.com/croemmich/SearchIds/raw/master/search-ids-data.xml
    auto-update-data=true
    auto-update-interval=86400
    
    # Command Options
    command=search
    
    #Formatting Options
    width-number=4
    width-blockname=24
    delimiter=-
    #base=[decimal|hex]
    base=decimal
    base-id=decimal
    
    Download - https://cr-wd.com/minecraft/plugins/SearchIds

    Change Log
    • 1.2 - Added hex id values for cloth, logs, dyes, etc. dl
    • 1.1 - Initial Release dl
    Source - https://github.com/croemmich/SearchIds
     
    ssechaud likes this.
  2. Offline

    Brack

    Hey Croemmich,

    Thanks for the work you've done on this, been loving this plugin so far. I did just install a new linux distro on my server and I'm having some issues after reinstalling. I'm guessing this isn't an issue with the plugin, but rather my server, but any help you could provide would be awesome as I don't know much about interpreting java errors. I'm using version 1.2 of the plugin with bukkit 261. When the plugin starts I see:

    Code:
    2011-02-06 09:52:07 [INFO] SearchIds 1.2 enabled
    2011-02-06 09:52:07 [INFO] SearchIds: Updating data from https://github.com/croemmich/SearchIds/raw/master/search-ids-data.xml...
    2011-02-06 09:52:08 [SEVERE] javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    2011-02-06 09:52:08 [INFO] SearchIds: Could not update search data.
    
    Any ideas?

    Edit: For anyone else having this problem, switching from Open JDK to Sun fixed it for me.
     
  3. Offline

    croemmich

    Not a clue.. I think something is up with your java install. Make sure you are using Sun Java and not OpenJDK.

    You won't get auto updates, but you could download the xml file and place it in your server directory. Then just turn auto updates off in search-ids.properties... not the best solution. Maybe someone else will know what your issue is about.
     
  4. Offline

    Brack

    Its interesting you mention this, because I remember reading something about using open-jdk over sun java, but I'm not sure if it was minecraft related or not. This is why I picked that. Do you know if I should uninstall open jdk and then install sun?
     
  5. Offline

    croemmich

    I would personally. AFAIK OpenJDK isn't really any better. It is just an open licence Java implementation.
     
  6. Offline

    Blaze9

    When I load up my server it says it can't find the xml. I downloaded it from the URL and placed it in /plugins and a folder I made /plugins/SearchIds, but still won't work. same error.

    Edit:
    I found a problem with the search-ids.property file. In the 4th line:update-source=

    the URL was this:
    https\://github.com/croemmich/SearchIds/raw/master/search-ids-data.xml

    I changed it to
    https://github.com/croemmich/SearchIds/raw/master/search-ids-data.xml
    and it's working fine now.

    =D
     
  7. Offline

    croemmich

    Interesting.. is that a new install?
     
  8. Offline

    Quazi

    I made that correction but it's still not working for me. What cb build are you using?

    Code:
    
    SEVERE: Could not pass event PLAYER_COMMAND to SearchIds
    java.lang.NullPointerException
            at org.bukkit.croemmich.searchids.SearchIdsPlayerListener.onPlayerCommand(SearchIdsPlayerListener.java:29)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:143)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:213)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:601)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:574)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:283)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
     
  9. Offline

    Kartus

    it would be nice if the 2 files "search-ids.properties" and "search-ids-data.xml" on the server would move from root to "/plugins/SearchIds" directory, like all other plugins ;)
     
  10. Offline

    Penorzilla

    Anyway you can fix it so that item number 57 which is diamond block actually says Diamond Block and not Diamond?
     
  11. Offline

    SliMeY_G

    Are you considering supporting either Niji's Permissions plugin or native bukkit permissions (once they're implemented)?

    I know I can stop people from giving them the [/i|/give|/whatever] command, but it'd be easier not to give them /search so they can't use it in the first place?

    Cheers.
     
  12. Offline

    Jandalf

    Nag cause of the stupidly long constructor...
     
  13. Offline

    Stephen92

    this doesn't work with craftbukkit 423.
     
  14. Offline

    Nipper

    It is also broken in 424
     
  15. Offline

    Wulfspider

    I believe Essentials or another plugin put this feature into theirs without noting it. I though the plugin was broken, but it was just conflicting with whatever other plugin has it now.
     
  16. Offline

    hyperch

    on #432 I get this warning:

     
  17. Offline

    NoFear13

    Please remove your old constructor:
    http://forums.bukkit.org/threads/oops-i-broke-your-plugins.599/#post-70677

    Now your Plugin works anymore, in the new Build:
    2011-02-25 23:37:43 [SEVERE] Could not load plugins\SearchIds.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: org.bukkit.croemmich.searchids.SearchIds.<init>()
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
    ... 8 more
     
  18. Offline

    Racha

    Please update this :)
     
  19. well done you should be proud this is what everyone neeeds! XD
    --- merged: Feb 27, 2011 4:12 AM ---
    erm coloured wool id's arnt there?
     
  20. Offline

    Jandalf

    they are i think, try /search red and it will show up red wool. but this plugin is unsupported since 9.02...
     
  21. Offline

    Torrental

    Any ETA for an update for this plugin?
     
  22. Offline

    ssechaud

    Using craftbukkit build 478, plugin v1.2, I get this error at bootup:

    22:57:59 [SEVERE] Could not load plugins\SearchIds.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: org.bukkit.croemmich.searchids.Searc
    hIds.<init>()
    at java.lang.Class.getConstructor0(Class.java:2706)
    at java.lang.Class.getConstructor(Class.java:1657)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:75)
    ... 8 more
     
  23. Offline

    Greedish

    Please update this? I loved this plugin to death!
     
  24. Offline

    weirdbeard

    I was getting error too but /search was working. I think it is now built-into either CraftBukkit or another plugin I am running. Not sure which. Most likely Essentials or WorldEdit but I do not care enough about /search to test. :) All my server plugins are listed in my sig. Good luck! :)

    -WB
     
  25. Offline

    Blackstorm72

    Essentials I think has a search within it.
    Looking at the license this is open source for editing. If I got the time I can see if just getting rid of that constructor makes the plugin work again, but I am rather busy (maybe someone else can pick it up?)
     
  26. Offline

    weasel5i2

    I've tried recompiling it several times, and it compiles fine with no errors or warnings at all, but the plugin fails to load! Something about java.lang.reflect.InvocationTargetException but I'm pulling my hair out over it. Renaming/refactoring the classes doesn't help.

    It seems unable to load the default class for some reason, but the stacktrace is vague at best.

    I'll keep trying.. :)

    --- merged: Mar 2, 2011 1:18 AM ---

    Got it.* Here's a fork, version 1.21_w5i2, compiled against Craftbukkit build 440. It still pulls the XML BlockID data from croemmich's repository.

    I removed the Stupidly Long Constructor, and changed the deprecated onPlayerCommand() stuff to work with the new onCommand(). I also learned how the new onCommand() works in the process! ^_^. Also, the forked class is now net.weasel.SearchIDs.

    Download JAR
    Download ZIP
    Download Source

    * The problem was the init event trying to get the plugin name and version from getDescription() and failing miserably with no hint of an error other than the exception mentioned above - so I hard-coded it now so that name = "SearchIDs" and version = "1.21-gigawatts" - don't be alarmed if you see this in the console log! :D

    --W5i2
    --- merged: Mar 2, 2011 3:12 AM ---
    I just discovered that Essentials has a built-in alias set, so I can type "/give weasel5i2 plank 20" and it works! Pretty handy. Plus, croemmich hasn't updated the XML file lately, so new blocks (like the bed) are not yet included..
     
  27. Offline

    Blackstorm72

    Ya beat me to it. Nice! Will check this out. I was about 1/4 of the way when you released this lol.
     
  28. Offline

    Andromedia13

    Weasel's update diden't fix this plugin for me, when I enable it I can use /search, but I can't actually search for an item
     
  29. Offline

    weasel5i2

    Hmmm.. What version of the Craftbukkit server are you running? This is compiled against the latest recommended build, #440 (http://ci.bukkit.org/job/dev-CraftBukkit/promotion/latest/Recommended/)
     
  30. Offline

    hyperch

    I got this error on # 493

    Code:
    19:08:22 [SEVERE] Could not load plugins/SearchIds.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: org.bukkit.croemmich.searchids.SearchIds.<init>()
            at java.lang.Class.getConstructor0(Class.java:2706)
            at java.lang.Class.getConstructor(Class.java:1657)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
            ... 8 more
     
  31. Offline

    weasel5i2

    I'll recompile it against #493 today and see if I can't fix that. :)

    EDIT: okay, I recompiled it and it threw no errors on my server. Hopefully it will work on yours too.

    Download Here (JAR)
    or Here (ZIP)

    --W5i2
     

Share This Page