HelpText

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

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

4.91892/5, 37 likes
  1. dofof37

    dofof37 Wood Hoarder

    Custom help text doesnt work on rust
     
  2. Gabriel Cox

    Gabriel Cox Naked Wanderer

    What do you mean? Technically doesn,t work, or doesn't really work out well? Since many of the plugins inconsistently use the help API (some providing none at all), if you want to have comprehensive help, you don't have much choice other than to do custom help.
     
  3. dofof37

    dofof37 Wood Hoarder

    My post means exactly what is says the CUSTOM help text doesn't work for rust (the one you write yourself).
     
  4. Gabriel Cox

    Gabriel Cox Naked Wanderer

    So... are you asking for help or just making a statement? If you're just making a statement, then that will likely always be true (for you).

    If you look at the previous page, you'll see that I'm using custom help in rust (with a screen shot to show it).

    If you're asking for help, just ask and provide help to those you are asking (like config, console messages if any, etc). Some versions have improperly written the default config (for example: not nesting custom help info under settings -- I believe the newer version has this fixed).
     
  5. Brandoncarney

    Brandoncarney Scavenger

    So.. what is the fix for Custom help?
     
  6. Gabriel Cox

    Gabriel Cox Naked Wanderer

    I see it working (latest version) with no problem. I also posted some mods to it on the previous page.
    If it's not working for you, post your config file (and confirm you are using the latest), and I may be able to help.
     
  7. Brandoncarney

    Brandoncarney Scavenger

    This is what I currently have.

    {
    "Settings": {
    "AllowHelpTextFromOtherPlugins": false,
    "CustomHelpText": [
    "Crafting Controller is set to 0%",
    "Use /friend <add|+|remove|-|list> <name|steamID> to add/remove/list friends",
    "To private message someone use /pm <name> <msg>",
    "/map - Show URL to online map",
    "/who - Show who is online",
    "/online - Shows how many people are online or is sleeping",
    "/gather - Shows detailed gather information",
    "/plugins - Shows a list of all the server plugins",
    "/kit - Shows all Redeemable kits. To use a kit type /kit <name>",
    "/home - Shows a list of home commands",
    "/tpr <player name> - Sends out a teleport request to <player name>",
    "/clan - Displays your current clan status",
    "/clan help - Learn how to create or join clan",
    "/vote - Show a list of available urls for voting and get points for voting",
    "/rewards - Show the rewards information and your points",
    "/rewards [ID] - Get the reward",
    "/donate - Shows URL to donation page",
    "/hgui - Displays graphical interface for the Hunt plugin",
    "/ad [5-30] - Sets automatic door closing delay between 5 and 30 seconds for player",
    "/ad - Disables doors automatically closing for player"
    ]
    },
    "UseCustomHelpText": true
    }
     
  8. Brandoncarney

    Brandoncarney Scavenger

    Alright nevermind this, I've got it working.
     
  9. Gabriel Cox

    Gabriel Cox Naked Wanderer

    Reminder: Older versions created an erroneous default config. (the
    change the last 3 lines to this:
    Code (Text):

            "UseCustomHelpText": true
         },
    }
     
    The important thing is to have "UseCustomHelpText" nested in the "Settings" bracket.

    From what it appears, your original config file may have been generated from an earlier version (that generated them in this improper format). The above change should make it work. (I had to do the same thing).
    --- Double Post Merged, Sep 15, 2016 ---
    Great! was it the messed up default config problem?
     
  10. Brandoncarney

    Brandoncarney Scavenger

    No, I believe it was because Multiplay was pushing out the wrong cs file to my server.
     
  11. oliveirarodrigocr

    oliveirarodrigocr Naked Wanderer

    hello I am facing a very serious problem when I degito the hel command in chat appears 4 commands only as a player, already appears as admin commands only 8 , and 45 are plugins installed on the original server
     
  12. Gabriel Cox

    Gabriel Cox Naked Wanderer

    Some of the plugins don't have the hooks for HelpText. You can add custom help text in the config file to fill in help for the others. If it still doesn't work for you, then post your config file and tell us the problem you're seeing.
     
  13. steven0403

    steven0403 Naked Wanderer

    I've got an error on startup:

    Code (Text):
    [Oxide] 12:52 [Error] HelpText.cs(75,41): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayer' does not contain a definition for `Character' and no extension method `Character' of type `Oxide.Core.Libraries.Covalence.IPlayer' could be found. Are you missing an assembly reference?
     
  14. Calytic

    Calytic Shotgun Ace Plugin Developer

    You are using an old version. How To: Report Bugs | Oxide
     
  15. The Greatest Jonathan

    The Greatest Jonathan Naked Wanderer

    Guys, please help me.
    Give me a example for Hurtworld.
    Thanks!
     
  16. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    What part are you wanting an example for?
     
  17. The Greatest Jonathan

    The Greatest Jonathan Naked Wanderer

    Code (Text):
    private void SendHelpText(BasePlayer player)
    {
         player.ChatMessage("normal helptext");
    }
    This example. Hurtworld does not have a BasePlayer object.
    p.s. thanks for quick reply :)
    --- Double Post Merged, Oct 6, 2016 ---
    For example. I use last version of ExtTeleport plugin, and i try to add SendHelpText method like this:
    Code (Text):

            private void SendHelpText(PlayerSession session)
            {
                if (_helpers.HasPermission(session, "admin"))
                    _helpers.SendChatMessage(session,
                        "<color=red>Teleportation:</color> /tp, /tphere, /tpreset, /setwarp, /removewarp, /setevent, /removeevent");

                if (_helpers.HasPermission(session, "player") && _helpers.HasPermission(session, "home"))
                    _helpers.SendChatMessage(session,
                        "<color=orange>Teleportation & Homes:</color> /tpr, /tpa, /sethome, /home, /homes, /removehome");
                else if (_helpers.HasPermission(session, "player"))
                    _helpers.SendChatMessage(session,
                        "<color=orange>Teleportation:</color> /tpr, /tpa");
                else if (_helpers.HasPermission(session, "home"))
                    _helpers.SendChatMessage(session,
                        "<color=orange>Homes:</color> /sethome, /home, /homes, /removehome");

                if (_helpers.HasPermission(sesison, "warp") && _helpers.HasPermission(session, "event"))
                    _helpers.SendChatMessage(session,
                        "<color=orange>Warps & Events:</color> /warp, /warps, /event, /events");
                else if (_helpers.HasPermission(session, "warp"))
                    _helpers.SendChatMessage(session,
                        "<color=orange>Warps:</color> /warp, /warps");
                else if (_helpers.HasPermission(session, "event"))
                    _helpers.SendChatMessage(session,
                        "<color=orange>Events:</color> /event, /events");
            }
     
    but have no message in player chat and have no message in console.
    --- Double Post Merged, Oct 6, 2016 ---
    Maybe, i mean problem in types of objects...screenshot link
    But i can't find any docs about that classes :(
     
    Last edited: Oct 6, 2016
  18. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    SendHelpText(PlayerSession session)

    PlayerSession is what Hurtworld provides. This plugin was originally made for Rust, so the info likely hasn't been updated yet.
     
  19. The Greatest Jonathan

    The Greatest Jonathan Naked Wanderer

    Oxide Project>Universal Plugins>HelpText

    Hm...looks great :)
     
  20. Calytic

    Calytic Shotgun Ace Plugin Developer

    Updated the example for Hurtworld