[INFO] StickyHelp v1.0.2 - Get help from text files [1060]

Discussion in 'Inactive/Unsupported Plugins' started by marvinbek, Jul 25, 2011.

  1. Offline

    marvinbek

  2. Offline

    Darq

    @Kane Yeah I've noticed the same thing. @marvinbek Also, typing the help command in console throws an error.
    Code:
    08:48:39 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'help' in plugin StickyHelp v1.0.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:344)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:488)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:467)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
        at me.marvinbek.StickyHelp.StickyHelp.onCommand(StickyHelp.java:62)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 6 more
     
  3. Offline

    marvinbek

    Hehe :D

    Will probably add a Player check in next version

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  4. Offline

    Darq

    Oh, and, I noticed help files are case sensitive. I don't know if you'll remove that in a later update, but I got around it like this:
    Step 1, command helper, get it.
    Step 2, do a bit of reading to learn how to use it.
    Step 3, open config file add this:
    Code:
    /help $page = /help to_lower($page)
    
    Step 4, name all help.txt files lower case.
    Step 5, ???
    Step 6, profit.

    I'm not much of a code junkie so I felt proud that I did even that simple task. :p
     
  5. Offline

    Spamandritz

    you should make this able to get helpfiles from the internet
    just type "http://www.herpaderp.com" into the derp.txt and when you type /help derp it pulls up all the text on herpaderp.com... i saw a plugin that did something similar to this, but im pretty sure it died long ago... EDIT: if somebody finds this original plugin, i didnt mean to suggest that you steal that developers work, i just thought it died...

    if you decide to do this, i will try to help you with it being a slightly-more-than-beginning plugin developer myself
     
  6. Offline

    Kane

  7. Offline

    marvinbek

    Nope, i'm renaming this and adding some delicious features :D I'll link to the new thread when i'm done though.
     
  8. Offline

    Kane

    Okay. Ping me if you remember :)
     
    Delocaz likes this.
  9. Offline

    marvinbek

    Kane likes this.

Share This Page