Description
This plugin allows you to customize the welcome message.
Supported:
- PAPI placeholders.
- Setting up a message for different groups loaded from LuckPerms.
- AuthMe Plugin Hook. Sending a message, for example after the player's log.
Permissions
Code (Text):
jmp.help - /jmp help
jmp.reload - /jmp reload
jmp.message - /jmp message
jmp.info - /jmp info
jmp.settings - /jmp settings
jmp.view - message display
# It works if:
# use-permission: true
Commands
/jmp reload - Reload the plugin
/jmp info - Information about the plugin
/jmp message <group> - Display the customized welcome message.
Use this command for debugging.
/jmp help - Display help message.
/jmp settings - List of settings used
Placeholders
In addition to PlaceholderAPI, the plugin has a number of embedded placeholders that work without PAPI.
Code (Text):
{player} - player nickname
{nameserver} - server name
{world-name} - world name
{world-time} - world time
{online} - number of online players
Config
Code (YAML):
# Please don't change this.
# This is to check if the config is up to date.
version-cfg
: 5
# For change language use this check
# Available languages:
# en-US - English
# ru-RU - Russian
# Send me your language file.
lang
:
"en-US"
# Type name of your server.
# This name replaces {namesever}.
nameserver
:
"A Minecraft Server"
# Delay time before displaying a message.
# Can be useful when setting up alignment with other plugins.
# In seconds. Fractional numbers are available, for example:
# second-from-start: 2.5 #2.5 seconds
# If you set it to 0 then the plugin will have the HIGHEST priority.
# second-from-start: 0
# Values less than 0.05 have no meaning and are rounded down to 0.
second-from-start
: 1
# If you need to restrict some groups
# from displaying a message, use this:
# If:
# use-permission: true
# The message will be displayed for
# players with permissions jmp.view
use-permission
: false
# Support AuthMe
auth-me
:
# If "true" then message will send after logging player
send-message-after-logging
: false
# Text when the player join.
# Here you can change text for join player
# in your server.
# Placeholders available from PlaceholderAPI.
# Available placeholders (working without PAPI):
# {player} - player nickname
# {nameserver} - server name
# {world-name} - world name
# {world-time} - world time
# {online} - number of online players
text:
owner
:
-
"§e◆ Welcome, §f{player}§e!"
-
"§e◆ It is welcome message for Owner!"
vip
:
-
"§e◆ Welcome, §f{player}§e!"
-
"§e◆ It is welcome message for Vip!"
default
:
-
"§e◆ Welcome, §f{player}§e!"
-
"§e◆ You have entered the server §f{nameserver}§e!"
- "§e◆ Time in this world
: §f
{world-time
}§e.
"
- "§e◆ Players online
: §f
{online
}§e.
"
- "§e◆ Allow flight mode
: §f
%player_allow_flight%§e." #Use: /papi ecloud download Player
Language file
Code (YAML):
# Language lines.
# Here you can translate the plugin
# strings into your language.
message:
prefix
:
"&e[JoinMessagePlugin] "
noPermission
:
"You don't have permission:"
notFound
:
"Command not found"
configReload
:
"Config reloaded!"
groupNotFound
:
"Group not found!"
linesNotFound
:
"Lines not found!"
settings
:
"Settings"
use
:
"Use"
for
:
"For"
start-separator
:
"START"
end-separator
:
"END"
version
:
"Version"
author
:
"Author"
jmp-cmd
:
"JMP Commands"
help
:
-
"&7[Help] - &e[JoinMessagePlugin]"
-
" &7- &f/jmp&7&o - main parent command"
-
" &7- &f/jmp info&7&o - get info about version of plugin"
-
" &7- &f/jmp help&7&o - get this page"
-
" &7- &f/jmp message <group>&7&o - get message for group"
-
" &7- &f/jmp settings&7&o - list of settings"
-
" &7- &f/jmp reload&7&o - reload config and plugin language"
version
: 1
#don't change this
Requirements
Soft: [Placeholder API, LuckPerms, AuthMe]
Hard: None
Support