Inactive [INFO] SimpleHelp v1.8.2 - A Help Command That Is Simple To Change [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Chewing-Gumm, May 3, 2011.

  1. Offline

    Chewing-Gumm

    SimpleHelp - A Help Command That Is Simple To Change
    Version: v1.8.2

    Description:

    You can simply modify your /help Command with colors and send up to 9 Lines to the Player.
    This Plugin was requested by rad1game

    Features:
    • Color Support
    • Modify your /help Command
    • Ingamereload
    • Up to 10 Pages
    • Optional Permissions Support -> Different lists for admins and default users
    • Customizable Errors
    How to Use:



    You just write the text into the specified Lines/Pages in File in /plugins/SimpleHelp including the ColorCodes (Provided with the txt file in rar file) without needing to leave space between the Colorcode and your Messages.

    Permissions Nodes:
    How to Update:

    - Please copy the customized stuff like the lines into another File (Like a backup)
    - Then delete the config File and replace the old .jar File
    - After that you will want to restart the server and copy the old Line/Error Configurations back into the File.

    Commands:
    Code:
    /help <page> ->   The Help-Command^^(You must not enter a page. By default it's set to 1, so you can just type: "/help" for page 1
    /reloadhelp   ->   Reload the file
    
    Aliases:
    /ihelp <page>
    Download:

    Download v1.8.2 (readme.txt with colorcodes + jar file)

    Changelog:

    Version 1.8 (02.08.2011)
    • Added an error if you type in a not integer page. -> Default(First) Page will be printed.
    • Version 1.8.1: Expanded the page limit to 15.
    • Version 1.8.2: Fixed Out 0f Bounds error.
    Older Logs:
    Show Spoiler


    Version 1.0 (03.05.2011)
    • Initial Release of the plugin
    Version 1.1 (05.05.2011)
    • Possibility to reload file without server restart
    Version 1.2 (07.05.2011)
    • Changed the File Type to .YML -> but still not sorted (You can sort the lines by hand)
    • Added an Example
    • 2 Help Pages to use
    Version 1.3 (10.05.2011)
    • Up to 10 Pages
    • Changed/Added Errors for an Empty/Unknown Page
    • Abillity to add more Pages by hand.
    Version 1.4 (18.05.2011)
    • Permissions Support -> Different lists for admins and default users
    Version 1.5 (19.05.2011)
    • Fixed the bug, that the wrong Pages are shown if you type '/help <x>' as an admin
    • If Page 1 is empty and no parameter is given, there will be shown "Empty Page" now.
    • Version 1.5.1: -> Fixed the bug where the wrong pages were shown (/help 1 = help page 2)
    Version 1.6 (13.06.2011)
    • Added The ability to customize the Errors
    • Version 1.6.1: -> Added a new alias for /help -> /ihelp
    Version 1.7 (22.06.2011)
    • Permissions Support is now optional -> Removed the old 1.3 Release


    You like my Plugin?​
    I mean you REALLY like it?!​
    Then please help me to keep this up and​

    [​IMG]
     
  2. Offline

    Chewing-Gumm

    @Moparx
    Thanks for advice :D

    Here is my question to all of you:
    Do you want to have an editable Error message when typing something like "/help apagexx"
    OR
    Do you want to just print the default page instead?

    Would be nice if you would tell me what you want.
     
  3. Offline

    Moparx

    Hmm.. good question.
    I was really leaning towards displaying the default page, but now that I think of it an error message might be the better route as the user is informed about what they did.

    However, a combination of the two may possibly work as well. Display a generic error at the top and then show the default page. I've seen other plugins operate in this manner before.
     
  4. Offline

    Chewing-Gumm

    Good idea. I think thats the way i include it.
     
  5. Offline

    Archie

  6. Offline

    Chewing-Gumm

    @Archie
    You have to write the lines like this:

    line1: '/money - Checks how much money you have'

    If you add the ' ' to you lines it will be fixed.
     
  7. Offline

    DerNachtEngel22

    This is my config. When i type /help it is still saying [SERVER] Blank page. Can i get some help?

    Config:
    Errors:
    UnknownPage: '&!r[SERVER] Unknown Page'
    EmptyPage: '&!r[SERVER] Empty Page'
    HelpLines[Default]:
    page1:
    line8:'/money - Checks your money'
    line9:'/rules - Info on rules'
    line6:'/msg <player name> - Messages the specified player '
    line7:'/jobs - Lists jobs commands'
    line4:'/home - Teleport to your set home'
    line5:'/lottery - Displays lottery info'
    line1:'/spawn - Teleports you to default spawn'
    line3:'/tc <text> - Talk in your town chat'
    line2:'/t spawn <town name> - Spawn in the specified town'
    HelpLines[Admin]:
    page1:
    line8:
    line9:
    line6:
    line7:
    line4:
    line5:
    line1:
    line3:
    line2:
    EXAMPLE:
    EXAMPLEPAGE:
    EXAMPLELINE: '&!WThis is a &!WPOSSIBLE &!Wway to make a line!'
     
  8. Offline

    Moparx

    A server admin will not see the the pages that are added to HelpLines[Default], only what is listed in the under the HelpLines[Admin] section.
     
  9. Offline

    Chewing-Gumm

    Sorry mates for not updating the plugin to the new feature i wanted to add.
    But i had to do a lot ;)
    Update will come tomorrow or something (If i can get it to work)
     
  10. Offline

    Soccernum7

    i can't figure out what to do here... i can send you my config file too..

    [INFO] SimpleHelp V1.7 Enabled!
    2011-07-18 13:52:34 [SEVERE] Error occurred while enabling SimpleHelp v1.7 (Is it up to date?): while parsing a block mapping; expected <block end>, but found Scalar
    while parsing a block mapping
    in "<reader>", line 1, column 1:
    Config:
    ^
    expected <block end>, but found Scalar
    in "<reader>", line 46, column 2:
    '/admin_bring <player|all> - bri ...
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
    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.composeMappingNode(Composer.java:228)
    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 me.secrettm.SimpleHelp.SimpleHelp.loadFile(SimpleHelp.java:306)
    at me.secrettm.SimpleHelp.SimpleHelp.onEnable(SimpleHelp.java:90)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  11. Offline

    Chewing-Gumm

    Please do that ;)
     
  12. Offline

    Soccernum7

  13. Offline

    Dr0iDzz

  14. Offline

    Chewing-Gumm

    @Soccernum7
    I think your problem might be that you use the ' also in words. It could stop the reading from the line an then it gives an error. Seems like you have to replace the ' with something else.
    You could also try to make an '/' (without the ') before them abostroph and maybe that works. I'm not sure.

    @Dr0iDzz
    I dont think your problem has to do with this plugin.
    Because it does not use the "PLAYER_CHAT" event...

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

    Dr0iDzz

    What could it be then?
     
  16. Offline

    Chewing-Gumm

    You could check what plugin causes this error by simply deactivating one plugin after another and look if you still get an error.
     
  17. Offline

    TheMightyPotato

    EDIT: figured out the problem, the example wasn't a comment, it was part of the actual configuration, so putting # in front of the example sentence fixed the problem. :)
    Hey, I'm having a pretty similar problem to soccernum... Can you help?
    11:43:57 [SEVERE] Error occurred while enabling SimpleHelp v1.7 (Is it up to dat
    e?): while parsing a block mapping; expected <block end>, but found Scalar
    while parsing a block mapping
    in "<reader>", line 27, column 9:
    line8: '/tp |/tpa, /tpaccept, /t ...
    ^
    expected <block end>, but found Scalar
    in "<reader>", line 43, column 17:
    line1: '/kit vip'
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
    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.composeMappingNode(Composer.java
    :228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    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.composeMappingNode(Composer.java
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    at me.secrettm.SimpleHelp.SimpleHelp.loadFile(SimpleHelp.java:306)
    at me.secrettm.SimpleHelp.SimpleHelp.onEnable(SimpleHelp.java:90)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:380)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleComma
    ndMap.java:281)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    12)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  18. Offline

    Dr0iDzz

    k i see. Thanks for your help though.
     
  19. Offline

    Rabus

    Awesome plugin, but lacking of possibility of making sites like /help LWC, /help MONEY etc...
     
  20. Offline

    kookster

    i have a bug to report. It appears reloadhelp does not work from console, it just says /reloadhelp
    also if you made it so you can add more than 2 groups that would be awesome, something like this:

    Permissions:
    SimpleHelp.default
    SimpleHelp.builder
    SimpleHelp.mod
    SimpleHelp.admin
    SimpleHelp.op

    HelpLines[default]:
    line1:
    line2:
    line3:
    line4:
    line5:
    line6:
    line7:
    line8:
    line9:
    HelpLines[builder]:
    line1:
    line2:
    line3:
    line4:
    line5:
    line6:
    line7:
    line8:
    line9:

    and so forth.
     
  21. Offline

    Chewing-Gumm

    I will work on it, when I'm done with my current work ;)
    And you are right, you can't use it from the console.
     
  22. Offline

    25CentStudios

    Anyone? Sorry for not using pastebin. but....

    22:10:08 [INFO] SimpleHelp V1.7 Enabled!
    22:10:08 [SEVERE] Error occurred while enabling SimpleHelp v1.7 (Is it up to date?): null; mapping values are not allowed here
    mapping values are not allowed here
    in "<reader>", line 24, column 14:
    line1: This is the Admin Command Page:
    ^

    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.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    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.composeMappingNode(Composer.java:228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    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 me.secrettm.SimpleHelp.SimpleHelp.loadFile(SimpleHelp.java:306)
    at me.secrettm.SimpleHelp.SimpleHelp.onEnable(SimpleHelp.java:90)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  23. Offline

    Chewing-Gumm

    Please send me/post the config file.
     
  24. Offline

    25CentStudios

  25. Offline

    Chewing-Gumm

    First: You do not have to put anything behind the "page1: " and also not behindet page2 etc.
    Second: You didn't create a second or third page ;)
    You have to make one by adding it into the config file like the first one, only wiht "page2: "
     
  26. Offline

    25CentStudios

    I mostly meant /help when I said that, and it still doesn't work when I type /help or /help 1. I'm going to add the rest of the pages when I get this to work. I just added /help 1 to page: 1 because I ran out of ideas to fix it. Please help :(
     
  27. Offline

    BurakSZ

    I always getting the Error "[SERVER] Empty Page". Build 1000, actually the newest. Can you help me out, i did it exactly like in the Example (just with test words like "lol", to test if it works, no need for post the yaml file)! It asks me if SimpleHelp is up to date, does it work with Build 1000?
     
  28. Offline

    25CentStudios

    Thank god I'm not alone here
    Please respond chewing gumm
     
  29. Offline

    Hamad

    hey, how to create a new page with notepad++? everytime, i press enter and type page2, i get the word red rather than blue
     
  30. Offline

    Chewing-Gumm

    @25CentStudios AND @BurakSZ
    I will make a new build vor 1000.
    Please check that again and post if it still doesnt work.

    (When you see this, it should already be uploaded)

    @Hamad
    You have to use the <BACKSPACE> Key to get to the first space in the line. and then use the <SPACE> Key to get to the right point where you have to write something.

    My tip: Copy&Paste the existing page and just retype the text.
     
  31. Offline

    Hamad

    thanks
     

Share This Page