messages.yml
Defines BanManager's messages throughout the plugin.
Messages support JSON and Minecraft colour codes using the & delimiter. Use \n for new lines. Text wrapped inside square brackets i.e. [player] are tokens which will be replaced with their corresponding value. Set values to an empty string, i.e. '' if you do not wish the message to display.
| Platform | Location |
|---|---|
| CraftBukkit/Spigot/Paper | /plugins/BanManager/messages.yml |
| BungeeCord | /plugins/BanManager/messages.yml |
| Fabric | /config/banmanager/messages.yml |
| Sponge | /config/banmanager/messages.yml |
| Velocity | /plugins/BanManager/messages.yml |
duplicateIP
Sent to players with the bm.notify.duplicateips permission when the same IP address of a banned player joins.
| Token | Example | Description |
|---|---|---|
| player | confuser | Player name |
| players | JamsJar, Issy2322, SavannahF | A list of comma separated player names |
Example
&cWarning: [player] has the same IP as the following banned players:\n&6[players]Warning: confuser has the same IP as the following banned players:
JamsJar, Issy2322, SavannahF
duplicateIPAlts
Sent to players with the bm.notify.alts permission when a player joins with an IP address associated to other players.
| Token | Example | Description |
|---|---|---|
| player | confuser | Player name |
| players | JamsJar, Issy2322, SavannahF | A list of comma separated player names |
Example
&cWarning: [player] has the same IP as the following players:\n&6[players]Warning: confuser has the same IP as the following players:
JamsJar, Issy2322, SavannahF
configReloaded
Sent when the config is reloaded via /bmreload.
Example
&aConfiguration reloaded successfully!Configuration reloaded successfully!
deniedNotify
Sent to players with the bm.notify.denied.player permission when a banned player is denied from joining the server.playerToken Example Description actor JamsJar Player name who issued punishment player confuser Player name reason Hacking The cause of the punishment Example
&cWarning: [player] attempted to join the server but was denied due to &4[reason]Warning: confuser attempted to join the server but was denied due to Hacking
Sent to players with the bm.notify.denied.ip permission when a banned IP address is denied from joining the server.ipToken Example Description actor JamsJar Player name who issued punishment ip 127.0.0.1 The punished IP address, IPv4 or IPv6 reason Hacking The cause of the punishment Example
&cWarning: [ip] attempted to join the server but was denied due to &4[reason]Warning: 127.0.0.1 attempted to join the server but was denied due to Hacking
deniedMaxIp
Server join deny message when maxOnlinePerIp limit reached.
Example
&cToo many players with your ip address onlineDisconnected by Server
Too many players with your ip address online
deniedMultiaccounts
Server join deny message when maxMultiaccountsRecently limit reached.
Example
&cToo many players with your ip address logged in recentlyDisconnected by Server
Too many players with your ip address logged in recently
deniedCountry
Server join deny message when player connecting from a country not on the countries list.
| Token | Example | Description |
|---|---|---|
| country | United Kingdom | Name of country |
| countryIso | GB | ISO code of country |
Example
&cYou may not connect from your regionDisconnected by Server
You may not connect from your region
A list of components to display a length of time, e.g. temporary banning a player fortime1y2m3w4d5mis displayed as1 year 2 months 3 weeks 4 days 5 minutesnowyearyearsmonthmonthsweekweeksdaydayshourhoursminuteminutessecondseconds
Displayed when a punishment is permanent and never expiresnevererror
Displayed when entering an incorrect duration, e.g.invalid/tempban confuser 6ha HackingExample
&cYour time length is invalidYour time length is invalid
none
Displayed when no alts for a player are found via /alts command.
A list of generic messages used by most commands for common scenarios.sendererror
Displayed when attempting to perform a command on a player which cannot be found in BanManager's databasenotFoundToken Example Description player confuser Player name Example
&c[player] not found, are you sure they exist?confuser not found, are you sure they exist?
Displayed when attempting to perform a command which requires a player to be online, e.g.offline/kick <player> <reason>Token Example Description player confuser Player name Example
&c[player] is offlineconfuser is offline
Displayed when attempting to perform a command on yourself, e.g. banning yourselfnoSelfExample
&cYou cannot perform that action on yourself!You cannot perform that action on yourself!
Displayed when attempting an unknown error occurs, check your server console & logs for further information.exceptionExample
&cAn error occured whilst attempting to perform this command. Please check the console for further details.An error occured whilst attempting to perform this command. Please check the console for further details.
Displayed when attempting to perform a command with an incorrectly formatted IP address, e.g.invalidIp/banip 127.0.1Token Example Description ip 127.0.0.1 The punished IP address, IPv4 or IPv6 Example
&cInvalid IP address, expecting w.x.y.z formatInvalid IP address, expecting w.x.y.z format
Displayed when attempting to perform a command which does not support IP addresses, e.g.ipNotSupported/bminfo 127.0.0.1Example
&cFetching information by IP address is currently unsupported.Fetching information by IP address is currently unsupported.
Displayed when attempting to perform a command on an offline player without the neccessary offline permission, e.g. bm.command.ban.offlineofflinePermissionExample
&cYou are not allowed to perform this action on an offline playerYou are not allowed to perform this action on an offline player
Displayed when attempting to perform a command on a player who is exemptexemptToken Example Description player confuser Player name Example
&c[player] is exempt from that actionconfuser is exempt from that action
Displayed when attempting to perform a command without the neccessary permissions, such as attempting to use a command flag e.g.noPermission/ban -silent <player> <reason>Token Example Description player confuser Player name Example
&cYou do not have permission to perform that actionYou do not have permission to perform that action
Displayed when attempting to use a reason shortcut which does not exist, e.g.invalidReason/ban confuser #doesnotexist, requires enabling blockInvalidReasonsToken Example Description reason Hacking The cause of the punishment Example
&c[reason] is no valid reason.Hacking is no valid reason.
Messages used by the /alts commandalts
First line sent when using theheader/alts <player || ip>commandToken Example Description ip 127.0.0.1 The punished IP address, IPv4 or IPv6 Example
Possible alts found:Possible alts found:
Messages used by the /bmexport commandexporterror
Displayed when an export is already in progressinProgressExample
&cAn export is already in progress, please waitAn export is already in progress, please wait
Messages used byplayer/bmexport players
Displayed when an export beginsstartedExample
&aPlayer ban export startedPlayer ban export started
Displayed when an export successfully completesfinishedToken Example Description file banned-players-2021-06-01_12-32-10.json Location of export Example
&aPlayer ban export finished, file [file] createdPlayer ban export finished, file banned-players-2021-06-01_12-32-10.json created
Messages used byip/bmexport ips
Displayed when an export beginsstartedExample
&aIP ban export startedIP ban export started
Displayed when an export successfully completesfinishedToken Example Description file banned-ips-2021-06-01_12-32-10.json Location of export Example
&aIP ban export finished, file [file] createdIP ban export finished, file banned-ips-2021-06-01_12-32-10.json created
Messages used by the /bmimport commandimporterror
Displayed when an import is already in progressinProgressExample
&cAn import is already in progress, please waitAn import is already in progress, please wait
Messages used by /bmimport playersplayer
Displayed when an import beginsstartedExample
&aPlayer ban import startedPlayer ban import started
Displayed when an import successfully completesfinishedExample
&aPlayer ban import finishedPlayer ban import finished
Messages used by /bmimport ipsip
Displayed when an import beginsstartedExample
&aIP ban import startedIP ban import started
Displayed when an import successfully completesfinishedExample
&aIP ban import finishedIP ban import finished
Messages used by /bmimport advancedbanadvancedban
Displayed when an import beginsstartedExample
&aAdvancedBan import startedAdvancedBan import started
Displayed when an import successfully completesfinishedExample
&aAdvancedBan import finishedAdvancedBan import finished
Messages used by /bmimport h2h2
Displayed when an import beginsstartedExample
&aH2 import startedH2 import started
Displayed when an import successfully completesfinishedExample
&aH2 import finished, please restart the serverH2 import finished, please restart the server
Messages used by the /bminfo commandinfoerror
Displayed when multiple players with the same name are foundindexRequiredToken Example Description name confuser Name searched size 3 Number of players found with same name Example
&cMultiple players named [name], found, please select a player by providing an index between 1 and [size], e.g. /bminfo [name] 1Multiple players named confuser, found, please select a player by providing an index between 1 and 3, e.g. /bminfo [name] 1
Displayed when an invalid index number is provided, e.g.invalidIndex/bminfo confuser asbToken Example Description ip 127.0.0.1 The punished IP address, IPv4 or IPv6 Example
&cInvalid player option usedInvalid player option used
Displays a list of players to choose fromindexToken Example Description index 0 Option to choose name confuser Name searched uuid ae51c849-3f2a-4a37-986d-55ed5b02307f UUID of player Example
&7#[index] - &6[name] - &4[uuid]#0 - confuser - ae51c849-3f2a-4a37-986d-55ed5b02307f
stats
Displays the sum of player punishments, separated by typeplayerToken Example Description player confuser Player name playerId ae51c849-3f2a-4a37-986d-55ed5b02307f UUID of player bans 2 Total number of bans mutes 2 Total number of mutes kicks 2 Total number of kicks warns 2 Total number of warnings warnPoints 2 Total amount of warning points notes 2 Total number of notes Example
&6[player] has been banned [bans] times, muted [mutes] times, kicked [kicks] times and warned [warns] times ([warnPoints] Points) and has [notes] notesconfuser has been banned 2 times, muted 2 times, kicked 2 times and warned 2 times (2 Points) and has 2 notes
Displays the sum of IP punishments, separated by typeipToken Example Description bans 2 Total number of bans Example
&6This ip has been banned [bans] timesThis ip has been banned 2 times
Displays the player's last connectionconnectionToken Example Description player confuser Player name ip 127.0.0.1 The punished IP address, IPv4 or IPv6 lastSeen 02-06-2021 13:42:54 Date and time player last connected in dd-MM-yyyy HH:mm:ss format Example
&6Their last connection was with [ip] on [lastSeen]Their last connection was with 127.0.0.1 on 02-06-2021 13:42:54
Displays the player's geolocation information, requires geoip to be enabledgeoipToken Example Description country United Kingdom Name of country countryIso GB ISO code of country city London Name of city Example
Country: [country] City: [city]Country: United Kingdom City: London
ban
Displays the player's current permanent ban informationpermanentToken Example Description id 1 Numerical identifier (ID) player confuser Player name actor JamsJar Player name who issued punishment reason Hacking The cause of the punishment created 02-06-2021 13:42:54 Date and time punishment issued Example
&6Currently banned for &4[reason]&6 by [actor] at [created]Currently banned for Hacking by JamsJar at 02-06-2021 13:42:54
Displays the player's current temporary ban informationtemporaryToken Example Description id 1 Numerical identifier (ID) player confuser Player name actor JamsJar Player name who issued punishment reason Hacking The cause of the punishment created 02-06-2021 13:42:54 Date and time punishment issued expires 02-06-2021 13:42:54 Date and time punishment expires Example
&6Currently banned for &4[reason]&6 by [actor] at [created] which expires in [expires]Currently banned for Hacking by JamsJar at 02-06-2021 13:42:54 which expires in 02-06-2021 13:42:54
Defines the format of when the ban was issueddateTimeFormatExample
dd-MM-yyyy HH:mm:ss
ipban
Displays an associated permanent IP banpermanentToken Example Description id 1 Numerical identifier (ID) actor JamsJar Player name who issued punishment reason Hacking The cause of the punishment created 02-06-2021 13:42:54 Date and time punishment issued Example
&6Currently banned for &4[reason]&6 by [actor] at [created]Currently banned for Hacking by JamsJar at 02-06-2021 13:42:54
Displays an associated temporary IP bantemporaryToken Example Description id 1 Numerical identifier (ID) actor JamsJar Player name who issued punishment reason Hacking The cause of the punishment created 02-06-2021 13:42:54 Date and time punishment issued expires 02-06-2021 13:42:54 Date and time punishment expires Example
&6Currently banned for &4[reason]&6 by [actor] at [created] which expires in [expires]Currently banned for Hacking by JamsJar at 02-06-2021 13:42:54 which expires in 02-06-2021 13:42:54
Defines the format of when the ban was issueddateTimeFormatExample
dd-MM-yyyy HH:mm:ss
mute
Displays the player's current permanent mute informationpermanentToken Example Description id 1 Numerical identifier (ID) player confuser Player name actor JamsJar Player name who issued punishment reason Hacking The cause of the punishment created 02-06-2021 13:42:54 Date and time punishment issued Example
&6Currently muted for &4[reason]&6 by [actor] at [created]Currently muted for Hacking by JamsJar at 02-06-2021 13:42:54
Displays the player's current temporary mute informationtemporaryToken Example Description id 1 Numerical identifier (ID) player confuser Player name actor JamsJar Player name who issued punishment reason Hacking The cause of the punishment created 02-06-2021 13:42:54 Date and time punishment issued expires 02-06-2021 13:42:54 Date and time punishment expires Example
&6Currently muted for &4[reason]&6 by [actor] at [created] which expires in [expires]Currently muted for Hacking by JamsJar at 02-06-2021 13:42:54 which expires in 02-06-2021 13:42:54
See Java's DateTimeFormatter for a list of available symbols.dateTimeFormatExample
dd-MM-yyyy HH:mm:ss
website
Displays a link to view the player's profileplayerToken Example Description player confuser Player name playerId ae51c849-3f2a-4a37-986d-55ed5b02307f UUID of player Example
http://yourdomain.com/index.php?action=viewplayer&player=[player]&server=0http://yourdomain.com/index.php?action=viewplayer&player=confuser&server=0
Displays records for a player via /bminfo confuser -bans -mutes, requires permissions bm.command.bminfo.history.[type] depending on record types.historyrowToken Example Description id 1 Numerical identifier (ID) type Ban The record type reason Hacking The cause of the punishment actor JamsJar Player name who issued punishment created 02-06-2021 13:42:54 Date and time punishment issued meta 5 Additional information pertaining to the record e.g. warning points Example
&7#[id] &a[&f[type]&a] &6[actor]&f [meta] [reason] - &e[created]#1 [Ban] JamsJar 5 Hacking - 02-06-2021 13:42:54
Displayed when no records foundnoResultsExample
&cNo results foundNo results found
See Java's DateTimeFormatter for a list of available symbols.dateTimeFormatExample
dd-MM-yyyy HH:mm:ss
Shows join and leave times of player via /bminfo confuser -ips, requires permission bm.command.bminfo.history.ips and requires logIps to be enabled.ipsrowToken Example Description ip 127.0.0.1 The punished IP address, IPv4 or IPv6 join 02-06-2021 13:42:54 Date and time player joined the server leave 02-06-2021 13:42:54 Date and time player left the server Example
&e[ip] - &6[join] - [leave]127.0.0.1 - 02-06-2021 13:42:54 - 02-06-2021 13:42:54
See Java's DateTimeFormatter for a list of available symbols.dateTimeFormatExample
dd-MM-yyyy HH:mm:ss