1. I Give The Kick Perm To VIP User . And now Can VIP User Kick Admin From the server ?
     
  2. 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 
     
  3. Wulf

    Wulf Community Admin

    Try the below attachment.

    Edit: Updated the attachment to fix a mistake.
     

    Attached Files:

    Last edited: Sep 18, 2015
  4. 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
     
  5. Code:
    > oxide.grant group mod canban
    Permission 'canban' doesn't exist
    how set Permission for group ?
     
  6. Wulf

    Wulf Community Admin

    You had it right. That message means that there are no plugins registering that permission, so likely this plugin isn't loaded for you. Check your oxide/logs for errors.
     
  7. 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 
    How fix ?
     
  8. Wulf

    Wulf Community Admin

    That means your config file is invalid. Make sure you validate it using www.jsonlint.com if you aren't familiar with JSON formatting.
     
  9. where the config file ?
     
  10. Wulf

    Wulf Community Admin

    oxide/config/enhancedbansystem.json I think.
     
  11. 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 
    [DOUBLEPOST=1443561852][/DOUBLEPOST]Fixed it, nvm
     
    Last edited by a moderator: Sep 29, 2015
  12. So what is the best Oxide ban system for my rust server?
     
  13. 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
     
  14. 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?
     
  15. 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 
     
  16. this plugin bans all on my server
     
  17. 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.
     
  18. Use plugin notifier. It shows Reason
     
  19. 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!
     
  20. I cant seem to ban a ID, what is the command please..