Raised This Month: $153 Target: $400
 38% 

[REQUEST] Steam Group Invite


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
soulreaper1o1
SourceMod Donor
Join Date: Sep 2011
Old 11-14-2011 , 08:00   [REQUEST] Steam Group Invite
Reply With Quote #1

Hay, i am looking for a plugin that allows players to join the steam group of the server by typing "!join" or any other phrase.

I'm not sure if this is possible but if it is i would like someone to help me out.
Your help is greatly appreciated.

Best Regards,
Soul Reaper
soulreaper1o1 is offline
mausetot
Member
Join Date: Jan 2011
Location: Germany
Old 11-14-2011 , 09:15   Re: [REQUEST] Steam Group Invite
Reply With Quote #2

Hi soulreaper,

one possibility is to change this plugin (written by troll)

http://forums.alliedmods.net/showthread.php?p=736768

in that way:
Quote:
/* Plugin Template generated by Pawn Studio */

#include <sourcemod>

public Plugin:myinfo =
{
name = "JoinSteamgroup",
author = "{7~11} Troll",
description = "type !join to open steamgrouppage.",
version = "1.0.1",
url = "www.711clan.net"
}

new Handle:g_href = INVALID_HANDLE;
public OnPluginStart()
{
RegConsoleCmd("join", JoinOn);
g_href = CreateConVar("sm_join_href", "http://steamcommunity.com/groups/yourgroup", "href link to your steamgroup");
}
public Action:JoinOn(client,args)
{
decl String:href[255];
GetConVarString(g_href, href, sizeof(href));
ShowMOTDPanel(client, "join", href, MOTDPANEL_TYPE_URL);
return Plugin_Continue;
}
(donīt tested)

(yourgroup must be changed to the URL of your group)

If a player types "!join" into the chat, a MODT will open which displays your steamgroupsite. BUT...
The player have to log in and click the joinbutton himself.

The other way is to work with an autoinvitesystem after typing "!join" or after joining the server.BUT...
I donīt think that anybody here will help you writing an autoinvitescript.

Best regards
mausetot

P.S. Bad english, I know
__________________


www.darkgaming.de - play on the dark side of life
www.gothic-obsession.de
mausetot is offline
soulreaper1o1
SourceMod Donor
Join Date: Sep 2011
Old 11-14-2011 , 10:05   Re: [REQUEST] Steam Group Invite
Reply With Quote #3

hello mausetot,
Thanks for the reply. I complied the script and it didn't work, MOTD panel doesn't pop up when i type "!join" or "join"
soulreaper1o1 is offline
mausetot
Member
Join Date: Jan 2011
Location: Germany
Old 11-14-2011 , 10:55   Re: [REQUEST] Steam Group Invite
Reply With Quote #4

i tried it. it works fine for me (funny: yourgroup really exists )

did you restart your server?
__________________


www.darkgaming.de - play on the dark side of life
www.gothic-obsession.de
mausetot 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 08:38.


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