Advertisement
IcyBlue

Untitled

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