HomeJavaModsBlockMessage
BlockMessage
ModsJava

BlockMessage

by ProjectMichi · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.3–1.21.11 · Bukkit⬇ Download for 1.21.3–1.21.11 · Paper⬇ Download for 1.21.4–1.21.11 · Spigot⬇ Download for 1.21.4–1.21.10 · BungeeCord⬇ Download for 1.21.4–1.21.10 · Velocity
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
BlockMessage — screenshot 1

BlockMessage

BlockMessage is a simple Velocity plugin for temporarily blocking player connections during server maintenance or emergencies. It allows you to restrict server access with a single command, displaying custom messages to players in both the server list (MOTD) and upon connection attempts.

Features

Configuration (default.yml)

The plugins/blockmessage/config.yml file is generated on the first startup.

# =================================================================
# BlockMessage Plugin Configuration (Default Profile Template)
# This file will be copied to profiles/default.yml if it doesn't exist.
# =================================================================

# Enable or disable the entire plugin for this profile.
# If false, no players will be blocked and the MOTD will not be changed when this profile is active.
enabled: true

# The message displayed to players when they are blocked from joining.
# This is a list of strings, where each string represents a new line.
# You can use '&' for color codes.
block-message:
  - "&cThis server is currently in maintenance mode."
  - "&ePlease try again later."

# Configuration for the custom MOTD (Message of the Day) shown in the server list.
block-motd:
  # Enable or disable the custom MOTD when the plugin is enabled in this profile.
  enabled: true

  # The first line of the MOTD.
  line1: "&cServer is in Maintenance"

  # The second line of the MOTD.
  line2: "&eWe will be back soon!"

  # The maximum player count to display. Set to -1 to use the server's default from bungee config.
  max-players: 0 # Set to 0 to override Bungee default and show 'Maintenance' count

  # The online player count to display. Set to -1 to use the server's default from bungee config.
  online-players: 0 # Set to 0 to override Bungee default and show 'Maintenance' count

# Players in this list will not be blocked, even if the plugin is enabled in this profile.
# This is useful for allowing admins to join during maintenance.
# Names are case-insensitive during checks, but stored as entered.
whitelist:
  - "AdminPlayer1"
  - "AnotherAdmin"
Color Codes
&0	Black
&1	Dark Blue
&2	Dark Green
&3	Dark Aqua
&4	Dark Red
&5	Purple
&6	Gold
&7	Gray
&8	Dark Gray
&9	Blue
&a	Green
&b	Aqua
&c	Red
&d	Pink
&e	Yellow
&f	White
Formatting Codes
&k	Obfuscated (scrambled text)
&l	Bold
&m	Strikethrough
&n	Underline
&o	Italic
&r	Reset Formatting

Installation

  1. Download the latest .jar file from the Releases page.
  2. Place the downloaded .jar file into your Velocity server's plugins folder.
  3. Start or restart your Velocity server.
  4. Edit the plugins/blockmessage/config.yml file as needed.

© 2025 MichiJP. All Rights Reserved.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more