I contiguration save to database Mysql, every reason to ban such"??????". How to change the encoding to utf8 or cp1251?
EnhancedBanSystem
Moved
Total Downloads: 3,114 - First Release: Jun 6, 2016 - Last Update: Feb 24, 2018
- 5/5, 18 likes
-
Last edited by a moderator: Jan 3, 2018
-
-
The problem with the plugin, if I select "DataType - Files" ending the ban is not removed. Example: ban player for 10 minutes > the time the ban ends > to ban this player for another 10 minutes, but his only kick. In the console writes "This ban already exists". What is my mistake?
Code:{ "Ban - Broadcast": true, "Ban - Default Reason": "Banned", "Ban - Evade": true, "Ban - Evade Reason": "Ban Evade", "Ban - Log": false, "DataType - Files - use": true, "DataType - MySQL - Database": "banlist", "DataType - MySQL - Host": "localhost", "DataType - MySQL - Pass": "toor", "DataType - MySQL - Port": 3306, "DataType - MySQL - use": false, "DataType - MySQL - User": "root", "DataType - Native - use": false, "DataType - PlayerDatabase - IP Filename": "EnhancedBanSystem_IPs.json", "DataType - PlayerDatabase - use": false, "DataType - SQLite - Database Filename": "banlist.db", "DataType - SQLite - use": false, "DataType - WebAPI - Banlist": "http://webpage.com/banlist.php?startid={startid}", "DataType - WebAPI - Host": "http://webpage.com/api.php?action=ban&pass=mypassword&id={id}&steamid={steamid}&name={name}&ip={ip}&reason={reason}&source={source}&game={game}&platform={platform}&server={server}&tempban={expiration}", "DataType - WebAPI - IsBanned": "http://webpage.com/api.php?action=isbanned&pass=mypassword&id={id}&update={update}&steamid={steamid}&ip={ip}&time={time}&name={name}&game=Rust&server=rust.kortal.org:28015", "DataType - WebAPI - Unban": "http://webpage.com/api.php?action=unban&pass=mypassword&steamid={steamid}&name={name}&ip={ip}&name={name}&source={source}", "DataType - WebAPI - use": false, "Denied Connection - Log": false, "DiscordMessages - Discord Webhook": "https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks", "DiscordMessages - Use Discord": false, "Kick - Broadcast": false, "Kick - Log": false, "Kick - On Ban": true, "Permissions - Ban": "enhancedbansystem.ban", "Permissions - Banlist": "enhancedbansystem.banlist", "Permissions - Kick": "enhancedbansystem.kick", "Permissions - Unban": "enhancedbansystem.unban", "Server Info - Game": "Rust", "Server Info - IP:PORT": "1.1.1.1:28015", "Server Info - Platform": "Steam" }
Last edited by a moderator: Jan 3, 2018 -
Slut updated Enhanced Ban System with a new update entry:
5.1.13
-
Does this still work with new MySQL servers (SQL Strict Mode)?
-
-
On one of my servers its spamming "SQLite: 0 matching bans were removed" every 60 seconds.
How can i fix this? -
Any way to have the ban system not ban or touch IPs, using s docker setup and the networking is sandboxed, all player IPs are the same.
-
[DOUBLEPOST=1517213285][/DOUBLEPOST] -
-
Slut updated Enhanced Ban System with a new update entry:
5.1.14
-
I got the following error everytime he save the server (game Rust, with latest oxide and update):
Code:12:07:05) | Failed to call hook 'OnServerSave' on plugin 'EnhancedBanSystem v5.1.14' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.EnhancedBanSystem.Save_Files () [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnServerSave () [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 (Oxide.Core.Plugins.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Feb 2, 2018 -
Discord messages not working with update keep getting [Error] [EnhancedBanSystem] DiscordMessages enabled but it isn't setup correctly.
this is my config
"DiscordMessages - Discord Webhook": "https://discordapp.com/api/webhooks...WH3ct7QrakKiymf1T5xRdNgb6Cki4VJj8w3VGuXnghLaX",
"DiscordMessages - Use Discord": true, -
Slut updated Enhanced Ban System with a new update entry:
5.2.0
-
"DiscordMessages - Discord Webhook": "Intro to Webhooks",
"DiscordMessages - Use Discord": false,
and i keep getting.
"(09:04:19) | [EnhancedBanSystem] DiscordMessages enabled but it isn't setup correctly."
any ideas ? -
-
Alright i just removed that link, and it's not showing that message anymore. ty
-
Posting fix now. -
Slut updated Enhanced Ban System with a new update entry:
5.2.1