HelpText

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

Total Downloads: 1,353 - First Release: May 25, 2015 - Last Update: Jul 8, 2016

5/5, 3 likes
  1. Mughisi submitted a new resource:

    HelpText - Allows people to use /help to get help info from plugins

    Read more about this resource...
     
  2. Mughisi updated HelpText with a new update entry:

    Added ResourceId

     
  3. Mughisi updated HelpText with a new update entry:

    Fix for latest Oxide

     
  4. This isn't working for me?
     
  5. Could you check the Oxide version you are running (/version or /oxide.version chatcommand)
     
  6. If I remember correctly then it should work on 951 and higher, or might have been 970+ can't quite remember :x Is the plugin causing any errors in the logs?
     
  7. Working Great, keep up the good work! Hope other plugin developers will utilize this as well
     
  8. I made it work.
     
    Last edited by a moderator: May 29, 2015
  9. private void SendHelpText(Player player)
    {
    PrintToChat(player,"Some help message for...

    Hi. Where shouild i put this code? Which file?
     
    Last edited by a moderator: Jul 1, 2015
  10. Wulf

    Wulf Community Admin

    Are you making a plugin? That's the only time you'd use that code.
     
    Last edited: Jul 1, 2015
  11. I really can't add any new message to /help.
    There is no helptext.json и config folder.
     
  12. Wulf

    Wulf Community Admin

    Do you see other config files there? Make sure you are looking under oxide/config.
     
  13. Thanks for very fast answer.

    [​IMG]

    [​IMG]

    I really can't find any configuration file of HelpText plugin. I'll try to reboot game server.

    UPD: Still there is no configuration file.
    I should add new commands to /help listing (/voteday, /setbounty and others).
     
  14. Wulf

    Wulf Community Admin

    Are you sure the plugin is loaded? Check your oxide/logs for errors.
     
  15. Tried to reload it:
    5:11 AM [Info] Unloaded plugin Help Text v1.0.2 by Mughisi
    5:11 AM [Info] HelpText was compiled successfully in 289ms
    5:11 AM [Info] Loaded plugin Help Text v1.0.2 by Mughisi

    I didn't find any error message there.
    Still there is no configuration file in ./oxide/config/

    [​IMG]
     
  16. Dont have Configuration file aswell..
     
  17. Missing code to generate Config File:

    Code:
    void Loaded()
            {
                LoadConfigData();
            }        protected override void LoadDefaultConfig() => PrintWarning("New configuration file created.");
    Add this before "void OnPlayerSpawn(PlayerFirstSpawnEvent e)"

    Although this missing step does not harm the functionality of the plugin, as it only stops you from changing who the message comes from and the color of their name.
     
  18. hey i cant find on the script this line " "void OnPlayerSpawn(PlayerFirstSpawnEvent e)"
     
  19. Getting error
    16:01 [Error] HelpText.cs(105,73): error CS1061: Type `Oxide.Plugins.CommandAttribute' does not contain a definition for `SubCommands' and no extension method `SubCommands' of type `Oxide.Plugins.CommandAttribute' could be found. Are you missing an assembly reference?

    Also when I open it in visual studio I find a lot of errors. Might be just me or is it time for an update.