Raised This Month: $32 Target: $400
 8% 

[ANY] Ban Disconnected Players [UPDATED 1/3/17]


Post New Thread Reply   
 
Thread Tools Display Modes
Sples1
Senior Member
Join Date: Apr 2016
Location: Kitsune Lab
Old 12-07-2017 , 15:38   Re: [ANY] Ban Disconnected Players [UPDATED 1/3/17]
Reply With Quote #71

Nice release!
The plugin is very usefull in JailBreak mode.
Keep up your good work!
__________________
Developer & Scripter from Kitsune Lab
Contact me: Steam | My Plugins | Kitsune Lab

Join to the community on our Discord server.
I stopped public develops. My old/new plugins available ONLY for my Discord community.
Sples1 is offline
waylander3
Senior Member
Join Date: Sep 2015
Location: Russia, Norilsk
Old 12-10-2017 , 08:59   Re: [ANY] Ban Disconnected Players [UPDATED 1/3/17]
Reply With Quote #72

Can you make feature for auto-ban disconnected players in N minutes?
N- is cvar in config, and admin can edit this time, like if player doesnt reconnect to the server in 5 minutes - he will automaticly banned.
waylander3 is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 01-14-2018 , 10:29   Re: [ANY] Ban Disconnected Players [UPDATED 1/3/17]
Reply With Quote #73

Quote:
Originally Posted by Byte View Post
Oh my mistake, I somehow misread and thought the native accepted a custom name.

The previous solution worked for the GameConnect Sourcebans:
https://github.com/GameConnect/SourceBans

Because it used the OnBanIdentity forward.
However even that could only ban the Steam ID or the IP at once.
So you'd need 2 calls to ban both which is a bit meh.

I'll work on the SB++ feature later myself and submit a pull request so its hopefully added soon.
Other idea: Add sql connection to sourcebans database and search (1-2 seconds after ban) by the steamid ordered by bid desc. If you've result update the ban entry with the last player name.
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
Sajmooooon
Senior Member
Join Date: Nov 2018
Location: Slovakia
Old 12-13-2019 , 16:46   Re: [ANY] Ban Disconnected Players [UPDATED 1/3/17]
Reply With Quote #74

Is it possible to add IP bans ?
Sajmooooon is offline
lugaa
Senior Member
Join Date: Dec 2018
Old 12-13-2019 , 22:05   Re: [ANY] Ban Disconnected Players [UPDATED 1/3/17]
Reply With Quote #75

https://forums.alliedmods.net/showth...hlight=autoban

same
lugaa is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 12-14-2019 , 08:47   Re: [ANY] Ban Disconnected Players [UPDATED 1/3/17]
Reply With Quote #76

Quote:
Originally Posted by lugaa View Post
thats not the same, "Ban Disconnect Players" if the user disconnects the server, after that he is still displayed in the admintool and he can be banned via this Menu.

Franc1sco bans players who leave the server (immediately) that has nothing to do with this plugin

Last edited by freak.exe_uLow; 12-14-2019 at 08:48.
freak.exe_uLow is offline
Circusbrain
Junior Member
Join Date: Apr 2014
Old 01-17-2020 , 13:01   Re: [ANY] Ban Disconnected Players [UPDATED 1/3/17]
Reply With Quote #77

I'm going through the plugin and I'm trying to figure out a way to re-write it a little more like the sm_ban command in that...

If you write a custom menu you can pass sm_ban a command like this

Code:
"Ban Player"
      	 	 {
           		 "admin"          "sm_unban"
           		 "cmd"            "sm_ban #1 #2 @3"
				 "execute"        "server"
				 "1"
						{
							"title"           "Ban player"
							"type"            "player"
						}
            			
				"2"
            			{
                			"title"     "Ban time"
                			"type"      "list"
               		 		"1"         "5"
                			"1."        "5 Minutes"
            			}
            
				"3"
            			{
                			"title"         "Reason"
                			"type"          "list"
							"1"		"Ignoring Admins"
            			}
        	}
It will get the current player list and step through the options you've provided.

Ideally I'd like to generate the disconnected players list inside a menu with some kind of call then move through my menu options based on which admin can access what and for how long just like how a custom sm_ban menu would work.

The real issue is that the plugin has the menus hard coded so because it's like that you're forced to edit the plugin and recompile and, if you want different options on time/reasons for different access levels you either have to rewrite multiple versions of the plugin and give access that way, or monitor which admin level is accessing it inside the plugin and tailor the menu that way, which is limited because again, you're doing it all INSIDE the compiled code. The easier solution is to allow a call like 'players' within a menu that generates the list and then steps through the custom menu options.

The sm_listdisconnected does the list, but in the console only.
Circusbrain is offline
Circusbrain
Junior Member
Join Date: Apr 2014
Old 01-21-2020 , 09:24   Re: [ANY] Ban Disconnected Players [UPDATED 1/3/17]
Reply With Quote #78

Anybody?
Circusbrain is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 01-26-2020 , 01:04   Re: [ANY] Ban Disconnected Players [UPDATED 1/3/17]
Reply With Quote #79

Does someone have the same problem that if you banned a player via Disconnect Player, the player name is not displayed in sourcebans?

Last edited by freak.exe_uLow; 01-26-2020 at 03:32.
freak.exe_uLow is offline
r3v
Senior Member
Join Date: Feb 2016
Location: Lithuania, Vilnius
Old 01-26-2020 , 02:38   Re: [ANY] Ban Disconnected Players [UPDATED 1/3/17]
Reply With Quote #80

Quote:
Originally Posted by freak.exe_uLow View Post
Does someone have the same problem that if they are banned via Disconnect Player, the player name is not displayed in sourcebans?
Yeah...
r3v is offline
Reply



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 16:39.


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