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&dYour account\
- \ has been suspended from &5&lMC-Market&d!\n\n&dReason &8\xbb &5$reason\n&dBanned\
- \ by &8\xbb &5$executor\n\n&dYou may appeal at &5www.mc-market.org&d.\n&8&m-------------------------------------------"
- banned_message: "&8&m-------------------------------------------\n&dYour account has\
- \ been suspended from &5&lMC-Market&d!\n\n&dReason &8\xbb &5$reason\n&dBanned by\
- \ &8\xbb &5$executor\n&dDuration &8\xbb &5$duration\n\n&dYou may appeal at &5www.mc-market.org&d.\n\
- &8&m-------------------------------------------"
- banned_message_permanent: $base
- banned_message_appeal_message: 'Appeal at: &nhttp://example.com'
- banned_message_geoip_blacklist: |-
- &dYou are banned from this server!&f
- Your location is blacklisted: $geoip
- default_ban_reason: Cheating
- default_mute_reason: Spamming
- permission_error: '&dYou don''t have permission!'
- muted: '&dYou are muted! ($duration remaining)!'
- muted_permanent: '&dYou are permanently muted!'
- notify:
- banned_player_join: '&d$player&f tried to join, but is banned ($duration)!'
- banned_geoip_blacklist: '&d$player&f tried to join, but is blacklisted ($geoip)!'
- error_no_sql_connection: '&dLiteBans is not connected to a database!'
- internal_error: '&dAn internal error occurred while attempting to perform this command.'
- duration_limit_error: '&dMaximum duration allowed: $duration'
- warned_join: '&dYou have new warnings:'
- warned_join_entry: "&8&m-----------------------------------------\n&dYou have been\
- \ warned by &8\xbb &5$executor\n&dReason &8\xbb &5$reason\n&8&m-----------------------------------------"
- command:
- ban:
- usage: '&dUsage: /ban [-s] <player> [time spec] [reason]'
- unban_usage: '&dUsage: /unban <player>'
- example: '&dExample: /ban Player 7d [reason]'
- silent_prefix: '&f[&7Silent&f] '
- broadcast_ban: "&8&m-----------------------------------------&r\n &7\xbb &5$bannedPlayer\
- \ &dhas been banned by &5$executor\n &7\xbb &dReason: &5$reason\n&8&m-----------------------------------------"
- broadcast_tempban: "&8&m-----------------------------------------&r\n &7\xbb &5$bannedPlayer\
- \ &dhas been temporarily banned by &5$executor\n &7\xbb &dReason: &5$reason\n\
- \ &7\xbb &dDuration: &5$duration\n&8&m-----------------------------------------"
- broadcast_ip_ban: '&5$bannedPlayer &dhas been blacklisted by &5$executor'
- broadcast_temp_ip_ban: '&d$executor &ftemp IP-banned &d$bannedIP &ffor $tempDuration
- for ''&d$reason&f'''
- broadcast_ip_ban_hidden: '[Hidden IP]'
- broadcast_unban: '&5$bannedPlayer &dhas been unbanned by &5$executor'
- previous_ban_removed: '&dPrevious ban for $bannedPlayer removed.'
- previous_ban_existing: '&d$bannedPlayer is already banned, and you do not have
- permissions to replace existing bans.'
- unban_queue: '&5If they try to reconnect, they will be unbanned.'
- error_no_spec: '&dNo valid time specification detected!'
- unban_fail: '&dTarget is not banned!'
- exempt: '&dYou can''t ban $player!'
- broadcast_unmute: '&5$unmutedPlayer &dhas been unmuted by &5$executor'
- no_override: '&dPlayer is already banned!'
- response: ''
- mute:
- usage: '&dUsage: /mute [-s] <player> [time spec] [reason]'
- unmute_usage: '&dUsage: /unmute <player>'
- example: '&dExample: /mute Player 7d [reason]'
- broadcast: "&8&m-----------------------------------------&r\n &7\xbb &5$mutedPlayer\
- \ &dhas been muted by &5$executor\n &7\xbb &dReason: &5$reason\n&8&m-----------------------------------------"
- broadcast_tempmute: "&8&m-----------------------------------------&r\n &7\xbb\
- \ &5$mutedPlayer &dhas been muted by &5$executor\n &7\xbb &dReason: &5$reason\n\
- \ &7\xbb &dDuration: &5$duration\n&8&m-----------------------------------------"
- unmute_fail: '&dTarget is not muted!'
- previous_mute_removed: '&dPrevious mute for $mutedPlayer removed.'
- previous_mute_existing: '&d$mutedPlayer is already muted, and you do not have
- permissions to replace existing mutes.'
- exempt: '&dYou can''t mute $player!'
- notification: '&d$mutedPlayer tried to speak, but is muted.'
- error_not_enabled: '&dMuting is not enabled in the configuration!'
- broadcast_ip_mute: '&d$executor &fIP-muted &d$mutedPlayer &ffor ''&d$reason&f'''
- broadcast_temp_ip_mute: '&d$executor &ftemp IP-muted &d$mutedIP &ffor $tempDuration
- for ''&d$reason&f'''
- message: "&8&m-----------------------------------------\n&dYou have been warned\
- \ by &8\xbb &5$executor\n&dReason &8\xbb &5$reason\n&dDuration &8\xbb &5$duration\n\
- &8&m-----------------------------------------"
- message_permanent: "&8&m-----------------------------------------\n&dYou have\
- \ been permanently muted by &8\xbb &5$executor\n&dReason &8\xbb &5$reason\n\
- &8&m-----------------------------------------"
- no_override: '&dPlayer is already muted!'
- response: ''
- warn:
- usage: '&dUsage: /warn [-s] <player> [reason]'
- unwarn_usage: '&dUsage: /unwarn <player>'
- example: ''
- broadcast: "&8&m-----------------------------------------&r\n &7\xbb &5$warnedPlayer\
- \ &dhas been warned by &5$executor\n &7\xbb &dReason: &5$reason\n&8&m-----------------------------------------"
- message: "&8&m-----------------------------------------\n&dYou have been warned\
- \ by &8\xbb &5$executor\n&dReason &8\xbb &5$reason\n&8&m-----------------------------------------"
- list_entry: ' \- Warned by $executor: ''$reason&f'' ($timeSince ago)'
- unwarn_response: '&dLast warning removed for $player.'
- unwarn_fail: '&dTarget has no warnings!'
- exempt: '&dYou can''t warn $player!'
- cooldown: '&dYou need to wait $seconds seconds before $player can be warned again.'
- response: ''
- history:
- usage: '&d/history <player> [entries=10]'
- start: '&dHistory for $target (Limit: $limit):'
- ban_entry: |-
- &d -- [&f$timeSince ago&d] --&f
- $name was &dbanned &fby $executor: '&d$reason&f'
- mute_entry: |-
- &d -- [&f$timeSince ago&d] --&f
- $name was &7muted &fby $executor: '&d$reason&f'
- warn_entry: |-
- &d -- [&f$timeSince ago&d] --&f
- $name was &5warned &fby $executor: '&d$reason&f'
- kick_entry: |-
- &d -- [&f$timeSince ago&d] --&f
- $name was &dkicked &fby $executor: '&d$reason&f'
- active_suffix: '&f [&dActive&f]'
- active_suffix_temp: |-
- &f [&dActive&f]
- Expires in $duration.
- error_no_history: '&dNo 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: '&d/warnings <player>'
- start: '&dActive warnings for $target:'
- prunehistory:
- usage: '&d/prunehistory <player> [duration]'
- message: '&dHistory pruned.'
- staffhistory:
- usage: '&d/staffhistory <player> [entries=10]'
- start: '&dStaff history for $target (Limit: $limit):'
- staffrollback:
- usage: '&d/staffrollback <player> [duration]'
- message: '&dRollback completed, total entries removed: $amount'
- banlist:
- start: '&f=== &dPage &5$page&d out of &5$total&f ==='
- iphistory:
- usage: '&d/iphistory <player> [entries=10]'
- start: '&dLogin history for $target (Limit: $limit):'
- entry: '&d - [&f$date&d]&f $name&d:&f $ip'
- error_no_history: '&dNo history found.'
- dupeip:
- usage: '&d/dupeip <player>'
- start: '&fScanning &7$name&f on &d$ip&f. &f[&dOnline&f] [&7Offline&f] [&dBanned&f]'
- separator: '&f, '
- online: '&d'
- offline: '&7'
- banned: '&d'
- multiple_addresses: '[$num addresses]'
- start_no_ip: '&fScanning &7$name&f. &f[&dOnline&f] [&7Offline&f] [&dBanned&f]'
- muted: '&5'
- ipreport:
- start: '&fScanning &d$num&f online players.. [&dOnline&f] [&7Offline&f] [&dBanned&f]'
- entry: '&f$player&d: $result'
- checkban:
- usage: '&d/checkban <player>'
- no_ban: '&dTarget is not banned!'
- banned: |-
- &dTarget &f[&d$target&f]&d is banned:
- Banned by: $executor
- Reason: $reason&d
- Banned on: $dateStart
- Banned until: $dateEnd ($duration)
- IP ban: $ipban, silent: $silent, permanent: $permanent
- lastuuid:
- usage: '&d/lastuuid <player|IP>'
- message: '&fLast UUID for &d$name&f: &d$uuid'
- geoip:
- usage: '&d/geoip <player|IP>'
- message: '&d$target&f is from: &d$result'
- error_disabled: '&dGeoIP support is not enabled in the configuration!'
- error_unavailable: '&dGeoIP support is currently unavailable, has it been downloaded
- yet?'
- error_not_found: '&dGeoIP information for $target not found.'
- lockdown:
- usage: '&d/lockdown <reason> | /lockdown end'
- message: '&dServer lockdown activated (reason: "$reason&d")'
- stopped: '&dLockdown has been deactivated.'
- kick_message: |-
- Server lockdown active, try again later.
- Reason: $reason
- error_not_active: '&dLockdown is not active!'
- kick_message_global: |-
- Network lockdown active, try again later.
- Reason: $reason
- kick:
- usage: '&d/kick <player> [reason]'
- no_match: '&dError: &5Player not found.'
- message: 'Kicked by $executor: $reason'
- message_no_reason: Kicked by $executor.
- response: '&5$player &dhas been kicked by &5$executor'
- broadcast: '&5$player &dhas been kicked by &5$executor'
- broadcast_no_reason: '&5$player &dhas been kicked by &5$executor'
- exempt: '&dYou can''t kick $player!'
- kick_requested: '&5Player $player is not online on this server. Cross-server kick
- has been requested.'
- togglechat:
- toggle_off: '&dChat has been toggled off.'
- toggle_on: '&dChat has been toggled on.'
- clearchat:
- broadcast: '&dChat has been cleared by $executor.'
- litebans:
- reload_success: '&dLiteBans reloaded successfully.'
- reload_fail_connect: '&dLitebans reloaded. &dFailed to connect to database.'
- add_history_usage: '&d/litebans addhistory <name> <UUID> <IP>'
- add_history: '&dHistory added.'
- fix_history: '&dFixing history for table $table...'
- fix_history_result: '&dAdded $amount entries.'
- import_usage: '&d/litebans import start'
- import_start: '&dImporting from $db, this might take a while...'
- import_finish: '&dImport finished successfully. $bans bans imported, $ipbans IP-bans.'
- import_finish_litebans: '&dImport finished successfully. Added $amount entries
- to the database.'
- import_fail: '&dImport failed. Check console.'
- import_unsupported: '&dImporting from ''$name'' is not supported yet!'
- sqlexec_success: '&dSQL query executed successfully.'
- sqlexec_failure: '&dFailed to execute.'
- reload_fail: '&dReload failed.'
- reload_fail_config: |-
- &d[LiteBans] &5config.yml is not valid and could not be loaded, the default configuration will be used.
- &dPlease check the server console for more information.
- reload_fail_messages: |-
- &d[LiteBans] &5messages.yml is not valid and could not be loaded, default messages will be used.
- &dPlease check the server console for more information.
- fix_history_offline_uuids: '&d$amount UUIDs were not fetched from Mojang since
- they are offline-mode UUIDs.'
- checkmute:
- usage: '&d/checkmute <player>'
- no_mute: '&dTarget is not muted!'
- muted: |-
- &dTarget &f[&d$target&f]&d is muted:
- &dMuted by: $executor
- &dReason: $reason&r
- &dMuted on: $dateStart
- &dMuted until: $dateEnd ($duration)
- &dMuted on server &5$serverOrigin&d, server scope: &5$serverScope
- &dIP mute: $ipban, silent: $silent, permanent: $permanent
- mutechat:
- response: '&dServer chat is currently disabled!'
- broadcast_disabled: '&dServer chat has been disabled by $executor.'
- broadcast_enabled: '&dServer 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: '&dYou must provide a reason for this punishment!'
- error_no_uuid_found: '&dPlayer does not exist.'
- strings:
- global: global
- 'null': undefined
- 'true': 'yes'
- 'false': 'no'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement