EnhancedBanSystem

Moved

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

5/5, 18 likes
  1. Hey everyone,
    Has anyone found a solution for this plugin? I try to ban players and I get the error: Error: Object reference not set to an instance of an object. This also happens if I try to ban through the RCON TOOL. Let me know if anyone has found a solution for this.
    Thank you,
    Lordsirslumps
     
  2. Wulf

    Wulf Community Admin

    Could you provide the full error from your oxide/logs please?
     
  3. Hey Wulf thanks so much for responding. I am sorry to say I am pretty new at all of this. That being said, how would I go about getting you those logs?
     
  4. Wulf

    Wulf Community Admin

    Browse to the oxide/logs folder on your server, upload the latest ones.
     
  5. Hey Wulf is this what you need?
     

    Attached Files:

  6. Wulf

    Wulf Community Admin

    Looks like you don't even have the plugin loaded in that log. Check your earlier logs.
     
  7. Ok I reloaded the plugin so it should now show up toward the end of the log.
    Thanks again for your time and help
     

    Attached Files:

  8. Wulf

    Wulf Community Admin

    So according to that, your oxide/data/EnhancedBanSystem.json file is corrupt or unable to be read/written to.
     
  9. Awesome, I was able to make it work. I deleted my .json file and .cs file and redownloaded the plugin. It is now working.
    Thank you so much for the help.
    -Lordsirslumps
     
  10. after oxide update i have problem when i try use /ban.
    "Object reference not set to an instance of an object"

    /unban work good
     
  11. Same here.
     
  12. I cannot get mysql working...
    Im running server and mysql on vps.
    https://puu.sh/uJSCv/ca811d25c4.png
    heres my config. I can create new databases through website, so passwords or names are not wrong. I have database with name banlist.
    When I run it on server, I see no errors. It just wont create table or do anything. Even when I BAN someone, it KICKS out of the server, but you can reconnect no problem...
     
  13. Yes yea very good me too not work
     
  14. Reload the plugin and send the log.
     
  15. Code:
    [SERVER v1.0.20] Started as service
    [SERVER v1.0.20] Running as service
    [SERVER v1.0.20] Got Message: Ready
    [SERVER v1.0.20] Got Message: Compile
    [SERVER v1.0.20] Console: EnhancedBanSystem.cs(1386,60): warning CS0078: The `l' suffix is easily confused with the digit `1' (use `L' for clarity)
    EnhancedBanSystem.cs(1414,72): warning CS0078: The `l' suffix is easily confused with the digit `1' (use `L' for clarity)
    warning CS1701: Assuming assembly reference `Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' matches assembly `Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. You may need to supply runtime policy
    DeathNotes.cs(84,26): warning CS0108: `Oxide.Plugins.DeathNotes.LogToFile' hides inherited member `Oxide.Plugins.CSharpPlugin.LogToFile(string, string, Oxide.Core.Plugins.Plugin)'. Use the new keyword if hiding was intended
    /home/rustserver/serverfiles/Oxide.Core.CSharp.dll (Location of the symbol related to previous warning)
    DeathNotes.cs(660,14): warning CS0114: `Oxide.Plugins.DeathNotes.LoadConfig()' hides inherited member `Oxide.Core.Plugins.Plugin.LoadConfig()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
    /home/rustserver/serverfiles/Oxide.Core.dll (Location of the symbol related to previous warning)
    SignArtist.cs(296,14): warning CS0114: `Oxide.Plugins.SignArtist.LoadDefaultConfig()' hides inherited member `Oxide.Core.Plugins.Plugin.LoadDefaultConfig()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
    /home/rustserver/serverfiles/Oxide.Core.dll (Location of the symbol related to previous warning)
    BetterChat.cs(615,21): warning CS0219: The variable `parsed' is assigned but its value is never used
    BetterChatMute.cs(334,21): warning CS0219: The variable `parsed' is assigned but its value is never used
    EasyVote.cs(214,30): warning CS0168: The variable `ex' is declared but never used
    EasyVote.cs(262,30): warning CS0168: The variable `ex' is declared but never used
    EnhancedBanSystem.cs(1983,20): warning CS0219: The variable `steamid' is assigned but its value is never used
    EnhancedBanSystem.cs(1984,20): warning CS0219: The variable `name' is assigned but its value is never used
    EnhancedBanSystem.cs(2135,20): warning CS0219: The variable `steamid' is assigned but its value is never used
    EnhancedBanSystem.cs(2137,20): warning CS0219: The variable `name' is assigned but its value is never used
    EnhancedBanSystem.cs(2138,20): warning CS0219: The variable `errorreason' is assigned but its value is never used
    NoEscape.cs(368,45): warning CS0472: The result of comparing value type `UnityEngine.Vector3' with null is always `false'
    NoEscape.cs(370,17): warning CS0162: Unreachable code detected
    NoEscape.cs(619,17): warning CS0219: The variable `targetMembers' is assigned but its value is never used
    DeathNotes.cs(109,28): warning CS0649: Field `Oxide.Plugins.DeathNotes.HealthColor' is never assigned to, and will always have its default value `null'
    DeathNotes.cs(113,48): warning CS0414: The private field `Oxide.Plugins.DeathNotes.Names' is assigned but its value is never used
    DeathNotes.cs(114,48): warning CS0414: The private field `Oxide.Plugins.DeathNotes.Bodyparts' is assigned but its value is never used
    DeathNotes.cs(115,48): warning CS0414: The private field `Oxide.Plugins.DeathNotes.Weapons' is assigned but its value is never used
    DeathNotes.cs(116,48): warning CS0414: The private field `Oxide.Plugins.DeathNotes.Attachments' is assigned but its value is never used
    GUISkipNight.cs(25,24): warning CS0169: The private field `Oxide.Plugins.GUISkipNight.TimeRemMSG' is never used
    GUISkipNight.cs(29,35): warning CS0169: The private field `Oxide.Plugins.GUISkipNight.data' is never used
    Kits.cs(23,41): warning CS0169: The private field `Oxide.Plugins.Kits.EventManager' is never used
    SaveMyMap.cs(21,13): warning CS0414: The private field `Oxide.Plugins.SaveMyMap.saveFolders' is assigned but its value is never used
    ServerRewards.cs(31,16): warning CS0169: The private field `Oxide.Plugins.ServerRewards.HumanNPC' is never used
     

  16. Wrong log, send me server/oxide/logs/oxide.log (latest)
     
  17. Code:
    14:06 [Info] Loading Oxide Core v2.0.3142...
    14:06 [Info] Loading extensions...
    14:06 [Info] Loaded extension CSharp v2.0.3142 by Oxide Team
    14:06 [Info] Loaded extension MySql v2.0.3142 by Oxide Team
    14:06 [Info] Loaded extension SQLite v2.0.3142 by Oxide Team
    14:06 [Info] Loaded extension Unity v2.0.3142 by Oxide Team
    14:06 [Info] Loaded extension Rust v2.0.3142 by Oxide Team
    14:06 [Info] Loaded extension Rust:IO for Oxide v2.12.0 by playrust.io / dcode
    14:06 [Info] Using Covalence provider for game 'Rust'
    14:06 [Info] Loading plugins...
    14:06 [Info] Loaded plugin Unity Core v2.0.3142 by Oxide Team
    14:06 [Info] Loaded plugin Rust v2.0.3142 by Oxide Team
    14:06 [Info] Loaded plugin Rust:IO for Oxide v2.12.0 by playrust.io / dcode
    14:06 [Info] AdvertMessages, BetterChat, BetterChatMute, Clans, CraftingController, DeathNotes, EasyChatCommands, EasyVote, EnhancedBanSystem, FriendlyFire, GUISkipNight, Kits, NoEscape, PrivateMessage, QuickSmelt, RemoverTool, SaveMyMap, ServerInfo, ServerRewards, SignArtist, StackSizeController, SteamGroups and WelcomeMessages were compiled successfully in 2361ms
    14:06 [Info] Loaded plugin Advert Messages v3.0.1 by LaserHydra
    14:06 [Info] [Advert Messages] AdvertMessages is showing adverts each 10 minutes.
    14:06 [Info] Loaded plugin Better Chat v5.0.5 by LaserHydra
    14:06 [Info] Loaded plugin Better Chat Mute v1.0.5 by Domke.exe
    14:06 [Info] Loaded plugin Clans v0.1.4 by k1lly0u
    14:06 [Info] Loaded plugin Crafting Controller v2.4.7 by Mughisi
    14:06 [Info] Loaded plugin Death Notes v5.2.9 by DomKe.exe
    14:06 [Info] Loaded plugin Easy Chat Commands v0.1.0 by Domke.exe
    14:06 [Info] [Easy Chat Commands] Loaded Chat Commands
    14:06 [Info] Loaded plugin EasyVote v1.2.7 by Domke.exe
    14:06 [Info] Loaded plugin EnhancedBanSystem v5.0.9 by Reneb
    14:06 [Info] Loaded plugin FriendlyFire v1.6.0 by Domke.exe
    14:06 [Info] Loaded plugin GUISkipNight v1.0.3 by Tyran
    14:06 [Info] Loaded plugin Kits v3.2.4 by Reneb
    14:06 [Info] Loaded plugin NoEscape v0.4.3 by Calytic
    14:06 [Info] Loaded plugin PrivateMessage v2.0.2 by Domke.exe
    14:06 [Info] Loaded plugin QuickSmelt v2.5.0 by Wulf/Fujikura
    14:06 [Info] Loaded plugin RemoverTool v4.1.6 by Reneb
    14:06 [Info] Loaded plugin SaveMyMap v1.2.1 by Fujikura
    14:06 [Info] Loaded plugin ServerInfo v0.5.2 by Domke.exe
    14:06 [Info] Loaded plugin ServerRewards v0.3.92 by Domke.exe
    14:06 [Info] Loaded plugin Sign Artist v0.3.2 by Bombardir
    14:06 [Info] Loaded plugin Stack Size Controller v1.9.4 by Canopy Sheep
    14:06 [Info] Loaded plugin SteamGroups v0.3.2 by Domke.exe
    14:06 [Info] Loaded plugin WelcomeMessages v1.0.1 by Ankawi
    14:06 [Info] Updating Rust:IO ...
    14:06 [Info]
    14:06 [Warning] [GUISkipNight] No Image Library.. load ImageLibrary to use this Plugin
    14:06 [Info] Unloaded plugin GUISkipNight v1.0.3 by Tyran
    14:06 [Info] [SaveMyMap] Saveinverval set to: 200 sec. | Custom save after every '1' saves
    14:06 [Warning] [ServerRewards] Playtime Tracker could not be found! Unable to monitor user playtime
    14:06 [Warning] [ServerRewards] Creating and storing all UI elements to cache
    14:06 [Warning] [ServerRewards] All UI elements created successfully!
    14:06 [Info] [ServerRewards] Saved image data
    14:06 [Info] Rust:IO: Update complete
    14:06 [Info] Installing Rust:IO ...
    14:06 [Info] Rust:IO> Setting up Rust:IO 2.3.6283.9043 ...
    14:06 [Info] Rust:IO> Creating directories ...
    14:06 [Info] Rust:IO> Applying config ...
    14:06 [Info] Rust:IO> Initializing database ...
    14:06 [Info] Rust:IO> Generating map image (this may take a while) ...
    14:07 [Info] Rust:IO> Generated map image: took 20191.4034 ms, 694497 bytes
    14:07 [Info] Rust:IO> Starting HTTP server on 185.80.129.6:28015 ...
    14:07 [Info] Rust:IO> Installed.
    14:07 [Info] Rust:IO> Now ticking
    14:07 [Warning] Calling 'OnTick' on 'RustIO v2.12.0' took 20315ms [GARBAGE COLLECT]
    14:07 [Warning] Calling 'OnTick' on 'RustIO v2.12.0' took average 43ms [GARBAGE COLLECT]
    14:07 [Info] Rust:IO> External IP address obtained from lookup: 185.80.129.6
    
     
  18. Okay, how come you're editting the .cs file instead of the config?
     
  19. what do you mean?
     
  20. You're editing the EnhancedBanSystem.cs file which is located under Plugins. You should be going to the config/ directory and changing the values to suit your needs.