CustomChatCommands

Moved

Total Downloads: 1,432 - First Release: Feb 5, 2017 - Last Update: May 22, 2018

5/5, 6 likes
  1. Wulf

    Wulf Community Admin

    What is the command "callheli" coming from?
     
  2. I'm using HeliControl to call the heli.
     
  3. Wulf

    Wulf Community Admin

    Pretty sure you'd need to have the command run separately, there isn't any way to daisy-chain commands that I am aware of.
     
  4. Ok thank you for the quick reply!
     
  5. Is there a way to show cooldowns on kits with a command? For example, I want to be able to have the user type /kit and it will display all available kits and their cds? Only reason why I want to use this plugin instead of through the kit plugin is because through the kits I can't seem to edit how it's displayed to the user and it doesn't look pleasing to the eye.
     
  6. Wulf

    Wulf Community Admin

    No, that's something the Kits plugin should have natively.
     

  7. You can chain commands, they are array field's. Back on update 2 is when it was added and described. Here's an example I use 100 times a day:

    Code:
    {
      "Command": "kheli",
      "Messages": [
       "Sent Helli Kill's"
      ],
      "Permission": "customchatcommands.admin",
      "ConsoleCmd": null,
      "UserID": 0,
      "Broadcast": false,
      "RconCmd": [
        "killheli",
        "killch47"
      ],
      "Cooldown": 0.0,
      "MaxUses": 0
    },
    
    And I believe this should work for you, make sure the LAST command in a LIST of multiple Messages, Console, and RconCMD doesn't have the comma on it, same applies to the LAST Command in the whole file, leave off the last comma just like every other config for the most part.

    So hopefully this will work for ya:

    Code:
    {
      "Command": "callchopper",
      "Messages": [
        "<color=lime>Prepare for a fight!</color> \n <color=lime>A Heli has been called type /heli to join!</color>"
      ],
      "Permission": "",
      "ConsoleCmd": null,
      "UserID": 0,
      "Broadcast": true,
      "RconCmd": [
        "teleport.topos {player.name} -997.5522 42.12281 -425.9641",
        "callheli pos -997.5522 42.12281 -425.9641 1"
      ],
      "Cooldown": 86400.0,
      "MaxUses": 2
    },
    
    Another one I use that's a better example of multi line rcons is this:

    Code:
    {
      "Command": "guns",
      "Messages": [
        "<color=lime>Incomming Nuke Guns</color>"
      ],
      "Permission": "customchatcommands.admin",
      "ConsoleCmd": null,
      "UserID": 0,
      "Broadcast": false,
      "RconCmd": [
        "mb.giveplayer {player.id} rifle.ak",
        "mb.giveplayer {player.id} rifle.bolt",
        "mb.giveplayer {player.id} smg.2",
        "mb.giveplayer {player.id} shotgun.double",
        "mb.giveplayer {player.id} pistol.eoka",
        "mb.giveplayer {player.id} rifle.lr300",
        "mb.giveplayer {player.id} lmg.m249",
        "mb.giveplayer {player.id} pistol.m92",
        "mb.giveplayer {player.id} smg.mp5",
        "mb.giveplayer {player.id} pistol.nailgun",
        "mb.giveplayer {player.id} shotgun.pump",
        "mb.giveplayer {player.id} pistol.python",
        "mb.giveplayer {player.id} pistol.revolver",
        "mb.giveplayer {player.id} rocket.launcher",
        "mb.giveplayer {player.id} pistol.semiauto",
        "mb.giveplayer {player.id} rifle.semiauto",
        "mb.giveplayer {player.id} shotgun.spas12",
        "mb.giveplayer {player.id} smg.thompson",
        "mb.giveplayer {player.id} shotgun.waterpipe"
      ],
      "Cooldown": 0.0,
      "MaxUses": 0
    },
    
    Hope that helps ya,

    Shawn
     
    Last edited by a moderator: Apr 28, 2018
  8. Your a Rock Star!!! Thank you!!!
     
  9. I'm a noob who happens to be dicking around with the same mod, figured I'd help were I could;-).
     
  10. Hi! Does it work in the 7 Days?
     
  11. I believe 7 Days to Die does not work with commands yet, so this plugin would not work.
     
  12. PsychoTea updated CustomChatCommands with a new update entry:

    2.1.1

     
  13. can someone add me on steam and walk me through this.. i really wanna use it but have no idea how to do it.. =.=
     
  14. Code:
    {
      "Reset Cooldowns On New Map": true,
      "Reset Max Uses On New Map": true,
      "Reset Max Uses At Midnight": true,
      "Commands": [
        {
          "Command": "sinfo",
          "Messages": [
            "<color=lime>Welcome to Void! All Commands are located in discord! Discord - Free voice and text chat for gamers</color>"
          ],
          "Permission": "",
          "ConsoleCmd": null,
          "UserID": 0,
          "Broadcast": false,
          "RconCmd": [
            "<color=lime>Welcome to Void! All Commands are located in discord! Discord - Free voice and text chat for gamers</color>"
          ],
          "Cooldown": 0.0,
          "MaxUses": 999999
        },
        {
          "Command": "website",
          "Messages": [
            "[06/09] Void's Official 5X BetterLoot|Insta|TP|Kits|QuickSmelt"
          ],
          "Permission": "customchatcommands.admin",
          "ConsoleCmd": null,
          "UserID": 0,
          "Broadcast": true,
          "RconCmd": [
            "Website [06/09] Void's Official 5X BetterLoot|Insta|TP|Kits|QuickSmelt"
          ],
          "Cooldown": 30.0,
          "MaxUses": 99999
        },
        {
          "Command": "adminhelp",
          "Messages": [
            "Discord invite: Discord - Free voice and text chat for gamers"
          ],
          "Permission": "customchatcommands.admin",
          "ConsoleCmd": null,
          "UserID": 0,
          "Broadcast": false,
          "RconCmd": [
            "Discord invite: Discord - Free voice and text chat for gamers"
          ],
          "Cooldown": 0.0,
          "MaxUses": 999999
        },
        {
          "Command": "noclip",
          "Messages": [
            "NoClip toggled."
          ],
          "Permission": "customchatcommands.admin",
          "ConsoleCmd": [
            "noclip"
          ],
          "UserID": 0,
          "Broadcast": false,
          "RconCmd": [
            "say {player.name} / {player.id} has used the /noclip command!"
          ],
          "Cooldown": 0.0,
          "MaxUses": 99999
        }
      ]
    }
    Hello, my commands dont seem to work and I need help! Is there anythign wrong with my config? Please help!!
     
    Last edited by a moderator: Jun 12, 2018
  15. all works !
     
    Last edited by a moderator: Jul 25, 2018
  16. XNR

    XNR

    Hey, i made it so whenever you do /spawncar in chat it runs the rcon command "spawn sedan" but idk where it spawns, is there any way to make it spawn at my feet?
     
    Last edited by a moderator: Aug 18, 2018