Raised This Month: $12 Target: $400
 3% 

[Any] GagMuteBan


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dr_lex
Member
Join Date: Dec 2014
Plugin ID:
7783
Plugin Version:
2.3.0
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    gag & mute & ban
    Old 09-08-2021 , 07:15   [Any] GagMuteBan
    Reply With Quote #1

    Note:
    1. This version is similar to the original version of GagMute. And this is due to the fact that the authors know each other, exchange code and make different versions for their servers as they see fit for themselves.

    2. There are also changes in this version, which differs from the old version.
    Therefore, if you are using the old version, then you will need to additionally write your plugin or rewrite my version of l4d2_hx_admin, which I post as an example of work.

    The plugin uses standard commands from SourceMod
    This does not affect the work in any way. But if you want to use GagMuteBan as the main one, then remove plugin: basebans.

    Requirements:
    • Metamod: Source/SourceMM (Latest Version)
    • SourceMod: 1.10 - 1.1x Latest Build

    Admin commands:
    HTML Code:
    sm_addban <minutes> <STEAM_ID> - Adding to the Ban database
    sm_addvote <minutes> <STEAM_ID> - Adding to the Ban Vote database
    sm_unban <STEAM_ID> Remove all lock (works together with the standard team, for convenience)
    The database of players with mute, gag and ban:
    HTML Code:
    .../addons/sourcemod/data/GagMuteBan.txt
    Native commands:
    Player Ban. Time in minutes
    HTML Code:
    native int HxSetClientBan(int client, int iTime);
    Player Gag. Time in minutes
    HTML Code:
    native int HxSetClientGag(int client, int iTime);
    Player Mute. Time in minutes
    HTML Code:
    native int HxSetClientMute(int client, int iTime);
    Player Ban Vote (callvote). Time in minutes
    HTML Code:
    native int HxSetClientVote(int client, int iTime);

    Works that use this plugin:
    [L4D2] TK points
    Attached Files
    File Type: sp Get Plugin or Get Source (gagmuteban.sp - 151 views - 12.9 KB)
    File Type: inc gagmuteban.inc (1.1 KB, 119 views)
    File Type: zip l4d2_hx_admon.zip (10.7 KB, 107 views)
    __________________

    Last edited by dr_lex; 11-02-2022 at 11:26. Reason: update
    dr_lex is offline
    dr_lex
    Member
    Join Date: Dec 2014
    Old 08-14-2022 , 10:14   Re: [Any] GagMuteBan
    Reply With Quote #2

    Update 2.2.1
    Added the ability to temporarily block the launch of voting
    __________________
    dr_lex is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 08-19-2022 , 04:38   Re: [Any] GagMuteBan
    Reply With Quote #3

    Quote:
    Originally Posted by dr_lex View Post
    Update 2.2.1
    Added the ability to temporarily block the launch of voting
    Banning a player from voting can be an insane standalone plugin, someone asked for it about a week ago, and because nobody will check a thread called "GagMuteBan" to block votes, I think you should consider the following ideas:

    1. Scrap this plugin, as I don't believe it is better than SQLiteBans I made.

    2. Make a new plugin that only has the vote ban.

    3. Join SQLiteBans contributor team ( only me )

    https://forums.alliedmods.net/showthread.php?t=315623

    SQLiteBans is a SQLite ( file & database ) based ban system that fixes some flaws of Sourcebans regarding saving nicknames, and it also allows you to view the ban list history.

    External plugins can respond to an identity if they know it, to alter it before a ban is invoked. This means even using sm_addban either by admin or by plugin will allow Improved Ban Disconnected to attach a nickname to the ban:

    https://forums.alliedmods.net/showthread.php?t=326810

    It also has !commlist, to be able to unban comm ( gag / mute ) players that are disconnected.
    __________________
    I am available to make plugins for pay.

    Discord: Eyal282#1334
    eyal282 is offline
    dr_lex
    Member
    Join Date: Dec 2014
    Old 08-19-2022 , 15:44   Re: [Any] GagMuteBan
    Reply With Quote #4

    Quote:
    Originally Posted by eyal282 View Post
    Banning a player from voting can be an insane standalone plugin, someone asked for it about a week ago, and because nobody will check a thread called "GagMuteBan" to block votes, I think you should consider the following ideas:
    1. Scrap this plugin, as I don't believe it is better than SQLiteBans I made.
    2. Make a new plugin that only has the vote ban.
    this is just one of the alternatives available to users to choose from.
    3. Join SQLiteBans contributor team ( only me )

    https://forums.alliedmods.net/showthread.php?t=315623

    SQLiteBans is a SQLite ( file & database ) based ban system that fixes some flaws of Sourcebans regarding saving nicknames, and it also allows you to view the ban list history.

    External plugins can respond to an identity if they know it, to alter it before a ban is invoked. This means even using sm_addban either by admin or by plugin will allow Improved Ban Disconnected to attach a nickname to the ban:

    https://forums.alliedmods.net/showthread.php?t=326810

    It also has !commlist, to be able to unban comm ( gag / mute ) players that are disconnected.
    Good time of day.
    1. GagMuteBan is just one of the alternatives available to users to choose from.
    2. Sorry, but I won't do it, since I added this feature because I need it.
    I have also provided the ability to use this feature in third-party plugins via:
    HTML Code:
    native int HxSetClientVote(int client, int iTime);
    3. I have to decline such an offer because I don't have much time to pay attention to it.

    GagMuteBan is based on KeyValues so that the user can view the list of contents without any problems. Personally, I don't see the point in using SQLite for bans, it's not such big data, unless, of course, you write 1000 pieces a day). It is also not so difficult to adapt the plugin to SQLite

    I treat eternal bans as unnecessary. Because if a player wants to log in to the server, he will create a new account and continue playing. Here, I think 2-5 years will be enough.
    __________________
    dr_lex is offline
    dr_lex
    Member
    Join Date: Dec 2014
    Old 11-02-2022 , 11:28   Re: [Any] GagMuteBan
    Reply With Quote #5

    Update 2.3.0
    Fixed bugs and code changes
    __________________
    dr_lex 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 02:26.


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