You need the help command plug in. It searches all of your plug ins for the appropriate commands and will display them to the user once they enter the /help command. I just found this one the other day and it has worked flawlessly for me since installing.
Ive attached the one I found and Im assuming its the only one. Im attaching this as its freely given on this site somewhere and to the best of my knowledge, is acceptable to do such.
Here is the actual page that this was obtained from - HelpText | Oxide
Notifier [Unmaintained]
Discussion in 'Plugin Support' started by NobodyFTW, Feb 1, 2015.
-
I'm testing this plugin but it is giving the following error:
I need another plugin or library to use it?Code:[Oxide] 5:59 PM [Info] Loaded plugin Notifier v2.0.4 by SkinN [Oxide] 5:59 PM [Error] Failed to initialize plugin notifier (ArgumentException: An element with the same key already exists in the dictionary.) [Oxide] 5:59 PM [Debug] at System.Collections.Generic.Dictionary`2[System.String,Oxide.Rust.Libraries.Command+ChatCommand].Add (System.String key, ChatCommand value) [0x00000] in <filename unknown>:0 at Oxide.Rust.Libraries.Command.AddChatCommand (System.String name, Oxide.Core.Plugins.Plugin plugin, System.String callbackname) [0x00000] in <filename unknown>:0 at (wrapper delegate-invoke) System.Action`4<System.Action`3<string, Oxide.Core.Plugins.Plugin, string>, string, Oxide.Core.Plugins.Plugin, string>:invoke_void__this___Action`3<string, Plugin, string>_string_Plugin_string (System.Action`3<string, Oxide.Core.Plugins.Plugin, string>,string,Oxide.Core.Plugins.Plugin,string) at Microsoft.Scripting.Interpreter.ActionCallInstruction`4[System.Action`3[System.String,Oxide.Core.Plugins.Plugin,System.String],System.String,Oxide.Core.Plugins.Plugin,System.String].Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
Thanks for your help -
Wulf Community Admin
That error means you have multiple plugins trying to add the same chat commands. You'd need to find the other (or duplicate) and remove it or change the shared command with one of them. -
SkinN õ.Õ'.|. updated Notifier with a new update entry:
Notifier v2.1.0 | Server rules & Admin tags!
-
I didn't had problems with 2.0.4, now i have this error.
Oxide Version: 2.0.354, Rust Protocol: 1211Code:[Oxide] 7:38 AM [Debug] at System.Collections.Generic.Dictionary`2[System.String,Oxide.Rust.Libraries.Command+ChatCommand].Add (System.String key, ChatCommand value) [0x00000] in <filename unknown>:0 at Oxide.Rust.Libraries.Command.AddChatCommand (System.String name, Oxide.Core.Plugins.Plugin plugin, System.String callbackname) [0x00000] in <filename unknown>:0 at (wrapper delegate-invoke) System.Action`4<System.Action`3<string, Oxide.Core.Plugins.Plugin, string>, string, Oxide.Core.Plugins.Plugin, string>:invoke_void__this___Action`3<string, Plugin, string>_string_Plugin_string (System.Action`3<string, Oxide.Core.Plugins.Plugin, string>,string,Oxide.Core.Plugins.Plugin,string) at Microsoft.Scripting.Interpreter.ActionCallInstruction`4[System.Action`3[System.String,Oxide.Core.Plugins.Plugin,System.String],System.String,Oxide.Core.Plugins.Plugin,System.String].Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
-
Sugestion :
and add :Code:if self.Config['SETTINGS']['SHOW RULES']: command.AddChatCommand('rules', self.Plugin, 'rules_CMD')
Code:self.Config['SETTINGS']['SHOW RULES'] = True
-
No need, just leave rules empty:
orCode:"RULES":[ ],
[DOUBLEPOST=1424825310][/DOUBLEPOST]Code:"RULES": false,
This error means that 2 or more plugins are using the same command. -
That will make problems for people using another plugin to display "/rules"
-
Admin tags do not disable.
My config:
Code:"SETTINGS": { "ENABLE ADVERTS": true, "MODERATOR TAG": false, "PREFIX": "[S-G]", "ENABLE ADMIN TAGS": false, "SHOW DISCONNECTED": true, "ADVERTS INTERVAL": 200, "ENABLE HELPTEXT": true, "BROADCAST TO CONSOLE": true, "OWNER TAG": false, "SHOW CONNECTED": true, "SHOW WELCOME MESSAGES": true, "HIDE ADMINS CONNECTIONS": true }, -
SkinN õ.Õ'.|. updated Notifier with a new update entry:
Notifier v2.1.1 | Tweaks
[DOUBLEPOST=1424827637][/DOUBLEPOST]Done
Fixed!
Thanks for reporting. -
This error means that 2 or more plugins are using the same command.
-
what?
[DOUBLEPOST=1424837991][/DOUBLEPOST]other plug interrupts the action of this? -
Like I said it means to plugins are using the same command, which probably is /rules command, the latest command added to Notifier.
-
I write in chat /help and get to the console
Code:[2/25/2015 6:05:57 PM] [Oxide] 6:05 PM [Error] ArgumentNullException while calling SendHelpText: (ArgumentNullException: Argument cannot be null. Parameter name: format)[2/25/2015 6:05:57 PM] [Oxide] 6:05 PM [Debug] at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RustPlugin.PrintToChat (.BasePlayer player, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RustPlugin.SendReply (.BasePlayer player, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RemoverTool.SendHelpText (.BasePlayer player) [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
-
This is not a Notifier's error.
[DOUBLEPOST=1424877741][/DOUBLEPOST] -
Wulf Community Admin
If you follow the trace in the log, it shows that is from the Remover Tool plugin. -
really, sry
-
Thanks for the answer, you've solved my problem. I've seen how it works and I deleted several unnecessary plugins.
The key message is: An element with same key already exists in the dictionary -
Also in the error you see this line:
With this you know it's a chat command, so from here you also know that 1 command is being used from 2 or more plugins
