MCDiscord icon

MCDiscord -----

Link your Discord & Minecraft server




• Added BStats
• Added PlaceholderAPI support for custom commands
• Added single arguments for custom commands
• Re-worked /mcd reload (should now reload everything)
• Moved commands to its own file (commands.yml)

Examples:
Code (YAML):
commands:
  server
:
    online
:
      embed
:
        title
: Online players
        description
: ' %server_online%' <-- PAPI placeholder
        author
: ' %user%'
        color
:
          r
: 0
          g
: 255
          b
: 0
Works the same way as before, but under the name of the command so "online" in this case, you can specify arguments. In this example "online" is the argument, meaning everything in the "online" section will be run if the command looks like | !server online |

Code (YAML):
commands:
  stats
:
    dynamic
:
      embed
:
        title
: Online players
        description
: 'Some stats'
        author
: ' %user%'
        color
:
          r
: 0
          g
: 255
          b
: 0
If you specify the dynamic argument, that means the argument can be anything. Which can be used if you want to make a stats command for example. You can get the argument by using %arg-1%, so if I did !stats Nesanco, the command would run.
----------, Dec 5, 2022

- Added unlink command
- Added command creator

You can now make your own commands in the config.yml, there is a default command to be used as an example:
Code (YAML):
commands:
  online
:
    embed
:
      title
: "Online players"
      description
: "%online-players%"
      author
: "%user%"
      color
:
        r
: 0
        g
: 255
        b
: 0
If you don't want an embed, use:
Code (YAML):
message : "Hello! this is my message!"
You can also use both if you want

Current placeholders are:
%user% - User's name
%online players% - Get online players
%user's avatar% - Gets the user's avatar as a URL
%message% - Gets the user's message
PlaceholderAPI support will be coming within the next few updates
----------, Nov 17, 2022

- Added join logs
- Added leave logs

Join & leave configuration is in the config.yml file
----------, Nov 13, 2022

Resource Information
Author:
----------
Total Downloads: 338
First Release: Nov 13, 2022
Last Update: Dec 5, 2022
Category: ---------------
All-Time Rating:
2 ratings
Find more info at cortex-development.gitbook.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings