Help [Replaced]

Discussion in 'Plugin Support' started by AnExiledGod, Dec 6, 2015.

  1. Code:
    {
      "HelpCommands": {
        "help": "Use commands like /kit, /help subscriptions, donator, kits, packages(1, 2, 3, 4), rules(1, 2).",
        "subscriptions": "Packages labeled "Subscription Only", are only available to people who have are subscribing.",
        "donator": "We offer many donor packs ranging from $5 - $40! Do /help packages for more info. Our server runs off donations, so if you donate Thank You for the support!",
        "kits": "The free kit given to all new players is : /kit noobkit     However Donators can recieve custom kits",
        "packages": "Free 50 inventory slots is available on our steam group in the ReaperPVP Donator Packages forum! 1Month Subscription $5  |  2Month Subscription $10  ",
        "packages2": "3Month Subscription $15  |  NukeSurvivor(Sub Only) $40  |  RadTownBoss VIP $25  |  ShooterVIP $15  |  DetCap Pack Consum $5, $10, $20 ",
        "packages3": "  |  DetCap Pack(Sub Only) $20,$30,$50  |  Recon Soldier(Sub Only) $10, $20, $30  |   Shooter Auto $10  |   Shooter Pistol $10  |   Shooter Shotgun $5  ",
        "packages4": "  |   Recon Auto(Sub Only) $10  |   Recon Pistol(Sub Only) $10  |   Recon Shotgun(Sub Only) $10  |  Miner Starter $5, $10, $15  |  DetCore Mine Team $5, $10, $15",
        "rules": "Don't cheat, hack, or exploit bugs. No racist comments or advertising. No building more then 10 walls. No more then 50 Owrongs/Coolant/Sunscreen placed. No unraidable bases.  ",
        "rules2": "No Pvping in the spawn area. No Guns or Vehicles in the Noob area. If your Base is on a rock you need another way up then teleporting. Obey admins and have fun! ",
      },
      "HelpSettings": {
        "HelpTitle": "Help",
        "HelpTitleColor": "#ff8000"
      }
    }
    When I do /help in chat, nothing happens.
     
  2. Wulf

    Wulf Community Admin

    Any errors in your oxide/logs?
     
  3. Code:
    8:37 PM [Error] Help v1.2.0: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: S. Path 'HelpCommands.subscriptions', line 3, position 41.)
    8:39 PM [Error] Failed to call hook 'HelpCommand' on plugin 'Help v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
    8:39 PM [Debug]   at Oxide.Plugins.Help.HelpCommand (.PlayerSession session, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Help.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    8:39 PM [Info] Unloaded plugin Help v1.2.0 by AnExiledGod
    8:39 PM [Info] Loaded plugin Help v1.2.0 by AnExiledGod
    8:39 PM [Error] Help v1.2.0: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: S. Path 'HelpCommands.subscriptions', line 3, position 41.)
    8:39 PM [Error] Failed to call hook 'HelpCommand' on plugin 'Help v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
    8:39 PM [Debug]   at Oxide.Plugins.Help.HelpCommand (.PlayerSession session, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Help.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    8:44 PM [Error] Failed to call hook 'HelpCommand' on plugin 'Help v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
    8:44 PM [Debug]   at Oxide.Plugins.Help.HelpCommand (.PlayerSession session, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Help.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    [DOUBLEPOST=1453754646][/DOUBLEPOST]I've tried redoing it, reinstalling and retrying multiple times.
     
  4. how to do all the commands they displayed one by one and not the ","
     
  5. Wulf

    Wulf Community Admin

    It says it is having an issue reading the config, can you upload that here please?

    I'm not sure what you are asking for, could you explain it a bit more?
     
  6. I mean how do to command formed a single and not a brilliant idea within
    [DOUBLEPOST=1456768370][/DOUBLEPOST]in this picture is shown as I have on the server http://iv.pl/images/61301352474814762654.png and on this as I wantedhttp://iv.pl/images/04536000965590491312.png
    [DOUBLEPOST=1456770339][/DOUBLEPOST]please help me
     
  7. please fix after update
     
  8. Wulf

    Wulf Community Admin

    What exactly is the issue?
     
  9. i cant reload Help after update, rest of plugins work perfectly
     
  10. Wulf

    Wulf Community Admin

    Are you getting an error, if so could you provide it please?
     
  11. how i translate this?
    not have file in "oxide/lang"
     
  12. use config file instead

    btw, is there a way to color mark some words within help output?
    [DOUBLEPOST=1460034746][/DOUBLEPOST]nvm, made it using <color=#hex></color> tag
     
  13. hi,
    Help for Rust no ?
     
  14. This is for Hurtworld. If you want a help plugin for Rust, check the Rust Requests section, assuming there isn't already one.
     
  15. Wulf

    Wulf Community Admin

    There already is one, it's called HelpText.
     
  16. ok thx :)
     
  17. Hello I got a question I've created my own /hel[ rules text line its working but it onl shows one line out of 7

    Sow I'll show my code In here and if someone have a opion to fix this so that players can see all of this then please be my guest to fix it

    Code:
    {
        "HelpCommands": {
            "rules": "Don't hack, If youre hacking you will getting a permanet ban",
            "rules": "Don't Raid players more then  one time, Let them  build a new base.",
            "rules": "Do not ask for being an Adminitrator or Moderator",
            "rules": "Don't Troll around, If you pass the three warnings you will get a permanet ban for a hour.",
            "rules": "Do not use anye glitches or bugs in the game, If you do this you wont get your stuff back.",
            "rules": "Do not ask for any stuff moderators or administrators arn't allowed to spawn stuff for you",
            "rules": "When you got two warning's for useing any bad of language's then this will result to an 2 hours of tempban."
        },
        "HelpSettings": {
            "HelpTitle": "Help",
            "HelpTitleColor": "#ff8000"
        }
    }
    Its only showing this first line inside of the game
    "rules": "When you got two warning's for useing any bad of language's then this will result to an 2 hours
     
  18. Wulf

    Wulf Community Admin

    Each line is a unique command, not a line of text. You'd need to have them under a single line for each command as far as I know.
     
  19. @TruxDeadnitro
    "Help" plugin is only for announcement of avaible commands with a small advice.
    if you write "/help" shows all commands in line (rules, bank, shop, etc...)
    if you frite "/help rules" shows additional help for "/rules" command (Don't hack, If youre hacking you will getting a permanet ban)

    For example here is my help config file:
    Code:
    {
      "HelpCommands": {
        "rules": "Don't cheat, hack, or exploit bugs. Obey admins, and have fun.",
        "time": "Show actual time and day.",
        "pm": "Send a private message to the user, if online.",
        "r": "Send a reply to the user who sent the last message for you.",
        "players": "Show online players on the server.",
        "report": "Report other players.",
        "reportbase": "Report the base.",
        "position": "Show your curent position.",
        "home": "Teleport to your home point. /home <homename>, /sethome <homename>, /removehome <homename>, /homes.",
        "meteor": "Shows when there will be an meteor, or shows where and for how long there is a meteor already in the ground.",
        "clan help": "Show clan commands.",
        "bank": "Show all avaible commands for Bank.",
        "shop": "Show all avaible commands for Shop.",
        "car help": "Show all avaible commands for car using.",
        "bounties": "Show all bounties. Other commands: /bounties top, /addbounty <player> <amount>.",
        "sheriff": "Basically a help command with basic information on how to use.",
        "lastseen": "Show when the player was last seen",
        "played": "Show how much time a player has played on the server"
      
      },
      "HelpSettings": {
        "HelpTitle": "Help",
        "HelpTitleColor": "#0080FF"
      }
    }
     
  20. this shows up while I'm useing /help inside of the game
    [Oxide] 14:16 [Error] Failed to call hook 'HelpCommand' on plugin 'Help v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)