Jump to content

Console commands are registered

Not a Bug 1.5.4

Snaplatack
Snaplatack

Posted

Hello. I cant seem to get the console commands to give recyclers to players via customchatcommands to work
Command that doesnt work: giveindustrialrecycler
CustomChatCommands Config:
 

    {
      "Command": "myrecycler",
      "Messages": [],
      "Permission": "customchatcommands.tier1",
      "ConsoleCmd": ["giveindustrialrecycler {player.id}"],
      "UserID": 0,
      "Broadcast": true,
      "RconCmd": null,
      "Cooldown": 30.0,
      "MaxUses": 0
    },

 

Martian

Posted

It seems the issue is that the command you're trying to use, giveindustrialrecycler, needs to be executed through RconCmd:

 

    {
      "Command": "myrecycler",
      "Messages": [],
      "Permission": "customchatcommands.tier1",
      "ConsoleCmd": null,
      "UserID": 0,
      "Broadcast": true,
      "RconCmd": ["giveindustrialrecycler {player.id}"],
      "Cooldown": 30.0,
      "MaxUses": 0
    },

 

Martian

Posted

Changed Status from Pending to Not a Bug

Snaplatack

Posted (edited)

I tried that as well. Still didnt work
I couldnt even find the command in the code

 

Edited by Snaplatack
Martian

Posted

1 minute ago, Snaplatack said:

I tried that as well. Still didnt work
I couldnt even find the command in the code

 

It worked here, but I used another permission:

 

    {
      "Command": "myrecycler",
      "Messages": [],
      "Permission": "customchatcommands.admin",
      "ConsoleCmd": null,
      "UserID": 0,
      "Broadcast": true,
      "RconCmd": ["giveindustrialrecycler {player.id}"],
      "Cooldown": 30.0,
      "MaxUses": 0
    },

 

Snaplatack

Posted

Just now, Marte6 said:

It worked here, but I used another permission:

 

    {
      "Command": "myrecycler",
      "Messages": [],
      "Permission": "customchatcommands.admin",
      "ConsoleCmd": null,
      "UserID": 0,
      "Broadcast": true,
      "RconCmd": ["giveindustrialrecycler {player.id}"],
      "Cooldown": 30.0,
      "MaxUses": 0
    },

 

Yea. I was on a previous version. I dont think it was in 1.5.3

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11k
Customers served
Files Sold
157.8k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.