Skip to content

Instantly share code, notes, and snippets.

@minhh2792
Last active September 1, 2022 11:08
Show Gist options
  • Save minhh2792/88e0d0e3045a2e589b1764e71127898c to your computer and use it in GitHub Desktop.
Save minhh2792/88e0d0e3045a2e589b1764e71127898c to your computer and use it in GitHub Desktop.
Litebans messages
# LiteBans messages.yml generated by version 2.9.5
#
# 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
# $removalReason - the reason this punishment was removed (via /unban), if applicable
# $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
# $dateRemoved - date the punishment was removed on, if applicable
#
# 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
#
# Configured message variables
# 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, $totalKicks - total number of global punishments (including inactive ones)
#
# Vault-specific variables
# $playerPrefix - Vault chat prefix of affected player
# $playerSuffix - Vault chat suffix of affected player
# $executorPrefix - Vault chat prefix of executor
# $executorSuffix - Vault chat suffix of executor
# Any message can be disabled by setting it to "". Empty messages will not be sent by the plugin.
#
# Hover text requires permission "litebans.json.hover_text" to view, players lacking permission will see messages without hover text.
# JSON example:
# muted: '&cYou are muted! {hoverText: &7$duration remaining}'
#
# Hex colors are supported (#000000 - #FFFFFF)
#
# 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: dd/MM/yyyy HH:mm
default_ban_reason: Vi phạm nội quy MineVN (https://www.minevn.net/noi-quy)
default_mute_reason: Spam
default_unban_reason: Không có lý do.
default_unmute_reason: Không có lý do.
default_unwarn_reason: Không có lý do.
banned_message_base: |
&c&lBẠN ĐÃ BỊ CẤM KHỎI SERVER!
&eThời gian: &b$dateStart
&eBởi: &b$executor
&eLý do: &b$reason
banned_message: |-
$base
&eThời hạn: &b$duration
$appealMessage
banned_message_permanent: |-
$base
&cBẠN BỊ CẤM VĨNH VIỄN!
$appealMessage
banned_message_appeal_message: |2-
&eKháng cáo tại &bhttps://www.minevn.net/trai-giam
&enếu nghĩ mình bị oan
banned_message_geoip_blacklist: |-
&cYou are banned from this server!&f
Your location is blacklisted: $geoip
bungee_switch_banned: |-
&cYou are banned on $serverScope! Reason:
$reason
muted: |2-
&6&lMINEVN &b&l&o> &cBạn đã bị cấm chat! &8(Thời hạn: &7$duration&8)
&6&lMINEVN &b&l&o> &cLý do: &e$reason
muted_permanent: |2-
&6&lMINEVN &b&l&o> &cBạn đã bị cấm chat vĩnh viễn!
&6&lMINEVN &b&l&o> &cLý do: &e$reason
warned_join: '&6&lMINEVN &b&l&o> &cBạn vừa bị cảnh cáo:'
warned_join_entry: |-
&e - Bởi &b$executor: &c$reason
&7($timeSince trước)
notify:
banned_player_join: '&c$player&f đang cố vào server nhưng bị ban ($duration)!'
banned_geoip_blacklist: '&c$player&f tried to join, but is blacklisted ($geoip)!'
permission_error: '&6&lMINEVN &b&l&o> &cKhông có quyền dùng lệnh này!'
error_no_reason_provided: '&6&lMINEVN &b&l&o> &cHãy nhập lý do!'
error_no_reason_removal: '&6&lMINEVN &b&l&o> &cHãy nhập lý do!'
error_no_sql_connection: '&cLiteBans is not connected to a database!'
error_no_uuid_found: '&6&lMINEVN &b&l&o> &cNgười chơi không tồn tại!'
error_no_duration: '&6&lMINEVN &b&l&o> &cHãy nhập lại thời gian!'
error_console_only: '&cThis command can only be used from console.'
duration_limit_error: '&cMaximum duration allowed: $duration'
internal_error: '&cAn internal error occurred while attempting to perform this command.'
command:
ban:
usage: '&6&lMINEVN &b&l&o> &cCách dùng: $command <người chơi> [thời hạn] [lý do]'
example: '&6&lMINEVN &b&l&o> &7Ví dụ: $command hoang123456789 7d hề'
silent_prefix: '&f[&7Silent&f] '
broadcast_ban: '&6&lMINEVN &b&l&o> &e$executor &fđã cấm &e$bannedPlayer &fvì &b$reason'
broadcast_tempban: '&6&lMINEVN &b&l&o> &e$executor &fđã tạm cấm &e$bannedPlayer
&ftrong $tempDuration vì ''&b$reason&f'''
broadcast_ip_ban: '&6&lMINEVN &b&l&o> &e$executor &fđã cấm IP &e$bannedPlayer
&fvì ''&b$reason&f'''
broadcast_temp_ip_ban: '&6&lMINEVN &b&l&o> &e$executor &fđã tạm cấm IP &e$bannedIP
&ftrong $tempDuration vì &b$reason'
previous_ban_removed: '&6&lMINEVN &b&l&o> &aĐã gỡ lệnh cấm trước đó cho $bannedPlayer.'
previous_ban_existing: '&c$bannedPlayer is already banned, and you do not have
permission to replace existing bans.'
unban_fail: '&6&lMINEVN &b&l&o> &cNgười chơi này không bị cấm!'
no_override: '&6&lMINEVN &b&l&o> &cNgười chơi này đã bị cấm sẵn!'
exempt: '&6&lMINEVN &b&l&o> &cKhông có quyền cấm $player!'
cooldown: '&6&lMINEVN &b&l&o> &cHãy chờ $seconds giây.'
response: ''
ip_hidden: '[IP Address]'
unban_usage: '&6&lMINEVN &b&l&o> &cCách dùng: $command <người chơi>'
broadcast_unban: '&e$executor &fđã bỏ cấm &e$playerName'
unban_queue: '&6If they try to reconnect, they will be unbanned.'
mute:
usage: '&6&lMINEVN &b&l&o> &cCách dùng: $command <người chơi> [thời hạn] [lý do]'
example: '&6&lMINEVN &b&l&o> &7Ví dụ: $command hoang123456789 7d hề'
broadcast: '&6&lMINEVN &b&l&o> &e$executor &fđã cấm chat &e$mutedPlayer &fvì &b$reason'
broadcast_tempmute: '&6&lMINEVN &b&l&o> &e$executor &fđã tạm cấm chat &e$playerName
&ftrong $tempDuration vì &b$reason'
broadcast_ip_mute: '&e$executor &fIP-muted &a$playerName &ffor &b$reason'
broadcast_temp_ip_mute: '&e$executor &ftemp IP-muted &a$mutedIP &ffor $tempDuration
for &b$reason'
message: |2-
&6&lMINEVN &b&l&o> &cBạn đã bị cấm chat bởi &e$executor &cvì &b$reason.
&6&lMINEVN &b&l&o> &cThời hạn $duration.
message_permanent: |2-
&6&lMINEVN &b&l&o> &cBạn đã bị cấm chat vĩnh viễn bởi &e$executor &cvì &b$reason.
unmute_fail: '&6&lMINEVN &b&l&o> &cNgười chơi này không bị cấm chat!'
no_override: '&6&lMINEVN &b&l&o> &cNgười chơi này đã bị cấm chat!'
previous_mute_removed: '&6&lMINEVN &b&l&o> &aĐã gỡ cấm chat trước đó cho $mutedPlayer.'
previous_mute_existing: '&c$mutedPlayer is already muted, and you do not have
permission to replace existing mutes.'
exempt: '&6&lMINEVN &b&l&o> &cKhông có quyền cấm chat $player!'
notification: '&c$mutedPlayer tried to speak, but is muted.'
error_not_enabled: '&cMuting is not enabled in the configuration!'
response: ''
unmute_usage: '&6&lMINEVN &b&l&o> &cCách dùng: $command <người chơi>'
broadcast_unmute: '&6&lMINEVN &b&l&o> &e$executor &fđã gỡ cấm chat cho &e$mutedPlayer'
warn:
usage: '&6&lMINEVN &b&l&o> &cCách dùng: $command <người chơi> [lý do]'
example: '&7Ví dụ: $command hoang123456789 7d hề'
broadcast: '&6&lMINEVN &b&l&o> &e$executor &fđã cảnh cáo &e$warnedPlayer &fvì
&b$reason'
message: |2-
&6&lMINEVN &b&l&o> &cBạn đã bị cảnh cáo bởi &e$executor&c vì &b$reason.
&6&lMINEVN &b&l&o> &cThời hạn $duration.
list_entry: '&f \- Cảnh cáo bởi $executor: ''$reason&f'''
unwarn_response: '&6&lMINEVN &b&l&o> &aĐã gỡ cảnh cáo trước đó cho $player.'
unwarn_fail: '&6&lMINEVN &b&l&o> &cNgười chơi này không bị cảnh cáo!'
exempt: '&6&lMINEVN &b&l&o> &cKhông có quyền cảnh cáo người chơi này!'
response: ''
unwarn_usage: '&6&lMINEVN &b&l&o> &cCách dùng: $command <người chơi>'
broadcast_unwarn: '&6&lMINEVN &b&l&o> &e$executor &fđã gỡ cảnh cáo &e$warnedPlayer'
kick:
usage: '&6&lMINEVN &b&l&o> &cCách dùng: $command <người chơi> [lý do]'
no_match: '&6&lMINEVN &b&l&o> &cKhông tìm thấy người chơi này.'
kick_requested: '&6Player $player is not online on this server. Cross-server kick
has been requested.'
message: |-
Bạn đã bị sút bởi &e$executor
Lý do: &b$reason
message_no_reason: Bạn đã bị sút bởi &e$executor
response: '&6&lMINEVN &b&l&o> &e$player &fđã bị sút khỏi server.'
broadcast: '&6&lMINEVN &b&l&o> &e$player &fđã bị sút bởi &e$executor&f vì &b$reason'
broadcast_no_reason: '&6&lMINEVN &b&l&o> &e$player&f đã bị sút bởi &e$executor.'
exempt: '&6&lMINEVN &b&l&o> &cKhông có quyền sút người chơi này!'
history:
usage: '&c$command <người chơi> [entries=10]'
start: '&aLịch sử của $target (Giới hạn: $limit):'
ban_entry: |-
&a -- [&f$timeSince trước&a] --&f
&f $name đã bị &cban &fbởi $executor: '&b$reason&f'
mute_entry: |-
&a -- [&f$timeSince trước&a] --&f
&f $name đã bị &7cấm chat &fbởi $executor: '&b$reason&f'
warn_entry: |-
&a -- [&f$timeSince trước&a] --&f
&f $name đã bị &6cảnh cáo &fbởi $executor: '&b$reason&f'
kick_entry: |-
&a -- [&f$timeSince trước&a] --&f
&f $name đã bị &esút &fbởi $executor: '&b$reason&f'
unban_entry: |2-
&f$name đã được &7unban &fbởi $executor: '&7$removalReason&f'
unmute_entry: |2-
&f$name đã được &7unmute &fbởi $executor: '&7$removalReason&f'
active_suffix: '&f [&cActive&f]'
active_suffix_temp: |-
&f [&cActive&f]
&fExpires in $duration.
expired_suffix: '&f [&8Expired&f]'
error_no_loginrecord: '&cUser has not joined before.'
error_no_user: '&cUser not found.'
warnings:
usage: '&c$command <player>'
start: '&aActive warnings for $target:'
prunehistory:
usage: '&c$command <player> [duration]'
message: '&aHistory pruned.'
staffhistory:
usage: '&c$command <player> [entries=10]'
start: '&aStaff history for $target (Limit: $limit):'
staffrollback:
usage: '&c$command <player> [duration]'
message: '&aRollback completed, total entries removed: $amount'
banlist:
start: '&f=== &aPage &6$page&a out of &6$total&f ==='
iphistory:
usage: '&c$command <player> [entries=10]'
start: '&aLogin history for $target (Limit: $limit):'
entry: '&a - [&f$date&a]&f $name&a:&f $ip'
error_no_history: '&cNo history found.'
dupeip:
usage: '&c$command <player>'
start: |-
&fScanning &a$name&f on &a$ip&f.
&f[&aOnline&f] [&7Offline&f] [&cBanned&f] [&eIPBanned&f]
start_no_ip: |-
&fScanning &7$name&f.
&f[&aOnline&f] [&7Offline&f] [&cBanned&f] [&eIPBanned&f]
multiple_addresses: '[$num addresses]'
separator: '&f, '
online: '&a'
offline: '&7'
banned: '&c'
ip_banned: '&e'
muted: '&6'
ipreport:
start: '&fScanning &a$num&f online players.. [&aOnline&f] [&7Offline&f] [&cBanned&f]'
entry: '&f$player&a: $result'
checkban:
usage: '&c$command <player>'
no_ban: '&cTarget is not banned!'
banned: |-
&aTarget &f[&a$target&f]&a is banned:
&aBanned by: $executor
&aReason: $reason&a
&aBanned on: $dateStart
&aBanned until: $dateEnd ($duration)
&aBanned on server &6&a$serverOrigin&a, server scope: &6$serverScope
&aIP ban: $ipban, silent: $silent, permanent: $permanent
checkmute:
usage: '&c$command <player>'
no_mute: '&cTarget 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
lastuuid:
usage: '&c$command <player|IP>'
message: '&fLast UUID for &a$name&f: &a$uuid'
geoip:
usage: '&c$command <player|IP>'
message: '&a$target&f is from: &a$result'
error_disabled: '&cGeoIP support is not enabled in the configuration!'
error_unavailable: '&cGeoIP support is currently unavailable, has it been downloaded
yet?'
error_not_found: '&cGeoIP information for $target not found.'
lockdown:
usage: '&c$command <reason> | $command end'
message: '&cServer lockdown activated (reason: "$reason&c")'
stopped: '&aLockdown has been deactivated.'
kick_message: |-
Server lockdown active, try again later.
Reason: $reason
kick_message_global: |-
Network lockdown active, try again later.
Reason: $reason
error_not_active: '&cLockdown is not active!'
togglechat:
toggle_off: '&aChat has been toggled off.'
toggle_on: '&aChat has been toggled on.'
clearchat:
broadcast: '&aChat has been cleared by $executor.'
mutechat:
response: '&cServer chat is currently disabled!'
broadcast_disabled: '&cServer chat has been disabled by $executor.'
broadcast_enabled: '&aServer chat has been enabled by $executor.'
litebans:
reload_success: '&aLiteBans reloaded successfully.'
reload_fail: '&cReload failed.'
reload_fail_connect: '&aLitebans reloaded. &cFailed to connect to database.'
reload_fail_config: |-
&c[LiteBans] &4config.yml is not valid and could not be loaded, the default configuration will be used.
&cPlease check the server console for more information.
reload_fail_messages: |-
&c[LiteBans] &4messages.yml is not valid and could not be loaded, default messages will be used.
&cPlease check the server console for more information.
fix_history: '&aFixing history for table $table...'
fix_history_result: '&aAdded $amount entries.'
fix_history_offline_uuids: '&c$amount UUIDs were not fetched from Mojang since
they are offline-mode UUIDs.'
import_usage: '&c$command 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: '&cImport failed. Check console.'
import_unsupported: '&cImporting from ''$name'' is not supported yet!'
allow_usage: '&cUsage: /litebans allow <add/remove/check> <user>'
allow_added: '&ePlayer &6$playerName&e has been &aallowed to join the server&e.'
allow_removed: '&ePlayer &6$playerName&e has been &cremoved from the allow list&e.'
allow_check_true: '&aPlayer &6$playerName&a is allowed to join the server.'
allow_check_false: '&cPlayer &6$playerName&c is not allowed to join the server.'
allow_error_add: '&cError: $playerName is already allowed to join the server.'
allow_error_remove: '&cError: $playerName is not allowed to join the server.'
duration:
expired: đã hết hạn
forever: vĩnh viễn
year: năm
years: năm
month: tháng
months: tháng
week: tuần
weeks: tuần
day: ngày
days: ngày
hour: giờ
hours: giờ
minute: phút
minutes: phút
second: giây
seconds: giây
format: '%d %s'
separator: ', '
strings:
global: global
'null': undefined
'true': 'yes'
'false': 'no'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment