What are you searching for?

DiscordIO

DiscordIO

Discord messages for your server. Fabric/Velocity

download 15 Downloads · favorite 0 Followers · Updated 16 hours ago
Fabric Management Social Technology Utility Velocity 1.21 1.21.1 1.21.2 1.21.3 1.21.4 +7 more

Versions

inventory_2
Discordio - Velocity - 1.1.0

1.1.0 · 16 hours ago · 11.34 MB

Release download
Velocity 1.21 1.21.1 1.21.2
inventory_2
Discordio - Fabric - 1.1.0

1.1.0 · 16 hours ago · 11.64 MB

Release download
Fabric 1.21 1.21.1 1.21.2
inventory_2
Velocity - 1.0.0

1.0.0 · 1 day ago · 11.33 MB

Release download
Velocity 1.21 1.21.1 1.21.2
inventory_2
Fabric - 1.0.0

1.0.0 · 1 day ago · 11.63 MB

Release download
Fabric 1.21 1.21.1 1.21.2

About

Features

  • Works on both Velocity proxies and Fabric servers
  • Highly configurable (see config.yaml and messages.properties for all the things you can mess with)
  • Custom discord messages on server start and stop
  • Custom discord messages when players connect and disconnect
  • Custom discord message when players message in game
  • Custom minecraft messages when user message on discord
  • Whitelisting feature to people make whitelist requests via discord

Configs:

config.yml version 1.0.0

See github.com for an up to date version

# !This file must be setup before using this plugin!
# Once a feature is enabled, disabling it again may result in undefined behavior
# If you really want to disable a feature, but this wrecks your whitelist/install, you should delete the data.yml file

botToken:   "Insert your token here, see the README.md on how to get a token"

# Discord messages for in game events
events:
  onStart:
    enabled: false
    channel: "id..."
    
  onStop:
    enabled: false
    channel: "id..."

  onJoin:
    enabled: false
    channel: "id..."

  onLeave:
    enabled: false
    channel: "id..."

  onMessage:
    enabled: false
    forwardCommands: false

    # Uncomment the one that applies to your server type:

    # For fabric:
    # channels:
    #   fabric: "id..."

    # For velocity
    # (The server names are the ones specified in the velocity.toml file you configured)
    # channels:
    #   server1: "id..."
    #   server2: "id..."


# If enabled, will use the UUID registered at mojang for verification
# !Will force the server into online mode!
# You currently cannot change this setting after you have someone whitelisted, so choose carefully
# If you really want to change this, delete the data.yml file (this will remove all whitelisted players, they will need to be whitelisted again)
useUUID: true
# If enabled only one minecraft account is allowed per discord user
# You currently cannot change this setting after you have someone whitelisted, so choose carefully
# If you really want to change this, delete the data.yml file (this will remove all whitelisted players, they will need to be whitelisted again)
connectAccounts: true

# Whistlisting via discord
whitelist:
  enabled: false

  giveRoleOnWhitelist: false
  whitelistedRole: ""

  onAccept:
    enabled: true
    channel: "id..."
  onDeny:
    enabled: true
    channel: "id..."
  request:
    enabled: true
    channel: "id..."
    checkRoles: false
    allowedRoles: []
  voting:
    # If disabled, a request will imply immediate whitelist
    enabled: true
    channel: "id.."
    checkRoles: false
    allowedRoles: []
    acceptVotes: "50%"
    denyVotes: "1"

# Banning via discord
banning:
  enabled: false
  request:
    enabled: true
    channel: "id..."
    checkRoles: false
    allowedRoles: []
  voting:
    # If disabled, a request will imply an immediate ban
    enabled: true
    channel: "id..."
    checkRoles: false
    allowedRoles: []
    acceptVotes: "50%"
    denyVotes: "1"
messages.properties version 1.0.0

See github.com for an up to date version

embeds.onStart.title=-------------[Online]-------------
embeds.onStart.description=:green_circle: **Proxy** is online!
embeds.onStart.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.onStart.color=GREEN

embeds.onStop.title=-------------[Offline]-------------
embeds.onStop.description=:no_entry: **Proxy** is offline!
embeds.onStop.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.onStop.color=RED

embeds.onJoin.title=-------------[Connected]-------------
embeds.onJoin.description=**${PLAYER_NAME}** joined the server!
embeds.onJoin.imageUrl=https://minotar.net/helm/${PLAYER_NAME}/240.png
embeds.onJoin.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.onJoin.color=GREEN

embeds.onLeave.title=-------------[Disconnected]-------------
embeds.onLeave.description=**${PLAYER_NAME}** left the server!
embeds.onLeave.imageUrl=https://minotar.net/helm/${PLAYER_NAME}/240.png
embeds.onLeave.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.onLeave.color=RED

embeds.onMessage.description=[${PLAYER_NAME}] ${MESSAGE}

embeds.alreadyWhitelisted.title=Sorry, you already made a whitelist request.
embeds.alreadyWhitelisted.description=You are either already whitelisted, or you made a request previously that is being approved. Please wait patiently
embeds.alreadyWhitelisted.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.alreadyWhitelisted.color=BLUE

embeds.whitelistRequest.title=------------[Request access]------------
embeds.whitelistRequest.description=Do you also want to be whitelisted?\nClick the button below to request access to the minecraft server!
embeds.whitelistRequest.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.whitelistRequest.button.label=Request whitelist
embeds.whitelistRequest.button.emoji=✅
embeds.whitelistRequest.color=BLUE

embeds.whitelistRequestNotAllowed.title=You are not allowed to request to be whitelisted
embeds.whitelistRequestNotAllowed.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.whitelistRequestNotAllowed.color=RED

modals.whitelistRequest.title=Whitelist request
modals.whitelistRequest.username.label=Username
modals.whitelistRequest.placeholder.label=BeigeTunic120

embeds.whitelistConfirm.title=Is this your user?
embeds.whitelistConfirm.description=Check if the skin below is from your account ${PLAYER_NAME}
embeds.whitelistConfirm.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.whitelistConfirm.imageUrl=https://minotar.net/body/${PLAYER_NAME}/100.png
embeds.whitelistConfirm.confirm.label=This is me
embeds.whitelistConfirm.cancel.label=Cancel
embeds.whitelistConfirm.color=BLUE

embeds.whitelistPlayerNotFound.title=Your player was not found
embeds.whitelistPlayerNotFound.description=Your player was not found at the Mojang servers
embeds.whitelistPlayerNotFound.footer.message=${CURRENT_DATE} ${CURRENT_TIME}

embeds.whitelistRequestCanceled.title=Request was canceled
embeds.whitelistRequestCanceled.footer.message=${CURRENT_DATE} ${CURRENT_TIME}

embeds.whitelistRequestConfirmed.title=Your request will be reviewed by the admins
embeds.whitelistRequestconfirmed.footer.message=${CURRENT_DATE} ${CURRENT_TIME}



embeds.whitelistVoting.title=------------[Whitelist request]------------
embeds.whitelistVoting.description=The discord user <@${DISCORD_UUID}> would like to have his minecraft account **${PLAYER_NAME}** to be whitelisted.\n**${ACCEPT_VOTES}** votes are in favor, **${DENY_VOTES}** votes are against. (${MIN_ACCEPT_VOTES} votes are needed to accept and ${MIN_DENY_VOTES} votes are needed to deny the request)
embeds.whitelistVoting.imageUrl=https://minotar.net/body/${PLAYER_KEY}/100.png
embeds.whitelistVoting.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.whitelistVoting.acceptButton.label=Accept
embeds.whitelistVoting.denyButton.label=Deny
embeds.whitelistVoting.color=GREEN

embeds.whitelistVotingDenied.title=------------[Whitelist denied]------------
embeds.whitelistVotingDenied.description=The request from the user <@${DISCORD_UUID}> to have **${PLAYER_NAME}** be whitelisted was denied
embeds.whitelistVotingDenied.imageUrl=https://minotar.net/avatar/${PLAYER_KEY}/100.png
embeds.whitelistVotingDenied.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.whitelistVotingDenied.color=RED

embeds.whitelistVotingAccepted.title=------------[Whitelist accepted]------------
embeds.whitelistVotingAccepted.description=The request from the user <@${DISCORD_UUID}> to have **${PLAYER_NAME}** be whitelisted was accepted
embeds.whitelistVotingAccepted.imageUrl=https://minotar.net/avatar/${PLAYER_KEY}/100.png
embeds.whitelistVotingAccepted.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.whitelistVotingAccepted.color=GREEN

embeds.whitelistVotingNotAllowed.title=You are not allowed to vote
embeds.whitelistVotingNotAllowed.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.whitelistVotingNotAllowed.color=RED

embeds.publicWhitelistDenied.title=------------[Whitelist denied]------------
embeds.publicWhitelistDenied.description=**${PLAYER_NAME}** got whitelisted\n(Requested by <@${DISCORD_UUID}>)
embeds.publicWhitelistDenied.imageUrl=https://minotar.net/body/${PLAYER_KEY}/100.png
embeds.publicWhitelistDenied.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.publicWhitelistDenied.color=RED

embeds.publicWhitelistAccepted.title=------------[Whitelist accepted]------------
embeds.publicWhitelistAccepted.description=**${PLAYER_NAME}** got whitelisted\n(Requested by <@${DISCORD_UUID}>)
embeds.publicWhitelistAccepted.imageUrl=https://minotar.net/body/${PLAYER_KEY}/100.png
embeds.publicWhitelistAccepted.footer.message=${CURRENT_DATE} ${CURRENT_TIME}
embeds.publicWhitelistAccepted.color=GREEN

Download

Go to modrinth.com to download this mod

Setup

See discord.com/developers/docs/quick-start/getting-started for more information.

  1. Start your (fabric, or velocity) server, and stop it again
  2. The server will generate either a mods or a plugin folder, put the jar file corresponding to your server type in that folder (Go to modrinth.com to download)
  3. Start your server again, this mod will generate a config.yml file for you, open it (the following steps will guide you through configuring it)
  4. Go to the discord development portal discord.com/developers/applications
  5. Click on "New application" A photo of the discord panel when visiting discord.com/developers/applications
  6. Choose a name and accept the user agreement A photo of the discord panel after clicking on "New application"
  7. Use the sidebar to go to the bots section A photo of the discord panel after creating your bot
  8. Click on reset token and click confirm A photo of the discord panel bots section
  9. Copy your bot token and paste it into the botToken field of your config A photo of the config.yaml file
  10. Now use the sidebar to go to installation and configure the following: A photo of the install screen. User install disabled, scopes=bot, permissions=Send messages, Bypass slow mode, Manage roles and Add reactions
  11. Copy the url provided by discord of the previous screen and visit it, you can now invite it to the server you want the bot to send messages to

Now we want to setup the features, you can use the following tutorial to get a channel ID: support.discord.com You can then copy your channel IDs to the features you want to enable in the config (!disable a feature if you do not want to use it!)

Bugs

If you find bugs or weird behavior, please open an issue on github (github.com) or send an email to [email protected]

open_in_new View on Modrinth
Compatibility
Client: Unknown Server: Unknown
gavel MIT

Conversation

What are your thoughts?

Related projects

Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.7M
favorite 12,724
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 78.0M
favorite 22,148
Library Management Utility
YetAnotherConfigLib (YACL)
YetAnotherConfigLib (YACL)

by isxander

A builder-based configuration library for Minecraft!

download 66.3M
favorite 7,618
Adventure Transportation Utility
Xaero's Minimap
Xaero's Minimap

by thexaero

Displays a map of the nearby world terrain, players, mobs, entities in the corner of your screen. Lets you create waypoints which help you find the locations you've marked.

download 61.1M
favorite 13,688
lock Cookie consent

SkinMC uses cookies to provide functionality and features.