Using this plugin: uMod - Custom Chat Commands by Wulf
I created a custom command: /steam
But i cannot get anything to give the acutal kit.
I have tried all the ways i can think of and also asked Wulf for help here: uMod - Chat Command help - Custom Chat Commands - Community
But i cannot seem to get this to give the kit.
All permissions are given.
I see some errors when i tried to use the console command like this:
Command 'kit give steam' not found
Command '"chat.say / /kit steam"' not found
Does anyone have any ideas to make this work?
Need help with custom chat command
Have you tried changing in the kit config file ?
"Kit chat command": "kit", changed to "kit chat command": "steam", So when you type /steam the gui should open (?)
pookins
Have you tried changing in the kit config file ?
"Kit chat command": "kit", changed to "kit chat command": "steam", So when you type /steam the gui should open (?)
I don't want to change the main command to open the kits, the idea behind using the custom chat commands plugin was to be able to use /steam to run the console command to give player a kit if all perms met. If i change the main /kit all the other kits would be that /steam name to open.
I've seen it done on other servers just trying to piece together how it's done.
The config for custom chat commands looks like this:
{
"Command": "steam",
"Messages": [
"<color=#4F86F7>Claim your Steam Group Reward!</color>"
],
"Permission": "customchatcommands.steamkits",
"ConsoleCmd": null,
"UserID": 0,
"Broadcast": false,
"RconCmd": [
"kit give {player.id} steam"
],
"Cooldown": 0.0,
"MaxUses": 0
},
There you can see I tried to issue the rcon command upon player with the perm typing /steam .
The above config does print the test message included with it, but doesnt run the command to give the kit.