Code: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
Enhanced Ban System [Replaced]
Discussion in 'Plugin Support' started by Reneb, Oct 28, 2014.
-
Wulf Community Admin
-
Attached Files:
-
-
Wulf Community Admin
-
-
Is there any way to ban users who are no longer connected to the server, or should I just use RCON?
-
Wulf Community Admin
From the Overview:
-
It still bans the players by steamID and username in the data file though.
Below is an example with censored steam IDs, usernames and IPs:
EDIT: I just looked over the code, you can manually add the naughty user's IP to the JSON data and it will block them until someone hopefully looks into this. -
Code:
[Oxide] 3:33 PM [Error] Failed to call hook 'ccmdBan' on plugin 'EnhancedBanSystem v2.3.3' File: EnhancedBanSystem.lua Line: 148 attempt to compare nil with number: at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in :0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in :0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in :0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in :0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in :0
Last edited by a moderator: Aug 31, 2015 -
I can't unban a player this is the error:
[Oxide] 12:36 AM [Error] Failed to call hook 'cmdUnban' on plugin 'EnhancedBanSystem v2.3.2' -
Hi there, i got the following error.
Code:[8/31/2015 3:08:44 PM] [Oxide] 3:08 PM [Error] Failed to call hook 'CanClientLogin' on plugin 'EnhancedBanSystem v2.3.3' File: EnhancedBanSystem.lua Line: 148 attempt to compare nil with number: 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
-
Here's the message error when i type /bancheck <name/steamID/IP>
(http://puu.sh/jYPvA/a32dad33f6.png)
If it help
Thanks -
You need to add a fix if you type /bancheck with no name it gives this error
Code:[9/8/2015 2:36:06 AM] [Oxide] 2:36 AM [Error] Failed to call hook 'cmdBanCheck' on plugin 'EnhancedBanSystem v2.3.3' File: EnhancedBanSystem.lua Line: 400 attempt to concatenate local 'target' (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
-
When i try to give my mods the ability to use this it says
> oxide.grant user jordan canban
Permission 'canban' doesn't exist -
Wulf Community Admin
-
[DOUBLEPOST=1442074472,1442011674][/DOUBLEPOST]Ok i still cant get this to work ive reloaded it 4 times even removed the plugin and re-added it the server says its there but /ban doesnt work neither does the console command -
Wulf Community Admin
-
-
Wulf Community Admin
-
There's possibilities to ban a player/steamid without ban ip? Because i use a vpn and i can't ban the ip... x)