Description
Allow your players to join your Socials and link their account for in-game rewards !
This system is a website/plugin and will be automated once everything configured.
20,00 €
Allow your players to join your Socials and link their account for in-game rewards !
This system is a website/plugin and will be automated once everything configured.
{ "Refresh Time": 1, "Settings": { "IP Address": "127.0.0.1", "Port": 3306, "UserName": "root", "Password": "", "Database Name": "", "Table Name": "", "Discord Token": "", "Discord Roles": "", "Role Setup": [ { "Oxide Group": "default", "Discord Role": "Member" }, { "Oxide Group": "vip", "Discord Role": "Donator" } ], "Delay between command": 1, "Column name on group gave": "gave" }, "Debug": false }
“Discord Roles” Must be the discord Role ID
You will have to configure files on website to get it working !
File “/api/login.php”
$OpenID = new LightOpenID(""); //change to your website url
File “/api/steam/apikey.php”
//https://steamcommunity.com/dev/apikey $api = ""; $steamgroup = ""; //put your steam group name here
File “login.php” line 32
$redirect_uri = "https://www.rust-evolution.net/login.php"; //edit this url
Line 44/45
"client_id" => "", //put here your discord client id "client_secret" => "", //put here your discord client secret
File “/api/discord/setting.php”
//https://discord.com/developers/applications //the redirect_uri must match the uri set to the discord website $dicordOAuth2Link = "";
File “/api/mysql/settings.ini.php”
[SQL] host = localhost user = root password = dbname = rustDB table = social
[ { "Type": "Discord", "Command": [ "o.grant user {steamid} discord", "o.usergroup add {username} discord" ] }, { "Type": "Steam", "Command": [ "o.grant user {steamid} steam", "o.usergroup add {username} steam" ] } ]
CREATE TABLE `social` ( `id` bigint(20) NOT NULL, `steamid` bigint(11) DEFAULT NULL, `discordid` bigint(11) DEFAULT NULL, `InSteamGroup` tinyint(4) NOT NULL DEFAULT 0, `adressip` varchar(20) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; ALTER TABLE `social` ADD PRIMARY KEY (`id`); ALTER TABLE `social` MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; COMMIT;
“/css/style.css”
body { margin: 0px; background-color: #2f2c2e; } table { width: 400px; text-align: center; } .discordlink { cursor: pointer; } #main { background-color: #2f2c2e; color: white; font-size: 40px; display: flex; justify-content: center; flex-direction: column; align-items: center; padding-right: 20px; } .status-content { background-color: grey; border-radius: 20px; padding: 10px; } .fa-check { color: green; } .fa-times { color: red; } .UnderStatusText { font-size: 20px; } #login { background-color: #4d6cd1; color: white; height: 1021px; font-size: 40px; display: flex; justify-content: center; flex-direction: column; align-items: center; padding-right: 20px; } .blue { color: #4d6cd1; text-decoration: none; } .discord { color: #4d6cd1; text-decoration: none; } .blue:hover { color: white; } .button:hover { background-color: white; } .button { background-color: #2e6fe6; color: #2f2c2e; border-radius: 23px; display: flex; flex-direction: row; text-decoration: none; justify-content: center; align-items: center; width: 450px; font-size: 60px; padding-top: 10px; padding-bottom: 10px; }
Only logged in customers who have purchased this product may leave a review.
admin –
1.1.3:
-Update for 2.0 discord extension compatibility
admin –
Version 1.1.2:
-Fixed function/command bug with space in player name
admin –
Version 1.1.0:
-Changed config
-Added ability to customize column name
-Added social class to avoid lag while updating
admin –
Version 1.0.9:
-Added complete discord group synch
admin –
Version 1.0.2-1.0.8:
-Several bugfix and issues
admin –
Version 1.0.1:
-Original release