Somehow the : after the prefix is in orange and miss a space before, got that in another plugin too so I thought it would be a failure with another plugin, unloaded all and just loaded CustomChatCommands, but the problem is still there
Is there a way to handle with it, or disable the : ?
Custom Chat Commands [Replaced]
Discussion in 'Plugin Support' started by Domestos, Oct 16, 2014.
-
https://github.com/OxideMod/Oxide/blob/master/Oxide.Ext.Rust/Libraries/Rust.cs#L102 -
Thanks Domestos, I did a thread about it.
Just a question, is there a way / are you gonna add multiple commands?
Like "/command1 command2", like in notifier with "/rules en/de/fr" etc.
Would be awesome, so you can create 1 command with different languages or use it like sites -
-
Getting this error in logs:
Code:[6/7/2015 1:16:37 AM] [Oxide] 1:16 AM [Error] Failed to initialize plugin CustomChatCommands File: CustomChatCommands.lua Line: 72 invalid arguments to method call: at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Last edited by a moderator: Jun 7, 2015 -
-
How come when I paste the default config code into JSLint Code Check it says the code is not good and says :
Warning: JSLint was unable to finish.
line 13 column 6
Expected '}' to match '{' from line 10 and instead saw 'permission'.
line 13 column 6
"permission":false
Stopping.
Function Report
JSON: bad.
[DOUBLEPOST=1434690766][/DOUBLEPOST]I would like to make my own commands but even the default config isn't working for me :/ Please help -
Wulf Community Admin
-
[DOUBLEPOST=1434691020][/DOUBLEPOST]
[DOUBLEPOST=1434693674][/DOUBLEPOST]This is awesome, it's working now and I love it. It would be really really cool if we could change the font colors though -
-
I'm still getting the same error about 72 errors... loading it fresh without a config (so it creates a fresh one) sorts this issue.
My config passes a json test... could you look at it for me?Attached Files:
-
-
If you specify a permission for a command the plugin will check if the user using the command has it and if not denies him from using it.
So the permission field in your config has to be either false if you dont want the command to check for a specific permission or set a permission like "admin" to have the plugin check for that. -
is it possible to run console command like /masterkey_unload running console command "oxide.unload masterkey"
-
-
Any chance we could have the ability to run these from console?
-
-
The second. I would like to run the commands in TimedExecute.
-
If you want to broadcast messages to your server you should use Notifier or something similar.
The plugin may change in the future to support some more usages but not in the very near future. -
Okay, thanks.
-
Kopieren von Dateien auf den entfernten Rechner schlug fehl.
CustomChatCommands.json: Permission denied
why?
I wanna save the config and then he said permissin denied
copy the data to the host doesnt work