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