HelpText

Moved

Total Downloads: 18,186 - First Release: Oct 23, 2014 - Last Update: Feb 3, 2017

4.92105/5, 38 likes
  1. Custom help text doesnt work on rust
     
  2. 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. My post means exactly what is says the CUSTOM help text doesn't work for rust (the one you write yourself).
     
  4. 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. So.. what is the fix for Custom help?
     
  6. 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. 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. Alright nevermind this, I've got it working.
     
  9. Reminder: Older versions created an erroneous default config. (the
    change the last 3 lines to this:
    Code:
            "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).
    [DOUBLEPOST=1473893172][/DOUBLEPOST]
    Great! was it the messed up default config problem?
     
  10. No, I believe it was because Multiplay was pushing out the wrong cs file to my server.
     
  11. 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. 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. I've got an error on startup:

    Code:
    [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 Community Admin Community Mod

    You are using an old version. How To: Report Bugs | Oxide
     
  15. Guys, please help me.
    Give me a example for Hurtworld.
    Thanks!
     
  16. Wulf

    Wulf Community Admin

    What part are you wanting an example for?
     
  17. Code:
    private void SendHelpText(BasePlayer player)
    {
         player.ChatMessage("normal helptext");
    }
    This example. Hurtworld does not have a BasePlayer object.
    p.s. thanks for quick reply :)
    [DOUBLEPOST=1475709352][/DOUBLEPOST]
    For example. I use last version of ExtTeleport plugin, and i try to add SendHelpText method like this:
    Code:
            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.
    [DOUBLEPOST=1475709744][/DOUBLEPOST]Maybe, i mean problem in types of objects...screenshot link
    But i can't find any docs about that classes :(
     
    Last edited by a moderator: Oct 6, 2016
  18. Wulf

    Wulf Community Admin

    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. Oxide Project>Universal Plugins>HelpText

    Hm...looks great :)
     
  20. Calytic

    Calytic Community Admin Community Mod

    Updated the example for Hurtworld