EnhancedBanSystem

Moved

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

5/5, 18 likes
  1. supposedly the latest one - game servers doesnt show when last update was, but it was freshly installed friday morning after the last update.

    is it too old?

    and thanks!
     
  2. Wulf

    Wulf Community Admin

    There were some fixes made since then that should have fixed that, so likely.
     
  3. Ok, but when it will?
     
  4. The plugin does not work on the new version of oxide!
     
    Last edited by a moderator: Aug 23, 2016
  5. thanks...
     
  6. Sorry, but when plugin will work? Plugin does not work for 2 days...

    All violators and cheaters now can play on my servers!
     
    Last edited by a moderator: Aug 23, 2016
  7. please fix
     
  8. as said before, you can either use an old version of oxide / plugin or wait for oxide to be fixed :p
    @Wulf ;)
    [DOUBLEPOST=1471986507][/DOUBLEPOST]i'm currently using oxide version: 2.0.2304
     
  9. On my hosting not allowed to rollback oxide
     
  10. Wulf

    Wulf Community Admin

    Simply change the command name to be unique and it will work fine until we fix it in Oxide. It's not an issue with the plugin.
     
  11. [Command("ban")] or what?
     
  12. Wulf

    Wulf Community Admin

    Yes, just change it to eban or something like that.
     
  13. It did not help
    Code:
            [Command("bban")]
            void cmdBan(IPlayer player, string command, string[] args)
            {
                if (!hasPermission(player, PermissionBan)) { player.Reply(GetMsg("You don't have the permission to use this command.", player.Id.ToString())); return; }
                if (args == null || (args.Length < 1)) { player.Reply(GetMsg("Syntax: ban < Name | SteamID | IP > < reason(optional) > < time in secondes(optional > ", player.Id.ToString())); return; }
                try { player.Reply(TryBan(player, args)); } catch { }
            }
            [Command("bbanlist")]
            void cmdBanlist(IPlayer player, string command, string[] args)
            {
                if (!hasPermission(player, PermissionBanlist)) { player.Reply(GetMsg("You don't have the permission to use this command.", player.Id.ToString())); return; }
                int startid = 0;
                if (args != null && (args.Length > 0)) { int.TryParse(args[0], out startid); }
                try { player.Reply(Banlist(startid)); } catch { }
            }
            [Command("kkick")]
            void cmdKick(IPlayer player, string command, string[] args)
            {
                if (!hasPermission(player, PermissionKick)) { player.Reply(GetMsg("You don't have the permission to use this command.", player.Id.ToString())); return; }
                if (args == null || (args.Length < 1)) { player.Reply(GetMsg("Syntax: kick <Name|SteamID|IP> <reason(optional)>", player.Id.ToString())); return; }
                try { player.Reply(Kick(player, args)); } catch { }
            }
            [Command("uunban")]
            void cmdUnban(IPlayer player, string command, string[] args)
            {
                if (!hasPermission(player, PermissionUnban)) { player.Reply(GetMsg("You don't have the permission to use this command.", player.Id.ToString())); return; }
                if (args == null || (args.Length < 1)) { player.Reply(GetMsg("Syntax: unban <Name|SteamID|IP>", player.Id.ToString())); return; }
                try { player.Reply(Unban(player, args[0])); } catch { }
            }
    [DOUBLEPOST=1471988192][/DOUBLEPOST]I think need to restart server?
    [DOUBLEPOST=1471988674][/DOUBLEPOST][Oxide] 00:42 [Info] Rolling back plugin to last good version: EnhancedBanSystem

    how to delete this??
     
  14. Wulf

    Wulf Community Admin

    I'd need to see the error that caused the plugin to fail to compile.
     
  15. Code:
    00:41 [Info] Unloaded plugin Enhanced Ban System v4.0.10 by Reneb, initially by Domestos
    00:41 [Info] Loaded plugin Enhanced Ban System v4.0.10 by Reneb, initially by Domestos
    00:41 [Error] Failed to initialize plugin 'EnhancedBanSystem v4.0.10' (ArgumentException: An element with the same key already exists in the dictionary.)
    00:41 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,ConsoleSystem+Command].Add (System.String key, .Command value) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustCommandSystem.RegisterCommand (System.String command, Oxide.Core.Libraries.Covalence.CommandCallback callback) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Covalence.Covalence.RegisterCommand (System.String command, Oxide.Core.Libraries.Covalence.CommandCallback callback) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.RegisterWithCovalence () [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CovalencePlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
      at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
    00:41 [Info] Rolling back plugin to last good version: EnhancedBanSystem
    00:41 [Info] Loaded plugin Enhanced Ban System v4.0.10 by Reneb, initially by Domestos
    00:42 [Info] EnhancedBanSystem was compiled successfully in 78ms
    [DOUBLEPOST=1471989756][/DOUBLEPOST]I change commands again and now it works. If i reload plugin, will error again...
     
  16. im very confused can someone just post a fix here
     
  17. new oxide build make same errors .problems whit betterchat,enhancedbansysthem and timedpermission.
    i have no idea whats best? 2 versions rollback from oxide?comes new build?or need now the plugins an update?or its my settings?
    hope anyone can help.
     
    Last edited by a moderator: Aug 25, 2016
  18. work good now whit new oxide.
     
  19. Blocks sever bans from the rcon tool i have to unload enhancedbansystem to unban someone (We dont use the online banlist option):
    Code:
    (17:32:57) | [Oxide] 16:33 [Error] Web request callback raised an exception (FormatException: Input string was not in a correct format.)
    (17:32:57) | [Oxide] 16:33 [Debug]   at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in <filename unknown>:0
      at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustConsolePlayer.Reply (System.String message, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnhancedBanSystem+<Unban>c__AnonStorey3.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0
    Edit i guess same for ban:
    Code:
    (17:51:36) | [Oxide] 16:51 [Error] Web request callback raised an exception (FormatException: Input string was not in a correct format.)
    (17:51:36) | [Oxide] 16:51 [Debug]   at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in <filename unknown>:0
      at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustConsolePlayer.Reply (System.String message, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnhancedBanSystem+<Ban>c__AnonStorey1.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Aug 26, 2016
  20. you are trying to use the web support?