NoPlayerNotifier icon

NoPlayerNotifier -----

A simple plugin that allows the server to notify a player when they are talking to themselves.




This is just a little update and the only visible change for the user is that the config is ordered a little bit when there is none and all of the default commands are removed.
And so the config looks like this now:
Code (YAML):
# ===================================================================================== #
#                                                                                       #
#      _   _       _____  _                       _   _       _   _  __ _               #
#     | \ | |     |  __ \| |                     | \ | |     | | (_)/ _(_)              #
#     |  \| | ___ | |__) | | __ _ _   _  ___ _ __|  \| | ___ | |_ _| |_ _  ___ _ __     #
#     | . ` |/ _ \|  ___/| |/ _` | | | |/ _ \ '__| . ` |/ _ \| __| |  _| |/ _ \ '__|    #
#     | |\  | (_) | |    | | (_| | |_| |  __/ |  | |\  | (_) | |_| | | | |  __/ |       #
#     |_| \_|\___/|_|    |_|\__,_|\__, |\___|_|  |_| \_|\___/ \__|_|_| |_|\___|_|       #
#                                  __/ |                                                #
#                                 |___/                                                 #
#                                                                                       #
# ===================================================================================== #

# The prefix that global messages have for the player
prefix
: "!"

# The prefix for the messages that are send to the player.
msg_prefix
: "&8[&2Prefix&8]&r "

# The message when nobody on the server is online,
# but some people are online on a
# different server in the bungee network.
msg_nobody_online_server
:
 - "Currently nobody on this server is online! To message the others, write !<message>."

# The message when nobody is online on
# the whole bungee server network.
msg_nobody_online_bungee
:
 - "Currently nobody on this server is online!"
 
# The messages that should be send to the
# user of the `/npnreload` command.
#
# This category is not necessary and could be removed.
# When these messages do not exist in this file the
# default messages will be used by the plugin.
npnreload
:
  permission_error
: "&cI'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is a mistake."
  reload_successful
: "&2Successfully reloaded NoPlayerNotifier"

# The different commands where messages are send to the player
# commands.<commandname> is the command name itself
# The permission is the permission that a player on the bungee must
# have so that the message itself does not get send.
# The aliases are the different names for the command, except
# the main name.
#
# So when a player sends a the command <test> and nobody on the bungee
# has the permission <mypermission.permission> the message will be
# send, but when there is a player on the bungee with this permission
# the message won't be send.
commands
:
 
----------, May 8, 2022

The server now has the possibility of creating custom /npnreload messages that are send to the player.

Code (YAML):
# The messages that should be send to the
# user of the `/npnreload` command.
#
# This category is not necessary and could be removed.
# When these messages do not exist in this file the
# default messages will be used by the plugin.
npnreload
:
  permission_error
: "&cI'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is a mistake."
  reload_successful
: "&2Successfully reloaded NoPlayerNotifier"
These are not necessary as both use their defaults when not specified.
----------, Jan 6, 2022

Add new Hexadecimal color codes like &#FFFFFF;.

All of the information on how the colorcodes now work are in the codeblock.

Code (Text):

Formats the message with color codes
and custom hex codes.

All of the color codes are case-insensitive.

----------------------------------------------------------

The color codes from 1-f can
be used with an &.
They behave exactly like the color codes
Minecraft itself gives with the §.

Also the attributes that make the message
bold (l), italic (o),
underlined (n), strikethrough (m)
can be used. These stack on top of each other
which means that a single segment can use
multiple attributes: &m&lmessage

To reset all of the styles the code r
can be used.

So a message with the standard Minecraft color codes
would look like this:

&4&lThis&r is a &1simple&r &8&nexamp&lle &4message

----------------------------------------------------------

To use Hexadecimal colors the message must contain
the identifier (which is &) and a
# symbol. After that the hex
color code will start.
The hex color code will stop when there is
a character that is not in the range of
0-f or there is a ;.

So when a message starts with a letter like an a
the message should use a ; so that this
letter is not read as a part of the hex color code.

When the hex color code is not valid it will be read
as a normal string and included into the message.

So a message with hex color codes would look
like this:

&#da6000;A simple&r test &#B7088Amessage.

----------------------------------------------------------

Both of the ways of formatting a message - as seen
in the previous example - can be used together.
 
----------, Jan 1, 2022

Resource Information
Author:
----------
Total Downloads: 166
First Release: Dec 1, 2021
Last Update: May 8, 2022
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings