A minimalistic chat plugin.
- Adds Global/Local/Private Messages
- Adds the ability to modify the formatting of these messages.
- Has PAPI support.
Global/Local/Private Messages
The plugin adds support for 3 types of messages: Global, Local and Private.
- Global messages are visible to all players on the server.
- Local messages are only visible to players within the certain radius from the sender.
- Private messages are only visible to the specific player the sender specified.
If needed, local messages can be disabled by setting
enableLocal: false
If local messages are enabled, all messages by default become local messages. To send a global message, the text of the message has to start with a specific prefix. By default, it's !. E.g.
> Hello World!
[Local] Hello World!
> !Hello World!
[Global] Hello World!
To change the prefix for global messages, you need to change this setting
globalPrefix: "!"
To send a private message, you should use the command
/msg MikChan Hello, MikChan!
Also, you can use this command to reply back to the last person who sent a message to you
/r Hello Back!
Formatting
The plugin also lets you change how messages look by modifying these settings.
globalTemplate: '<:player:> :message:'
localTemplate: '<:player:> :message:'
privateTemplate: '<:player_from: to :player_to:> :message:'
consoleTemplate: '<CONSOLE to :player_to:> :message:'
As you can notice, there are some unusual-looking placeholders.
:player:is replaced with the sender name.:player_from:is replaced with the sender name. Works only inprivateTemplate.:player_to:is replaced with the recipient name. Works only inprivateTemplateandconsoleTemplate.:message:is replaced with the text of the message.
If you wonder why consoleTemplate is needed: the private messages can be sent from the console, but since the console has no username, it has to be formatted separately.
Placeholder API (PAPI)
This plugin supports PAPI placeholders. There are few PAPI-specific settings in the config.
playerTemplate: '%player_name%'
fromTemplate: '%player_name%'
toTemplate: '%player_name%'
If PAPI is present
:player:will be replaced withplayerTemplate.:player_from:will be replaced withfromTemplate.:player_to:will be replaced withtoTemplate.
If PAPI is not present in the plugin list, these settings will be simply ignored.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta