DiscordAddon

DiscordAddon 1.3

No permission to download
DiscordAddon
Adds a way to connect Discord accounts with server players.
  • A Discord Bot is required for this to fully work, CLICK HERE!

Config file with explanation
{
"Mysql":{
"UseMysql":false, //if true, will use mysql (recommended)
"MysqlHost":"localhost",
"MysqlUser":"admin",
"MysqlPass":"password",
"MysqlDB":"test"
},
"General":{
"DbPathOverride":"" //path to the SQLite DB
},
"Messages":{
"Sender":"Server",
"UpdatedUsername":"<RichColor Color=\"0.2471,0.9804,0.6863,1\">You have set you Discord username as </><RichColor Color=\"1, 0.5, 0, 1\">{}</><RichColor Color=\"0.2471,0.9804,0.6863,1\">, to verify you account type </><RichColor Color=\"1, 0.5, 0, 1\">.verify {} </><RichColor Color=\"0.2471,0.9804,0.6863,1\">in the Discord server!</>",
"VerifyUsage":"<RichColor Color=\"0.2471,0.9804,0.6863,1\">Usage:</> <RichColor Color=\"1, 0.5, 0, 1\">/verify DiscordUsername#tag</><RichColor Color=\"0.6863,0.2471,0.9804,1\">, for example /verify Player#1274</>",
"MissingChar":"<RichColor Color=\"0.2471,0.9804,0.6863,1\">Oops! Seems like you missed the character '#' in your username, you typed: </><RichColor Color=\"1, 0.5, 0, 1\">{}</>",
"Reseted": "<RichColor Color=\"0.2471,0.9804,0.6863,1\">Successfully reseted your Discord username! </><RichColor Color=\"1, 0.5, 0, 1\">Now you can use the /verify command again.</>",
"ResetCmd": "/resetdiscord",
"VerifyCmd":"/verify",
"NotVerified":"<RichColor Color=\"0.2471,0.9804,0.6863,1\">Oops! Seems like you are not verified with any Discord username! </><RichColor Color=\"1, 0.5, 0, 1\">Try to use the /verify command instead!</>",
"AlreadyVerified":"<RichColor Color=\"0.2471,0.9804,0.6863,1\">Oops! Seems like your account already has a Discord username in the database! If you want to reset it type </><RichColor Color=\"1, 0.5, 0, 1\">/resetdiscord</>"
}
}

Chat commands
  • /verify <discordUsername#1234> | Adds your username to database and creates a 4 digits code.
  • /resetdiscord | Deletes the discord username from database.

RCON commands
  • DiscordAddon.reload | Reloads config file.

Console commands
  • cheat DiscordAddon.reload | Reloads config file.
  • Like
Reactions: Ronniek09
Author
Faka
Downloads
192
Views
1,867
First release
Last update
Rating
5.00 star(s) 3 ratings

More resources from Faka

Latest updates

  1. Fixed crash

    Crash with mysql fixed
  2. Fixed bugs

    Fixed spaces (" ") breaking the /verify command and added utf8 econding support for sqlite, will...
  3. Fixed config

    Fixed config typos!

Latest reviews

Amazing pluggins and excellent plugging creator! Very helpful and always assist with any enquiry! RECOMMENDED!!
Useful plugin to let players set their discord username in-game
Excellent plugin!
Top