Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.13 KB | None | 0 0
  1. #
  2. # The following variables can be used in most messages that involve a punishment:
  3. #
  4. # Punishment specific variables
  5. # $id - The ID of the punishment in the database.
  6. # $type - Type of punishment - ban, mute, warn, kick.
  7. # $reason - the reason for the punishment
  8. # $executor - the moderator's name, or their display name (/nick) if this is enabled in the configuration
  9. # $executorUUID - the moderator's UUID
  10. # $permanent - whether this punishment is permanent
  11. # $ipban - whether this is an IP-ban
  12. # $silent - whether this punishment was executed silently (-s)
  13. # $active - whether this punishment is active
  14. #
  15. # Affected player specific variables
  16. # $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.
  17. # $playerName - player name
  18. # $playerUUID - UUID of affected player
  19. # $playerIP - IP of affected player
  20. # $geoip - Country of affected player, requires GeoIP to be enabled in the configuration, won't work with imported bans
  21. #
  22. # Servers
  23. # These variables represent a server.
  24. # If the plugin is installed on Spigot, a server is represented by the "server_name" option in config.yml.
  25. # If the plugin is installed on BungeeCord, a server is represented by their name in the "servers" section in the proxy's config.yml.
  26. # $serverScope - the scope of the punishment (the server(s) it will affect)
  27. # $serverOrigin - the origin of the punishment (the server/subserver it was placed on)
  28. #
  29. # Dates
  30. # Example format: "2017-02-03", depends on time_format
  31. # $dateStart - date the punishment was placed
  32. # $dateEnd - date the punishment will expire, "forever" if permanent
  33. #
  34. # Durations
  35. # Example format: "20 days, 5 hours, 2 minutes". If permanent, "forever", if expired, "expired" (both are configurable).
  36. # $duration - time until expiry
  37. # $originalDuration - the full duration of the punishment.
  38. # $timeSince - time since placement
  39. #
  40. # Placeholders
  41. # These variables represent messages in this configuration (messages.yml)
  42. # $base - banned_message_base
  43. # $appealMessage - banned_message_appeal_message
  44. #
  45. # Global variables
  46. # $activeBans, $activeMutes, $activeWarnings - total number of global active punishments
  47. # $totalBans, $totalMutes, $totalWarnings - total number of global punishments (including inactive ones)
  48. #
  49. # Any message can be disabled by setting it to "". Empty messages will not be sent by the plugin.
  50. #
  51. # JSON examples:
  52. # broadcast_ban: '&e$bannedPlayer &chas been banned. {hoverText: &aHover text here!}'
  53. # Hover text requires "litebans.json.hover_text" to view, players without this permission will see messages without hover text.
  54. #
  55. # https://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html
  56. # Example time format with hours + minutes:
  57. # time_format: 'dd/MM/yyyy HH:mm'
  58. time_format: yyyy-MM-dd
  59. history_time_format: yyyy-MM-dd
  60. banned_message_base: |
  61. &cYou are banned from this server!&f
  62.  
  63. Banned on: $dateStart
  64. Banned by: $executor
  65. Reason: $reason&f
  66. banned_message: |-
  67. $base
  68. Expires in: $duration
  69. $appealMessage
  70. banned_message_permanent: |-
  71. $base
  72. You are permanently banned!
  73. $appealMessage
  74. banned_message_appeal_message: ''
  75. banned_message_geoip_blacklist: |-
  76. &cYou are banned from this server!&f
  77.  
  78. Your location is blacklisted: $geoip
  79. bungee_switch_banned: |-
  80. &cYou are banned on $serverScope! Reason:
  81. $reason
  82. default_ban_reason: The Ban Hammer has spoken!
  83. default_mute_reason: Spamming
  84. permission_error: '&cYou don''t have permission!'
  85. muted: '&cYou are muted! ($duration remaining)!'
  86. muted_permanent: '&cYou are permanently muted!'
  87. notify:
  88. banned_player_join: '&c$player&f tried to join, but is banned ($duration)!'
  89. banned_geoip_blacklist: '&c$player&f tried to join, but is blacklisted ($geoip)!'
  90. error_no_reason_provided: '&cYou must provide a reason for this punishment!'
  91. error_no_sql_connection: '&cLiteBans is not connected to a database!'
  92. error_no_uuid_found: '&cPlayer does not exist.'
  93. error_console_only: '&cThis command can only be used from console.'
  94. internal_error: '&cAn internal error occurred while attempting to perform this command.'
  95. duration_limit_error: '&cMaximum duration allowed: $duration'
  96. warned_join: '&cYou have new warnings:'
  97. warned_join_entry: |-
  98. &4 - Warned by &c$executor&4: &c$reason
  99. &4(&c$timeSince ago&4)
  100. command:
  101. ban:
  102. usage: '&cUsage: $command [-s] <player> [time spec] [reason]'
  103. unban_usage: '&cUsage: $command <player>'
  104. example: '&cExample: $command Player 7d [reason]'
  105. silent_prefix: '&f[&7Silent&f] '
  106. broadcast_ban: '&a$executor &fbanned &a$bannedPlayer &ffor ''&a$reason&f'''
  107. broadcast_tempban: '&a$executor &ftempbanned &a$bannedPlayer &ffor $tempDuration
  108. for ''&a$reason&f'''
  109. broadcast_ip_ban: '&a$executor &fIP-banned &a$bannedPlayer &ffor ''&a$reason&f'''
  110. broadcast_temp_ip_ban: '&a$executor &ftemp IP-banned &a$bannedIP &ffor $tempDuration
  111. for ''&a$reason&f'''
  112. broadcast_ip_ban_hidden: '[Hidden IP]'
  113. broadcast_unban: '&a$executor &funbanned &a$playerName'
  114. previous_ban_removed: '&aPrevious ban for $bannedPlayer removed.'
  115. previous_ban_existing: '&c$bannedPlayer is already banned, and you do not have
  116. permissions to replace existing bans.'
  117. unban_queue: '&6If they try to reconnect, they will be unbanned.'
  118. error_no_spec: '&cNo valid time specification detected!'
  119. unban_fail: '&cTarget is not banned!'
  120. no_override: '&cPlayer is already banned!'
  121. exempt: '&cYou can''t ban $player!'
  122. cooldown: '&cYou need to wait $seconds seconds before you can use this command
  123. again.'
  124. response: ''
  125. mute:
  126. usage: '&cUsage: $command [-s] <player> [time spec] [reason]'
  127. unmute_usage: '&cUsage: $command <player>'
  128. example: '&cExample: $command Player 7d [reason]'
  129. broadcast: '&a$executor &fmuted &a$mutedPlayer &ffor ''&a$reason&f'''
  130. broadcast_tempmute: '&a$executor &ftempmuted &a$playerName &ffor $tempDuration
  131. for ''&a$reason&f'''
  132. broadcast_ip_mute: '&a$executor &fIP-muted &a$playerName &ffor ''&a$reason&f'''
  133. broadcast_temp_ip_mute: '&a$executor &ftemp IP-muted &a$mutedIP &ffor $tempDuration
  134. for ''&a$reason&f'''
  135. message: |-
  136. &4You have been muted by $executor&4 for &c'&4$reason&c'&4.
  137. &4This mute will expire in $duration.
  138. message_permanent: |-
  139. &4You have been permanently muted by $executor&4 for &c'&4$reason&c'&4.
  140. &4This mute will not expire.
  141. broadcast_unmute: '&a$executor &funmuted &a$bannedPlayer'
  142. unmute_fail: '&cTarget is not muted!'
  143. no_override: '&cPlayer is already muted!'
  144. previous_mute_removed: '&aPrevious mute for $mutedPlayer removed.'
  145. previous_mute_existing: '&c$mutedPlayer is already muted, and you do not have
  146. permissions to replace existing mutes.'
  147. exempt: '&cYou can''t mute $player!'
  148. notification: '&c$mutedPlayer tried to speak, but is muted.'
  149. error_not_enabled: '&cMuting is not enabled in the configuration!'
  150. response: ''
  151. warn:
  152. usage: '&cUsage: $command [-s] <player> [reason]'
  153. unwarn_usage: '&cUsage: $command <player>'
  154. example: ''
  155. broadcast: '&a$executor &fwarned &a$warnedPlayer &ffor ''&a$reason&f'''
  156. message: |-
  157. &cYou have been warned by $executor&c for &c'$reason&c'.
  158. &cThis warning will expire in $duration.
  159. list_entry: '&f \- Warned by $executor: ''$reason&f'''
  160. unwarn_response: '&aLast warning removed for $player.'
  161. unwarn_fail: '&cTarget has no warnings!'
  162. exempt: '&cYou can''t warn $player!'
  163. cooldown: '&cYou need to wait $seconds seconds before you can use this command
  164. again.'
  165. response: ''
  166. history:
  167. usage: '&c$command <player> [entries=10]'
  168. start: '&aHistory for $target (Limit: $limit):'
  169. ban_entry: |-
  170. &a -- [&f$timeSince ago&a] --&f
  171. &f $name was &cbanned &fby $executor: '&a$reason&f'
  172. mute_entry: |-
  173. &a -- [&f$timeSince ago&a] --&f
  174. &f $name was &7muted &fby $executor: '&a$reason&f'
  175. warn_entry: |-
  176. &a -- [&f$timeSince ago&a] --&f
  177. &f $name was &6warned &fby $executor: '&a$reason&f'
  178. kick_entry: |-
  179. &a -- [&f$timeSince ago&a] --&f
  180. &f $name was &ekicked &fby $executor: '&a$reason&f'
  181. unban_entry: |2-
  182.  
  183. &f$name was &7unbanned &fby $executor.
  184. unmute_entry: |2-
  185.  
  186. &f$name was &7unmuted &fby $executor.
  187. active_suffix: '&f [&cActive&f]'
  188. expired_suffix: '&f [&8Expired&f]'
  189. active_suffix_temp: |-
  190. &f [&cActive&f]
  191. &fExpires in $duration.
  192. error_no_history: '&cNo history found.'
  193. warnings:
  194. usage: '&c$command <player>'
  195. start: '&aActive warnings for $target:'
  196. prunehistory:
  197. usage: '&c$command <player> [duration]'
  198. message: '&aHistory pruned.'
  199. staffhistory:
  200. usage: '&c$command <player> [entries=10]'
  201. start: '&aStaff history for $target (Limit: $limit):'
  202. staffrollback:
  203. usage: '&c$command <player> [duration]'
  204. message: '&aRollback completed, total entries removed: $amount'
  205. banlist:
  206. start: '&f=== &aPage &6$page&a out of &6$total&f ==='
  207. iphistory:
  208. usage: '&c$command <player> [entries=10]'
  209. start: '&aLogin history for $target (Limit: $limit):'
  210. entry: '&a - [&f$date&a]&f $name&a:&f $ip'
  211. error_no_history: '&cNo history found.'
  212. dupeip:
  213. usage: '&c$command <player>'
  214. start: '&fScanning &a$name&f on &a$ip&f. &f[&aOnline&f] [&7Offline&f] [&cBanned&f]'
  215. start_no_ip: '&fScanning &7$name&f. &f[&aOnline&f] [&7Offline&f] [&cBanned&f]'
  216. separator: '&f, '
  217. online: '&a'
  218. offline: '&7'
  219. banned: '&c'
  220. muted: '&6'
  221. multiple_addresses: '[$num addresses]'
  222. ipreport:
  223. start: '&fScanning &a$num&f online players.. [&aOnline&f] [&7Offline&f] [&cBanned&f]'
  224. entry: '&f$player&a: $result'
  225. checkban:
  226. usage: '&c$command <player>'
  227. no_ban: '&cTarget is not banned!'
  228. banned: |-
  229. &aTarget &f[&a$target&f]&a is banned:
  230. &aBanned by: $executor
  231. &aReason: $reason&a
  232. &aBanned on: $dateStart
  233. &aBanned until: $dateEnd ($duration)
  234. &aBanned on server &6&a$serverOrigin&a, server scope: &6$serverScope
  235. &aIP ban: $ipban, silent: $silent, permanent: $permanent
  236. checkmute:
  237. usage: '&c$command <player>'
  238. no_mute: '&cTarget is not muted!'
  239. muted: |-
  240. &aTarget &f[&a$target&f]&a is muted:
  241. &aMuted by: $executor
  242. &aReason: $reason&r
  243. &aMuted on: $dateStart
  244. &aMuted until: $dateEnd ($duration)
  245. &aMuted on server &6$serverOrigin&a, server scope: &6$serverScope
  246. &aIP mute: $ipban, silent: $silent, permanent: $permanent
  247. lastuuid:
  248. usage: '&c$command <player|IP>'
  249. message: '&fLast UUID for &a$name&f: &a$uuid'
  250. geoip:
  251. usage: '&c$command <player|IP>'
  252. message: '&a$target&f is from: &a$result'
  253. error_disabled: '&cGeoIP support is not enabled in the configuration!'
  254. error_unavailable: '&cGeoIP support is currently unavailable, has it been downloaded
  255. yet?'
  256. error_not_found: '&cGeoIP information for $target not found.'
  257. lockdown:
  258. usage: '&c$command <reason> | $command end'
  259. message: '&cServer lockdown activated (reason: "$reason&c")'
  260. stopped: '&aLockdown has been deactivated.'
  261. kick_message: |-
  262. Server lockdown active, try again later.
  263. Reason: $reason
  264. kick_message_global: |-
  265. Network lockdown active, try again later.
  266. Reason: $reason
  267. error_not_active: '&cLockdown is not active!'
  268. kick:
  269. usage: '&c$command <player> [reason]'
  270. no_match: '&cError: &4Player not found.'
  271. kick_requested: '&6Player $player is not online on this server. Cross-server kick
  272. has been requested.'
  273. message: 'Kicked by $executor: $reason'
  274. message_no_reason: Kicked by $executor.
  275. response: '&6$player has been kicked.'
  276. broadcast: '&a$player&f was kicked by &a$executor&f for ''&a$reason&f''.'
  277. broadcast_no_reason: '&a$player&f was kicked by &a$executor&f.'
  278. exempt: '&cYou can''t kick $player!'
  279. togglechat:
  280. toggle_off: '&aChat has been toggled off.'
  281. toggle_on: '&aChat has been toggled on.'
  282. clearchat:
  283. broadcast: '&aChat has been cleared by $executor.'
  284. mutechat:
  285. response: '&cServer chat is currently disabled!'
  286. broadcast_disabled: '&cServer chat has been disabled by $executor.'
  287. broadcast_enabled: '&aServer chat has been enabled by $executor.'
  288. litebans:
  289. reload_success: '&aLiteBans reloaded successfully.'
  290. reload_fail_connect: '&aLitebans reloaded. &cFailed to connect to database.'
  291. reload_fail: '&cReload failed.'
  292. reload_fail_config: |-
  293. &c[LiteBans] &4config.yml is not valid and could not be loaded, the default configuration will be used.
  294. &cPlease check the server console for more information.
  295. reload_fail_messages: |-
  296. &c[LiteBans] &4messages.yml is not valid and could not be loaded, default messages will be used.
  297. &cPlease check the server console for more information.
  298. add_history_usage: '&c$command addhistory <name> <UUID> <IP>'
  299. add_history: '&aHistory added.'
  300. fix_history: '&aFixing history for table $table...'
  301. fix_history_result: '&aAdded $amount entries.'
  302. fix_history_offline_uuids: '&c$amount UUIDs were not fetched from Mojang since
  303. they are offline-mode UUIDs.'
  304. import_usage: '&c$command import start'
  305. import_start: '&aImporting from $db, this might take a while...'
  306. import_finish: '&aImport finished successfully. $bans bans imported, $ipbans IP-bans.'
  307. import_finish_litebans: '&aImport finished successfully. Added $amount entries
  308. to the database.'
  309. import_fail: '&cImport failed. Check console.'
  310. import_unsupported: '&cImporting from ''$name'' is not supported yet!'
  311. sqlexec_success: '&aSQL query executed successfully.'
  312. sqlexec_failure: '&cFailed to execute.'
  313. duration:
  314. expired: expired
  315. forever: forever
  316. year: year
  317. years: years
  318. month: month
  319. months: months
  320. week: week
  321. weeks: weeks
  322. day: day
  323. days: days
  324. hour: hour
  325. hours: hours
  326. minute: minute
  327. minutes: minutes
  328. second: second
  329. seconds: seconds
  330. format: '%d %s'
  331. separator: ', '
  332. strings:
  333. global: global
  334. 'null': undefined
  335. 'true': 'yes'
  336. 'false': 'no'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement