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