Guest User

Untitled

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