Sueta

Discord to MC Staff Plugin

1.5.5

Manage your Minecraft server directly from your Discord server!

·Plugin

With this plugin you will be able to Freeze, Ban, Unban, Message and get info of specific players directly from your Discord server.

Examples

CPS:

Ping:

Freeze:

Info : (Usage: /info <player>)

Message : (Usage: /msg <player> <message>) With support of MC color codes.

and much more to come!

Ability to choose what you're bot is doing through the config! (LISTENING, PLAYING, WATCHING)

Config :

# 
#  ______  _                              _   _____  _            __   __ 
#    |  _  \(_)                            | | /  ___|| |          / _| / _| 
#    | | | | _  ___   ___   ___   _ __   __| | \ `--. | |_   __ _ | |_ | |_ 
#    | | | || |/ __| / __| / _ \ | '__| / _` |  `--. \| __| / _` ||  _||  _| 
#    | |/ / | |\__ \| (__ | (_) || |   | (_| | /\__/ /| |_ | (_| || |  | | 
#    |___/  |_||___/ \___| \___/ |_|    \__,_| \____/  \__| \__,_||_|  |_| 
# 


General: 
  Discord: 
    #How to get a bot token: https://github.com/jagrosh/MusicBot/wiki/Getting-a-Bot-Token 
    Token: 'token' 
    #The prefix for your commands 
    Prefix: '/' 
    #Game Types can only be from this list: LISTENING | WATCHING | PLAYING 
    GameType: LISTENING 
    GameText: 'To the birds.' 
    DiscordStaffChannelLogs: '573486853739642883' 
    #If you want to enable Vault to get the players balance in /info or to get a player's perm group. 
    Vault: false 
    VaultCurrency: '$' 
    #To get role id mention the role and put backslash before it: \@Role or use the /roleid command 
    RoleToUseCommands: 
    - 573244011578523736 
    - 370289966833598484 
Discord: 
  Commands: 
    FreezeCmd: 'freeze' 
    FreezeMsg: '&7You have been &eFrozen. &7Please join our Discord for more information!' 
    UnfreezeMsg: '&7You have been &eUnfrozen&7.' 
    MessagePrefix: '&9[Discord-Message]&7 ' 
    StaffMessagePrefix: '&4[Discord-Staff]&7 ' 
    BroadcastMessagePrefix: '&2[Broadcast]&7 ' 
    DiscordStaffChannelId: 573486853739642883 
    #Notify a player if they have/been teleported to another player. 
    TeleportNotif: true 
    #Default world to get the prefix of offline player. 
    GetDefaultWorld: 'world'

Available Commands (Prefix can be changed in config) :
More commands will be coming in the future.

Moderation commands:

  • /staff <message> (Discord only) : Send a message to online players that have the dsb.staff perm.
  • /staffmsg <message> (Minecraft only) : Let players that have the dsb.staff perm to send messages to the defined staff channel on Discord.
  • /ban <player> <reason> : Ban a player off of the Minecraft server.
  • /unban <player> : Unban a player off of the Minecraft server.
  • /freeze <player> : Freeze/Unfreeze a online player and get notified on Discord if they log off.
  • /kick <player> <reason> : Kick a player off the Minecraft server through Discord.
  • /teleport <player> <to-player> : Teleport a player to another player through Discord.
  • /chat <on/off> : Toggle the Miencraft chat on/off through Discord.
  • /clearchat : Clear the Minecraft server chat through Discord.

Helpful commands:

  • /commands (Discord): Get a list of all the available commands.
  • /info <player> : Get information about an online/offline player.
  • /msg <player> <reason> : Message an online player through Discord.
  • /broadcast <message> : Broadcast a message to the Minecraft server through Discord (Accepts Minecraft color codes).
  • /whitelist on/off : Turn the whitelist on/off through Discord
  • /whitelist add/remove <player> : Add/Remove players from the whitelist through Discord.
  • /list <frozen/whitelist> : Get a list of whoever is frozen or whitelisted on the server.
  • /online : Gives you a list of all the online players on the Minecraft server.
  • /ping <player> : Get the player's ping and in which country he/she lives.

Cheat Detection:

  • /cps <player> : Get the player's Click Per Second through Discord.

  • /roleid <rolename> : Get the ID of a role without having to mention it (\@Role).
  • /dsbreload (MC) /reload (Discord) : Reload the plugins config.

Setup Commands:

  • /roleid <rolename> : Get the ID of a role without having to mention it (\@Role).
  • /dsbreload (MC) /reload (Discord) : Reload the plugins config.

If you have any issues or any ideas to add to the plugin, join my Discord support server ( https://discord.gg/kj74Xc4 ) or DM me on Discord at Strum#7830 !

If you like the plugin, please leave a rating to keep me motivated on working on it!

Similar projects

Plugin →