Enhanced Ban System [Replaced]
Discussion in 'Plugin Support' started by Reneb, Oct 28, 2014.
-
Code:
File: EnhancedBanSystem.lua Line: 86 attempt to index field 'connection' (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 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.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
Edit: Updated the attachment to fix a mistake.Attached Files:
Last edited: Sep 18, 2015 -
-
is it somehow possible to ban players who are offline ? i always get the msg player not found
/ban "username" "reason"
player not found
/ban "steamid" "reason"
player not found
/ban "ip" "reason"
player not found
server restart or pluginreload didnt help -
Code:
> oxide.grant group mod canban Permission 'canban' doesn't exist
-
Wulf Community Admin
-
Code:
at Oxide.Core.OxideMod.LoadPlugin (System.String name) [0x00000] in <filename unknown>:0 2:12 PM [Info] Loaded plugin Enhanced Ban System v2.3.3 by #Domestos 2:12 PM [Error] Failed to initialize plugin 'EnhancedBanSystem v2.3.3' File: EnhancedBanSystem.lua Line: 26 Object reference not set to an instance of an object: at Oxide.Core.Configuration.DynamicConfigFile.GetEnumerator () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Utility.TableFromConfig (Oxide.Core.Configuration.DynamicConfigFile config, NLua.Lua lua) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Libraries.LuaDatafile.GetDataTable (System.String name) [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
-
Wulf Community Admin
-
-
Wulf Community Admin
-
when I type /ban or /kick it says 'Unknown command 'ban'!
Get this error when trying to reload the plugin.
Code:[Oxide] 10:17 PM [Info] Unloaded plugin Enhanced Ban System v2.3.3 by #Domestos [Oxide] 10:17 PM [Info] Loaded plugin Enhanced Ban System v2.3.3 by #Domestos [Oxide] 10:17 PM [Error] Failed to initialize plugin 'EnhancedBanSystem v2.3.3' File: EnhancedBanSystem.lua Line: 26 After parsing a value an unexpected character was encountered: ". Path '76561198220140431', line 37, position 3.: at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0 at Oxide.Core.Configuration.KeyValuesConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0
Last edited by a moderator: Sep 29, 2015 -
So what is the best Oxide ban system for my rust server?
-
I can't unban users which is banned on my server.
player.ban steamid reason
> player.ban steamid rFlyhack (0m/s)
Player not found
[Oxide] 3:36 PM [Info] RustDB: steamid was successfully added to your banlist!
[Oxide] 3:36 PM [Info] RustDB: steamid was successfully added to your banlist!
>player.unban steamid
steamid not found in banlist
in oxide/data/ebsbanlist.json - no new record with the banned steamid
in /cfg/bans.cfg - no new record withe the banned steamid -
I testet the lastest version and the one from Wulf, but I can't ban a play who is dead and maybe not respawnt (I was not online).
That pretty bad, 'cause he killed on a PvE server many player with no reason and I can't do anything at the moment.
> player.ban 7xxxxxxxxxx2 PvP
Player not found
Didn't work with his Name, too.
But...
> player.bancheck 7xxxxxx2
7xxxxx2 is not banned
And in oxide.user is the player. What can I do? -
Code:
[Oxide] 1:31 AM [Error] Failed to call hook 'ccmdBan' on plugin 'EnhancedBanSystem v2.3.3' File: EnhancedBanSystem.lua Line: 87 attempt to index field 'connection' (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 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.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
this plugin bans all on my server
-
Hi folks, quick question.
I see that the bans are automatically logged into the ebsbanlist.json... I was wondering however, is there a way to record the Kicks as well to see who was kicked, and for what reason? I am trying to monitor and hold my moderators/chat folks accountable. -
Use plugin notifier. It shows Reason
-
As of today, I am suddenly getting "Command not found" when trying to use the player.kick or player.ban console commands. I deleted both the config and plugin file and resinstalled and it's still not working. Any help would be appreciated!
-
I cant seem to ban a ID, what is the command please..