90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Server Notify

Server Notify is a Minecraft mod that lets you display notifications to players joining your Minecraft server. Easily set up notifications using commands, with options for texture, text, or URL-based notifications.

Requires Fabric API. Also compatible with Forge and NeoForge, using Sinytra Connector, requires Forgified Fabric API.

Notification Types

  1. Texture Notifications: Display textures from any loaded resource pack.
  2. Text-only Notifications: Display simple messages.
  3. Image from URL: Display images from a specified URL.

Getting Started

  1. Command-based: All features are accessed via commands in-game.
  2. Commands: Type /server-notify to view available options.

Main Command

Command Options:

  • Edit: Modify a notification's properties.
  • Info: View details of a specific notification.
  • List: Display all notifications.
  • New: Create a new notification.
  • Remove: Delete a notification.
  • UUID-List: Show all notifications with their UUIDs.

Creating Notifications

Use the command /server-notify new "Notification Name" type type to create a notification, replacing "Notification Name" with your preferred name and type with texture, text, or url.

Notification Types and Commands

Text-only Notification A text notification lets you display any message as a notification.

An example command would be:

/server-notify new "Notification Name" text text <sound_namespace> <sound_path> <message> <dismissButton> <dismissMessage> <alwaysShow>

"Notification Name" can be anything, however it must be in quotation marks. It is for you to identify the notification later on.

<sound_namespace> is the namespace of the sound you'd like to play when the notification is shown.

<sound_path> is the path of the sound you'd like to play when the notification is shown.

<message> is your message in quotation marks.

<dismissButton> displays a "Dismiss" button on the screen.

<dismissMessage> displays a "Press ESC to dismiss" text at the bottom of the screen.

<alwaysShow> shows the notification to a player when they join even if they have already seen it.

Image from URL Notification An image notification lets you display any image from a URL.

An example command would be:

/server-notify new "Notification Name" url url <sound_namespace> <sound_path> <url> <width> <height> <dismissMessage> <alwaysShow>

"Notification Name" can be anything, however it must be in quotation marks. It is for you to identify the notification later on.

<sound_namespace> is the namespace of the sound you'd like to play when the notification is shown.

<sound_path> is the path of the sound you'd like to play when the notification is shown.

<url> is your image URL in quotation marks.

<width> is the width of your texture.

<height> is the height of your texture.

<dismissMessage> displays a "Press ESC to dismiss" text at the bottom of the screen.

<alwaysShow> shows the notification to a player when they join even if they have already seen it.


Project members

Dooji

Member

Details

Licensed GPL-3.0-only
Published 9 months ago
Updated 2 months ago