Icon

Litebans

SpigotMC 玄易同志 2024-04-23
资源介绍

✪ 语言配置文件:

PLAINTEXT
# LiteBans messages.yml生成的版本2.11.7
#
# 在大多数涉及处罚的消息中可以使用以下变量:
#
# 惩罚特定变量
# $id - 数据库中惩罚的ID。
# $idRandom - 将数据库中的惩罚ID转换为随机、不可预测但完全可逆的ID(例如:18535006 - > bdd405527)。此变量的密码存储在config.yml中。
# $type - 惩罚类型-封禁、禁言、警告、踢出。
# $reason - 处罚的原因
# $executor - 主持人的名字,或者如果在配置中启用了此功能,则为他们的显示名称(/nick)
# $executorUUID - 主持人的UUID
# $removalReason - 删除此处罚的原因(通过/unban),如果适用
# $permanent - 是否永久处罚
# $ipban - 是否为IP封禁
# $silent - 是否以静默方式执行此惩罚(-s)
# $active - 此处罚是否有效
#
# 受影响玩家特定变量
# $playerDisplayName - 玩家显示名称。如果在配置中未启用显示名称,或者如果玩家的显示名称不在消息的上下文中可用,则将使用玩家的常规名称。
# $playerName - 玩家名称
# $playerUUID - 受影响玩家的UUID
# $playerIP - 受影响玩家的IP
# $playerServer - 受影响玩家的服务器-仅当他们在线时才准确。
# $playerLoginDate - 受影响玩家的最后登录日期
# $geoip - 受影响玩家的国家,需要在配置中启用GeoIP,无法与导入的封禁一起使用
#
# 服务器
# 这些变量表示服务器。
# 如果插件安装在Spigot上,则服务器由config.yml中的“server_name”选项表示。
# 如果插件安装在BungeeCord上,则服务器由代理的config.yml中“servers”部分中的名称表示。
# $serverScope - 处罚的范围(它将影响的服务器)
# $serverOrigin - 处罚的来源(它被放置的服务器/子服务器)
#
# 日期
# 示例格式:“2017-02-03”,取决于time_format
# $dateStart - 放置惩罚的日期
# $dateEnd - 惩罚将到期的日期,“forever”表示永久
# $dateRemoved - 如果适用,则惩罚被删除的日期
#
# 持续时间
# duration: '# 示例格式:“20天,5小时,2分钟”。如果永久,“forever”,如果过期,“expired”(均可配置)。
# $duration-到期时间\n# $originalDuration-惩罚的完整持续时间。
# $timeSince-自放置以来的时间#配置的消息变量
# 这些变量代表此配置中的消息(messages.yml)
# $base-被禁止的_message_base
# $appealMessage-被禁止的_message_appeal_message
# 全局变量
# $activeBans,$activeMutes,$activeWarnings-全局有效惩罚的总数
# $totalBans,$totalMutes,$totalWarnings,$totalKicks-全局惩罚的总数(包括不活动的惩罚)#Vault特定变量
# $playerPrefix-受影响玩家的Vault聊天前缀
# $playerSuffix-受影响玩家的Vault聊天后缀
# $executorPrefix-执行者的Vault聊天前缀
# $executorSuffix-执行者的Vault聊天后缀\n#可以通过将其设置为“”来禁用任何消息。空消息不会由插件发送。
#任何消息都可以使用“\n”添加新行(示例:“Line 1 \n Line 2”)。
#所有消息都支持十六进制颜色(#000000-#FFFFFF)
#悬停文本需要“litebans.json.hover_text”权限才能查看,缺乏权限的玩家将看到没有悬停文本的消息。
# JSON示例:\n# muted:“&c您已被禁言! {hoverText:#FF9900Reason:$reason
# &7 $duration remaining}”
# https://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html
# 带有小时+分钟的示例时间格式:
# time_format:'dd / MM / yyyy HH:mm'\n# 示例区域设置:[en,fr,de](默认使用系统区域设置)

locale: system
time_format: yyyy-MM-dd
default_ban_reason: WATCHDOG CHEAT DETECTION &8&o(CR-一个狗的编码可以放个PAPI)
default_mute_reason: Spamming
default_unban_reason: No reason specified.
default_unmute_reason: No reason specified.
default_unwarn_reason: No reason specified.
banned_message_base: |
  &7Reason: &f$reason&f
  &7Find out more: &bhttps://www.cyanbukkit.cn/
banned_message: |-
  &cYou are temporarily banned for &f$duration &cfrom this server

  $base

  &7Ban ID: #$id
banned_message_permanent: |-
  &cYou are permanently banned from this server!

  $base

  &7Ban ID: #$id
  &fSharing your Ban ID may affect the processing of you appeal!
banned_message_appeal_message: ''
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: |-
  &cYou are muted! ($duration remaining)!
  &cReason: &e$reason
muted_permanent: |-
  &cYou are permanently muted!
  &cReason: &e$reason
warned_join: '&cYou have new warnings:'
warned_join_entry: |-
  &4 - Warned by &c$executor&4: &c$reason
     &4(&c$timeSince ago&4)
notify:
  banned_player_join: '&c$player&f tried to join, but is banned ($duration)!'
  banned_geoip_blacklist: '&c$player&f tried to join, but is blacklisted ($geoip)!'
permission_error: '&cYou don''t have permission!'
error_no_reason_provided: '&cYou must provide a reason for this punishment!'
error_no_reason_removal: '&cYou must provide a reason to remove this punishment!'
error_no_sql_connection: '&cLiteBans is not connected to a database!'
error_no_uuid_found: '&cPlayer does not exist.'
error_no_duration: '&cNo valid time specification detected!'
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: '&cUsage: $command [-s] <player> [time spec] [reason]'
    example: '&cExample: $command Player 7d [reason]'
    silent_prefix: '&f[&7Silent&f] '
    broadcast_ban: '&a$executor &fbanned &a$bannedPlayer &ffor ''&a$reason&f'''
    broadcast_tempban: '&a$executor &ftempbanned &a$bannedPlayer &ffor $tempDuration
      for ''&a$reason&f'''
    broadcast_ip_ban: '&a$executor &fIP-banned &a$bannedPlayer &ffor ''&a$reason&f'''
    broadcast_temp_ip_ban: '&a$executor &ftemp IP-banned &a$bannedIP &ffor $tempDuration
      for ''&a$reason&f'''
    previous_ban_removed: '&aPrevious ban for $bannedPlayer removed.'
    previous_ban_existing: '&c$bannedPlayer is already banned, and you do not have
      permission to replace existing bans.'
    unban_fail: '&cTarget is not banned!'
    no_override: '&cPlayer is already banned!'
    exempt: '&cYou can''t ban $player!'
    cooldown: '&cYou need to wait $duration before you can use this command again.'
    response: ''
    ip_hidden: '[IP Address]'
    unban_usage: '&cUsage: $command <player>'
    broadcast_unban: '&a$executor &funbanned &a$playerName &ffor ''&a$removalReason&f'''
    unban_queued: '&cTarget is not banned!&6 If they try to reconnect, they will be
      unbanned.'
  mute:
    usage: '&cUsage: $command [-s] <player> [time spec] [reason]'
    example: '&cExample: $command Player 7d [reason]'
    broadcast: '&a$executor &fmuted &a$mutedPlayer &ffor ''&a$reason&f'''
    broadcast_tempmute: '&a$executor &ftempmuted &a$playerName &ffor $tempDuration
      for ''&a$reason&f'''
    broadcast_ip_mute: '&a$executor &fIP-muted &a$playerName &ffor ''&a$reason&f'''
    broadcast_temp_ip_mute: '&a$executor &ftemp IP-muted &a$mutedIP &ffor $tempDuration
      for ''&a$reason&f'''
    message: |-
      &4You have been muted by $executor&4 for &c'&4$reason&c'&4.
      &4This mute will expire in $duration.
    message_permanent: |-
      &4You have been permanently muted by $executor&4 for &c'&4$reason&c'&4.
      &4This mute will not expire.
    unmute_fail: '&cTarget is not muted!'
    no_override: '&cPlayer is already muted!'
    previous_mute_removed: '&aPrevious mute for $mutedPlayer removed.'
    previous_mute_existing: '&c$mutedPlayer is already muted, and you do not have
      permission to replace existing mutes.'
    exempt: '&cYou can''t mute $player!'
    notification: '&c$mutedPlayer tried to speak, but is muted.'
    error_not_enabled: '&cMuting is not enabled in the configuration!'
    response: ''
    unmute_usage: '&cUsage: $command <player>'
    broadcast_unmute: '&a$executor &funmuted &a$mutedPlayer &ffor ''&a$removalReason&f'''
  warn:
    usage: '&cUsage: $command [-s] <player> [reason]'
    example: ''
    broadcast: '&a$executor &fwarned &a$warnedPlayer &ffor ''&a$reason&f'''
    message: |-
      &4You have been warned by $executor&4 for &c'&4$reason&c'&4.
      &4This warning will expire in $duration.
    list_entry: '&f \- Warned by $executor: ''$reason&f'''
    unwarn_response: '&aLast warning removed for $player.'
    unwarn_fail: '&cTarget has no warnings!'
    exempt: '&cYou can''t warn $player!'
    response: ''
    unwarn_usage: '&cUsage: $command <player>'
    broadcast_unwarn: '&a$executor &funwarned &a$warnedPlayer'
  kick:
    usage: '&c$command <player> [reason]'
    no_match: '&cError: &4Player not found.'
    kick_requested: '&6Player $player is not online on this server. Cross-server kick
      has been requested.'
    message: 'Kicked by $executor: $reason'
    message_no_reason: Kicked by $executor.
    response: '&6$player has been kicked.'
    broadcast: '&a$player&f was kicked by &a$executor&f for ''&a$reason&f''.'
    broadcast_no_reason: '&a$player&f was kicked by &a$executor&f.'
    exempt: '&cYou can''t kick $player!'
  history:
    usage: '&c$command <player> [entries=10]'
    start: '&aHistory for $target (Limit: $limit):'
    ban_entry: |-
      &a -- [&f$timeSince ago&a] --&f
      &f $name was &cbanned &fby $executor: '&a$reason&f'
    mute_entry: |-
      &a -- [&f$timeSince ago&a] --&f
      &f $name was &7muted &fby $executor: '&a$reason&f'
    warn_entry: |-
      &a -- [&f$timeSince ago&a] --&f
      &f $name was &6warned &fby $executor: '&a$reason&f'
    kick_entry: |-
      &a -- [&f$timeSince ago&a] --&f
      &f $name was &ekicked &fby $executor: '&a$reason&f'
    unban_entry: '&f$name was &7unbanned &fby $executor: ''&7$removalReason&f'''
    unmute_entry: '&f$name was &7unmuted &fby $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.'
  namehistory:
    start: '&aName history for $target (Limit: $limit):'
    usage: '&c$command <player> [entries=10]'
    entry: '&a - [&f$playerLoginDate&a]&6 $playerName'
  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]
    end: ''
    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: expired
  forever: forever
  year: year
  years: years
  month: month
  months: months
  week: week
  weeks: weeks
  day: d
  days: d
  hour: h
  hours: h
  minute: m
  minutes: m
  second: s
  seconds: s
  format: '%d%s'
  separator: ', '
strings:
  global: global
  'null': undefined
  'true': 'yes'
  'false': 'no'
资源操作
前往下载
将跳转至进入云盘/官网下载!请知晓
作者信息
Avatar
玄易同志

这位作者很懒,什么都没写~