HelpText

Allows people to use /help to get help info from all plugins

Total Downloads: 16,194 - First Release: Oct 23, 2014 - Last Update: Feb 3, 2017

4.91892/5, 37 likes
  1. Adriok

    Adriok Scavenger

    Ok. Thanks Wulf!
     
  2. ☺ Tanki ☺

    ☺ Tanki ☺ Wood Hoarder

    Nice plugin but very limited to include all command...
     
  3. Lund

    Lund Naked Wanderer

    Is there any way to add colored messages?
    I tried something like this
    Code (Text):
            "Shop help: <color=yellow>/help shop</color>",
    But that is not working
     
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Yes, that would work. Make sure to reload the plugin after.
     
  5. Alucard 8

    Alucard 8 Naked Wanderer

    hey so been trying to set this up it still shoes my help test in chat but also shows a help text not found along side the text when running the admin help pages can someone smarter look at this xd
    a - Pastebin.com
     
  6. Dream 5

    Dream 5 Shack Builder

    You're finishing statements with a coma. Every line except the last should have a comma. The statement finishes with a bracket and then a comma to tell it to continue to the next command. You can see all your mistakes through a .json checker: JSONLint - The JSON Validator.
     
    =BBUK= Steenamaroo likes this.
  7. Tony The Tiger

    Tony The Tiger Naked Wanderer

    Running server on Linux, plugin will not compile. Receiving the following error:
    Happens when trying to manually load the plugin, and also when restarting the server it causes all other plugins to fail to compile with the same error.

    As soon as removing the plugins, everything compiles as it should

    **p.s. ignore fauxclip error. i am aware that plugin isn't updated right now.
     
  8. LoneSurvivor

    LoneSurvivor Shack Builder

    What's the easiest way to know what's causing the blank text? I just want to edit some lines on mine and every time it seems I do modifications it makes the menu invisible
     
  9. The Greatest Jonathan

    The Greatest Jonathan Naked Wanderer

    What about universal plugin example?
     
  10. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Which game, which menu?

    Example for what?
     
  11. The Greatest Jonathan

    The Greatest Jonathan Naked Wanderer

    For API usage in Covalence Oxide Plugin.

    I trying to use this function in my CovalencePlugin class:
    Code (Text):
    void SendHelpText(IPlayer player) {
        player.Reply("Hi there");
    }
    But get runtime error:
    Code (Text):
    Failed to call hook 'SendHelpText' on plugin 'SendHelpCovalenceTest v1.0.0' (InvalidCastException: Cannot cast from source type to destination type.)
     
  12. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    The hook uses object, not IPlayer. The object for IPlayer is BasePlayer, PlayerSession, etc. depending on the game.
    Code (C#):
    void SendHelpText(object player)
    {
        var iplayer = players.FindPlayerByObj(player);
        player.Reply("Hi there");
    }
     
    The Greatest Jonathan likes this.
  13. [TTech]T4SGrim`

    [TTech]T4SGrim` Naked Wanderer

    Hello, when I do /help on my server nothing shows up
    My config

    Code (Text):

    {
      "Settings": {
      "AllowHelpTextFromOtherPlugins": false,
      "CustomHelpText": [
      "Your admins are <color=#F00C0C>Jim</color>, <color=#2EFE2E>Grim`</color> & <color=#0000FF>CaveDog</color>,

    List of chat commands
    <color=#32EE08>/bgrade</color> = automatic build grade info",
    <color=#32EE08>/clan help</color> = list clan commands",
    <color=#32EE08>/gather</color> = detailed gather rate info",
    <color=#32EE08>/home</color> = home teleport info",
    <color=#32EE08>/ipanel</color> = show HUD adjustment commands",
    <color=#32EE08>/kit</color> = redeem 1 of 3 kits",
    <color=#32EE08>/remove</color> = activate remover tool",
    <color=#32EE08>/s</color> = shows your RP and store",
    <color=#32EE08>/sil</color> = sign artist VIP",
    <color=#32EE08>/tpr playername</color> = teleport request",
    <color=#32EE08>/tpa</color> = teleport accept",
    <color=#32EE08>/voteday</color> = vote day",
    <color=#32EE08>/who</color> = list online players",
    <color=#32EE08>/pr top</color> = player ranks"

      ],
      "UseCustomHelpText": true
      }
    }
     
     
  14. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Your config is not valid JSON (you're missing many quotation marks); try validating it on a site such as www.jsonlint.com.
     
  15. idGreen

    idGreen Scavenger

    How do I make for example two commands:
    /help shows the commands
    /rules shows the rules
    Please help!
     
  16. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    This plugin only provides /help for info you set or from plugins. For anything else, use a plugin such as Custom Chat Commands.
     
  17. idGreen

    idGreen Scavenger

    CustomChatCommands | Oxide, sanks!
     
  18. LMyers_

    LMyers_ Wood Hoarder

    ..........
     
    Last edited: Jun 4, 2017
  19. Meerology

    Meerology Naked Wanderer

    Can someone please fix this? Ive spent hours and no matter what I do it wont work and I get this error

    {
    "Pages": {
    "default": {
    "*": [
    "/tphelp- Teleport Help.",
    "/sethome 1~2 - Saves your current position as a home.",
    "/removehome 1~2 - Deletes your current position as a home.",
    "/home 1~2 - Teleports you to your home.",
    "/clan help - Clan Help.",
    "/remove - Enables/Disables you to remove items you have placed.",
    "/trade "Player Name" - Send trade request.",
    "/trade accept" - Accept trade request.",
    "/help - Display this command list again."
    ]
    }
    },
    "Settings": {
    "AllowHelpTextFromOtherPlugins": false,
    "BreakAfter": 10,
    "UseCustomHelpText": true
    },
    "VERSION": "2.0.5"
    }

    And when I put it on The JSON Validator it changes it to this but still wont work

    {
    "Pages": {
    "default": {
    "*": [
    "/tphelp- Teleport Help.",
    "/sethome 1~2 - Saves your current position as a home.",
    "/removehome 1~2 - Deletes your current position as a home.",
    "/home 1~2 - Teleports you to your home.",
    "/clan help - Clan Help.",
    "/remove - Enables/Disables you to remove items you have placed.",
    "/trade "
    Player Name " - Send trade request.",
    "/trade accept" - Accept trade request.
    ",
    "/help - Display this command list again."
    ]
    }
    },
    "Settings": {
    "AllowHelpTextFromOtherPlugins": false,
    "BreakAfter": 10,
    "UseCustomHelpText": true
    },
    "VERSION": "2.0.5"
    }
     
  20. LMyers_

    LMyers_ Wood Hoarder

    Try This mate...

    {
    "Pages": {
    "default": {
    "*": [
    "/tphelp- Teleport Help.",
    "/sethome 1~2 - Saves your current position as a home.",
    "/removehome 1~2 - Deletes your current position as a home.",
    "/home 1~2 - Teleports you to your home.",
    "/clan help - Clan Help.",
    "/remove - Enables/Disables you to remove items you have placed.",
    "/trade Player Name - Send trade request.",
    "/trade accept - Accept trade request.",
    "/help - Display this command list again."
    ]
    }
    },
    "Settings": {
    "AllowHelpTextFromOtherPlugins": false,
    "BreakAfter": 10,
    "UseCustomHelpText": true
    },
    "VERSION": "2.0.5"
    }