Chat commands are not enabled in Oxide for "vanilla" unless you are admin.

EasyChatCommands
Easily Add Chat Info Commands
Total Downloads: 3,508 - First Release: Feb 5, 2017 - Last Update: Feb 5, 2017
- 5/5, 9 likes
-
Wulf Community Admin
-
I am very new to this, and this plugin seems awesome.. However.. I would like to edit it, to make my own commands. It should work with notepad right?
When I open the code with notepad, I can't find
{
"commandName":"commandText", <-- Notice how there are comma here
"commandName":"commandText", <-- and here
"commandName":"commandText" <--- But no comma after the last item
}
So I have no idea where in the code I should type in the different commands and text..
I assume, instead of the commandname, I should type for example "admin":"name of the admin and email" Is that correct?
But still I can't find these examples lines..
I wish players can have access to commands, like /admin, /info, /server, /rules, /wipe.. ect ect and information about each command.
Help please -
Code:
{ "commands": "<color=#00FF00>/statsui</color> - hide the levels UI\n <color=#00FF00>/kit</color> - See the available kits\n <color=#00FF00>/clan</color> - Information on creating and managing clans\n <color=#00FF00>/shop</color> - View the shop\n <color=#00FF00>/vote and /claim</color> - Vote for the server and use /claim to get your rewards\n <color=#00FF00>/settings</color> - View the server settings", "settings": "Gather Rate: x10\n Furnace Rate: x20\n High loot", "rules": "Rules Here" }
Nevermind, was putting it int he wrong folder lol -
Could you add a resourceID for automatic plugin updaters?
-
Hello
I installed this plugin but it didnt create a json file. -
Wulf Community Admin
-
I got this
23:37 [Info] EasyChatCommands was compiled successfully in 2979ms
23:37 [Info] [Easy Chat Commands] Loaded Chat Commands
But the json file isnt there -
Wulf Community Admin
-
i have my server in nitrado. so in my oxide folder i have plugins, lang, confg, log
I did found a json file in the data.
I thought it was supposed to be in confg.
I edited the one in the data like this:
{
"discord": "Join our community discord and have a blast with the rest of the family ",
"rules": "Maturity is a MUST! Do not be a douche. Profanity will not be tolerated. Watch your language",
"plugins": "Clan, Trade, Checkpoints, Externawallprotect, Signartist"
}
Is this correct? -
Wulf Community Admin
Yes, that would be correct. Hopefully the author can put the config in the proper location.
Also, @Jake Rich, Loaded() hook can be Init() and unused Unload() hook can be removed. -
Not sure I follow the last sentece there hehe
So in the ingame chat I can do /discord but command dont exist -
Wulf Community Admin
-
Ill give it a try and see if this will work.Last edited by a moderator: Oct 5, 2017 -
Finally worked. Its only been hours hahah
Thanks Wulf -
um , did all as stated here but commands don't work please help
-
Hmm, is it possible to use another command to use the command you created? For example:
"bgrade 2": "up 2" -
When editing the data file for command read outs, how do you get line breaks in the txt? Example /Admin: Mike, Ethan, Sam. How would you edit it to get it to show up like this...
/Admin:
Mike
Eathan
Sam -
Code:Mike\nEthan\nSam
-
Edit: Answered my own question Thanks @Mughisi -
Does this mod conflict with better chat? i cant seem to get it to work. says its loaded and i left out the last comma. but commands dont seem to work.