EnhancedBanSystem

Moved

Total Downloads: 3,114 - First Release: Jun 6, 2016 - Last Update: Feb 24, 2018

5/5, 18 likes
  1. Try this file:
     

    Attached Files:

  2. same
    Edit : Post at same time ,THANKS Spicy
     
    Last edited by a moderator: Aug 19, 2016
  3. this isn't related to the update, but how come the bans don't show up in playermanager like they used to.
     
  4. its fix this problem, but console ban now not work
     
  5. yes at me same player.ban not work hope anyone can fix it.
     
  6. Any errors?
     
  7. no, just not work
     
  8. This version works for me I don't know if it's any different than @Spicy
     

    Attached Files:

  9. no... I type player.ban, but nothing happens, the ban is not issued and the error either.
     
  10. What kinda server you running? Rust?
     
  11. Yes, its happened before last update.
    p.s. i am use WEB bans API too.
     

  12. Thx working perfectly for me!! :D:D
     
  13. If it isnt working I would wait for @Reneb on that one. Don't know to much about it.
     
  14. i am find bug, playerinfo plugin broken and EBS dont ban offline players, sorry!
     
  15. Do console command oxide.version
     
  16. Thank you for update work perfect.
     
  17. Doing an external call and got this

    This is my call
    Code:
    EnhancedBanSystem?.Call<string>("Ban", null, target.UserIDString, breason, 0);
    Code:
    (03:46:02) | [Oxide] 03:47 [Error] Failed to call hook 'Ban' on plugin 'EnhancedBanSystem v4.0.9' (NullReferenceException: Object reference not set to an instance of an object)
    (03:46:02) | [Oxide] 03:47 [Debug]   at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsConnected () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnhancedBanSystem.<FindOnlinePlayers>m__0 (IPlayer x) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[Oxide.Core.Libraries.Covalence.IPlayer].MoveNext () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnhancedBanSystem.FindOnlinePlayers (System.String arg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnhancedBanSystem.Kick (System.Object source, System.String target, System.String reason, Boolean isBan) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnhancedBanSystem.Ban (System.Object source, System.String steamid, System.String reason, Int32 duration) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnhancedBanSystem.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  18. Call<string> works?
     
  19. It did before this recent oxide update at least.