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

Server Notify

a

Resource Downloader - GitHub Page

Please check out the following before proceeding:

Getting started This mod is command-based, and it's fairly simple to use! There are three types of notifications, texture, text, and URL (more to be added soon!).

For now, let's go over the commands. By typing /server-notify, you'll see there are quite a few options available.

Main Command

Edit lets you edit the value of a notification's variable, for example its namespace or texture path!

Info gives you info on a certain notification.

List gives you a list of all notifications (Notification Name - Type)

New lets you create a new notification.

Remove lets you remove a notification.

UUID-List gives you a list of all notifications (Notification UUID - Name)

All commands have some auto-suggestions, so I will not go over all of them as they are pretty straightforward.

To create a new notification, all types have a base command:

/server-notify new "Notification Name" type type

Both type entries should be the same; they can be texture, text or url (for now).

To find out how to create a new notification, please choose the type of notification you'd like to create and then click on one of the dropdowns below.

Texture Notification A texture notification lets you display any texture from any loaded resource pack in-game.

An example command would be:

/server-notify new "Notification Name" texture texture <sound_namespace> <sound_path> <texture_namespace> <texture_path> <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.

<texture_namespace> is your resource pack's namespace.

<texture_path> is the path to your texture.

<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.

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 ARR
Published 6 months ago
Updated 5 months ago