Inactive [INFO] Help 3 - a Smarter /help [1060]

Discussion in 'Inactive/Unsupported Plugins' started by jascotty2, Apr 19, 2011.

  1. Offline

    jascotty2

    Help - The Smart /help Menu
    Version: 0.3.2
    Download: Help.jar

    This is a new thread for the Help version that i maintain
    (tkelly hasn't been on for about a month as of this submission, and no updates to his version since 531)

    Version 0.3 is (finally) out! :D

    (any suggestions for what to work on next are welcome ;) )


    Help has support for both GroupManager and Permissions, so you can use either one. You can also use neither if you so choose. Help will not force you to any which one.

    What is Help?
    Help is a clean and advanced /help menu. Help separates "main" commands from secondary ones, allowing you to have a clean initial menu, but still able to dig down and get access to every possible command.

    It is also the first /help menu to take into account permissions; some commands simply aren't applicable to all users, so those commands should clearly not be visible to those users. Now, default users' help menus won't be cluttered with commands for admin tools they have no way of using.

    Scroll down for a preview, or see below for how to hook into Help :)

    Help Commands
    /help (#) : Shows the /help menu.
    /help http://dev.bukkit.org/bukkit-plugins/ (#)[/I][/B]:[/FONT] Shows all the help entries for [I][plugin][/I]. [B][FONT=courier new]/help plugins[/FONT][/B] : Shows a list of all the plugins with Help entries. [FONT=courier new][B]/help search [I][query][/I][/B][/FONT] : Searches for [I][query][/I] within it' entries. [B][FONT=courier new]/help reload[/FONT][/B] : Reloads the entries from ExtraHelp.yml. [SIZE=5][B][FONT=helvetica]Plugin Support[/FONT][/B][/SIZE] Help requires that plugins tell Help about the commands they use. This makes sure that the commands and permissions are accurate and precise (rather than trying to auto fetch commands). Because it's ridiculous to assume that all plugins will instantly jump up and support Help (we can dream can't we? :D), server admins can mimic this behavior by supplying... [SIZE=5][B][FONT=helvetica]Custom ExtraHelp/[/FONT][/B][/SIZE] I'll also cover how you can add custom commands to the /help menu here. Each command has a "name", this name is only for you, as Help doesn't care about it (they just need to be unique names). In the following example the names are 'versions', 'pluginversions', 'kick' and 'essentialswho'. Within these Nodes you [FONT=Georgia][U][I][B]need[/B][/I][/U][/FONT] [B][SIZE=4]2[/SIZE][/B] things: command, description, [SIZE=2][S]and plugin[/S][/SIZE]. These should be self-explanatory. The two optional pieces are "main" and "permissions" [INDENT=1]The previously required "plugin" node has been replaced by the filename itself.[/INDENT] [INDENT=1]so if you have entries for "Minecraft", put those entries within "Minecraft.yml" in help's ExtreHelp folder.[/INDENT] [INDENT=1]If you have many commands & don't want them cluttering the same file (like worldedit), you can put them in a folder instead (the folder name will be the name used for plugin)[/INDENT] If you specify a "main", you can choose whether or not the command is important enough to show up on the main /help menu; if you leave it blank or skip it, it will default to 'false' If you specify a "visible", you can specify whether the command shows up at all. This is useful for overriding other plugins' built-in Help support (in case you don't want all the commands); if you leave it blank or skip it, it will default to 'true'. If you specify a "permissions", you can choose what is necessary for the user to see the command; and leaving it blank will allow all to see. So in the case of /version, all users can use it, so no permissions. But with /who, you have to have essentials.list, so that was specified. There is also a special permission case, "OP". By specifying this, this will require the user to be an OP to use the command (as is the case with Minecraft's built-in /kick command). [code] versions: command: version description: Show the version of Minecraft and CB plugin: CraftBukkit main: true pluginversions: command: version [plugin] description: Shows the version of [plugin] plugin: CraftBukkit kick: command: kick [player] description: Kicks [player] from the server plugin: Minecraft main: true permissions: OP essentialswho: command: who description: Show who's one the server plugin: Essentials main: true permissions: essentials.list [/code] [B][SIZE=5][FONT=helvetica]How To Hook into Help.[/FONT][/SIZE][/B] [spoiler="API"] Hooking into Help is extremely easy, and very similar to hooking into any permission-plugin. When your plugin is starting up, just grab the Help plugin and register your commands with Help's registerCommand() method; that's it! Here's the API and some examples. If you'd like a concrete example, check out the relevant source code from [URL='https://github.com/tkelly910/MyHome/blob/master/src/main/java/me/taylorkelly/myhome/HomeHelp.java'][COLOR=rgb(16, 97, 179)]MyHome[/COLOR][/URL] and [URL='https://github.com/tkelly910/BigBrother/blob/master/src/main/java/me/taylorkelly/bigbrother/BBHelp.java'][COLOR=rgb(16, 97, 179)]BigBrother[/COLOR][/URL]. [SIZE=4][FONT=helvetica][B]Help API[/B][/FONT][/SIZE] [code] /** * Registers the given command, description, and plugin. * There are no permissions, so all users can see it. * It is also not a "main" help entry. * @return Whether or not it was successful */ public boolean registerCommand(String command, String description, Plugin plugin); /** * Registers the given command, description, and plugin. * There are no permissions, so all users can see it. * You can set whether the plugin is a "main" entry or not * @return Whether or not it was successful */ public boolean registerCommand(String command, String description, Plugin plugin, boolean main); /** * Registers the given command, description, and plugin. * You can specify one or more permissions. * If a user has permissions for at least (1) of them, he can see this command * It is also not a "main" help entry. * @return Whether or not it was successful */ public boolean registerCommand(String command, String description, Plugin plugin, String... permissions); /** * Registers the given command, description, and plugin. * You can specify one or more permissions. * If a user has permissions for at least (1) of them, he can see this command * You can set whether the plugin is a "main" entry or not * @return Whether or not it was successful */ public boolean registerCommand(String command, String description, Plugin plugin, boolean main, String... permissions); /** * Gets the help text associated with this command * @param command the command to lookup * @return help text, or null if none */ public String getHelp(String command); /** * Gets all of the commands registered with this plugin * @param plugin plugin to lookup * @return list of commands */ public ArrayList getPluginCommands(String plugin); [/code] [SIZE=4][FONT=helvetica][B]Basic Example[/B][/FONT][/SIZE] [code] // plugin is the instance of your Plugin registering the commands Plugin test = plugin.getServer().getPluginManager().getPlugin("Help"); if (test != null) { Logger log = Logger.getLogger("Minecraft"); Help helpPlugin = ((Help) test); // Registers a main command. But all users will be able to see it helpPlugin.registerCommand("home help", "Help for all MyHome commands", plugin, true); // Registers a secondary command to our plugin (MyHome), but the user has to have the permission to see it helpPlugin.registerCommand("home", "Go home young chap!", plugin, "myhome.home.basic.home"); log.log(Level.INFO, "'Help' support enabled."); } else { Logger log = Logger.getLogger("Minecraft"); log.log(Level.WARNING, "'Help' isn't detected. No /help support."); } [/code] [SIZE=4][FONT=helvetica][B]Slightly More Advanced Example[/B][/FONT][/SIZE] [code] Help helpPlugin = ((Help) test); String[] permissions = new String[]{"bb.admin.watch", "bb.admin.info", "bb.admin.rollback", "bb.admin.cleanse"}; // If a user has any one of those permissions, they'll be able to see /bb help. A main command helpPlugin.registerCommand("bb help", "Help for all BigBrother commands", plugin, true, permissions); // If a user has "bb.admin.watch" they'll be able to see /bb watch [player]. A secondary command helpPlugin.registerCommand("bb watch [player]", "Toggle the watch on [player]", plugin, permissions[0]); [/code] [/spoiler] [FONT=helvetica][SIZE=5][B]Plugins with Help Support[/B][/SIZE][/FONT] Here's a quick list of plugins (and version) that have built in Help support. - MyHome v1.9.2+ - MyWarp v1.10.3+ - BigBrother v1.6.4+ - Citizens v1.0+ - General 3.1+ - TelePlus 1.6+ - Pixl 1.3+ - Vampire 1.3+ - BetterShop 1.6.2+ - Wormhole-X-Treme 0.812+ - Tele++ v1.3.4 [FONT=helvetica][SIZE=5][B]ExtraHelp Packs[/B][/SIZE][/FONT] [URL='https://github.com/FabianN/MC-Bukkit-HelpExtra'][COLOR=rgb(16, 97, 179)]FabianN put together a repository of entries for your ExtraHelp/ that represent other plugins' commands.[/COLOR][/URL] It's really awesome and was helped put together by others from the community. [SIZE=5][B][FONT=helvetica]Preview[/FONT][/B][/SIZE] [IMG]http://i.imgur.com/AE9cG.jpg[/IMG] [IMG]http://i.imgur.com/cII2X.jpg[/IMG] [SIZE=5][B][FONT=helvetica]Changelog[/FONT][/B][/SIZE] Version 0.3.2 - 7/21/11 [LIST] [*]lowered chat fill size.. should fix some wrapping issues [/LIST] Version 0.3.1 - 7/7/11 [LIST] [*]fixed NullPointerException on entry save when no permissions [/LIST] Version 0.3 - 7/6/11 [LIST] [*]fixed loading help & plugin help registering before plugin onEnable [/LIST] [spoiler="Changelog"] Version 0.3 beta2 - 7/4/11 [LIST] [*]plugin console output fixed [*]console output width changed for when running windows [*]plugin help override can be disabled (default) [LIST] [*]plugin help registering is ignored if the command exists already [*]alternatively, can be disabled completely [/LIST] [*]saving of registered commands can be disabled (also, now saves to file, not "_orig" files) [*]ExtraHelp now uses filename as plugin name (plugin field no longer used) [*]added formatting options: [LIST] [*]shortenEntries : can show in old, one-line style [*]chat line (useWordWrap:false) - minecraft chat wraps to next line [*]columns (useWordWrap:true) - command on left, description in word wrap line(s) [LIST] [*]can be right-aligned (wordWrapRight:true) [/LIST] [/LIST] [*]plugin entries can be set to not sorted (listed in the order found in the help file) [*]"/help reload" is now op-only [*]"ExtraHelp.yml" will now be converted (again.. seems to have been removed somewhere..) [*]ExtraHelp supports a multi-directory structure (like FabiaN's help package) (plugin name will be the directory name) [*]improved node error messages when loading [*]fixed permissions 3x illegalAccessErrors on load (and api errors) [/LIST] Version 0.2.4.1 - 4/4/11 [LIST] [*]another illegalAccessError (hopefully) resolved [/LIST] Version 0.2.4 - 4/2/11 [LIST] [*]updated an illegalAccess error that was occurring in 617 [/LIST] Version 0.2.3 - 3/25/11 [LIST] [*]fixed a null pointer exception in plugin help [/LIST] Version 0.2.2 - 3/24/11 [LIST] [*]various null pointer fixes (could have nullpointerException on load without) [*]improved help listing [*]added console help support [/LIST] [SIZE=5][FONT=helvetica]Before i started maintaining: [/FONT][/SIZE] [I][SIZE=12px][SIZE=5][FONT=helvetica][B][URL='http://taylorkelly.me/plugins/Help/Help%20v0-2.zip'][COLOR=rgb(16, 97, 179)][COLOR=rgb(16, 97, 179)]Help v0.2 [531][/COLOR][/COLOR][/URL][/B][/FONT][/SIZE][/SIZE][/I] [I][SIZE=12px][I]Released 15 Mar, 2011[/I][/SIZE][/I] [I][SIZE=12px]- Built with latest recommend build (531)[/SIZE][/I] [I][SIZE=12px]- Multiline support. Descriptions of commands can now be as long as you'd like.[/SIZE][/I] [I][SIZE=12px]- Separated ExtraHelp.yml into separate YML files (for each plugin, etc).[/SIZE][/I] [I][SIZE=12px]- Plugin overriding. Don't like how a plugin has their Help support? Completely customize their entries.[/SIZE][/I] [I][SIZE=12px][SIZE=5][FONT=helvetica][B][URL='http://taylorkelly.me/plugins/Help/Help%20v0-1-1.zip'][COLOR=rgb(16, 97, 179)]Help v0.1.1 [493][/COLOR][/URL][/B][/FONT][/SIZE][/SIZE][/I] [I][SIZE=12px][I]Released 6 Mar, 2011[/I][/SIZE][/I] [I][SIZE=12px]- Built with latest recommend build (493)[/SIZE][/I] [I][SIZE=12px]- Updated for GroupManager 1.0[/SIZE][/I] [I][SIZE=12px][SIZE=5][FONT=helvetica][B][URL='http://taylorkelly.me/plugins/Help/Help%20v0-1.zip'][COLOR=rgb(16, 97, 179)][COLOR=rgb(16, 97, 179)]Help v0.1 [440][/COLOR][/COLOR][/URL][/B][/FONT][/SIZE][/SIZE][/I] [I][SIZE=12px][I]Released 28 Feb, 2011[/I][/SIZE][/I] [I][SIZE=12px]- Intial Release[/SIZE][/I] [\spoiler]/
     
  2. Offline

    kramark

    Well the last post by the developer was on 4/27, so I'm assuming so.
     
  3. Offline

    Quenaros

    Code:
    23:33:07 [SCHWERWIEGEND] [HELP] Error!
    mapping values are not allowed here
     in "<reader>", line 21, column 24:
                console = { log: function() {} }
                               ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
        at org.yaml.snakeyaml.scanner.ScannerImpl.peekToken(ScannerImpl.java:204)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentEnd.produce(ParserImpl.java:267)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.getEvent(ParserImpl.java:173)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:124)
        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 me.taylorkelly.help.HelpLoader.load(HelpLoader.java:30)
        at me.taylorkelly.help.Help.onEnable(Help.java:38)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Help ignores the ExtraHelp folder. I placed several yaml files for plugins there. Downloaded from FabianN
     
  4. Offline

    Olac09

    I found my problem, too bad I now get this:
    15:41:47 [ALLVARLIG] [HELP] Error!
    java.lang.NullPointerException
    at me.taylorkelly.help.HelpLoader.load(HelpLoader.java:77)
    at me.taylorkelly.help.Help.onEnable(Help.java:38)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:632)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    I solved my first problem, used a swedish letter.
    But suddenly I got this:

    18:14:40 [ALLVARLIG] [HELP] Error!
    java.lang.NullPointerException
    at me.taylorkelly.help.HelpLoader.load(HelpLoader.java:77)
    at me.taylorkelly.help.Help.onEnable(Help.java:38)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:632)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

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

    txomon

  6. Offline

    Brandon Egnell

    Ok im just at a lose. I have 29 Pages of help commands... for everyone >.> and no clue how to use THIS plugin. If you could post a tutorial of you adding PLUGIN's to help and like to limit help to a few commands per group... that would be awesome. Unless someone has something that would help me more than this anything would be great!
     
    Kiim likes this.
  7. Offline

    Brain

    <Shameless plug>
    Alternative to static help files: AutoHelp
    Uses the plugin description files which are part of any plugin jar to auto-populate Help.
    </Shameless plug>
     
    jascotty2 likes this.
  8. Offline

    xlilcasper

    I would love to see the ability to over ride the help info from a plugin with the extra help files. I'm using Precious stones and it adds its commands to the main help list and clutters it up. It does have a PreciousStones_orig.xml in the extrahelp folder. Changing this file so that Main: is set to false does nothing. Renaming it to just PreciousStones.xml does nothing as well. Can we have extrahelp folder override a plugins help menu?
     
  9. Offline

    easyrhino

    I have the same issues as Empty22. When I reload plugins all extra help yml files are reset to default.
     
  10. Offline

    Nitnelave

    Would it be possible for empty menu categories to not show up at all? as in, if you don't have the permission to use the plugin, you don't see the help at all? Thanks for this!
     
  11. Offline

    AbrarSyed

    can you please add a /help all command?? it gets pretty annoying sometimes, to go through every plugin possible to determine which ones exist and then what the commands are. I ask that this /help all command does exactly what the old help did just only the commands that the user can use.

    I really need to learn java so that I can do this stuff myself...
     
  12. Offline

    lycano

    @jascotty2: You can add Tele++ v1.3.4 to the "Plugins with Help Support"-List as it will now make full use of this great plugin.

    @AbrarSyed: Use "/help plugins" to get a list of connected plugins or use "/help search <query>" if you want to search for a specific command. With the later you can easily search IF the plugin you are searching for is connected to Help. With the first you can see if the Plugin you are searching for is registered with Help therefore has commands listed.
     
  13. Offline

    MacG32

    Error at startup with CB #773 and Help v.0.2.4.1:
    Code:
    [SEVERE] loader constraint violation: loader (instance of org/bukkit/plugin/java/PluginClassLoader) previously initiated loading for a different type with name "me/taylorkelly/help/HelpList" loading Help v0.2.4.1 (Is it up to date?)
    java.lang.LinkageError: loader constraint violation: loader (instance of org/bukkit/plugin/java/PluginClassLoader) previously initiated loading for a different type with name "me/taylorkelly/help/HelpList"
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:209)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at me.taylorkelly.help.HelpLoader.load(HelpLoader.java:81)
        at me.taylorkelly.help.Help.onEnable(Help.java:38)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:677)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Edit: Been fixed in the next commit by stevenh: :)
    Fixed java plugin class loader so it works with plugins that contain classes also
    present in other plugins. This also removes the changes from commit 1c4bde50bc12d130f6c8 which was added in order
    to fix this issue but wasn't ideal as it required plugins to be updated which isnt
    required with this fix

    Edit: CB #774 is still breaking plugins. :oops:
     
  14. Offline

    Olac09

    Can someone just tell me what my error is!
    edit: This forum doesn't seem to bee that helpful...
     
  15. Offline

    maetthew

    I have a couple of questions:
    • Am I supposed to create a new .yml-file for each new command-base?
    • If not, where should I enter my commands that I want to display in /help? Should they go in the Help.yml file or the ExtraHelp/Help_orig.yml file?
     
  16. Offline

    Celtic Minstrel

  17. Offline

    maetthew

    In my default Help.yml I have one single line in there saying "entriesPerPage: 9".

    Should I enter my values below that line? I can not for the world get this to work. I copied the example of "versions" in the first post and have tried to enter it below that line, above that line. I have tried to enter it in the ExtraHelp/Help_orig.yml file. I have tried to put the commands in its own file.
     
  18. Offline

    Celtic Minstrel

    You need to rename Help_orig.yml to Help.yml and edit it.
     
  19. Offline

    maetthew

    Ah thats what I missed. Thank you works as a charm!

    Do this mean that I can use separate YML-files for each plugin instead of writing/pasting everything into the Help.yml(originally Help_orig.yml)? Can I even use a folder structure like in the Github repo by FabianN?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  20. Question - I have my essentials files set up separately (ELoc, EAdmin) like such:
    Code:
    EssentialsLocation:
        command: help ELoc
        description: Displays all location commands from Essentials
        plugin: ELoc
       [S] permissions:[/S]
        main: true
    ELocDepth:
        command: depth
        description: Displays your block depth in relation to sea level
        plugin: ELoc
        permissions: essentials.depth
        main: false
    ELocGetpos:
        command: getpos
        description: Displays your position in x, y, and z coordinates
        plugin: ELoc
        permissions: essentials.getpos
        main: false
    ELocCompass:
        command: compass
        description: Displays your current bearing in the world
        plugin: ELoc
        permissions: essentials.compass
        main: false
    (That's my EssentialsLocation file, named ELoc, but whenever I start my server, it returns this:
    Code:
    [INFO] plugins\Help\ExtraHelp\BigBrother.yml
    2011-05-23 21:32:14 [INFO] plugins\Help\ExtraHelp\ELoc.yml
    2011-05-23 21:32:14 [SEVERE] [HELP] Error!
    java.lang.NullPointerException
        at me.taylorkelly.help.HelpLoader.load(HelpLoader.java:77)
        at me.taylorkelly.help.Help.onEnable(Help.java:38)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    What causes this and how can I fix it?
    Thanks!
    EDIT: Nevermind, you just can't have blank lines such as the one that I marked in the code.
     
  21. Offline

    Tagette

    Is there a way to get this help info using my plugin for my plugin?
    For example:
    String help = helpPlugin.getHelp("MyPluginName");

    returns the same help menu as typing:
    "/help http://dev.bukkit.org/bukkit-plugins/ [page]" This would be used, for instance, when a player types: "/MyPluginName help"/
     
  22. Offline

    Reazem

    Downloaded and I love it for ''MyWarp''

    thanks!!
     
  23. Offline

    TheRec

    Hello,

    I know the topic title says it doesn't support CB build 803, but on that build the /help command yields the default help of Bukkit. With CB build 798 the plugin works fine !

    There is no error in console or log when using Help on CB build 803, the plugin reports that it has loaded all the ExtraHelp files I have and it says it is enabled :
    Code:
    [INFO] [HELP] 216 extra help entries loaded
    [INFO] [HELP] Help 0.2.4.1 enabled
    But it just seem to never catch the /help command... so it is not working.
    Do you think you could fix this please ?
     
  24. Offline

    Celtic Minstrel

    I can't be certain, but I would suspect that this may be a bug in Bukkit that was fixed a build or two later. I recommend updating to the last 1.5 build... I think it's 806, though I can't quite remember. Either that or downgrade to 802 or 801.
     
  25. Offline

    Psychoma

    this plugin looks great in the description and i tried itjust perfect for me as i'm running a french server and can translate all the commands for my lazynonenglishspeakerplayers
    but i can't make it work with permissions
    i put the permissions nodes in my file but all users can see all commands
    Code:
    cbgive:
        command: give [-d] [target] <item[:data]> [amount]
        description: Donne un objet a un joueur
        permissions: commandbook.give
        main: false
        plugin: CommandBook
    cbwho:
        command: list [filter]
        description: Affiche la liste des joueurs connectes
        permissions: commandbook.who
        main: true
        plugin: CommandBook
     
  26. Offline

    ibbignerd

    Code:
    21:14:55 [INFO] plugins\Help\ExtraHelp\ExtraHelp.yml
    21:14:55 [SEVERE] [HELP] Error!
    java.lang.NullPointerException
            at me.taylorkelly.help.HelpLoader.load(HelpLoader.java:51)
            at me.taylorkelly.help.Help.onEnable(Help.java:38)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    21:14:55 [INFO] [HELP] 1 extra help entries loaded
    21:14:55 [INFO] [HELP] Permissions enabled using: GroupManager v1.0(alpha-5)
    21:14:56 [INFO] [HELP] Help 0.2.4.1 enabled
    This is what I see... and I have no idea how to fix it. I love this mod, but it just won't load right.

    Please help. If this is just a "I need to update this mod" kind of thing, then you should get on that. lol
     
  27. Offline

    Psychoma

    I manage to make the permissions working for display but now i have antoher problem with PermissionsEx
    even if i put all the help commands to visible: false there are still view commands appearing in my main /help
    i can find these commands anywhere except in the permissionsex.yml file but i said i put a visible: false to all to search for the problem
    /demote <user>
    /pex demote <user>
    are still there !
    anyone has an idea please ?
     
  28. Offline

    Reazem

    thanks I am using this on my server!
     
  29. Offline

    Jaker232

    Awesome! Here's a diamond. [diamond]
     
  30. Offline

    Martin-zz

    Hey, love the plugin! Any news on getting it updated to work with 818?
     
  31. Offline

    maetthew

    Will there be any updates to this plugin? I would like 818 support
     

Share This Page