Getting Started - AljoshaVieth/BansToDiscord GitHub Wiki
Adding the plugin to your spigot server
- Download the .jar file
- Drop the .jar file into your plugins folder
- (Re)start your server
- Adding your information to the config.yml (read more below)
- Restart your server
How to create a discord bot
- Go to this website of Discord and create an application
- Open the Bot tab and add a bot
How to add your bot to your server
- Go back to General Information and copy your Client ID
- Append your bot token to this url and open it in your web-browser.
https://discordapp.com/api/oauth2/authorize?scope=bot&client_id=
- Select your Server and click Authorize
Adding bot information to config.yml
- Go back to the Discord Application website, go to the tab Bot and copy the TOKEN
- Go to your plugins/BanToDiscord folder and open the config.yml
- Add your token to the field token
token: "YOUR_TOKEN"
Select the channels the bot should post to
- Open Discord, go to Settings -> Appearance -> Advanced and activate Developer Mode
- On your server, right-click on the channel you want the bot to post to and copy the ID
- Simply add your id to the field ban-channel and / or kick-channel
ban-channel: "YOUR_CHANNEL_ID" kick-channel: "YOUR_CHANNEL_ID"