1. 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
     
  2. Wulf

    Wulf Community Admin

    Your config appears to be corrupt. Could you upload it here please?
     
  3. I download original plugin yesterday. :(
     

    Attached Files:

  4. Wulf

    Wulf Community Admin

    Did you edit the plugin or config though?
     
  5. no, its work yesterday.
     
  6. Is there any way to ban users who are no longer connected to the server, or should I just use RCON?
     
  7. Wulf

    Wulf Community Admin

    You should be able to ban by SteamID or IP while they are offline.

    From the Overview:
     
  8. Banning offline users by username does work, banning offline players by steam ID or IP does not. It gives you an "unknown player" error message.

    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:

    the final command inserts the following into ebsbanlist.json:

    which bans him by name and steam ID, but not by IP. Unfortunate, but I think it will be sufficient.

    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.
     
  9. 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
  10. 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'
     
  11. 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 
     
  12. 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 
     
  13. When i try to give my mods the ability to use this it says
    > oxide.grant user jordan canban
    Permission 'canban' doesn't exist
     
  14. Wulf

    Wulf Community Admin

    Generally that means the plugin isn't loaded. I'd recommend checking your logs for errors.
     
  15. Ok thanks, ive just reloaded the plugin but get the same issue should i restart server?
    [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
     
  16. Wulf

    Wulf Community Admin

    Did you check your oxide/logs for errors with the plugin?
     
  17. Yes the logs say everythings fine
     
  18. Wulf

    Wulf Community Admin

    Could you upload them here? The oxide/logs/oxide_ ones would be ideal!
     
  19. There's possibilities to ban a player/steamid without ban ip? Because i use a vpn and i can't ban the ip... x)