umod/oxide Plugin
umod/oxide Plugin
The example umod/oxide plugin will check if a player has linked any social media accounts and grand access to an usergroup.
You can find the latest version of the example plugin in #download
on the >$./lethal.network Discord server.
- Upload
llSocialConnect.cs
to your servers/oxide/plugins
folder. - Then locate the
llSocialConnect.json
configuration file in/oxide/config
.
Config llSocialConnect.json
Add the URL of you lethal.landing installation in Host
, you can find a Token
in SocialConnects settings(if noting generated yet, click the refresh button, and it will generate one).
Depending on your preference add a oxide/umod usergroup name for GroupSteam, GroupDiscord and so on. Access to those groups will be granted if the user has joined, followed or subscribed respectively.
If a user is already connected to the server while connecting social media accounts they might use
/check
to manually check for changes on his account without the need to reconnect to the server, if not it will be checked on each connect/join if a user has connected anything.
Heads Up!
It's recommended to add a separate role for each, as roles are removed as well if a user unlinked one of the accounts! If you add multiple, make use of role inheritance if all roles have the same permissions.