Guides · Files
discord.yml
# ------------------------------------------------------------
# RoodyWhitelist · discord.yml
# Logs through webhooks (no bot needed) and, with a bot of your own, verification with a
# code, requests with buttons and staff commands. The texts are in lang/ (discord.*).
# After a change: /rwl reload
# ------------------------------------------------------------
enabled: false
# Your Discord's invite: {discord} in the kick screens and messages.
link: "discord.gg/your-server"
webhooks:
# Used by every event that has no url of its own.
default-url: ""
events:
add: {enabled: true, url: ""}
remove: {enabled: true, url: ""}
expire: {enabled: true, url: ""}
mode: {enabled: true, url: ""}
request: {enabled: true, url: ""}
invite: {enabled: true, url: ""}
code: {enabled: true, url: ""}
verify: {enabled: true, url: ""}
alert: {enabled: true, url: ""}
# A bot of your own (discord.com/developers → New Application → Bot → Reset Token). Invite it
# with the scopes "bot" and "applications.commands" and the permissions Send Messages,
# Embed Links and Manage Roles (only for give-role). It needs no privileged intents.
bot:
enabled: false
token: ""
# Your Discord server id (right click on it → Copy Server ID, with developer mode on).
guild: ""
# Where requests are posted with their buttons, and alerts.
channel: ""
# Mentioned in each new request ("" = nobody).
mention-role: ""
# Who can use the staff commands (/whitelist ...) and the buttons.
staff-roles: []
staff-users: []
# On a network: only ONE server listens to Discord (true); the others only post (false).
listen: true
# The kick screen shows a code; /verify <code> in Discord gives access and links the accounts.
verify:
enabled: true
list: players
# Only members with one of these roles can verify ([] = anyone in your Discord server).
required-roles: []
# A role given after verifying ("" = none). The bot's role must be above it.
give-role: ""
# Losing the required role takes the access away too (checked when they join).
sync-roles: true
# How long a code works.
code-time: 15m
# One Minecraft account per Discord account.
one-account: true
# /rwl discord panel posts a message with an "Ask for access" button: the player writes their
# name and why, and the request reaches the staff like the ones made by joining.
panel:
channel: ""
# Only members with one of these roles see the button working ([] = anyone).
required-roles: []