HelpPlus - A custom help plugin with multiple pages

Discussion in 'Plugin Requests' started by ckav11, Sep 18, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    ckav11

    Version: 1.8.8

    Category: Chat?

    Plugin Name: vHelp

    Description: A custom /help, /? plugin that shows different groups of customizable pages of help based on the players permission

    Commands: /help /?

    Permissions: vhelp.<set>

    Example Config:
    if you have a better idea or way of doing the configuration that keeps the same functionality, go ahead and do it

    #Beginning of config.yml
    sets:
    1:
    page: 1
    - '&7&l* &5&l&m------------&r &aServer &5&l&m------------&r &7&l*'
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - '&7Type /help 2 to read the next page.'
    page: 2
    - '&7&l* &5&l&m------------&r &aServer &5&l&m------------&r &7&l*'
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - '&7End of help.'
    permission: help.1
    #Next set of help
    2:
    page: 1
    - '&7&l* &5&l&m------------&r &aServer &5&l&m------------&r &7&l*'
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - '&7Type /help 2 to read the next page.'
    page: 2
    - '&7&l* &5&l&m------------&r &aServer &5&l&m------------&r &7&l*'
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - ''
    - '&7End of help.'
    permission: help.2
    #End of config
     
  2. Offline

    Rayzr522

    My team and I can make this for you. Just to confirm how this works, it shows a different help message based on what permission you have? What happens if a person has the permission for two different help messages?
     
  3. Offline

    ckav11

    Could hook into Vault and use permission groups instead then I didn't think about how the '*' would affect that in permissions
     
  4. Offline

    EndureBlackout

    Just a thought maybe we could see which is the higher permission and show that help message instead?


    Sent from my iPhone using Tapatalk
     
  5. Offline

    Rayzr522

    @ckav11
    But how would we determine which is "higher" permission?

    We could also just determine by going through the list and then the last help page list it finds would be the one used. It would just mean you'd have to be careful to list the pages for higher-ranking pages further through the list, so you'd want the help page lists ordered like this:
    - n00b help
    - mod help
    - admin help

    Or however your ranks work.

    EDIT: Just saying, that would probably be a good bit easier. Also @EndureBlackout is one of my team members just so ya know.
     
  6. Offline

    ckav11

    Anything that works is fine with me as long as I can assign different help page lists to different groups in some sort of way
     
  7. Offline

    danielfr789

  8. Offline

    ckav11

    Doesn't do what I need. I need a plugin like that but with the addition of permissions or groups for different help lists
     
  9. Offline

    Rayzr522

    This shouldn't take long to complete, either @EndureBlackout or I will keep you updated on the status.
     
  10. Offline

    danielfr789

    So instead of one main list, you want several configurable lists that you can assign to a group?
     
  11. Offline

    ckav11

    Yes
     
  12. Offline

    EndureBlackout

    Annnd finished. Here is the plugin. Let us know if anything needs to be changed.

    Permissions:
    • vHelp.help - allows player to use /help /? commands
    • vHelp.<helplistname> - allows access to help for that specified name
    • vHelp.admin - allow /vhelp reload
    Commands:
    • /help - help command
    • /? - help command
    • /vHelp - main command
    • /vHelp reload - reload the config
    Link to the plugin: https://www.dropbox.com/s/3924xk73wy72og4/vHelp-1.0.jar?dl=0
     
  13. Offline

    Rayzr522

    Actually just want to amend one thing to that: the permission for different help sections is not the name of the section but the permission you specify for the section with permission: "yourPermission"

    Also this is for Java 8.
     
  14. Offline

    danielfr789

  15. Offline

    Rayzr522

    @ckav11
    Have you had a chance to test this yet?
     
Thread Status:
Not open for further replies.

Share This Page