1. Reneb submitted a new resource:

    Admin Kick & Ban - simple admin commands to ban / unban / see the banlist

    Read more about this resource...
     
  2. Any support for other plugins?
     
  3. anticheat, rustdb
     
  4. getting error when banning, but its working.
    Code:
    (15:59:20) | [Oxide] 3:59 PM [Error] Failed to call hook 'cmdBan' on plugin 'KickBan' (ArgumentException: failed to convert parameters)[Oxide] 3:59 PM [Debug] 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
    at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, 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 command global.banid was executed
     
    Last edited by a moderator: May 4, 2015
  5. Thanks for the update, works good now. No errors :)
     
  6. Oh, just did a ban in Admin Tool and got this
    Code:
    (20:12:21) | [Oxide] 8:12 PM [Error] Failed to call hook 'cmdBan' on plugin 'KickBan' (ArgumentException: failed to convert parameters)[Oxide] 8:12 PM [Debug] 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
    at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 
    Still he got banned
     
    Last edited by a moderator: Apr 30, 2015
  7. Code:
    10:56 PM [Error] Failed to call hook 'cmdBan' on plugin 'KickBan' (ArgumentException: failed to convert parameters)
    10:56 PM [Debug]  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
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, 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
     

    Attached Files:

  8. Code:
    [Oxide] 1:05 AM [Info] Opera - WallLoot @ (6370.6, 393.9, -3617.8)
    [Oxide] 1:05 AM [Error] Failed to call hook 'cmdBan' on plugin 'KickBan' (ArgumentException: failed to convert parameters)
    [Oxide] 1:05 AM [Debug]  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
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, 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
    76561198155851230 Opera was auto banned for rWallLoot
    User Disconnected: Opera
    76561198155851230 Opera was auto kicked for rWallLoot
     
    Last edited by a moderator: May 5, 2015
  9. Wulf

    Wulf Community Admin

    For those using the latest Oxide snapshot, use the below version with the unnecessary imports removed.
     

    Attached Files:

  10. hi there,

    i have a big server running. Since Enhanced Ban System is not supported on Oxide 2 Legacy, i have a bit trouble with keeping cheaters at bay.
    With the EBS i could block them with their IP, Name and SteamID. Even they changed two things, they were still banned.
    Is it possible to get that option in kickban?
    I would like to keep them banned. I want to block all three things. ID, Name and IP.
    I would appreaciate any suggestions / help.

    Cheers
     
  11. Hi,
    This plugin is very helpful and I would give it a thumbs up but it doesn't ban IP. I don't know if this is something that could be done, but if this plugin could ban IP that would be awesome. The only reason that I don't run Oxide 2 right now is because I have some hackers (I think in a group) that know how to get around this and still connect in a couple of mins after their ban. But with the IP ban they will need to switch computers which is a lot harder to do. So if you are able to add this awesome feature to the plugin then it will be the best in oxide 2. Thanks in advance.
     
    Last edited by a moderator: Jul 19, 2015
  12. several plugins are giving it,after update the oxide 2.0.1684
    Code:
    [Oxide] 5:17 PM [Warning] Permission 'all' (by plugin KickBan) is not prefixed with plugin name, should be 'kickban.all'
    [Oxide] 5:17 PM [Warning] Permission 'canban' (by plugin KickBan) is not prefixed with plugin name, should be 'kickban.canban'
    [Oxide] 5:17 PM [Warning] Permission 'cankick' (by plugin KickBan) is not prefixed with plugin name, should be 'kickban.cankick'
    [Oxide] 5:17 PM [Warning] Permission 'canunban' (by plugin KickBan) is not prefixed with plugin name, should be 'kickban.canunban'
     
    Last edited by a moderator: Dec 28, 2015
  13. It seems that the problem has been fixed with a few of our plugins by using this for the permissions when checking if the exist and creating them:
    Code:
    "plugin name"."permission"Example:
    AntiGod.canantigod
     
  14. Wulf

    Wulf Community Admin

    It's just a warning, not an error.
     
  15. Now this version gives this:
    Code:
    [SERVER v1.0.23] Console: KickBan.cs(9,21): error CS0246: The type or namespace name `RustLegacyPlugin' could not be found. Are you missing an assembly reference?
    KickBan.cs(11,9): error CS0246: The type or namespace name `NetUser' could not be found. Are you missing an assembly reference?
    KickBan.cs(69,24): error CS0246: The type or namespace name `NetUser' could not be found. Are you missing an assembly reference?
    KickBan.cs(76,25): error CS0246: The type or namespace name `NetUser' could not be found. Are you missing an assembly reference?
    KickBan.cs(116,26): error CS0246: The type or namespace name `NetUser' could not be found. Are you missing an assembly reference?
    KickBan.cs(151,27): error CS0246: The type or namespace name `NetUser' could not be found. Are you missing an assembly reference?
    KickBan.cs(184,29): error CS0246: The type or namespace name `NetUser' could not be found. Are you missing an assembly reference?
    KickBan.cs(264,27): error CS0246: The type or namespace name `NetUser' could not be found. Are you missing an assembly reference?
     
    Last edited by a moderator: Aug 31, 2016
  16. Wulf

    Wulf Community Admin

    This plugin is for Rust Legacy only.