Large update!
This Weekend I finally had a time to update this plugin.
What's new:
DiscordBot feature added
You can use that feature to add a two factor authentication and easily change your admin IP via discord.
How does it work?
- If feature is activated, admin has to complete simple verification by executing DiscordBot command /verify in a guild with that bot.
- Every time admin log in, he has to confirm that it is him via discord by pressing a button which bot will send automatically.
Commands:
/verify
/unverify
/set_ip
/current_ip
Setup:
- Setup your bot here https://discord.com/developers/applications and add it to your discord guild
- In config DiscordBot.active set to true
- Paste in token of your bot in config (DIscordBot.bot_token)
- Paste in id of the guild where you added your bot (DIscordBot.guildID)
- Paste in id of the guild role which you want to allow to execute commands of the bote (DIscordBot.admin_ds-role)
- Start your server and enjoy ^_^
It is a new feature and may contain problems. If you find any error or have an idea, please contact with me
Unfortunately due to this update .jar file became too large(20mb), I will try to find a way to reduce its size sooner
⚠️ data.yml logic has been changed as well. Now admin's IP saves at this path: admins.{player}.ip Before it was: admins.{player} ⚠️