Try this file:
EnhancedBanSystem
Moved
Total Downloads: 3,114 - First Release: Jun 6, 2016 - Last Update: Feb 24, 2018
- 5/5, 18 likes
-
Attached Files:
-
-
same
Last edited by a moderator: Aug 19, 2016 -
this isn't related to the update, but how come the bans don't show up in playermanager like they used to.
-
-
yes at me same player.ban not work hope anyone can fix it.
-
-
-
Attached Files:
-
-
-
-
p.s. i am use WEB bans API too. -
Thx working perfectly for me!! -
If it isnt working I would wait for @Reneb on that one. Don't know to much about it.
-
-
Do console command oxide.version
-
Reneb updated Enhanced Ban System with a new update entry:
4.0.9
-
Thank you for update work perfect.
-
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
-
Call<string> works?
-
It did before this recent oxide update at least.