Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.85 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. # message: 'Test message {hoverText: Hover 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: 'Appeal at: &nwww.mcpvpmasters.net/forum'
  75. banned_message_geoip_blacklist: |-
  76. &cYou are banned from this server!&f
  77.  
  78. Your location is blacklisted: $geoip
  79. default_ban_reason: The Ban Hammer has spoken!
  80. default_mute_reason: Spamming
  81. permission_error: '&cYou don''t have permission!'
  82. muted: '&cYou are muted ($duration remaining)!'
  83. muted_permanent: '&cYou are permanently muted!'
  84. notify:
  85. banned_player_join: '&c$player&f tried to join, but is banned ($duration)!'
  86. banned_geoip_blacklist: '&c$player&f tried to join, but is blacklisted ($geoip)!'
  87. error_no_reason_provided: '&cYou must provide a reason for this punishment!'
  88. error_no_sql_connection: '&cLiteBans is not connected to a database!'
  89. internal_error: '&cAn internal error occurred while attempting to perform this command.'
  90. duration_limit_error: '&cMaximum duration allowed: $duration'
  91. warned_join: '&cYou have new warnings:'
  92. warned_join_entry: |-
  93. &4 - Warned by &c$executor&4: &c$reason
  94. &4(&c$timeSince ago&4)
  95. command:
  96. ban:
  97. usage: '&cUsage: /ban [-s] [time spec] [reason]'
  98. unban_usage: '&cUsage: /unban '
  99. example: '&cExample: /ban Player 7d [reason]'
  100. silent_prefix: '&f[&7Silent&f] '
  101. broadcast_ban: '&a$executor &fbanned &a$bannedPlayer &ffor ''&a$reason&f'''
  102. broadcast_tempban: '&a$executor &ftempbanned &a$bannedPlayer &ffor $tempDuration
  103. for ''&a$reason&f'''
  104. broadcast_ip_ban: '&a$executor &fIP-banned &a$bannedPlayer &ffor ''&a$reason&f'''
  105. broadcast_temp_ip_ban: '&a$executor &ftemp IP-banned &a$bannedIP &ffor $tempDuration
  106. for ''&a$reason&f'''
  107. broadcast_ip_ban_hidden: '[Hidden IP]'
  108. broadcast_unban: '&a$executor &funbanned &a$bannedPlayer'
  109. previous_ban_removed: '&aPrevious ban for $bannedPlayer removed.'
  110. previous_ban_existing: '&c$bannedPlayer is already banned, and you do not have
  111. permissions to replace existing bans.'
  112. unban_queue: '&6If they try to reconnect, they will be unbanned.'
  113. error_no_spec: '&cNo valid time specification detected!'
  114. unban_fail: '&cTarget is not banned!'
  115. exempt: '&cYou can''t ban $player!'
  116. broadcast_unmute: '&a$displayName &funmuted &a$bannedPlayer'
  117. no_override: '&cPlayer is already banned!'
  118. response: ''
  119. cooldown: '&cYou need to wait $seconds seconds before you can use this command
  120. again.'
  121. mute:
  122. usage: '&cUsage: /mute [-s] [time spec] [reason]'
  123. unmute_usage: '&cUsage: /unmute '
  124. example: '&cExample: /mute Player 7d [reason]'
  125. broadcast: '&a$executor &fmuted &a$mutedPlayer &ffor ''&a$reason&f'''
  126. broadcast_tempmute: '&a$executor &ftempmuted &a$mutedPlayer &ffor $tempDuration
  127. for ''&a$reason&f'''
  128. message: |-
  129. &4You have been muted by $executor&4 for &c'&4$reason&c'&4.
  130. &4This mute will expire in $duration.
  131. message_permanent: |-
  132. &4You have been permanently muted by $executor&4 for &c'&4$reason&c'&4.
  133. &4This mute will not expire.
  134. unmute_fail: '&cTarget is not muted!'
  135. previous_mute_removed: '&aPrevious mute for $mutedPlayer removed.'
  136. previous_mute_existing: '&c$mutedPlayer is already muted, and you do not have
  137. permissions to replace existing mutes.'
  138. exempt: '&cYou can''t mute $player!'
  139. notification: '&c$mutedPlayer tried to speak, but is muted.'
  140. error_not_enabled: '&cMuting is not enabled in the configuration!'
  141. broadcast_ip_mute: '&a$executor &fIP-muted &a$mutedPlayer &ffor ''&a$reason&f'''
  142. broadcast_temp_ip_mute: '&a$executor &ftemp IP-muted &a$mutedIP &ffor $tempDuration
  143. for ''&a$reason&f'''
  144. no_override: '&cPlayer is already muted!'
  145. response: ''
  146. broadcast_unmute: '&a$executor &funmuted &a$bannedPlayer'
  147. warn:
  148. usage: '&cUsage: /warn [-s] [reason]'
  149. unwarn_usage: '&cUsage: /unwarn '
  150. example: ''
  151. broadcast: '&a$executor &fwarned &a$warnedPlayer &ffor ''&a$reason&f'''
  152. message: |-
  153. &4You have been warned by $executor&4 for &c'&4$reason&c'&4.
  154. &4This warning will expire in $duration.
  155. list_entry: ' \- Warned by $executor: ''$reason&f'''
  156. unwarn_response: '&aLast warning removed for $player.'
  157. unwarn_fail: '&cTarget has no warnings!'
  158. exempt: '&cYou can''t warn $player!'
  159. cooldown: '&cYou need to wait $seconds seconds before $player can be warned again.'
  160. response: ''
  161. history:
  162. usage: '&c/history [entries=10]'
  163. start: '&aHistory for $target (Limit: $limit):'
  164. ban_entry: |-
  165. &a -- [&f$timeSince ago&a] --&f
  166. &f $name was &cbanned &fby $executor: '&a$reason&f'
  167. mute_entry: |-
  168. &a -- [&f$timeSince ago&a] --&f
  169. &f $name was &7muted &fby $executor: '&a$reason&f'
  170. warn_entry: |-
  171. &a -- [&f$timeSince ago&a] --&f
  172. &f $name was &6warned &fby $executor: '&a$reason&f'
  173. kick_entry: |-
  174. &a -- [&f$timeSince ago&a] --&f
  175. &f $name was &ekicked &fby $executor: '&a$reason&f'
  176. active_suffix: '&f [&cActive&f]'
  177. active_suffix_temp: |-
  178. &f [&cActive&f]
  179. &fExpires in $duration.
  180. error_no_history: '&cNo history found.'
  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. expired_suffix: '&f [&8Expired&f]'
  188. warnings:
  189. usage: '&c/warnings '
  190. start: '&aActive warnings for $target:'
  191. prunehistory:
  192. usage: '&c/prunehistory [duration]'
  193. message: '&aHistory pruned.'
  194. staffhistory:
  195. usage: '&c/staffhistory [entries=10]'
  196. start: '&aStaff history for $target (Limit: $limit):'
  197. staffrollback:
  198. usage: '&c/staffrollback [duration]'
  199. message: '&aRollback completed, total entries removed: $amount'
  200. banlist:
  201. start: '&f=== &aPage &6$page&a out of &6$total&f ==='
  202. iphistory:
  203. usage: '&c/iphistory [entries=10]'
  204. start: '&aLogin history for $target (Limit: $limit):'
  205. entry: '&a - [&f$date&a]&f $name&a:&f $ip'
  206. error_no_history: '&cNo history found.'
  207. dupeip:
  208. usage: '&c/dupeip '
  209. start: '&fScanning &7$name&f on &a$ip&f. &f[&aOnline&f] [&7Offline&f] [&cBanned&f]'
  210. separator: '&f, '
  211. online: '&a'
  212. offline: '&7'
  213. banned: '&c'
  214. multiple_addresses: '[$num addresses]'
  215. start_no_ip: '&fScanning &7$name&f. &f[&aOnline&f] [&7Offline&f] [&cBanned&f]'
  216. muted: '&6'
  217. ipreport:
  218. start: '&fScanning &a$num&f online players.. [&aOnline&f] [&7Offline&f] [&cBanned&f]'
  219. entry: '&f$player&a: $result'
  220. checkban:
  221. usage: '&c/checkban '
  222. no_ban: '&cTarget is not banned!'
  223. banned: |-
  224. &aTarget &f[&a$target&f]&a is banned:
  225. &aBanned by: $executor
  226. &aReason: $reason&a
  227. &aBanned on: $dateStart
  228. &aBanned until: $dateEnd ($duration)
  229. &aIP ban: $ipban, silent: $silent, permanent: $permanent
  230. lastuuid:
  231. usage: '&c/lastuuid '
  232. message: '&fLast UUID for &a$name&f: &a$uuid'
  233. geoip:
  234. usage: '&c/geoip '
  235. message: '&a$target&f is from: &a$result'
  236. error_disabled: '&cGeoIP support is not enabled in the configuration!'
  237. error_unavailable: '&cGeoIP support is currently unavailable, has it been downloaded
  238. yet?'
  239. error_not_found: '&cGeoIP information for $target not found.'
  240. lockdown:
  241. usage: '&c/lockdown | /lockdown end'
  242. message: '&cServer lockdown activated (reason: "$reason&c")'
  243. stopped: '&aLockdown has been deactivated.'
  244. kick_message: |-
  245. Server lockdown active, try again later.
  246. Reason: $reason
  247. error_not_active: '&cLockdown is not active!'
  248. kick_message_global: |-
  249. Network lockdown active, try again later.
  250. Reason: $reason
  251. kick:
  252. usage: '&c/kick [reason]'
  253. no_match: '&cError: &4Player not found.'
  254. message: 'Kicked by $executor: $reason'
  255. message_no_reason: Kicked by $executor.
  256. response: '&6$player has been kicked.'
  257. broadcast: '&a$player&f was kicked by &a$executor&f for ''&a$reason&f''.'
  258. broadcast_no_reason: '&a$player&f was kicked by &a$executor&f.'
  259. exempt: '&cYou can''t kick $player!'
  260. kick_requested: '&6Player $player is not online on this server. Cross-server kick
  261. has been requested.'
  262. togglechat:
  263. toggle_off: '&aChat has been toggled off.'
  264. toggle_on: '&aChat has been toggled on.'
  265. clearchat:
  266. broadcast: '&aChat has been cleared by $executor.'
  267. mutechat:
  268. response: '&cServer chat is currently disabled!'
  269. broadcast_disabled: '&cServer chat has been disabled by $executor.'
  270. broadcast_enabled: '&aServer chat has been enabled by $executor.'
  271. litebans:
  272. reload_success: '&aLiteBans reloaded successfully.'
  273. reload_fail_connect: '&aLiteBans reloaded. &cFailed to connect to database.'
  274. add_history_usage: '&c/litebans addhistory '
  275. add_history: '&aHistory added.'
  276. fix_history: '&aFixing history for table $table...'
  277. fix_history_result: '&aAdded $amount entries.'
  278. import_usage: '&c/litebans import start'
  279. import_start: '&aImporting from $db, this might take a while...'
  280. import_finish: '&aImport finished successfully. $bans bans imported, $ipbans IP-bans.'
  281. import_finish_litebans: '&aImport finished successfully. Added $amount entries
  282. to the database.'
  283. import_fail: '&cImport failed. Check console.'
  284. import_unsupported: '&cImporting from ''$name'' is not supported yet!'
  285. sqlexec_success: '&aSQL query executed successfully.'
  286. sqlexec_failure: '&cFailed to execute.'
  287. reload_fail: '&cReload failed.'
  288. reload_fail_config: |-
  289. &c[LiteBans] &4config.yml is not valid and could not be loaded, the default configuration will be used.
  290. &cPlease check the server console for more information.
  291. reload_fail_messages: |-
  292. &c[LiteBans] &4messages.yml is not valid and could not be loaded, default messages will be used.
  293. &cPlease check the server console for more information.
  294. fix_history_offline_uuids: '&c$amount UUIDs were not fetched from Mojang since
  295. they are offline-mode UUIDs.'
  296. checkmute:
  297. usage: '&c$command '
  298. no_mute: '&cTarget is not muted!'
  299. muted: |-
  300. &aTarget &f[&a$target&f]&a is muted:
  301. &aMuted by: $executor
  302. &aReason: $reason&r
  303. &aMuted on: $dateStart
  304. &aMuted until: $dateEnd ($duration)
  305. &aMuted on server &6$serverOrigin&a, server scope: &6$serverScope
  306. &aIP mute: $ipban, silent: $silent, permanent: $permanent
  307. duration:
  308. expired: expired
  309. forever: forever
  310. year: year
  311. years: years
  312. month: month
  313. months: months
  314. week: week
  315. weeks: weeks
  316. day: day
  317. days: days
  318. hour: hour
  319. hours: hours
  320. minute: minute
  321. minutes: minutes
  322. second: second
  323. seconds: seconds
  324. bungee_switch_banned: |-
  325. &cYou are banned on $serverScope! Reason:
  326. $reason
  327. error_no_uuid_found: '&cPlayer does not exist.'
  328. strings:
  329. global: global
  330. 'null': undefined
  331. 'true': 'yes'
  332. 'false': 'no'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement