wldc

A simple whitelist management plugin for Discord. Discord whitelist

140

Quick challenge

How far can you run before the mobs catch you?

wldc

WLDC - Discord Whitelist Manager

WLDC is a simple Minecraft-Discord integration plugin that allows you to manage your server's whitelist directly through Discord commands.

Commands

General Commands [DISCORD]

- `/whitelist add <player>` - Add a player to the whitelist - `/whitelist remove <player>` - Remove a player from the whitelist - `/whitelist list` - View all whitelisted players - `/whitelist check <player>` - Check if a player is whitelisted

Admin Commands [Require ADMINISTATOR on the discord server]

- `/whitelist addadmin <user>` - Add a Discord user as whitelist admin - `/whitelist removeadmin <user>` - Remove a Discord user from admins - `/whitelist listadmins` - List all admin users - `/whitelist setgroup <role>` - Set a Discord role as a whitelisted admin group

Commands [MINECRAFT]

- `/wldc reload` - Reload the plugin configuration (requires `wldc.reload` permission)

Configuration

The plugin uses a simple YAML configuration file with the following key settings:

```yaml discord: token: "your-bot-token" guild-id: "your-guild-id" status: type: "PLAYING" # PLAYING, WATCHING, LISTENING, COMPETING text: "Minecraft" # Custom status text ```

Setup

1. Download and install the plugin on your Bukkit/Spigot server 2. Create a Discord bot and get its token 3. Configure the plugin with your Discord bot token and server ID 4. To add users to whitelist / add admins, you need to have Administrator permission on the server. 4. Start the server and use `/whitelist` commands in Discord

Permissions

- Discord users need the "Send Messages" and "Create Commands" permissions to use whitelist commands. - In-game reload command requires the `wldc.reload` permission - Admins can be added via Discord to manage the whitelist

License

This project is licensed under the MIT License - see the LICENSE file for details.

Made with ❤️ by timuzkas

ADS