Coder Social home page Coder Social logo

inviter's Introduction

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.

inviter's People

Contributors

fmu1337 avatar polvora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

inviter's Issues

Error Code 20 on invite

Steam Core it´s working , and i put the code from email , but after i write !invite and gives me always error code 20.
When i installed steam core, the user was online. But after then the user cant be online with the plugin.

Inviter not working

Hi,

I have made sure I am putting in the correct username, password and group id. I am using a full steam account (As in it is not limited, aka spending $5 to make it non restarted on steam).

I get this error from the debug:
Response body (144):

na

and in game Session expired, retry to connect

Edit It just takes a while (About 15-20 seconds) to log in. Is it possible to lower this?

error

i keep getting There was an error 0x26 while sending your invite :(

help brooo

FFF047There was an error 0x26 FFF047while sending your invite :(

Can't sent invite

it always have 1 error when i try invite somebody to my group: 0x22: Invite Error: Incorrect Group ID or missing data
"in_steamgroupid" "4425833"

Not working, tried everything, few errors listed

Put in username, password, no steam authentication required to log in and has invitation access as it has a few bought games. I tried:
rcon sm_invite "Bob The Killer"
and I made an sm_invite script upon first time joining which does ServerCommand("sm_invite %d", GetClientUserId(client));

I looked in the logs and there are no errors.
Does this still work? Am I using this incorrectly?
I also got the group id and put it in the right spot, so it SHOULD work, but it doesn't.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.