Discord Remote Commands v1.2

Make slash commands do things on your minecraft server!
discordremotecommands.png
Demo Video


Installation and Setup
1. Download the plugin.
2. Upload the plugin to the plugins folder.
3. Create a Discord Bot from the Discord Developer Portal
3a. Click on "New Application", give it a name and Click the "Create" button.​
3b. Click on "Add Bot" button under "Settings" tab​
3c. Click on "Reset Token"​
3d Copy the token​
4. Start your server.
5. Open your plugins folder and navigate to the plugin's folder, named DiscordRemoteCommands.
6. Open the "config.yml" file in the plugins folder and replace "YOUR_BOT_TOKEN_HERE" with the bot token that you copied in step 3d.
7. Reload the plugin.
(METHOD 1) Reload the plugin using the command /drc-reload
(METHOD 2) Restart the server.​

Minecraft Commands
/drc-reload - Reload the configuration file (and restart the discord bot)

Preview
YAML:
# Discord Remote Commands Configuration

# Discord Bot Token
# Available at https://discord.com/developers/applications
DISCORD_TOKEN: "YOUR_BOT_TOKEN_HERE"

# Commands that will show up in discord.
commands:
  # Command Name (Example: say)
  say:
    # Where should the command be registered? (Currently only "discord" is supported.)
    platform: "discord"
    # The description of the command
    description: "A command that sends a message in both minecraft & discord"
    # Only show the "No Permission Message" to the user (aka true)
    permissionMessageHidden: true
    # Any of the following will grant permission to run this command.
    permissions:
      - type: "role"
        data: "RoleId"
      - type: "user"
        data: "UserId"
    arguments:
      message: # Name of the argument
        type: "string"
        required: true
        max_length: 100 # Maximum length of the argument
        min_length: 5 # Minimum length of the argument
    actions:
      - platform: "discord"
        action: "replyhidden"
        content: "Broadcast sent!"
      - platform: "discord"
        action: "send_message"
        content: "The message broadcasted was: {message}"
      - platform: "minecraft"
        action: "broadcast"
        content: "&8[&cBroadcast&8] &f{message}"

  # Command Name (Example: mcban)
  mcban:
    platform: "discord"
    description: "Ban someone in minecraft"
    permissionMessageHidden: false
    permissions:
      - type: "role"
        data: "RoleId"
    arguments:
      username:
        type: "string"
        required: true
        max_length: 16
        min_length: 1
      reason:
        type: "string"
        required: false
        max_length: 256
    actions:
      - platform: "discord"
        action: "reply"
        content: "Banned the player: {username}"
      - platform: "minecraft"
        action: "command"
        content: "ban {username} {reason}"

logging:
  # Either "webhook" or "bot"
  type: "bot"

  # webhook_url is only used when type is set to "webhook"
  # https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
  # Generate and create ur webhook url
  webhook_url: "WEBHOOK_URL"

  # channel_id is only used when type is set to "bot"
  # The bot must be in the same server as that channel id and have access to send messages
  channel_id: "CHANNEL_ID"

  events:
    command:
      enabled: true
      message: "{username} (`{userid}`) used **{command_name}** in {channel_name} (`{channel_id}`) ||/{command_name} {args}||"
    startup:
      enabled: true
      message: "Discord Remote Commands has started."
    shutdown: # May not send if server is killed (rather than stopped)
      enabled: true
      message: "Discord Remote Commands has shut down."

Links
Support Server: https://discord.gg/KkS6yP8
Buy a license now
$3.99
EULA: Standard EULA
New: Now supporting cryptocurrency payments!
Share and earn
Refer this resource and earn a 10% commission.
1,424 Views
6 Purchases
23 Downloads
Jun 9, 2023 Published
Aug 31, 2024 Updated
Not yet rated
13.3 MB File size
Languages
  1. English
Includes DRM
No
Source access
Closed source without obfuscation
Type
  1. Chat
  2. Staff
Supported software
  1. Bukkit
  2. Spigot
  3. Paper
Supported versions
  1. 1.8
  2. 1.9
  3. 1.10
  4. 1.11
  5. 1.12
  6. 1.13
  7. 1.14
  8. 1.15
  9. 1.16
  10. 1.17
  11. 1.18
  12. 1.19
  13. 1.20
  14. 1.21
Creator
Owner
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Recommended for you
A Discord bot to play games on your Discord server
5.00 star(s) 1 ratings
17 purchases
Give roles to your users for setting their status
Not yet rated
16 purchases
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 112 ratings
2,940 purchases
The ultimate chat formatting and filtering plugin. Can replace 200+ plugins. Customizable & fast.
5.00 star(s) 119 ratings
2,430 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 63 ratings
2,242 purchases
Share and earn
Refer this resource and earn a 10% commission.
1,424 Views
6 Purchases
23 Downloads
Jun 9, 2023 Published
Aug 31, 2024 Updated
Not yet rated
13.3 MB File size
Languages
  1. English
Includes DRM
No
Source access
Closed source without obfuscation
Type
  1. Chat
  2. Staff
Supported software
  1. Bukkit
  2. Spigot
  3. Paper
Supported versions
  1. 1.8
  2. 1.9
  3. 1.10
  4. 1.11
  5. 1.12
  6. 1.13
  7. 1.14
  8. 1.15
  9. 1.16
  10. 1.17
  11. 1.18
  12. 1.19
  13. 1.20
  14. 1.21
Creator
Owner
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Recommended for you
A Discord bot to play games on your Discord server
5.00 star(s) 1 ratings
17 purchases
Give roles to your users for setting their status
Not yet rated
16 purchases
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 112 ratings
2,940 purchases
The ultimate chat formatting and filtering plugin. Can replace 200+ plugins. Customizable & fast.
5.00 star(s) 119 ratings
2,430 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 63 ratings
2,242 purchases
Top