string GetMsg(string key, object steamid = null) { return lang.GetMessage(key, this, (steamid != null ? steamid.ToString() : "DEBUG: Null steam id!")); }
EnhancedBanSystem
Moved
Total Downloads: 3,114 - First Release: Jun 6, 2016 - Last Update: Feb 24, 2018
- 5/5, 18 likes
-
Well, it's compiled alright, all permissions granted to group mod admin etc. but, I can't unban already banned players from list. No errors in console, just text "[Info]", that's all.
-
got this error in log:
Code:[Error] Error while compiling EnhancedBanSystem.cs(812,35): error CS0117: `ConsoleSystem' does not contain a definition for `Broadcast'
-
Wulf Community Admin
-
Can someone help me transfer bans made using the previous EBS. Please help ASAP as banned players are able to join.
EDIT: I have since fixed the problemLast edited by a moderator: Jul 15, 2016 -
-
why 2 broadcast?
and not working unban with steamidAttached Files:
Last edited by a moderator: Jul 15, 2016 -
-
Steps.
Step 1. Copy EBS data file to desktop
Step 2. Delete EBS data file on server
Step 3. Reload the new EBS
Step 4. Clear out any names with symbols, or foreign characters and keep it as "" in the file on the desktop
Step 5. Save that file as ANSI coding
Step 6. Replace that file into data
Step 7. Reload again -
-
-
Code:
[07/16/2016 17:18:23] [Oxide] 17:18 [Debug] at Oxide.Plugins.EnhancedBanSystem.GetMsg (System.String key, System.Object steamid) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, System.String key, System.String steamid, System.String name, System.Collections.Generic.List`1 ips, System.String reason, Int32 duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.isBanned (System.String steamid, System.String name, System.String ip, System.String& reason, System.Int32& expiration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserConnected (IPlayer player) [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
Code:[07/16/2016 17:18:23] [Oxide] 17:18 [Error] Failed to call hook 'OnUserConnected' on plugin 'EnhancedBanSystem v4.0.5' (NullReferenceException: Object reference not set to an instance of an object)
3 identical ban and I can ban its infinite time:
Code:{ "steamID": "76561198317989318", "reason": "Banned", "name": "Pn", "date": "1468678703.33925", "IPs": [ "121.46.18.41" ], "expiration": 0, "source": null }, { "steamID": "76561198317989318", "reason": "Banned", "name": "Pn", "date": "1468678863.22732", "IPs": [ "121.46.18.41" ], "expiration": 0, "source": null }, { "steamID": "76561198317989318", "reason": "Banned", "name": "Pn", "date": "1468678894.80928", "IPs": [ "121.46.18.41" ], "expiration": 0, "source": null }
Last edited by a moderator: Jul 16, 2016 -
seems like there is a bug indeed. I'll look into it. Might take some time to fix it.
-
-
After update ban steamid sametimes dont work.
One more error:
Code:[Oxide] 20:11 [Debug] ExType: TargetInvocationException [Oxide] 20:11 [Error] Failed to call hook 'OnServerCommand' on plugin 'RustCore v1.0.0' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 20:11 [Debug] at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Reply (System.String message, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.cmdBan (IPlayer player, System.String command, System.String[] args) [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
Last edited by a moderator: Jul 17, 2016 -
Please make it compatible with StrikeSystem
-
Unban dont working too. What with plugin, guys????
Console when i unban players:
[Oxide] 00:02 [Info]
[Oxide] 00:02 [Info]
[Oxide] 00:02 [Info] -
-
-
[DOUBLEPOST=1468796144][/DOUBLEPOST]Can you make it like that? like the old enhanced ban system.
[DOUBLEPOST=1468796348][/DOUBLEPOST]This:Attached Files:
-
-
the plugin doesnt event load for me :/