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

[TF2] Steam group exclusive server?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fyx
Junior Member
Join Date: Jan 2010
Old 12-16-2010 , 07:48   [TF2] Steam group exclusive server?
Reply With Quote #1

Hello!

In the past, I've seen TF2 servers that exclusively allowed members of a certain Steam group to join... connections from players that did not belong to the group were automatically refused by the server.
Unfortunately, I really can't seem to find the plugin or cvar that does that. Any help or input is appreciated!
Fyx is offline
LiMaaa
AlliedModders Donor
Join Date: Oct 2010
Location: Behind You
Old 12-16-2010 , 07:51   Re: [TF2] Steam group exclusive server?
Reply With Quote #2

hlstats ce lets you restrict people with a certain rank to join server, im sure wit would have an option to allow certain id's. as for a group wouldnt that have to run through mysql or some web based format?
LiMaaa is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 12-17-2010 , 11:49   Re: [TF2] Steam group exclusive server?
Reply With Quote #3

You could use the SteamTools extension (http://forums.alliedmods.net/showthread.php?t=129763) and use Steam_RequestGroupStatus(client, groupAccountID); to figure out if their group status, then kick them from the server automatically if they aren't.
__________________
CrimsonGT is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 12-17-2010 , 18:06   Re: [TF2] Steam group exclusive server?
Reply With Quote #4

if you dont want to start from scratch: a slight modification to this plugin should do the trick
http://forums.alliedmods.net/showthread.php?t=143410
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-18-2010 , 13:38   Re: [TF2] Steam group exclusive server?
Reply With Quote #5

Who wants to do modifications!
Complete plugin using SteamTools: http://forums.alliedmods.net/showpos...78&postcount=2
__________________
asherkin is offline
nkcmv
Junior Member
Join Date: Jul 2010
Old 08-17-2012 , 07:23   Re: [TF2] Steam group exclusive server?
Reply With Quote #6

sorry for reply old-post, but I really want this plugin, could you mind to fix it?
Code:
L 08/17/2012 - 15:07:32: [SM] Displaying call stack trace for plugin "grouplock.smx":
L 08/17/2012 - 15:07:32: [SM]   [0]  Line 87, /home/groups/alliedmodders/forums/files/5/9/0/2/9/69367.attach::WarnAdmins()
L 08/17/2012 - 15:07:32: [SM]   [1]  Line 79, /home/groups/alliedmodders/forums/files/5/9/0/2/9/69367.attach::OnClientAuthorized()
L 08/17/2012 - 15:07:32: [SM] Native "IsClientInGame" reported: Client index 0 is invalid
nkcmv is offline
TheAvengers2
BANNED
Join Date: Jul 2011
Old 08-17-2012 , 08:14   Re: [TF2] Steam group exclusive server?
Reply With Quote #7

here
Attached Files
File Type: sp Get Plugin or Get Source (grouplock.sp - 316 views - 2.6 KB)
TheAvengers2 is offline
nkcmv
Junior Member
Join Date: Jul 2010
Old 08-17-2012 , 09:35   Re: [TF2] Steam group exclusive server?
Reply With Quote #8

Quote:
Originally Posted by TheAvengers2 View Post
here
thank you very much
but I find another problem, some player have not join the steam group still can play in the server,
could you mind to fix it? thank you very much

it will be the best plugin of TF2 MvM servers

Last edited by nkcmv; 08-17-2012 at 09:40.
nkcmv is offline
killjoy64
AlliedModders Donor
Join Date: Apr 2012
Location: 81.773644,-46.933594
Old 08-24-2012 , 03:15   Re: [TF2] Steam group exclusive server?
Reply With Quote #9

Quote:
Originally Posted by TheAvengers2 View Post
here
What lines do you have to change to use your group number? If any at all.
killjoy64 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 21:01.


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