Messenger

⭐ — (2 endorsements) 📥 253 downloads 📌 v1.0 📅 8/30/2023
⚪ Last updated 2023

By funnyboy-roks · management

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 8/25/2023 📅 Created: 8/30/2023

🔍 Analysis

  • 🏆 #98 of 235 management mods in this game by downloads

📋 About This Mod

✅ `duration`: integer
✅ - Seconds between each message being sent in chat
✅ - Default: `300` (5 minutes)
✅ `message-format`: string
✅ - Format of the messages to be displayed to the user in chat. This
✅ is used for adding a prefix or suffix to the message

# Messenger A plugin to send (https://docs.advntr.dev/minimessage/format.html) formatted rotating messages in chat on a scheduled interval. ## Configuration - `duration`: integer - Seconds between each message being sent in chat - Default: `300` (5 minutes) - `message-format`: string - Format of the messages to be displayed to the user in chat. This is used for adding a prefix or suffix to the message - Supports (https://docs.advntr.dev/minimessage/format.html) - Default: `<gray></gray> %message%` (renders to ` %message%`) - `debug-logging`: boolean - Whether verbose logging should be printed to the console - Default: `false` ## Commands - `/messenger <add|reload>` - Main command for Messenger - `/messenger add` - Open an editor to add a new rotating message to the chat. - `/messenger add <message>` - Add a message into the chat directly - `/messenger reload` - Reload the plugin's configuration and messages from the `messages.json` file. ## Permissions - `messenger.command.messenger` - Ability to run the `/messenger` command - Default: `op` ## Data The plugin currently only handles two files: `config.yml` and `messages.json`. The `config.yml` holds the configuration for the plugin, see (#configuration) for more details The `messages.json` holds each message to be printed into chat. Removing/Adding a message from this list will remove/add it from/to the game (After `/messenger reload` or server restart). ## Message Format A message can be formatted using (https://docs.advntr.dev/minimessage/format.html). If `%player%` is included in the message, it will be replaced with the player's username. ## API The plugin offers a simple API which allows for adding new messages. To add it as a dependency if using maven, add the following to your pom.xml: ```xml <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> <dependency> <groupId>com.github.funnyboy-roks</groupId> <artifactId>Messenger</artifactId> <version>Tag</version> </dependency> ``` Otherwise, checkout the (https://jitpack.io/#funnyboy-roks/Messenger/1.0) for other systems ### Usage example ```java // construct a new message that says "hello " + playername // and is sent to all players Message msg = new Message( p -> Component.text("hello ").append(p.displayName()), p -> true ); // Add a message to the list Messenger.api().addMessage(msg); ``` ## Future To-Do - PAPI support - If there is interest - More configuration options I'm always looking for ideas, if you have any, please create an issue and let me know!

# Messenger

A plugin to send (https://docs.advntr.dev/minimessage/format.html) formatted rotating messages in chat on a scheduled interval.

## Configuration

  • `duration`: integer
  • - Seconds between each message being sent in chat
  • - Default: `300` (5 minutes)
  • `message-format`: string
  • - Format of the messages to be displayed to the user in chat. This
  • is used for adding a prefix or suffix to the message
  • - Supports (https://docs.advntr.dev/minimessage/format.html)
  • - Default: `[+] %message%` (renders to `[+] %message%`)
  • `debug-logging`: boolean
  • - Whether verbose logging should be printed to the console
  • - Default: `false`

## Commands

  • `/messenger `
  • - Main command for Messenger
  • - `/messenger add` - Open an editor to add a new rotating message to
  • the chat.
  • - `/messenger add ` - Add a message into the chat directly
  • - `/messenger reload` - Reload the plugin's configuration and
  • messages from the `messages.json` file.

## Permissions

  • `messenger.command.messenger`
  • - Ability to run the `/messenger` command
  • - Default: `op`

The plugin currently only handles two files: `config.yml` and `messages.json`.

The `config.yml` holds the configuration for the plugin, see (#configuration) for more details

The `messages.json` holds each message to be printed into chat. Removing/Adding a message from this list will remove/add it from/to the game (After `/messenger reload` or server restart).

## Message Format

A message can be formatted using (https://docs.advntr.dev/minimessage/format.html). If `%player%` is included in the message, it will be replaced with the player's username.

The plugin offers a simple API which allows for adding new messages.

To add it as a dependency if using maven, add the following to your pom.xml:

```xml jitpack.io https://jitpack.io

com.github.funnyboy-roks Messenger Tag ```

Otherwise, checkout the (https://jitpack.io/#funnyboy-roks/Messenger/1. 0) for other systems

### Usage example

```java // construct a new message that says "hello " + playername // and is sent to all players Message msg = new Message( p -> Component.text("hello ").append(p.displayName()), p -> true );

// Add a message to the list Messenger.api().addMessage(msg); ```

## Future To-Do

  • [ ] PAPI support - If there is interest
  • [ ] More configuration options

I'm always looking for ideas, if you have any, please create an issue and let me know!

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Plugins
Author
funnyboy-roks
Version
1.0
Downloads
253
Endorsements
2
Category
management
Created
8/30/2023
Updated
8/25/2023
Game Versions
1.17, 1.17.1, 1.18, 1.18.1, 1.18.2
Tags
management, social, utility

🔧 How to Install Minecraft Plugins Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Plugins →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Plugins commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Plugins versions does Messenger support?

The author lists 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19. Other versions may work but are untested by the author.

What is the latest version of Messenger?

Version 1.0, published 2023-08-25 with 253 downloads recorded at the source.

Keep browsing — more Minecraft Plugins mods await

📋 All Minecraft Plugins Mods 🏆 Top 25 📂 More management 👤 More by funnyboy-roks 🔎 Similar Mods 🌐 Best management (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods