Skip to content

Tetragromaton/SM_Steam_N_Cord_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SteamNCORD API Core v1.2(Beta)

Please keep in mind, you use this plugin and this service AS IS, withouth any guaranties that everything will be OK.


Warning ! You should have REST api Extension. You can take it here

Also because of laziness, an PersonalVars plugin is now need as dependecy plugin on your server, install it here

Natives:

SNC_HasDiscordID(client) - check if player have account at steamncord.xyz site.
SNC_GetDiscordID(client, char[] string here) - return player Discord ID as string.
SNC_AreServerMember(client) - check if player are member of your discord server defined in SNC_Core.cfg
SNC_HasRoleID(client, char[] roleid) - check if player has role on your server.
Config files

AS ONLY as you loaded plugin on server, modify SNC_Core.cfg config file in /cfg/sourcemod/ folder and insert your server discord ID in to it like: SNC_ServerID "563362438154813450"
Then restart plugin and reconnect to server.

About

Steam&Cord API plugin for servers !

Resources

License

Stars

Watchers

Forks

Packages

No packages published