Raised This Month: $299 Target: $400
 74% 

[CS:GO/ANY?] In game BanLister for Sourcebans


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SSheriFF
AlliedModders Donor
Join Date: May 2020
Location: Israel
Plugin ID:
7272
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Manage your bans through a friendly menu in game.
    Old 08-30-2020 , 16:18   [CS:GO/ANY?] In game BanLister for Sourcebans
    Reply With Quote #1

    Description:
    ➤ Manage your bans through a friendly menu in game.
    ➤ Allows you to search bans using an online client's name or SteamID ( with SteamID you can target offline players).
    ➤ Currently supports Sourcebans++ & Sourcebans 2.0.0-dev versions.
    ➤ An example of ban information provided:


    ➤ If the admin has the permission to unban and/or delete the ban (defined by cvar called "sm_flag_show_delete "), the next page will look like that:


    How to install:
    ➤ Copy BanLister_Sourcebans-2.0.0-dev.smx or BanLister_Sourcebans++ (in accordance to your Sourcebans version) to addons/sourcemod/plugins
    ➤ Restart your server.

    Commands:
    ➤ sm_banlist | Opens the ban list menu using name or steamid.
    ➤ sm_bl | Opens the ban list menu using name or steamid.
    ➤ Those commands will open a menu that looks like that:


    ➤sm_lastbans | Opens the last bans menu
    ➤ This command will open a menu that looks like that:


    Cvars:
    ➤ sm_flag_show_delete | The flag required to use the delete ban option alongside admin's immunity (leave empty to disable). (default : "z")
    ➤ sm_flag_show_ip | The flag required to see the IP of banned clients (leave empty to disable). (default : "z")
    ➤ sm_last_bans_amount | The defualt amount of bans to show when sm_lastbans issued without specific number. (default : 10)
    ➤ Changeable through cfg/sourcemod/BanLister.cfg

    Download links:
    Sourcebans 2.0.0-dev
    Sourcebans ++

    Note:
    The plugin tested only in CS:GO but it should work in other Source games.

    Contact:
    My Discord: WilDick#1524

    Versions:
    ➤ 1.0 - first release [30/08/2020]
    Attached Files
    File Type: sp Get Plugin or Get Source (BanLister_Sourcebans-2.0.0-dev.sp - 442 views - 36.6 KB)
    File Type: sp Get Plugin or Get Source (BanLister_Sourcebans++.sp - 553 views - 36.9 KB)
    __________________
    Taking small private requests (Free) and big private requests (Paid).
    Contact me via Discord: WilDick#1524

    My Plugins:

    Last edited by SSheriFF; 01-04-2021 at 11:55.
    SSheriFF is offline
    Daniel Alexandru
    Member
    Join Date: Jul 2020
    Old 08-31-2020 , 09:24   Re: [CS:GO/ANY?] In game BanLister for Sourcebans
    Reply With Quote #2

    Quote:
    L 08/31/2020 - 164:08: [SM] Exception reported: Faild to connect to the database. Error([2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))
    L 08/31/2020 - 164:08: [SM] Blaming: BanLister_Sourcebans++.smx
    L 08/31/2020 - 164:08: [SM] Call stack trace:
    L 08/31/2020 - 164:08: [SM] [0] SetFailState
    L 08/31/2020 - 164:08: [SM] [1] Line 47, /home/forums/content/files/3/0/0/9/1/8/183466.attach::OnPluginStart
    L 08/31/2020 - 164:08: [SM] [3] ServerCommandEx
    L 08/31/2020 - 164:08: [SM] [4] Line 402, /home/builds/sourcemod/linux-1.10/build/plugins/basecommands.sp::Command_Rcon

    Last edited by Daniel Alexandru; 08-31-2020 at 09:34.
    Daniel Alexandru is offline
    SSheriFF
    AlliedModders Donor
    Join Date: May 2020
    Location: Israel
    Old 08-31-2020 , 09:46   Re: [CS:GO/ANY?] In game BanLister for Sourcebans
    Reply With Quote #3

    Make sure you setup your databases.cfg correctly. It should look like that:
    Code:
    "sourcebans" 
    {       
            "driver"  "default"        
    	"host"   "yourhost"        
    	"database"  "yourdatabase"
    	"user"   "youruser"        
    	"pass"   "yourpass"        
    	//"timeout"   "0"
    	"port"   "3306" 
    }
    maybe this thread would help.
    __________________
    Taking small private requests (Free) and big private requests (Paid).
    Contact me via Discord: WilDick#1524

    My Plugins:

    Last edited by SSheriFF; 08-31-2020 at 09:50.
    SSheriFF is offline
    Daniel Alexandru
    Member
    Join Date: Jul 2020
    Old 08-31-2020 , 09:49   Re: [CS:GO/ANY?] In game BanLister for Sourcebans
    Reply With Quote #4

    Quote:
    Originally Posted by SSheriFF View Post
    Make sure you setup your databases.cfg correctly. It should look like that:
    Code:
    "sourcebans" 
    {       
            "driver"  "default"        
    	"host"   "yourhost"        
    	"database"  "yourdatabase"
    	"user"   "youruser"        
    	"pass"   "yourpass"        
    	//"timeout"   "0"
    	"port"   "3306" 
    }
    The databases.cfg is set correctly. I just don't have the
    Quote:
    //"timeout" "0"
    Daniel Alexandru is offline
    SSheriFF
    AlliedModders Donor
    Join Date: May 2020
    Location: Israel
    Old 08-31-2020 , 10:08   Re: [CS:GO/ANY?] In game BanLister for Sourcebans
    Reply With Quote #5

    Quote:
    Originally Posted by Daniel Alexandru View Post
    The databases.cfg is set correctly. I just don't have the
    Send your whole databases.cfg to see if I can find any problems in it.
    __________________
    Taking small private requests (Free) and big private requests (Paid).
    Contact me via Discord: WilDick#1524

    My Plugins:
    SSheriFF is offline
    Daniel Alexandru
    Member
    Join Date: Jul 2020
    Old 08-31-2020 , 10:13   Re: [CS:GO/ANY?] In game BanLister for Sourcebans
    Reply With Quote #6

    Quote:
    Originally Posted by SSheriFF View Post
    Send your whole databases.cfg to see if I can find any problems in it.

    Quote:

    Last edited by Daniel Alexandru; 08-31-2020 at 10:37.
    Daniel Alexandru is offline
    SSheriFF
    AlliedModders Donor
    Join Date: May 2020
    Location: Israel
    Old 08-31-2020 , 10:26   Re: [CS:GO/ANY?] In game BanLister for Sourcebans
    Reply With Quote #7

    Its probably because of the "localhost" as mentioned in this thread.
    Code:
    "sourcebans"
    {
    "driver" "mysql"
    "host" "localhost"// try to change this to IP address.
    "database" "sourcebans"
    "user" "myuser"
    "pass" ""
    "port" "3306"
    }
    __________________
    Taking small private requests (Free) and big private requests (Paid).
    Contact me via Discord: WilDick#1524

    My Plugins:
    SSheriFF is offline
    Daniel Alexandru
    Member
    Join Date: Jul 2020
    Old 08-31-2020 , 10:35   Re: [CS:GO/ANY?] In game BanLister for Sourcebans
    Reply With Quote #8

    Quote:
    Originally Posted by SSheriFF View Post
    Its probably because of the "localhost" as mentioned in this thread.
    Code:
    "sourcebans"
    {
    "driver" "mysql"
    "host" "localhost"// try to change this to IP address.
    "database" "sourcebans"
    "user" "myuser"
    "pass" ""
    "port" "3306"
    }
    i tried that,no changes
    Daniel Alexandru is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 08-31-2020 , 22:44   Re: [CS:GO/ANY?] In game BanLister for Sourcebans
    Reply With Quote #9

    Error([2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))

    Seems you have a problem in your database, i don't think it's a plugin's problem
    __________________
    NanoC is offline
    Send a message via Skype™ to NanoC
    Notifications
    AlliedModders Donor
    Join Date: Oct 2015
    Old 09-01-2020 , 10:29   Re: [CS:GO/ANY?] In game BanLister for Sourcebans
    Reply With Quote #10

    Quote:
    Originally Posted by NanoC View Post
    Error([2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))

    Seems you have a problem in your database, i don't think it's a plugin's problem
    The issue is on your side, it works fine for me.
    Notifications is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 17:41.


    Powered by vBulletin®
    Copyright ©2000 - 2022, vBulletin Solutions, Inc.
    Theme made by Freecode