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
- # $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.
- #
- # JSON examples:
- # broadcast_ban: '&e$bannedPlayer &chas been banned. {hoverText: &aHover text here!}'
- # Hover text requires "litebans.json.hover_text" to view, players without this permission will see messages without hover text.
- #
- # 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&m-------------------------------------------
- &eYour account n&eReason &8» &6$reason
- &eBanned by &8» &6$executor
- &eYou may appeal at &6www.dandycraft.cz&e.
- &8&m-------------------------------------------
- banned_message: |-
- &8&m-------------------------------------------
- &eYour account has n&eReason &8» &6$reason
- &eBanned by &8» &6$executor
- &eDuration &8» &6$duration
- &eYou may appeal at &6www.dandycraft.cz&e.
- &8&m-------------------------------------------
- banned_message_permanent: $base
- banned_message_appeal_message: 'Appeal at: &nwww.dandycraft.cz'
- banned_message_geoip_blacklist: |-
- &eYou are banned from this server!&f
- Your location is blacklisted: $geoip
- default_ban_reason: Cheating
- default_mute_reason: Spamming
- permission_error: '&eYou don''t have permission!'
- muted: '&eYou are muted! ($duration remaining)!'
- muted_permanent: '&eYou are permanently muted!'
- notify:
- banned_player_join: '&e$player&f tried to join, but is banned ($duration)!'
- banned_geoip_blacklist: '&e$player&f tried to join, but is blacklisted ($geoip)!'
- error_no_sql_connection: '&eLiteBans is not connected to a database!'
- internal_error: '&eAn internal error occurred while attempting to perform this command.'
- duration_limit_error: '&eMaximum duration allowed: $duration'
- warned_join: '&eYou have new warnings:'
- warned_join_entry: |-
- &8&m-----------------------------------------
- &eYou have been warned by &8» &6$executor
- &eReason &8» &6$reason
- &8&m-----------------------------------------
- command:
- ban:
- usage: '&eUsage: /ban [-s] <player> [time spec] [reason]'
- unban_usage: '&eUsage: /unban <player>'
- example: '&eExample: /ban Player 7d [reason]'
- silent_prefix: '&f[&7Silent&f] '
- broadcast_ban: |-
- &8&m-----------------------------------------&r
- &7» &6$bannedPlayer &ehas been banned by &6$executor
- &7» &eReason: &6$reason
- &8&m-----------------------------------------
- broadcast_tempban: |-
- &8&m-----------------------------------------&r
- &7» &6$bannedPlayer &ehas been temporarily banned by &6$executor
- &7» &eReason: &6$reason
- &7» &eDuration: &6$duration
- &8&m-----------------------------------------
- broadcast_ip_ban: '&6$bannedPlayer &ehas been blacklisted by &6$executor'
- broadcast_temp_ip_ban: '&e$executor &ftemp IP-banned &e$bannedIP &ffor $tempDuration
- for ''&e$reason&f'''
- broadcast_ip_ban_hidden: '[Hidden IP]'
- broadcast_unban: '&6$bannedPlayer &ehas been unbanned by &6$executor'
- previous_ban_removed: '&ePrevious ban for $bannedPlayer removed.'
- previous_ban_existing: '&e$bannedPlayer is already banned, and you do not have
- permissions to replace existing bans.'
- unban_queue: '&6If they try to reconnect, they will be unbanned.'
- error_no_spec: '&eNo valid time specification detected!'
- unban_fail: '&eTarget is not banned!'
- exempt: '&eYou can''t ban $player!'
- broadcast_unmute: '&6$unmutedPlayer &ehas been unmuted by &6$executor'
- no_override: '&ePlayer is already banned!'
- response: ''
- cooldown: '&cYou need to wait $seconds seconds before you can use this command
- again.'
- mute:
- usage: '&eUsage: /mute [-s] <player> [time spec] [reason]'
- unmute_usage: '&eUsage: /unmute <player>'
- example: '&eExample: /mute Player 7d [reason]'
- broadcast: |-
- &8&m-----------------------------------------&r
- &7» &6$mutedPlayer &ehas been muted by &6$executor
- &7» &eReason: &6$reason
- &8&m-----------------------------------------
- broadcast_tempmute: |-
- &8&m-----------------------------------------&r
- &7» &6$mutedPlayer &ehas been muted by &6$executor
- &7» &eReason: &6$reason
- &7» &eDuration: &6$duration
- &8&m-----------------------------------------
- unmute_fail: '&eTarget is not muted!'
- previous_mute_removed: '&ePrevious mute for $mutedPlayer removed.'
- previous_mute_existing: '&e$mutedPlayer is already muted, and you do not have
- permissions to replace existing mutes.'
- exempt: '&eYou can''t mute $player!'
- notification: '&e$mutedPlayer tried to speak, but is muted.'
- error_not_enabled: '&eMuting is not enabled in the configuration!'
- broadcast_ip_mute: '&e$executor &fIP-muted &e$mutedPlayer &ffor ''&e$reason&f'''
- broadcast_temp_ip_mute: '&e$executor &ftemp IP-muted &e$mutedIP &ffor $tempDuration
- for ''&e$reason&f'''
- message: |-
- &8&m-----------------------------------------
- &eYou have been warned by &8» &6$executor
- &eReason &8» &6$reason
- &eDuration &8» &6$duration
- &8&m-----------------------------------------
- message_permanent: |-
- &8&m-----------------------------------------
- &eYou have been permanently muted by &8» &6$executor
- &eReason &8» &6$reason
- &8&m-----------------------------------------
- no_override: '&ePlayer is already muted!'
- response: ''
- broadcast_unmute: '&a$executor &funmuted &a$bannedPlayer'
- warn:
- usage: '&eUsage: /warn [-s] <player> [reason]'
- unwarn_usage: '&eUsage: /unwarn <player>'
- example: ''
- broadcast: |-
- &8&m-----------------------------------------&r
- &7» &6$warnedPlayer &ehas been warned by &6$executor
- &7» &eReason: &6$reason
- &8&m-----------------------------------------
- message: |-
- &8&m-----------------------------------------
- &eYou have been warned by &8» &6$executor
- &eReason &8» &6$reason
- &8&m-----------------------------------------
- list_entry: ' \- Warned by $executor: ''$reason&f'' ($timeSince ago)'
- unwarn_response: '&eLast warning removed for $player.'
- unwarn_fail: '&eTarget has no warnings!'
- exempt: '&eYou can''t warn $player!'
- cooldown: '&eYou need to wait $seconds seconds before $player can be warned again.'
- response: ''
- history:
- usage: '&e/history <player> [entries=10]'
- start: '&eHistory for $target (Limit: $limit):'
- ban_entry: |-
- &e -- [&f$timeSince ago&e] --&f
- $name was &ebanned &fby $executor: '&e$reason&f'
- mute_entry: |-
- &e -- [&f$timeSince ago&e] --&f
- $name was &7muted &fby $executor: '&e$reason&f'
- warn_entry: |-
- &e -- [&f$timeSince ago&e] --&f
- $name was &6warned &fby $executor: '&e$reason&f'
- kick_entry: |-
- &e -- [&f$timeSince ago&e] --&f
- $name was &ekicked &fby $executor: '&e$reason&f'
- active_suffix: '&f [&eActive&f]'
- active_suffix_temp: |-
- &f [&eActive&f]
- Expires in $duration.
- error_no_history: '&eNo history found.'
- unban_entry: |2-
- &f$name was &7unbanned &fby $executor.
- unmute_entry: |2-
- &f$name was &7unmuted &fby $executor.
- expired_suffix: '&f [&8Expired&f]'
- warnings:
- usage: '&e/warnings <player>'
- start: '&eActive warnings for $target:'
- prunehistory:
- usage: '&e/prunehistory <player> [duration]'
- message: '&eHistory pruned.'
- staffhistory:
- usage: '&e/staffhistory <player> [entries=10]'
- start: '&eStaff history for $target (Limit: $limit):'
- staffrollback:
- usage: '&e/staffrollback <player> [duration]'
- message: '&eRollback completed, total entries removed: $amount'
- banlist:
- start: '&f=== &ePage &6$page&e out of &6$total&f ==='
- iphistory:
- usage: '&e/iphistory <player> [entries=10]'
- start: '&eLogin history for $target (Limit: $limit):'
- entry: '&e - [&f$date&e]&f $name&e:&f $ip'
- error_no_history: '&eNo history found.'
- dupeip:
- usage: '&e/dupeip <player>'
- start: '&fScanning &7$name&f on &e$ip&f. &f[&eOnline&f] [&7Offline&f] [&eBanned&f]'
- separator: '&f, '
- online: '&e'
- offline: '&7'
- banned: '&e'
- multiple_addresses: '[$num addresses]'
- start_no_ip: '&fScanning &7$name&f. &f[&eOnline&f] [&7Offline&f] [&eBanned&f]'
- muted: '&6'
- ipreport:
- start: '&fScanning &e$num&f online players.. [&eOnline&f] [&7Offline&f] [&eBanned&f]'
- entry: '&f$player&e: $result'
- checkban:
- usage: '&e/checkban <player>'
- no_ban: '&eTarget is not banned!'
- banned: |-
- &eTarget &f[&e$target&f]&e is banned:
- Banned by: $executor
- Reason: $reason&e
- Banned on: $dateStart
- Banned until: $dateEnd ($duration)
- IP ban: $ipban, silent: $silent, permanent: $permanent
- lastuuid:
- usage: '&e/lastuuid <player|IP>'
- message: '&fLast UUID for &e$name&f: &e$uuid'
- geoip:
- usage: '&e/geoip <player|IP>'
- message: '&e$target&f is from: &e$result'
- error_disabled: '&eGeoIP support is not enabled in the configuration!'
- error_unavailable: '&eGeoIP support is currently unavailable, has it been downloaded
- yet?'
- error_not_found: '&eGeoIP information for $target not found.'
- lockdown:
- usage: '&e/lockdown <reason> | /lockdown end'
- message: '&eServer lockdown activated (reason: "$reason&e")'
- stopped: '&eLockdown has been deactivated.'
- kick_message: |-
- Server lockdown active, try again later.
- Reason: $reason
- error_not_active: '&eLockdown is not active!'
- kick_message_global: |-
- Network lockdown active, try again later.
- Reason: $reason
- kick:
- usage: '&e/kick <player> [reason]'
- no_match: '&eError: &6Player not found.'
- message: 'Kicked by $executor: $reason'
- message_no_reason: Kicked by $executor.
- response: '&6$player &ehas been kicked by &6$executor'
- broadcast: '&6$player &ehas been kicked by &6$executor'
- broadcast_no_reason: '&6$player &ehas been kicked by &6$executor'
- exempt: '&eYou can''t kick $player!'
- kick_requested: '&6Player $player is not online on this server. Cross-server kick
- has been requested.'
- togglechat:
- toggle_off: '&eChat has been toggled off.'
- toggle_on: '&eChat has been toggled on.'
- clearchat:
- broadcast: '&eChat has been cleared by $executor.'
- litebans:
- reload_success: '&eLiteBans reloaded successfully.'
- reload_fail_connect: '&eLitebans reloaded. &eFailed to connect to database.'
- add_history_usage: '&e/litebans addhistory <name> <UUID> <IP>'
- add_history: '&eHistory added.'
- fix_history: '&eFixing history for table $table...'
- fix_history_result: '&eAdded $amount entries.'
- import_usage: '&e/litebans import start'
- import_start: '&eImporting from $db, this might take a while...'
- import_finish: '&eImport finished successfully. $bans bans imported, $ipbans IP-bans.'
- import_finish_litebans: '&eImport finished successfully. Added $amount entries
- to the database.'
- import_fail: '&eImport failed. Check console.'
- import_unsupported: '&eImporting from ''$name'' is not supported yet!'
- sqlexec_success: '&eSQL query executed successfully.'
- sqlexec_failure: '&eFailed to execute.'
- reload_fail: '&eReload failed.'
- reload_fail_config: |-
- &e[LiteBans] &6config.yml is not valid and could not be loaded, the default configuration will be used.
- &ePlease check the server console for more information.
- reload_fail_messages: |-
- &e[LiteBans] &6messages.yml is not valid and could not be loaded, default messages will be used.
- &ePlease check the server console for more information.
- fix_history_offline_uuids: '&e$amount UUIDs were not fetched from Mojang since
- they are offline-mode UUIDs.'
- checkmute:
- usage: '&e/checkmute <player>'
- no_mute: '&eTarget is not muted!'
- muted: |-
- &eTarget &f[&e$target&f]&e is muted:
- &eMuted by: $executor
- &eReason: $reason&r
- &eMuted on: $dateStart
- &eMuted until: $dateEnd ($duration)
- &eMuted on server &6$serverOrigin&e, server scope: &6$serverScope
- &eIP mute: $ipban, silent: $silent, permanent: $permanent
- mutechat:
- response: '&eServer chat is currently disabled!'
- broadcast_disabled: '&eServer chat has been disabled by $executor.'
- broadcast_enabled: '&eServer chat has been enabled by $executor.'
- duration:
- 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
- expired: expired
- format: '%d %s'
- separator: ', '
- error_no_reason_provided: '&eYou must provide a reason for this punishment!'
- error_no_uuid_found: '&ePlayer does not exist.'
- strings:
- global: global
- 'null': undefined
- 'true': 'yes'
- 'false': 'no'
- bungee_switch_banned: |-
- &cYou are banned on $serverScope! Reason:
- $reason
- error_console_only: '&cThis command can only be used from console.'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement