/message

Cross Server Messaging Platform for Velocity

Primary LanguageJavaMIT LicenseMIT

message

Cross Server Messaging Platform for Velocity

Commands

Message:

/message <player> <message>
/msg <player> <message>

Arguments:

Base Command Player Message Permission
/message Any name of an online player Any Message osmc.message.send (Default)
/msg Any name of an online player Any Message osmc.message.send (Default)

Reply:

/reply <message>
/r <message>

Arguments:

Base Command Message Permission
/reply Any Message osmc.message.reply (Default)
/r Any Message osmc.message.reply (Default)

SocialSpy:

/socialspy <on|off|toggle>
/ss <on|off|toggle>

Arguments:

Base Command Action Permission
/socialspy Turn On, Off or Toggle osmc.message.socialspy
/ss Turn On, Off or Toggle osmc.message.socialspy

Configuration

File:

# Plugin Settings
[plugin]
    enabled=true

# Messages:
# Customise using MiniMessage
# Link: https://docs.adventure.kyori.net/minimessage.html#format
# Placeholders: <sender>, <receiver>, <message>
[messages]
    # Message
    message-sent="<white>[<gradient:red:blue>YOU</gradient> <strikethrough>→</strikethrough> <gradient:blue:red><receiver></gradient>]</white>: <white><pre><message></pre></white>"
    message-received="<white>[<gradient:red:blue><sender></gradient> <strikethrough>→</strikethrough> <gradient:blue:red>YOU</gradient>]</white>: <white><pre><message></pre></white>"
    # SocialSpy
    message-socialspy="<gradient:red:blue>SocialSpy: </gradient><white><sender> → <receiver>: <message>"
    socialspy-enabled="<yellow>SocialSpy enabled.</yellow>"
    socialspy-disabled="<yellow>SocialSpy disabled.</yellow>"
    socialspy-toggle="<yellow>SocialSpy toggled [<true-or-false>]</yellow>" # <true-or-false> returns the value of "socialspy-toggle-true" or "socialspy-toggle-false" depending on the context.
    socialspy-toggle-true="<green>✓</green>"
    socialspy-toggle-false="<red>✕</red>"
# Aliases:
# Customise using a TOML string arrray.
[aliases]
    message=["msg", "tell"]
    reply=["r"]
    socialspy=["ss"]

# Error messages:
# Customise using MiniMessage
# Link: https://docs.adventure.kyori.net/minimessage.html#format
# Placeholders: None
[error-messages]
    # General
    no-permission="<red>You do not have permission to execute this command.</red>"
    # Message
    message-player-not-found="<red>That player was not found.</red>"
    message-usage="<red>Usage: /message \\<player> \\<message></red>"
    # Reply
    reply-no-player-found="<red>Unable to reply.</red>"
    reply-usage="<red>Usage: /reply \\<message></red>"
    # SocialSpy
    socialspy-usage="<red>Usage: /socialspy <on|off|toggle></red>"

[developer-info]
    config-version=0.4

Default:




Don't understand X? Take a look at some docs:

Credits:

Download:

https://github.com/OskarsMC-Plugins/message/releases/tag/0.2.2