Skip to content
/ DisBun Public

A Plugin for Bungeecord that allows you to connect a bungeecord server to a Discord server.

License

Notifications You must be signed in to change notification settings

Hanro50/DisBun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DisBun

A Plugin for Bungeecord that allows you to connect a Bungeecord server to a Discord server.

Setup Guide

  1. Install the Plugin
  2. Run the Bungeecord server once to generate the required config options.
  3. Goto plugins/DBcon/config.txt
  4. Look for "Bot Token:" and replace whatever is after the ":" with a Discord bot token
    ( See how to get one here)
  5. Reboot your Bungeecord server or type /dbreload. If you added a valid bot token in the last step. It will now generate a bot invite in the output console
  6. Invite the bot to a server of your choosing and run "!Setup" on that server.

Permissions

  1. DisBun.link ->Whether or not someone can manually link their account with /link in game
  2. DisBun.unlink ->Whether or not someone can manually unlink their account with /unlink in game
  3. DisBun.reload ->(Should be admin only) Whether or not someone can run /DBreload and reload the whole plugin

PlaceholderAPI integration

  1. %DisBun_DiscordColour% ->The current colour of someone's name
  2. %DisBun_DiscordRole% ->The top most role someone has
  3. %DisBun_DiscordName% ->The linked Discord account nickname

The method changer

This plugin now provides a method to edit the "Activity" your bot is performing. On first boot a text file called "Methodfile will be generated". This almost a direct pass through to the section of the discord bot API that handles the "Activity" text for the discord bot this plugin will start.
This can be toggled off in the config file like every other module.

Advancement module in version of Minecraft older then 1.12

Advancement's did not exist before 1.12. The Advancements module will only work for Spigot servers that run a version of Minecraft that is newer then 1.12. If you're running a version of Spigot older then 1.12, please ignore the error generated by the fact advancements do not exist in 1.11 and older. As to why I cannot simple implement similar code for achievements as what I currently have for advancements for these older versions of the game. The 1.16 version of the Spigot API got rid of the achievement method. There is thus no easy method to implement achievements.

Discord role colour in versions of Minecraft older then 1.16

This relies on a new feature in 1.16 to function properly. That being said, nothing stops you from using it anyway.

Death Messages in older versions of minecraft

The DeathMessage module is coded with 1.16 in mind. This means older versions of the game, especially versions older then 1.12, can be hit or miss with whether the message shown ingame and the message shown by the bot in discord will match exactly.

Translation settings

You are free to use any minecraft language file with this plugin. Simple put the language json file in the DisBun file within your "plugins/DisBun/lang" file and edit the plugin config accordingly.

Customizable command text(WIP)

This has proven too unstable and has been removed in version 0.0.11.

If you're lost

Use !help in the same discord server your bot is in.

About

A Plugin for Bungeecord that allows you to connect a bungeecord server to a Discord server.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages