The error you posted is physically impossible if using 3.0.3. I'd recommend updating again to make sure.
Chat Handler [Unmaintained]
Discussion in 'Plugin Support' started by Domestos, Nov 2, 2014.
-
Wulf Community Admin
-
-
Wulf Community Admin
-
@Domestos
Code:[Oxide] 8:48 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler' File: chathandler.lua Line: 640 attempt to index field 'server' (a nil value): 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
The message the user writes will be displayed with the rank and another like vanilla. -
-
Hi!
Can (future) this plugin search for the word that i put in the config and kick/ban a player who wrote that word?
Ex: i put b*tch in the config... when a player write that word ... boom ... kicked/banned with message!? -
-
Code:
File: chathandler.lua Line: 305 attempt to index field '?' (a nil value):^M at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 ^M at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 ^M at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)^M 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
[DOUBLEPOST=1434274946][/DOUBLEPOST]This situation arose because of a config old. It is solved. -
im having a weird issue. sometimes chat handler doesn't display the name color correctly and other times it does without any change in config. It only seems to happen to players that have two groups such as vip and default players group. here is a snapshot of my config
Code:"Player": { "NameColor": "#5af", "Permission": "player", "Prefix": "[Player]", "PrefixColor": "#ffffff", "PrefixPosition": "left", "PriorityRank": 1, "ShowPrefix": false, "TextColor": "#ffffff" }, "VIP": { "NameColor": "#ffd700", "Permission": "vip", "Prefix": "[VIP]", "PrefixColor": "#ffd700", "PrefixPosition": "right", "PriorityRank": 4, "ShowPrefix": true, "TextColor": "#ffffff" }
Last edited by a moderator: Jun 14, 2015 -
got the same problem with group player and donator...
Attached Files:
-
-
Does this issue only apply to the name color or the message color aswell?
I think I have an idea of what the problem is but cant test it right now. I'll try to do some testing later tonight. -
i dont use other colors on msgs just on names
-
-
Like a double post ?
-
Domestos updated Chat Handler with a new update entry:
Bugfix
-
Now all my players and donators are white and i cant change it via config file
-
Any errors in your console? -
not at all, i removed one donator from the "player" group and it worked immediately. He had his new name color within a second.
I even deleted the old config and tried to set up the new but no changes on name colors were possible.
Just my namecolor was like it used to be...Last edited by a moderator: Jun 15, 2015 -
The players who have "[ ]" in their nickname bug and displayed in white in the game.
( After 3.0.4 update, config not modified )
Code:["Player"] = { ["Permission"] = "player", ["Prefix"] = "[Joueur]", ["PrefixPosition"] = "left", ["PrefixColor"] = "#58ACFA", ["NameColor"] = "#58ACFA", ["TextColor"] = "#ffffff", ["PriorityRank"] = 1, ["ShowPrefix"] = false, }
-
Domestos updated Chat Handler with a new update entry:
Bugfix
[DOUBLEPOST=1434382260][/DOUBLEPOST]@Brinks @Loup-des-Neiges
Try the latest update please.