Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for AidenCooper

A discord bot plugin created to update information about your server in only one message.

Report DiscordStatusBot?

DSB allows you to showcase your Minecraft server to your Discord server in a highly configurable embed message with PlaceholderAPI support.

Features

  • Velocity, Bungee, and Bukkit support.
  • 1.8+ Bukkit support. Latest versions of Bungee and Velocity.
  • PlaceholderAPI support.
  • Highly customizable discord status message.
  • Does not spam console or discord.
  • Lightweight and optimised.
  • Useful error messages and error handling.
  • Open source under the GPL license.
  • Multi-versioned.
  • Multi-languaged.

Images

https://i.ibb.co/jT3xtrv/Screenshot-2024-06-05-194137.png https://i.ibb.co/5rGR06p/Screenshot-2024-06-05-194712.png https://i.ibb.co/LY86YyJ/2024-06-05-19-38-26.png

Configuration

client.yml


##################################################################
########################### VERSION ##############################
##################################################################
# DO NOT EDIT
config-version: 2

##################################################################
########################### CLIENT ###############################
##################################################################
token: ''
channel-id: ''

# delay-interval: 5 The initial delay in seconds before the first update call when starting the plugin.
# update-interval: 30 The amount of seconds between each update call.

data.yml


##################################################################
############### DO NOT EDIT ANYTHING IN THIS FILE ################
##################################################################

##################################################################
########################### VERSION ##############################
##################################################################
config-version: 1

##################################################################
############################ DATA ################################
##################################################################
message-id: ''

message.yml


##################################################################
########################### VERSION ##############################
##################################################################
# DO NOT EDIT
config-version: 2

##################################################################
########################### MESSAGE ##############################
##################################################################
# online: PlaceholderAPI supported. %server_online% is an internal placeholder.
  author:
    name: 'MysticLegends'
    url: 'https://github.com/AidenCooper'
    icon: 'https://i.ibb.co/kK1xNgt/ml-icon.png'
  color: '#EAA845'
  description: '➡ ONLINE'
#   fields: You can add and remove fields dynamically.
    - name: 'IP Address'
      value: 'mc.mystic-legends.net'
      inline: false
    - name: 'Version'
      value: '1.20.4+'
      inline: false
    - name: 'Player Count'
      value: '%server_online%'
      inline: false
    - name: 'Message'
      value: 'Whitelisted ➡ TBD'
      inline: false
  footer:
    text: ''
    icon: ''
    show-timestamp: false
  title:
    text: 'Server Status'
    url: ''
  thumbnail: 'https://i.ibb.co/s3YqgcN/ml-transparent-icon.png'

# offline: PlaceholderAPI supported. %server_online% is an internal placeholder.
  author:
    name: 'Mystic Legends'
    url: 'https://github.com/AidenCooper'
    icon: 'https://i.ibb.co/kK1xNgt/ml-icon.png'
  color: '#69110D'
  description: '➡ OFFLINE'
#   fields: You can add and remove fields dynamically.
    - name: 'IP Address'
      value: 'mc.mystic-legends.net'
      inline: false
    - name: 'Version'
      value: '1.20.4+'
      inline: false
    - name: 'Message'
      value: 'Whitelisted ➡ TBD'
      inline: false
  footer:
    text: ''
    icon: ''
    show-timestamp: false
  title:
    text: 'Server Status'
    url: ''
  thumbnail: 'https://i.ibb.co/w68Ffp0/server-icon-icon.png'

Setup discord bot

  • Go to https://discord.com/developers/applications.
  • Click new application in the top right.
  • Enter the default name of your discord bot.
  • After pressing create, click the Bot section on the left tab.
  • Press "reset token" and copy it for later.
  • Click the installation section on the left tab.
  • Install link -> Discord Provided Link.
  • Guild Install -> add "bot".
  • Permissions -> add "Embed links", "Read Messages/View Channels", and "Send Messages".
  • Copy the link and enter it in your web browser.

Setup plugin

  • Stop your Minecraft server.
  • Put the jar file in the plugins folder of your server.
  • Start your server.
  • Open the client.yml file in /plugins/DiscordStatusBot/.
  • Enter your discord bot token and the channel ID you want the message to send to.
  • Save and close then open the message.yml file and edit to your desire.
  • Reload the plugin using /dsb reload.

Issues

For any bug reports or issues please submit them here.

Information

CategoryAdmin Tools
Published onNovember 30, 2024
LicenseGPL
Downloads120
Stars0
Watchers1

Members