All Projects → polvora → Inviter

polvora / Inviter

Licence: other
SourceMod Plugin: Sends Steam group invites via game commands.

Programming Languages

SourcePawn
201 projects

Inviter

I haven't tested this plugin too much, if you see a bug or want to add a new feature you can always create an issue.

Send Steam group invites from the game chat.

Client Commands

  • sm_invite [#userid|name] Sends a Steam group invite to the desired player, if it's used without arguments an invite is sent to the player who invoked it.

ConVars

Mandatory

Optional

  • in_adminflags Administrator flags to bypass the restrictions. (default = "b")
  • in_allcaninvitethemselves Allows everybody to send invites to them themselves. (default = 1)
  • in_allcaninviteothers Allows everybody to send invites to other clients. (default = 0)
  • in_timebetweeninvites Time (in seconds) between invites that non-admins must wait before sending another one. (default = 240)
  • in_removefriends Removes friends after inviting them to group. (default = 1)

Install

Requirements

DON'T FORGET TO SETUP STEAMCORE
When you fulfil the requirements, just install as any other plugin, copy announcer.smx inside the plugins folder in your sourcemod directory.

Download

Compiled versions: inviter.smx.

If you want to compile the code yourself you have to add the include file steamcore.inc (from SteamCore, duh) inside scripting/include and then compile. (You can't use includes with the online compiler)

Changelog

[11/05/2015] v1.0

  • Initial Release.

[18/05/2015] v1.1

  • Updated to the new error codes from SteamCore.

[29/01/2017] v1.2

  • Minor optmizations.

[02/02/2017] v1.3

  • Minor code updating.

[30/06/2016] v1.4

  • Fixes typo in cvar declaration.
  • Fixes bug when trying to invite from console.

[21/08/2017] v1.5

  • Updated to the new Steam invite policies.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].