-
Notifications
You must be signed in to change notification settings - Fork 0
Home
An optional Discord Bot to provide additional features to Lands is available for download here.
2. Install Lands: https://www.spigotmc.org/resources/53313/
3. Install LandsDiscordBot: https://www.spigotmc.org/resources/74047/
5. Create or edit an existing Discord Application in your Discord Developer Portal.
5.1. You can use this URL to add the bot with all required permissions:
https://discord.com/api/oauth2/authorize?client_id=ENTER_BOT_ID_HERE&permissions=76880&scope=bot%20applications.commands
Replace ENTER_BOT_ID with the application ID of your bot. It can be found at the general information page.
5.2 Enable the Server Members and Message Content Intent in the bot section. (Example)
6. Insert the Bot Token into the LandsDiscordBot config.yml file, which is located at /plugins/LandsDiscordBot
# Bot configuration
bot:
# Enter your bot token here.
# How to setup a Discord bot: https://discordpy.readthedocs.io/en/latest/discord.html
token: 'kmpndewdoe2idsd3r2308rh2rjetruwd0932r'
You can find the bot token on the Bot page.
DiscordSRV support is built into LandsDiscordBot. However, you can also add support for other link manager plugins by hooking into the LandsDiscordBotAPI. While you can use the LandsDiscordBot without any link manager plugin installed, it is recommended to install one to be able to use all features of the bot.
To get the ID of a Discord category or channel, you must have the Developer Mode enabled in your Discord client.
# Categories configuration
categories:
land-chat:
# Id of the category for the `/channel create <land>` command
# This requires a long (number) id. You can use Discord developer mode to get these.
id: 48721747756795882