promotional bannermobile promotional banner

slashsomething

A simple mod to send linked text in the chat on a command

/discord

A basic mod which adheres to the "Do one thing well" philosophy.

Setup

  1. Download the mod from the Releases section in the sidebar, then put it in your server's mods folder.
  2. Create server/config/slashdiscord.json and insert into it your config. The config should be valid json and look somewhat like this:

json { "commands": [ { "link": "" rel="noopener nofollow" target="_blank">https://discord.gg/minecraft", "message": "Click here to join our discord server!", "color": "GOLD", "names": [ "discord" ] }, { "link": "https://example.com", "message": "Click here to visit our website!", "color": "AQUA", "names": [ "store", "website" ] } ] } commands should be a list of JSON objects of the below format \

discord_link should be a permanent invite link to your server \ message should be the message you want to appear when the command is run \ color should be a minecraft color code \ names should be a list of names you want the command to have

  1. There is no third step

(This mod does require the Fabric API, but you probably have that already)

Getting Help

Please ask in my Discord for support and help.

License

This mod is available under the MIT licence.

The slashsomething Team

profile avatar
  • 1
    Projects
  • 167
    Downloads