Config - SniperFodder/DispNameChanger GitHub Wiki

This has the config settings used by the plugin.

# Message settings change the behavior of DNC in regards to
#   the login/logout, kick, and death messages including the
#   display name.
# true: message should be changed to include display name.
# false: message should be left alone.
# ----
# Global-Announce sets whether a global announcement of display
#   names to users should be made whenever one is changed.
#   Target represents either Admins only, or All users.
# ALL: All users will recieve the name change broadcast.
# ADMIN: Only users with the permission node 'dispname.announce'
#   will recieve broadcasts.
# ----
# Prefix toggles whether a character is prepended to display
#   names. The default character is +. If a string is provided,
#   the first character in the string is used as the prefix.
#   If the string is blank, the default is used.
#   The prefix character MUST BE ENCLOSED IN SINGLE QUOTES (' ')!
#   The color code allows you to change the color of the prefix
#   to be used. You do not have to put a & or # to specify the color
#   code.
# Color Codes can be found here:
# http://www.minecraftwiki.net/wiki/Classic_server_protocol#Color_Codes
# ----
# Scoreboard toggles the use of the scoreboard integration.
#   Note: Integration into scoreboard will force the player 
#   display names to be unique. Names longer than 16 characters
#   will be truncated on the player list. Each color code counts
#   for two characters.
# ----
# Language is used to set the language that the plugin will
#   use for it's messages.
# Valid values: en_US, fr
# ----
# Save sets when you want DNC to save the Display Names to the
#   database. This allows you to adjust DNC's saving behaviour to
#   match your plugin configuration. An example of this is if you
#   use MobDisguise on your server. If you quite while disguised,
#   your Display Name will be erased or changed if you have save
#   on quit enabled. Another Example is if you have a plugin that
#   colors DisplayNames seperatly from DNC. If you color your display
#   name after changing it, you will lose those changes if saving is
#   disabled on quit.
#   Valid Values: True or False
#       Rename: Save whenever a player is renamed.
#       Quit: Save whenever a player leaves the server.
# ----
# Commands allows a user to filter out commands from going under the
#   display name replacement process that allow the use of display
#   names in commands. i.e /msg SuperBob heya SuperBob how are you?
#   In the example, SuperBob would normaly be replaced by userbob225,
#   SuperBob's actual user name.
#   To use this feature, add a command followed by how many replacements
#   should be allowed. i.e. msg: 0 would completly prevent any names
#   from being replaced. msg: 1 would allow 1 name to be replaced, and
#   so on and so forth.
# Valid Values: Command followed by any integer between 0 and N where
#   N is infinite. If an invalid value or negative number is used, 0 is
#   used by default.
# Example:
#   commands:
#       msg: 1
Node Definition Default value Valid Values
messages.death Enables display name replacement for death messages. true True/False
messages.kick Enables display name replacement for kick messages. true True/False
messages.quit Enables display name replacement for quit messages. true True/False
global-announce.enabled Enables global announcement of display name changes. Now you can follow them pesky griefers! true True/False
global-announce.target The target to which you global announce messages are printed to. ALL ALL, ADMIN
prefix.enabled Enable the use of prefixes before display names for distinguishing changed names. true True/False
prefix.character A single character surrounded by single quotes ' ' that will be used as the prefix. Double and single quotes are disallowed. '+' Any character except " and '
prefix.color.enabled Enable the use of colors with the prefix. true True/False
prefix.color.code The color that you can use for the prefix excluding the color character. e 0-9, a-f, k
scoreboard Enables player list integration. false True/False
language Changes the language that the plugin will use for it's messages. en_US en_US, fr
save.rename Enables saving the displayname to the DB on rename. True True/False
save.quit Enables saving the displayname to the db on quit/kick. False True/False
commands.[command] Allows user to list commands + maximum replaces of display names. N/A 0-N on Integer Arg
⚠️ **GitHub.com Fallback** ⚠️