Back to mods
ServerLinksSender project artwork

Modrinth · Minecraft mod

ServerLinksSender

Built on vanilla 1.21 functionality. Provide players with links they can open up in-game via their pause menu!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which ServerLinksSender release matches 1.21.2?

Updated 2 years ago
Best match for your filters 1.0.1
Game version 1.21, 1.21.1, 1.21.2
Loader Fabric

ServerLinksSender 1.0.1 targets 1.21, 1.21.1, 1.21.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is ServerLinksSender required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does ServerLinksSender 1.0.1 need?

1.0.1 on 1.21.2. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add ServerLinksSender without breaking your instance.

Built for ServerLinksSender 1.0.1 on 1.21.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.1. It targets 1.21, 1.21.1, 1.21.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.1. It opens that exact file at the source.

About this project

What does ServerLinksSender add?

ServerLinksSender

Context

Minecraft 1.21 released a new feature, allowing vanilla servers to send vanilla clients certain links which the client then can display in the pause menu under a new option called Server Links. In there they are listed and can be clicked on.

Vanilla only exposes sending a “Bug report link” that players can use to report bugs on the server, but the system is capable of doing much more! That’s where this mod comes in.

Description

ServerLinksSender allows to configure custom button labels and links for those, so you can supply your very own links and labels for things like server website, vote links, discord links, etc. and periodically update them as the server runs.
Additionally, this supports placeholder API and quicktext, allowing for easy and dynamic text components.
Finally, you can make use of the Predicate API to send certain links only under certain conditions, for example, send a link to the staff docs only to players with the staff permission or send a link with event rules if players are in the event world!

Limitations

First things first, you are not able to use clickevents or hovereffects of any sort as these are used in a button, not chat. I have not tested everything, but can confirm text decorations and colours work fine.

Additionally, the vanilla server links screen does NOT re-render if the new links gets sent. It will only re-render whenever the player actually opens it, and then it only gets rendered once, meaning you can't do super dynamic placeholders like worldtime as they don't get updated as the played looks at them.

Commands

Command Permission Description
/reloadserverlinks [--force-update] serverlinks.main Reloads the config from file and can optionally send the new list to all currently online players; this is especially useful if the players only get the links once (more on that below) and you want to update the links without having to re-log

Example config

The mod creates a default configuration that you can use as a baseline, below is a similar configuration with some explanations (marked with //

{
// how many ticks should pass before the list gets sent to all players again
// you will need this if you have placeholders in use that change throughout user's play session. Setting this to 20 means it gets sent roughly every second. Lower than 20 is not recommended.
// Setting this to -1 will disable periodic updates, meaning players will only get the list when they login (or --force-update is used)
  "refresh_interval": -1,
// list of links to get sent to all users without any condition
  "global_server_links": {
    "<red><bold>My cool link!": "https://google.com"
  },
// multiple sets of links that can be sent additionally to those above if the player matches the requirements (e.g. has a certain permission or is in a certain world)
  "additional_links": [
    {
      "links": {
        "<rb>My cool extra link!": "https://google.com"
      },
      // for more info on how to use this, see here https://github.com/Patbox/PredicateAPI/blob/1.21/BUILTIN.md
      "requirement": {
        "type": "permission",
        "permission": "example.permission",
        "operator": 2
      }
    }
  ]
}

Project description from Modrinth.

Pick your setup

ServerLinksSender by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

ServerLinksSender versions and loaders

1 of 2 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.