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
- #
- # Punished 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 punished player
- # $playerIP - IP of punished 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.
- time_format: YYYY-MM-dd
- history_time_format: YYYY-MM-dd
- banned_message_base: "&8&m-------------------------------------------\n&3Your account\
- \ has been suspended from &f&lMC-Market&3!\n\n&3Reason &8\xbb &f$reason\n&3Banned\
- \ by &8\xbb &f$executor\n\n&3You may appeal at &fwww.mc-market.org&3.\n&8&m-------------------------------------------"
- banned_message: "&8&m-------------------------------------------\n&3Your account has\
- \ been suspended from &f&lMC-Market&3!\n\n&3Reason &8\xbb &f$reason\n&3Banned by\
- \ &8\xbb &f$executor\n&3Duration &8\xbb &f$duration\n\n&3You may appeal at &fwww.mc-market.org&3.\n\
- &8&m-------------------------------------------"
- banned_message_permanent: $base
- banned_message_appeal_message: 'Appeal at: &nhttp://example.com'
- banned_message_geoip_blacklist: |-
- &3You are banned from this server!&3
- Your location is blacklisted: $geoip
- default_ban_reason: Cheating
- default_mute_reason: Spamming
- permission_error: '&3You don''t have permission!'
- muted: '&3You are muted! ($duration remaining)!'
- muted_permanent: '&3You are permanently muted!'
- notify:
- banned_player_join: '&3$player&3 tried to join, but is banned ($duration)!'
- banned_geoip_blacklist: '&3$player&3 tried to join, but is blacklisted ($geoip)!'
- error_no_sql_connection: '&3LiteBans is not connected to a database!'
- internal_error: '&3An internal error occurred while attempting to perform this command.'
- duration_limit_error: '&3Maximum duration allowed: $duration'
- warned_join: '&3You have new warnings:'
- warned_join_entry: "&8&m-----------------------------------------\n&3You have been\
- \ warned by &8\xbb &f$executor\n&3Reason &8\xbb &f$reason\n&8&m-----------------------------------------"
- command:
- ban:
- usage: '&3Usage: /ban [-s] <player> [time spec] [reason]'
- unban_usage: '&3Usage: /unban <player>'
- example: '&3Example: /ban Player 7d [reason]'
- silent_prefix: '&3[&7Silent&3] '
- broadcast_ban: "&8&m-----------------------------------------&r\n &7\xbb &f$bannedPlayer\
- \ &3has been banned by &f$executor\n &7\xbb &3Reason: &f$reason\n&8&m-----------------------------------------"
- broadcast_tempban: "&8&m-----------------------------------------&r\n &7\xbb &f$bannedPlayer\
- \ &3has been temporarily banned by &f$executor\n &7\xbb &3Reason: &f$reason\n\
- \ &7\xbb &3Duration: &f$duration\n&8&m-----------------------------------------"
- broadcast_ip_ban: '&f$bannedPlayer &3has been blacklisted by &f$executor'
- broadcast_temp_ip_ban: '&3$executor &3temp IP-banned &3$bannedIP &3for $tempDuration
- for ''&3$reason&3'''
- broadcast_ip_ban_hidden: '[Hidden IP]'
- broadcast_unban: '&f$bannedPlayer &3has been unbanned by &f$executor'
- previous_ban_removed: '&3Previous ban for $bannedPlayer removed.'
- previous_ban_existing: '&3$bannedPlayer is already banned, and you do not have
- permissions to replace existing bans.'
- unban_queue: '&fIf they try to reconnect, they will be unbanned.'
- error_no_spec: '&3No valid time specification detected!'
- unban_fail: '&3Target is not banned!'
- exempt: '&3You can''t ban $player!'
- broadcast_unmute: '&f$unmutedPlayer &3has been unmuted by &f$executor'
- no_override: '&3Player is already banned!'
- response: ''
- mute:
- usage: '&3Usage: /mute [-s] <player> [time spec] [reason]'
- unmute_usage: '&3Usage: /unmute <player>'
- example: '&3Example: /mute Player 7d [reason]'
- broadcast: "&8&m-----------------------------------------&r\n &7\xbb &f$mutedPlayer\
- \ &3has been muted by &f$executor\n &7\xbb &3Reason: &f$reason\n&8&m-----------------------------------------"
- broadcast_tempmute: "&8&m-----------------------------------------&r\n &7\xbb\
- \ &f$mutedPlayer &3has been muted by &f$executor\n &7\xbb &3Reason: &f$reason\n\
- \ &7\xbb &3Duration: &f$duration\n&8&m-----------------------------------------"
- unmute_fail: '&3Target is not muted!'
- previous_mute_removed: '&3Previous mute for $mutedPlayer removed.'
- previous_mute_existing: '&3$mutedPlayer is already muted, and you do not have
- permissions to replace existing mutes.'
- exempt: '&3You can''t mute $player!'
- notification: '&3$mutedPlayer tried to speak, but is muted.'
- error_not_enabled: '&3Muting is not enabled in the configuration!'
- broadcast_ip_mute: '&3$executor &3IP-muted &3$mutedPlayer &3for ''&3$reason&3'''
- broadcast_temp_ip_mute: '&3$executor &3temp IP-muted &3$mutedIP &3for $tempDuration
- for ''&3$reason&3'''
- message: "&8&m-----------------------------------------\n&3You have been warned\
- \ by &8\xbb &f$executor\n&3Reason &8\xbb &f$reason\n&3Duration &8\xbb &f$duration\n\
- &8&m-----------------------------------------"
- message_permanent: "&8&m-----------------------------------------\n&3You have\
- \ been permanently muted by &8\xbb &f$executor\n&3Reason &8\xbb &f$reason\n\
- &8&m-----------------------------------------"
- no_override: '&3Player is already muted!'
- response: ''
- warn:
- usage: '&3Usage: /warn [-s] <player> [reason]'
- unwarn_usage: '&3Usage: /unwarn <player>'
- example: ''
- broadcast: "&8&m-----------------------------------------&r\n &7\xbb &f$warnedPlayer\
- \ &3has been warned by &f$executor\n &7\xbb &3Reason: &f$reason\n&8&m-----------------------------------------"
- message: "&8&m-----------------------------------------\n&3You have been warned\
- \ by &8\xbb &f$executor\n&3Reason &8\xbb &f$reason\n&8&m-----------------------------------------"
- list_entry: ' \- Warned by $executor: ''$reason&3'' ($timeSince ago)'
- unwarn_response: '&3Last warning removed for $player.'
- unwarn_fail: '&3Target has no warnings!'
- exempt: '&3You can''t warn $player!'
- cooldown: '&3You need to wait $seconds seconds before $player can be warned again.'
- response: ''
- history:
- usage: '&3/history <player> [entries=10]'
- start: '&3History for $target (Limit: $limit):'
- ban_entry: |-
- &3 -- [&3$timeSince ago&3] --&3
- $name was &3banned &3by $executor: '&3$reason&3'
- mute_entry: |-
- &3 -- [&3$timeSince ago&3] --&3
- $name was &7muted &3by $executor: '&3$reason&3'
- warn_entry: |-
- &3 -- [&3$timeSince ago&3] --&3
- $name was &fwarned &3by $executor: '&3$reason&3'
- kick_entry: |-
- &3 -- [&3$timeSince ago&3] --&3
- $name was &3kicked &3by $executor: '&3$reason&3'
- active_suffix: '&3 [&3Active&3]'
- active_suffix_temp: |-
- &3 [&3Active&3]
- Expires in $duration.
- error_no_history: '&3No history found.'
- unban_entry: |2-
- &3$name was &7unbanned &3by $executor.
- unmute_entry: |2-
- &3$name was &7unmuted &3by $executor.
- expired_suffix: '&3 [&8Expired&3]'
- warnings:
- usage: '&3/warnings <player>'
- start: '&3Active warnings for $target:'
- prunehistory:
- usage: '&3/prunehistory <player> [duration]'
- message: '&3History pruned.'
- staffhistory:
- usage: '&3/staffhistory <player> [entries=10]'
- start: '&3Staff history for $target (Limit: $limit):'
- staffrollback:
- usage: '&3/staffrollback <player> [duration]'
- message: '&3Rollback completed, total entries removed: $amount'
- banlist:
- start: '&3=== &3Page &f$page&3 out of &f$total&3 ==='
- iphistory:
- usage: '&3/iphistory <player> [entries=10]'
- start: '&3Login history for $target (Limit: $limit):'
- entry: '&3 - [&3$date&3]&3 $name&3:&3 $ip'
- error_no_history: '&3No history found.'
- dupeip:
- usage: '&3/dupeip <player>'
- start: '&3Scanning &7$name&3 on &3$ip&3. &3[&3Online&3] [&7Offline&3] [&3Banned&3]'
- separator: '&3, '
- online: '&3'
- offline: '&7'
- banned: '&3'
- multiple_addresses: '[$num addresses]'
- start_no_ip: '&3Scanning &7$name&3. &3[&3Online&3] [&7Offline&3] [&3Banned&3]'
- muted: '&f'
- ipreport:
- start: '&3Scanning &3$num&3 online players.. [&3Online&3] [&7Offline&3] [&3Banned&3]'
- entry: '&3$player&3: $result'
- checkban:
- usage: '&3/checkban <player>'
- no_ban: '&3Target is not banned!'
- banned: |-
- &3Target &3[&3$target&3]&3 is banned:
- Banned by: $executor
- Reason: $reason&3
- Banned on: $dateStart
- Banned until: $dateEnd ($duration)
- IP ban: $ipban, silent: $silent, permanent: $permanent
- lastuuid:
- usage: '&3/lastuuid <player|IP>'
- message: '&3Last UUID for &3$name&3: &3$uuid'
- geoip:
- usage: '&3/geoip <player|IP>'
- message: '&3$target&3 is from: &3$result'
- error_disabled: '&3GeoIP support is not enabled in the configuration!'
- error_unavailable: '&3GeoIP support is currently unavailable, has it been downloaded
- yet?'
- error_not_found: '&3GeoIP information for $target not found.'
- lockdown:
- usage: '&3/lockdown <reason> | /lockdown end'
- message: '&3Server lockdown activated (reason: "$reason&3")'
- stopped: '&3Lockdown has been deactivated.'
- kick_message: |-
- Server lockdown active, try again later.
- Reason: $reason
- error_not_active: '&3Lockdown is not active!'
- kick_message_global: |-
- Network lockdown active, try again later.
- Reason: $reason
- kick:
- usage: '&3/kick <player> [reason]'
- no_match: '&3Error: &fPlayer not found.'
- message: 'Kicked by $executor: $reason'
- message_no_reason: Kicked by $executor.
- response: '&f$player &3has been kicked by &f$executor'
- broadcast: '&f$player &3has been kicked by &f$executor'
- broadcast_no_reason: '&f$player &3has been kicked by &f$executor'
- exempt: '&3You can''t kick $player!'
- kick_requested: '&fPlayer $player is not online on this server. Cross-server kick
- has been requested.'
- togglechat:
- toggle_off: '&3Chat has been toggled off.'
- toggle_on: '&3Chat has been toggled on.'
- clearchat:
- broadcast: '&3Chat has been cleared by $executor.'
- litebans:
- reload_success: '&3LiteBans reloaded successfully.'
- reload_fail_connect: '&3Litebans reloaded. &3Failed to connect to database.'
- add_history_usage: '&3/litebans addhistory <name> <UUID> <IP>'
- add_history: '&3History added.'
- fix_history: '&3Fixing history for table $table...'
- fix_history_result: '&3Added $amount entries.'
- import_usage: '&3/litebans import start'
- import_start: '&3Importing from $db, this might take a while...'
- import_finish: '&3Import finished successfully. $bans bans imported, $ipbans IP-bans.'
- import_finish_litebans: '&3Import finished successfully. Added $amount entries
- to the database.'
- import_fail: '&3Import failed. Check console.'
- import_unsupported: '&3Importing from ''$name'' is not supported yet!'
- sqlexec_success: '&3SQL query executed successfully.'
- sqlexec_failure: '&3Failed to execute.'
- reload_fail: '&3Reload failed.'
- reload_fail_config: |-
- &3[LiteBans] &fconfig.yml is not valid and could not be loaded, the default configuration will be used.
- &3Please check the server console for more information.
- reload_fail_messages: |-
- &3[LiteBans] &fmessages.yml is not valid and could not be loaded, default messages will be used.
- &3Please check the server console for more information.
- fix_history_offline_uuids: '&3$amount UUIDs were not fetched from Mojang since
- they are offline-mode UUIDs.'
- checkmute:
- usage: '&3/checkmute <player>'
- no_mute: '&3Target is not muted!'
- muted: |-
- &3Target &3[&3$target&3]&3 is muted:
- &3Muted by: $executor
- &3Reason: $reason&r
- &3Muted on: $dateStart
- &3Muted until: $dateEnd ($duration)
- &3Muted on server &f$serverOrigin&3, server scope: &f$serverScope
- &3IP mute: $ipban, silent: $silent, permanent: $permanent
- mutechat:
- response: '&3Server chat is currently disabled!'
- broadcast_disabled: '&3Server chat has been disabled by $executor.'
- broadcast_enabled: '&3Server 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
- error_no_reason_provided: '&3You must provide a reason for this punishment!'
- error_no_uuid_found: '&3Player does not exist.'
- strings:
- global: global
- 'null': undefined
- 'true': 'yes'
- 'false': 'no'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement