Domestos submitted a new resource:
Custom Chat Commands - Completely dynamic and unlimited custom chat commands
Read more about this resource...
Custom Chat Commands [Replaced]
Discussion in 'Plugin Support' started by Domestos, Apr 17, 2015.
-
I'm not understanding how to use this plugin..... anyone want to enlighten me? Looks interesting
-
Wulf Community Admin
-
Hello and thank you for all the plug-inns
I have a noob question regarding the config, i found a similar example i believe but wan in another language. I only get the words custom helptext when i do /help this is what i have in the config, thank if you can be of help
Code:{ "ChatCommands": { "command1": { "help": "This is the helptext for this command", "permission": true, "text": [ "Rust Armageddon test help text" ] }, "command2": { "helptext": "This is the helptext for this command, also admin only", "permission": "admin", "text": [ "This is an example text for admins only", "You can also use multiline messages" ] } }, "Messages": { "NoPermission": "You dont have permission to use this command!" }, "Settings": { "ChatName": "SERVER" } }
Last edited by a moderator: Aug 8, 2015 -
Hello can you help me how can i see the commands
-
So then I can only use this to send back text to the user no real commands right?
-
Wulf Community Admin
-
I have tried doing this but I get an error
"ChatCommands":{
"help":{
"text":["/rules /tpr /sethome /warp list /kit /location /players /remove"],
"helptext":"use /help to display our help command",
"permission":false
},
"Messages": {
"NoPermission": "You dont have permission to use this command!"
},
"Settings": {
"ChatName": "SERVER"
}
}
This is the error
Code:> oxide.reload CustomChatCommands [Oxide] 16:38 [Info] Unloaded plugin Custom Chat Commands v1.0.0 by #Domestos [Oxide] 16:38 [Info] Loaded plugin Custom Chat Commands v1.0.0 by #Domestos [Oxide] 16:38 [Error] Failed to initialize plugin 'CustomChatCommands v1.0.0' File: CustomChatCommands.lua Line: 12 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 NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
Last edited by a moderator: Apr 28, 2016 -
Wulf Community Admin
Start fresh and make sure to follow the example when adding/changing. -
/rules /kit /sethome /tpr /remove /location /warp list /players
It keeps on saying it is corrupt -
Wulf Community Admin
-
Attached Files:
-
-
Wulf Community Admin
Attached Files:
-
-
Code:> oxide.reload CustomChatCommands [Oxide] 00:07 [Info] Unloaded plugin Custom Chat Commands v1.0.0 by #Domestos [Oxide] 00:07 [Info] Loaded plugin Custom Chat Commands v1.0.0 by #Domestos [Oxide] 00:07 [Error] Failed to initialize plugin 'CustomChatCommands v1.0.0' File: CustomChatCommands.lua Line: 12 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 NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 [Oxide] 00:08 [Info] Unloaded plugin Custom Chat Commands v1.0.0 by #Domestos [Oxide] 00:08 [Info] Loaded plugin Custom Chat Commands v1.0.0 by #Domestos [Oxide] 00:08 [Error] Failed to initialize plugin 'CustomChatCommands v1.0.0' File: CustomChatCommands.lua Line: 12 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 NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 > oxide.reload CustomChatCommands [Oxide] 00:08 [Info] Unloaded plugin Custom Chat Commands v1.0.0 by #Domestos [Oxide] 00:08 [Info] Loaded plugin Custom Chat Commands v1.0.0 by #Domestos [Oxide] 00:08 [Error] Failed to initialize plugin 'CustomChatCommands v1.0.0' File: CustomChatCommands.lua Line: 12 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 NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
Last edited by a moderator: Apr 28, 2016 -
Wulf Community Admin
Plugin has been marked as unmaintained. As a replacement, try CustomChatCommands | Oxide.