1. so i did it one part at a time. i got the rules section to work then i edited the info section and the whole thing broke. i have tried this at least 10 times over the past hour... what am i doing wrong?

    Code:
    {
      "Settings": {
        "ChatName": "Cupcake"
      },
      "ChatCommands": {
        "rules": {
          "helptext": "This is the helptext for this command1",
          "text": [
            "No whining.",
        "Raid and kill whoever you want.",
        "Dont ask for free stuff or to be admin
        "Have faith in Cupcake."
          ],
          "admin": false
        },
        "info": {
          "helptext": "This is the helptext for this command, also admin only",
          "text": [
            "This is an "all out" server, no whining here",
            "For our social media sites like FaceBook and YouTube type /social",
        "For help with server mods type /help",
        "For server rules type /rules"
          ],
          "admin": false
        }
      }
    }
     
  2. here you go
    Code:
    {
        "Settings": {
            "ChatName": "Cupcake"
        },
        "ChatCommands": {
            "rules": {
                "helptext": "This is the helptext for rules",
                "text": [
                    "No whining.",
                    "Raid and kill whoever you want.",
                    "Dont ask for free stuff or to be admin",
                    "Have faith in Cupcake."
                ],
                "admin": false
            },
            "info": {
                "helptext": "This is the helptext for info",
                "text": [
                    "This is an \"allout\" server, no whining here",
                    "For our socialmedia sites like FaceBook and YouTube type /social",
                    "For help with server mods type /help",
                    "For server rules type /rules"
                ],
                "admin": false
            }
        }
    }
    You can use http://jsonlint.com/ to check your configs for valid json.
     
  3. omg brilliance.... bookmarked!
    [DOUBLEPOST=1423009625][/DOUBLEPOST]does it need the
    Code:
    "helptext": "This is the helptext for this command, also admin only"
    or can i take that out? or is there a way to make it not show help text when you type /help
     
  4. hello,

    it's not working with latest oxide mod 266
    [DOUBLEPOST=1423307479][/DOUBLEPOST]also there are compatibility problem with rustweb
     
  5. Wulf

    Wulf Community Admin

    What isn't working about it? The code looks fine from looking over it briefly. Nothing changed that would break it.
     
  6. working fine with me
     
  7. Wulf

    Wulf Community Admin

    Temporary build compatible with Oxide builds 266+.
     

    Attached Files:

  8. Domestos updated Custom Chat Commands with a new update entry:

    permissions, cleanup

     
  9. Domestos updated Custom Chat Commands with a new update entry:

    fix

     
  10. Hey Domestos, how would multiple permission groups look? Something like this "permission": "admin, admin2", ?
     
  11. You cant specify multiple permissions. You're not setting the groups that can use the command, you set the permission needed to use it.
     
    Last edited by a moderator: Mar 30, 2015
  12. ok ignore all this I got it to work
     
    Last edited by a moderator: Mar 31, 2015
  13. CHR

    CHR

    possible to add Color codes like this? <orange>TEST<end>

    This is my bread and butter plugin...
     
  14. Wulf

    Wulf Community Admin

  15. CHR

    CHR

    @Wulf i got a configfile Problem i dont know what i made wrong.

    It is a CustomChatCommands.json i cant post it public my Server already got cloned dont want that People take that also, what can i do? Could u look into it?

    Ty
     
  16. Wulf

    Wulf Community Admin

    Can't help if we can't see it. ;)
     
  17. CHR

    CHR

    i could paste it online and send u a link but i cant pm you... :(
     
  18. Wulf

    Wulf Community Admin

    That's what this whole thread is for. ;)
     
  19. CHR

    CHR

    Nevermind then still ty
     
  20. Wulf

    Wulf Community Admin

    I've sent you a PM.