Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # The following variables can be used in most messages that involve a punishment:
- #
- # Punishment specific variables
- # $id - The ID of the punishment in the database.
- # $type - Type of punishment - ban, mute, warn, kick.
- # $reason - the reason for the punishment
- # $executor - the moderator's name, or their display name (/nick) if this is enabled in the configuration
- # $executorUUID - the moderator's UUID
- # $permanent - whether this punishment is permanent
- # $ipban - whether this is an IP-ban
- # $silent - whether this punishment was executed silently (-s)
- # $active - whether this punishment is active
- #
- # Affected player specific variables
- # $playerDisplayName - player display name. If display names are not enabled in the configuration or if the player's display name is not available in the message's context, the player's regular name will be used instead.
- # $playerName - player name, only available in certain contexts
- # $playerUUID - UUID of affected player
- # $playerIP - IP of affected player
- # $geoip - Country of affected player, requires GeoIP to be enabled in the configuration, won't work with imported bans
- #
- # Servers
- # These variables represent a server.
- # If the plugin is installed on Spigot, a server is represented by the "server_name" option in config.yml.
- # If the plugin is installed on BungeeCord, a server is represented by their name in the "servers" section in the proxy's config.yml.
- # $serverScope - the scope of the punishment (the server(s) it will affect)
- # $serverOrigin - the origin of the punishment (the server/subserver it was placed on)
- #
- # Dates
- # Example format: "2017-02-03", depends on time_format
- # $dateStart - date the punishment was placed
- # $dateEnd - date the punishment will expire, "forever" if permanent
- #
- # Durations
- # Example format: "20 days, 5 hours, 2 minutes". If permanent, "forever", if expired, "expired" (both are configurable).
- # $duration - time until expiry
- # $originalDuration - the full duration of the punishment.
- # $timeSince - time since placement
- #
- # Placeholders
- # These variables represent messages in this configuration (messages.yml)
- # $base - banned_message_base
- # $appealMessage - banned_message_appeal_message
- #
- # Global variables
- # $activeBans, $activeMutes, $activeWarnings - total number of global active punishments
- # $totalBans, $totalMutes, $totalWarnings - total number of global punishments (including inactive ones)
- #
- # Any message can be disabled by setting it to "". ""Empty messages will not be sent by the plugin.
- # https://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html
- # Example time format with hours + minutes:
- # time_format: 'dd/MM/yyyy HH:mm'
- time_format: yyyy-MM-dd
- history_time_format: yyyy-MM-dd
- banned_message_base: |
- &8>> &b&lBANNED &8<<
- &bBanned On &8> &7$dateStart
- &bBanned By &8> &7$executor
- &bReason &8> &7$reason&f
- banned_message: |-
- $base
- &bDuration &8> &7$duration
- $appealMessage
- banned_message_permanent: |-
- $base
- &bDuration &8> &7Permanent
- $appealMessage
- banned_message_appeal_message: '&b&lAPPEAL &8> &7https://barbarianfactions.com'
- banned_message_geoip_blacklist: |-
- &8>> &b&lBANNED &8<<
- &bReason &8> &7Blacklisted Region - $geoip
- default_ban_reason: 'Rules Violation'
- default_mute_reason: 'Rules Violation'
- permission_error: '&3&lStaff &8>> &7Insufficient permissions.'
- muted: '&b&lCHAT &8> &7You cannot chat for &b$duration remaining&7!'
- muted_permanent: '&b&lChat &8> &7You are permanently muted!'
- notify:
- banned_player_join: '&b&lALERT &8> &b$player&7 attempted to join while banned.'
- banned_geoip_blacklist: '&b&lALERT &8> &b$player &7attempted to join while blacklisted.'
- error_no_reason_provided: '&3&lStaff &8>> &7You must add a reason to this punishment.'
- error_no_sql_connection: '&b&lERROR &8> &7LiteBans is not connected to a database!'
- internal_error: '&b&lERROR &8> &7An internal error occurred while attempting to execute this command.'
- duration_limit_error: '&3&lStaff &8>> &7You can only use durations up to &b$duration&7!'
- warned_join: '&b&LALERT &8> &7You have received warnings!'
- warned_join_entry: |-
- &8&m-----------------------------------------------------
- &8>> &b&lWARNED &8<<
- &bWarned by &8> &7$executor
- &bReason &8> &7$reason
- &bIssued &8> &7$timeSince ago
- &8&m-----------------------------------------------------
- command:
- ban:
- usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/ban <player> [duration] [reason] [-s]\n&bExample &8> &7/ban Console 7d Hacking -s\n&8&m-----------------------------------------------------'
- unban_usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/unban <player> [-s]\n&bExample &8> &7/unban Console -s\n&8&m-----------------------------------------------------'
- example: ""
- silent_prefix: '&f[&7Silent&f] '
- broadcast_ban: '&8&m-----------------------------------------------------\n&b$bannedPlayer &7has been &bbanned&7!\n&bBanned by &8> &7$banningPlayer\n&bReason &8> &7$reason\n&8&m-----------------------------------------------------'
- broadcast_tempban: '&8&m-----------------------------------------------------\n&b$bannedPlayer &7has been &bbanned&7!\n&bBanned by &8> &7$banningPlayer\n&bReason &8> &7$reason\n&bDuration &8> &7$tempDuration\n&8&m-----------------------------------------------------'
- broadcast_ip_ban: '&8&m-----------------------------------------------------\n&b&a$bannedPlayer &7has been &bIP-banned&7!\n&bBanned by &8> &7$banningPlayer\n&bReason &8> &7$reason&f&8&m-----------------------------------------------------'
- broadcast_temp_ip_ban: '&8&m-----------------------------------------------------\n&b$bannedIP &7has been &bIP-banned&7!\n&bBanned by &8> &7$banningPlayer\n&bReason &8> &7$reason\n&bDuration &8> &7$tempDuration\n&8&m
- &8&m-----------------------------------------------------'
- broadcast_ip_ban_hidden: '[Hidden IP]'
- broadcast_unban: '&b&lALERT &8> &b$executor &7unbanned &b$bannedPlayer&7!'
- previous_ban_removed: '&3&lStaff &8>> &7You have removed the previous ban on &b$bannedPlayer&7!'
- previous_ban_existing: '&3&lStaff &8>> &b$bannedPlayer &7is already banned!'
- unban_queue: '&3&lStaff &8>> &7If the user attempts to reconnect, they will be banned.'
- error_no_spec: '&3&lStaff &8>> &7You must provide a time specification!'
- unban_fail: '&3&lStaff &8>> &7This player is not banned!'
- exempt: '&3&lStaff &8>> &7You cannot ban &b$player&7!'
- no_override: '&3&lStaff &8>> &7This player is already banned!'
- response: ''
- mute:
- usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/mute <player> [duration] [reason] <-s>\n&bExample &8> &7/mute Console 7d Spam -s\n8&m-----------------------------------------------------'
- unmute_usage: '&8&m-----------------------------------------------------&bUsage &8> &7/unmute <player> -s\n&bExample &8> &7/unmute Console -s\n&8&m-----------------------------------------------------'
- example: ""
- broadcast: '&8&m-----------------------------------------------------&b$playerName &7has been &bmuted&7!\n&bMuted by &8> &7$executor\n&bReason &8> &7$reason\n&8&m-----------------------------------------------------'
- broadcast_tempmute: '&8&m-----------------------------------------------------&b$playerName &7has been &bmuted&7!\n&bMuted by &8> &7$executor\n&bReason &8> &7$reason\n
- &bDuration &8> &7$tempDuration\n&8&m-----------------------------------------------------'
- broadcast_unmute: '&b&lALERT &8> &b$executor &7unmuted &b$playerName'
- message: |-
- &8&m-----------------------------------------------------
- &8>> &b&lMUTED &8<<
- &bMuted by &8> &7$executor
- &bReason &8> &7$reason
- &bDuration &8> &7$duration
- &8&m-----------------------------------------------------
- message_permanent: |-
- &8&m-----------------------------------------------------
- &8>> &b&lMUTED &8<<
- &bMuted by &8> &7$executor
- &bReason &8> &7$reason
- &bDuration &8> &7Permanent
- &8&m-----------------------------------------------------
- unmute_fail: '&3&lStaff &8>> &7This player is not muted!'
- previous_mute_removed: '&3&lStaff &8>> &7You have removed the previous mute on &b$bannedPlayer&7!'
- previous_mute_existing: '&3&lStaff &8>> &b$bannedPlayer &7is already banned!'
- exempt: '&3&lStaff &8>> &7You cannot ban &b$player&7!'
- notification: '&3&lStaff &8>> &7$mutedPlayer &7attempted to speak while muted!'
- error_not_enabled: '&3&lStaff &8>> &7Muting is disabled in the plugin configuration!'
- broadcast_ip_mute: '&8&m-----------------------------------------------------\n&b$mutedPlayer &7has been &bmuted&7!\n&bMuted by &8> &7$executor\n&bReason &8> &7$reason\n&8&m-----------------------------------------------------'
- broadcast_temp_ip_mute: '&8&m-----------------------------------------------------\n&b$mutedIP &7has been &bIP-muted&7!\n&bMuted by &8> &7$executor\n&bReason &8> &7$reason\n &8> &7Duration &8> &7$tempDuration\n&8&m-----------------------------------------------------'
- no_override: '&3&lStaff &8>> &7This player is already muted!'
- response: ''
- warn:
- usage: '&8&m-----------------------------------------------------&bUsage &8> &7/warn <player> [duration] [reason] -s\n&bExample &8> &7/unwarn Console -s\n&8&m-----------------------------------------------------'
- unwarn_usage: '&8&m-----------------------------------------------------&bUsage &8> &7/unwarn <player> -s\n&bExample &8> &7/unwarn Console -s\n&8&m-----------------------------------------------------'
- example: ""
- broadcast: '&8&m-----------------------------------------------------&b$warnedPlayer &7has been &bwarned!\n&bWarned by &8> &7$executor\n&bReason &8> &7$reason\n &8> &bDuration &8> &7$duration\n&8&m-----------------------------------------------------'
- message: |-
- &8&m-----------------------------------------------------
- &8>> &b&lWARNED &8<<
- &bWarned by &8> &7$executor
- &bReason &8> &7$reason
- &bDuration &8> &7$duration
- &8&m-----------------------------------------------------
- list_entry: ' \- &7Warned by &b$executor &8> &7$reason'
- unwarn_response: '&3&lStaff &8>> &7You have removed the previous warning on &b$player&7!'
- unwarn_fail: '&3&lStaff &8>> &7This player has no warnings!'
- exempt: '&3&lStaff &8>> &7You cannot warn &b$player&7!'
- cooldown: '&3&lStaff &8>> &7You must wait &b$seconds seconds &7to punish this player again!'
- response: ""
- history:
- usage: '&8&m-----------------------------------------------------&bUsage &8> &7/history <player>\n&bExample &8> &7/history Console\n&8&m-----------------------------------------------------'
- start: '&3&lStaff &8>> &7Loaded history of &b$target&&!'
- ban_entry: |-
- &8 >> &b&l$timeSince Ago &8<<&r
- &b $name &7was &bbanned &7by &b$executor &8> &7$reason'
- mute_entry: |-
- &8 >> &b&l$timeSince Ago &8<<&r
- &b $name &7was &bmuted &7by &b$executor &8> &7$reason'
- warn_entry: |-
- &8 >> &b&l$timeSince Ago &8<<&r
- &b $name &7was &bwarned &7by &b$executor &8> &7$reason'
- kick_entry: |-
- &8 >> &b&l$timeSince Ago &8<<&r
- &b $name &7was &bkicked &7by &b$executor &8> &7$reason'
- active_suffix: '&8 [&bActive&8]'
- active_suffix_temp: |-
- &8 [&bActive&8] &7Until &8> &7$duration
- error_no_history: '&bNo history found.'
- unban_entry: |2-
- &f$name was &7unbanned &fby $executor.
- unmute_entry: |2-
- &f$name was &7unmuted &fby $executor.
- expired_suffix: '&8 [&3Expired&8]'
- warnings:
- usage: '&8&m-----------------------------------------------------&bUsage &8> &7/warnings <player>\n&bExample &8> &7/warnings Console\n&8&m-----------------------------------------------------'
- start: '&3&lStaff &8>> &7Loaded warnings for &b$target&7!'
- prunehistory:
- usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/prunehistory <player> [duration]\n&bExample &8> &7/prunehistory StaffMember 7d\n&8&m-----------------------------------------------------'
- message: '&3&lStaff &8>> &7History pruned!'
- staffhistory:
- usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/staffhistory <player>\n&bExample &8> &7/staffhistory StaffMember\n&8&m-----------------------------------------------------'
- start: '&3&lStaff &8>> &7Loaded staff history of &b$target&7!'
- staffrollback:
- usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/staffrollback <player> [duration]\n&bExample &8> &7/staffrollback StaffMember 7d\n&8&m-----------------------------------------------------'
- message: '&3&lStaff &8>> &7Rollback completed, &b$amount &7punishments have been reversed.'
- banlist:
- start: '&8>> &b&lBANLIST &8[&b$page&8/&b$total&8] <<'
- iphistory:
- usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/iphistory <player>\n&bExample &8> &7/iphistory Console\n&8&m-----------------------------------------------------'
- start: '&3&lStaff &8>> &7Loaded login history of &b$target&7!'
- entry: '&8 - [&b$date&8]&b $name &8> &7 $ip'
- error_no_history: '&bNo history found.'
- dupeip:
- usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/dupeip <player>\n&bExample &8> &7/dupeip Console\n&8&m-----------------------------------------------------'
- start: '&3&lStaff &8>> &7Scanning &b$name&7 on &b$ip&7! &8[&bOnline&8] [&7Offline&8] [&3Banned&8] [&6Muted&8]'
- start_no_ip: '&3&lStaff &8>> &7Scanning &v$name&7! &8[&bOnline&f] [&7Offline&8] [&3Banned&8] [&6Muted&8]'
- separator: '&7, '
- online: '&b'
- offline: '&7'
- banned: '&3'
- muted: '&6'
- multiple_addresses: '[$num addresses]'
- ipreport:
- start: '&3&lStaff &8>> &7Scanning &b$num&f &7online players! &8[&bOnline&f] [&7Offline&8] [&3Banned&8] [&6Muted&8]'
- entry: '&b$player &8> &7$result'
- checkban:
- usage: '&8&m-----------------------------------------------------&bUsage &8> &7/checkban <player>\n&bExample &8> &7/checkban BannedPlayer\n&8&m-----------------------------------------------------'
- no_ban: '&3&lStaff &8>> &7This player is not banned!'
- banned: |-
- &b$target &7is banned!
- &bBanned by &8> &7$executor
- &bReason &8> &7$reason
- &bBanned on &8> &7$dateStart
- &bBanned until &8> &7$dateEnd ($duration)
- &bIP-ban &8> &7$ipban
- &bSilent &8> &7$silent
- &bPermanent &8> &7$permanent
- checkmute:
- usage: '&8&m-----------------------------------------------------&bUsage &8> &7/checkmute <player>\n&bExample &8> &7/checkmute MutedPlayer\n&8&m-----------------------------------------------------'
- no_mute: '&bTarget is not muted!'
- muted: |-
- &b$target &7is muted!
- &bMuted by &8> &7$executor
- &bReason &8> &7$reason
- &bMuted on &8> &7$dateStart
- &bMuted until &8> &7$dateEnd ($duration)
- &bIP-mute &8> &7$ipban
- &bSilent &8> &7$silent
- &bPermanent &8> &7$permanent
- lastuuid:
- usage: '&8&m-----------------------------------------------------&bUsage &8> &7/lastuuid <player|IP>\n&bExample &8> &7/lastuuid Console\n&8&m-----------------------------------------------------'
- message: '&3&lStaff &8>> &7Last UUID of &b$name &8> &7$uuid'
- geoip:
- usage: '&8&m-----------------------------------------------------&bUsage &8> &7/geoip <player|IP>\n&bExample &8> &7/geoip Console\n&8&m-----------------------------------------------------'
- message: '&3&lStaff &8>> &v$target&7 is likely from &b$result&7!'
- error_disabled: '&3&lStaff &8>> &7GeoIP support is not enabled in the configuration!'
- error_unavailable: '&3&lStaff &8>> &7GeoIP support is currently unavailable, not downloaded!'
- error_not_found: '&3&lStaff &8>> &7Information for &b$target &7could not be found.'
- lockdown:
- usage: '&8&m-----------------------------------------------------&bUsage &8> &7/lockdown <reason> | /lockdown end\n&bExample &8> &7/lockdown Maintenance\n&8&m-----------------------------------------------------'
- message: '&3&lStaff &8>> &7Server lockdown activated with reason &b$reason&7!'
- stopped: '&3&lStaff &8>> &7Lockdown has been deactivated!'
- kick_message: |-
- &8>> &b&lLOCKDOWN &8<<
- &r
- &7A server lockdown is in effect!
- &bReason &8> &7$reason
- error_not_active: '&3&lStaff &8>> &7There is no lockdown enabled!'
- kick:
- usage: '&8&m-----------------------------------------------------&bUsage &8> &7/kick <player> [reason] [-s]\n&bExample &8> &7/kick Console -s\n&8&m-----------------------------------------------------'
- no_match: '&3&lStaff &8>> &7Invalid player!'
- message: '&bKicked &7by &b$executor &8> &7$reason'
- message_no_reason: '&bKicked &7by &b$executor&7!'
- response: ''
- broadcast: '&8&m-----------------------------------------------------\n&b$player &7has been &bkicked&7!\n&bKicked by &8> &7$executor\n&bReason &8> &7$reason\n&8&m-----------------------------------------------------'
- broadcast_no_reason: '&8&m-----------------------------------------------------\n&b$player&f has been &bkicked&7!\n&bKicked by &8> &7$executor\n&8&m-----------------------------------------------------'
- exempt: '&3&lStaff &8>> &7You cannot kick &b$player&7!'
- kick_requested: '&3&lStaff &8>> &b$player &7is not online and a cross-server kick has been requested!'
- togglechat:
- toggle_off: '&3&lStaff &8>> &7Chat has been toggled off!'
- toggle_on: '&3&lStaff &8>> &7Chat has been toggled on!'
- clearchat:
- broadcast: '&b&lALERT &8> &7Chat has been cleared by &b$executor&7!'
- mutechat:
- response: '&b&lCHAT &8> &7The server chat is disabled!'
- broadcast_disabled: '&b&lALERT &8> &7Chat has been disabled by &b$executor&7!'
- broadcast_enabled: '&b&lALERT &8> &7Chat has been enabled by &b$executor&7!'
- litebans:
- reload_success: '&b&lLITEBANS &8> &7LiteBans reloaded successfully!'
- reload_fail_connect: '&b&lLITEBANS &8> &7LiteBans reloaded but failed to connect to database!'
- add_history_usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/litebans addhistory <name> <UUID> <IP>\n&8&m-----------------------------------------------------'
- add_history: '&3&lStaff &8>> &7History added!'
- fix_history: '&3&lStaff &8>> &7Fixing history of &btable $table&7!'
- fix_history_result: '&3&lStaff &8>> &b$entries &7entries have been added!'
- import_usage: '&b&lLITEBANS &8> &7&bUsage &8> &7/litebans import start'
- import_start: '&b&lLITEBANS &8> &7Importing from &b$db&7, this might take a while!'
- import_finish: '&b&lLITEBANS &8> &7Import finished successfully. &b$bans bans &7imported, &b$ipbans IP-bans&7!'
- import_finish_litebans: '&b&lLITEBANS &8> &7Import finished successfully. Added &b$amount entries &7to the database!'
- import_fail: '&b&lLITEBANS &8> &7Import failed. Check console!'
- import_unsupported: '&b&lLITEBANS &8> &7Importing from &b$name &7is not supported yet!'
- sqlexec_success: '&b&lLITEBANS &8> &7SQL query executed successfully!'
- sqlexec_failure: '&b&lLITEBANS &8> &7Failed to execute!'
- duration:
- expired: expired
- forever: forever
- year: year
- years: years
- month: month
- months: months
- week: week
- weeks: weeks
- day: day
- days: days
- hour: hour
- hours: hours
- minute: minute
- minutes: minutes
- second: second
- seconds: seconds
- strings:
- global: global
- 'null': undefined
- 'true': true
- 'false': false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement