Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.38 KB | None | 0 0
  1. # The following variables can be used in most messages that involve a punishment:
  2. #
  3. # Punishment specific variables
  4. # $id - The ID of the punishment in the database.
  5. # $type - Type of punishment - ban, mute, warn, kick.
  6. # $reason - the reason for the punishment
  7. # $executor - the moderator's name, or their display name (/nick) if this is enabled in the configuration
  8. # $executorUUID - the moderator's UUID
  9. # $permanent - whether this punishment is permanent
  10. # $ipban - whether this is an IP-ban
  11. # $silent - whether this punishment was executed silently (-s)
  12. # $active - whether this punishment is active
  13. #
  14. # Affected player specific variables
  15. # $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.
  16. # $playerName - player name, only available in certain contexts
  17. # $playerUUID - UUID of affected player
  18. # $playerIP - IP of affected player
  19. # $geoip - Country of affected player, requires GeoIP to be enabled in the configuration, won't work with imported bans
  20. #
  21. # Servers
  22. # These variables represent a server.
  23. # If the plugin is installed on Spigot, a server is represented by the "server_name" option in config.yml.
  24. # If the plugin is installed on BungeeCord, a server is represented by their name in the "servers" section in the proxy's config.yml.
  25. # $serverScope - the scope of the punishment (the server(s) it will affect)
  26. # $serverOrigin - the origin of the punishment (the server/subserver it was placed on)
  27. #
  28. # Dates
  29. # Example format: "2017-02-03", depends on time_format
  30. # $dateStart - date the punishment was placed
  31. # $dateEnd - date the punishment will expire, "forever" if permanent
  32. #
  33. # Durations
  34. # Example format: "20 days, 5 hours, 2 minutes". If permanent, "forever", if expired, "expired" (both are configurable).
  35. # $duration - time until expiry
  36. # $originalDuration - the full duration of the punishment.
  37. # $timeSince - time since placement
  38. #
  39. # Placeholders
  40. # These variables represent messages in this configuration (messages.yml)
  41. # $base - banned_message_base
  42. # $appealMessage - banned_message_appeal_message
  43. #
  44. # Global variables
  45. # $activeBans, $activeMutes, $activeWarnings - total number of global active punishments
  46. # $totalBans, $totalMutes, $totalWarnings - total number of global punishments (including inactive ones)
  47. #
  48. # Any message can be disabled by setting it to "". ""Empty messages will not be sent by the plugin.
  49.  
  50. # https://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html
  51. # Example time format with hours + minutes:
  52. # time_format: 'dd/MM/yyyy HH:mm'
  53. time_format: yyyy-MM-dd
  54. history_time_format: yyyy-MM-dd
  55.  
  56. banned_message_base: |
  57. &8>> &b&lBANNED &8<<
  58.  
  59.  
  60. &bBanned On &8> &7$dateStart
  61. &bBanned By &8> &7$executor
  62. &bReason &8> &7$reason&f
  63. banned_message: |-
  64. $base
  65. &bDuration &8> &7$duration
  66. $appealMessage
  67. banned_message_permanent: |-
  68. $base
  69. &bDuration &8> &7Permanent
  70. $appealMessage
  71. banned_message_appeal_message: '&b&lAPPEAL &8> &7https://barbarianfactions.com'
  72. banned_message_geoip_blacklist: |-
  73. &8>> &b&lBANNED &8<<
  74.  
  75.  
  76. &bReason &8> &7Blacklisted Region - $geoip
  77. default_ban_reason: 'Rules Violation'
  78. default_mute_reason: 'Rules Violation'
  79. permission_error: '&3&lStaff &8>> &7Insufficient permissions.'
  80. muted: '&b&lCHAT &8> &7You cannot chat for &b$duration remaining&7!'
  81. muted_permanent: '&b&lChat &8> &7You are permanently muted!'
  82. notify:
  83. banned_player_join: '&b&lALERT &8> &b$player&7 attempted to join while banned.'
  84. banned_geoip_blacklist: '&b&lALERT &8> &b$player &7attempted to join while blacklisted.'
  85. error_no_reason_provided: '&3&lStaff &8>> &7You must add a reason to this punishment.'
  86. error_no_sql_connection: '&b&lERROR &8> &7LiteBans is not connected to a database!'
  87. internal_error: '&b&lERROR &8> &7An internal error occurred while attempting to execute this command.'
  88. duration_limit_error: '&3&lStaff &8>> &7You can only use durations up to &b$duration&7!'
  89. warned_join: '&b&LALERT &8> &7You have received warnings!'
  90. warned_join_entry: |-
  91. &8&m-----------------------------------------------------
  92. &8>> &b&lWARNED &8<<
  93.  
  94. &bWarned by &8> &7$executor
  95. &bReason &8> &7$reason
  96. &bIssued &8> &7$timeSince ago
  97. &8&m-----------------------------------------------------
  98. command:
  99. ban:
  100. usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/ban <player> [duration] [reason] [-s]\n&bExample &8> &7/ban Console 7d Hacking -s\n&8&m-----------------------------------------------------'
  101. unban_usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/unban <player> [-s]\n&bExample &8> &7/unban Console -s\n&8&m-----------------------------------------------------'
  102. example: ""
  103. silent_prefix: '&f[&7Silent&f] '
  104. broadcast_ban: '&8&m-----------------------------------------------------\n&b$bannedPlayer &7has been &bbanned&7!\n&bBanned by &8> &7$banningPlayer\n&bReason &8> &7$reason\n&8&m-----------------------------------------------------'
  105. broadcast_tempban: '&8&m-----------------------------------------------------\n&b$bannedPlayer &7has been &bbanned&7!\n&bBanned by &8> &7$banningPlayer\n&bReason &8> &7$reason\n&bDuration &8> &7$tempDuration\n&8&m-----------------------------------------------------'
  106. broadcast_ip_ban: '&8&m-----------------------------------------------------\n&b&a$bannedPlayer &7has been &bIP-banned&7!\n&bBanned by &8> &7$banningPlayer\n&bReason &8> &7$reason&f&8&m-----------------------------------------------------'
  107. broadcast_temp_ip_ban: '&8&m-----------------------------------------------------\n&b$bannedIP &7has been &bIP-banned&7!\n&bBanned by &8> &7$banningPlayer\n&bReason &8> &7$reason\n&bDuration &8> &7$tempDuration\n&8&m
  108. &8&m-----------------------------------------------------'
  109. broadcast_ip_ban_hidden: '[Hidden IP]'
  110. broadcast_unban: '&b&lALERT &8> &b$executor &7unbanned &b$bannedPlayer&7!'
  111. previous_ban_removed: '&3&lStaff &8>> &7You have removed the previous ban on &b$bannedPlayer&7!'
  112. previous_ban_existing: '&3&lStaff &8>> &b$bannedPlayer &7is already banned!'
  113. unban_queue: '&3&lStaff &8>> &7If the user attempts to reconnect, they will be banned.'
  114. error_no_spec: '&3&lStaff &8>> &7You must provide a time specification!'
  115. unban_fail: '&3&lStaff &8>> &7This player is not banned!'
  116. exempt: '&3&lStaff &8>> &7You cannot ban &b$player&7!'
  117. no_override: '&3&lStaff &8>> &7This player is already banned!'
  118. response: ''
  119. mute:
  120. usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/mute <player> [duration] [reason] <-s>\n&bExample &8> &7/mute Console 7d Spam -s\n8&m-----------------------------------------------------'
  121. unmute_usage: '&8&m-----------------------------------------------------&bUsage &8> &7/unmute <player> -s\n&bExample &8> &7/unmute Console -s\n&8&m-----------------------------------------------------'
  122. example: ""
  123. broadcast: '&8&m-----------------------------------------------------&b$playerName &7has been &bmuted&7!\n&bMuted by &8> &7$executor\n&bReason &8> &7$reason\n&8&m-----------------------------------------------------'
  124. broadcast_tempmute: '&8&m-----------------------------------------------------&b$playerName &7has been &bmuted&7!\n&bMuted by &8> &7$executor\n&bReason &8> &7$reason\n
  125. &bDuration &8> &7$tempDuration\n&8&m-----------------------------------------------------'
  126. broadcast_unmute: '&b&lALERT &8> &b$executor &7unmuted &b$playerName'
  127. message: |-
  128. &8&m-----------------------------------------------------
  129. &8>> &b&lMUTED &8<<
  130.  
  131. &bMuted by &8> &7$executor
  132. &bReason &8> &7$reason
  133. &bDuration &8> &7$duration
  134. &8&m-----------------------------------------------------
  135. message_permanent: |-
  136. &8&m-----------------------------------------------------
  137. &8>> &b&lMUTED &8<<
  138.  
  139. &bMuted by &8> &7$executor
  140. &bReason &8> &7$reason
  141. &bDuration &8> &7Permanent
  142. &8&m-----------------------------------------------------
  143. unmute_fail: '&3&lStaff &8>> &7This player is not muted!'
  144. previous_mute_removed: '&3&lStaff &8>> &7You have removed the previous mute on &b$bannedPlayer&7!'
  145. previous_mute_existing: '&3&lStaff &8>> &b$bannedPlayer &7is already banned!'
  146. exempt: '&3&lStaff &8>> &7You cannot ban &b$player&7!'
  147. notification: '&3&lStaff &8>> &7$mutedPlayer &7attempted to speak while muted!'
  148. error_not_enabled: '&3&lStaff &8>> &7Muting is disabled in the plugin configuration!'
  149. broadcast_ip_mute: '&8&m-----------------------------------------------------\n&b$mutedPlayer &7has been &bmuted&7!\n&bMuted by &8> &7$executor\n&bReason &8> &7$reason\n&8&m-----------------------------------------------------'
  150. broadcast_temp_ip_mute: '&8&m-----------------------------------------------------\n&b$mutedIP &7has been &bIP-muted&7!\n&bMuted by &8> &7$executor\n&bReason &8> &7$reason\n &8> &7Duration &8> &7$tempDuration\n&8&m-----------------------------------------------------'
  151. no_override: '&3&lStaff &8>> &7This player is already muted!'
  152. response: ''
  153. warn:
  154. usage: '&8&m-----------------------------------------------------&bUsage &8> &7/warn <player> [duration] [reason] -s\n&bExample &8> &7/unwarn Console -s\n&8&m-----------------------------------------------------'
  155. unwarn_usage: '&8&m-----------------------------------------------------&bUsage &8> &7/unwarn <player> -s\n&bExample &8> &7/unwarn Console -s\n&8&m-----------------------------------------------------'
  156. example: ""
  157. broadcast: '&8&m-----------------------------------------------------&b$warnedPlayer &7has been &bwarned!\n&bWarned by &8> &7$executor\n&bReason &8> &7$reason\n &8> &bDuration &8> &7$duration\n&8&m-----------------------------------------------------'
  158. message: |-
  159. &8&m-----------------------------------------------------
  160. &8>> &b&lWARNED &8<<
  161.  
  162. &bWarned by &8> &7$executor
  163. &bReason &8> &7$reason
  164. &bDuration &8> &7$duration
  165. &8&m-----------------------------------------------------
  166. list_entry: ' \- &7Warned by &b$executor &8> &7$reason'
  167. unwarn_response: '&3&lStaff &8>> &7You have removed the previous warning on &b$player&7!'
  168. unwarn_fail: '&3&lStaff &8>> &7This player has no warnings!'
  169. exempt: '&3&lStaff &8>> &7You cannot warn &b$player&7!'
  170. cooldown: '&3&lStaff &8>> &7You must wait &b$seconds seconds &7to punish this player again!'
  171. response: ""
  172. history:
  173. usage: '&8&m-----------------------------------------------------&bUsage &8> &7/history <player>\n&bExample &8> &7/history Console\n&8&m-----------------------------------------------------'
  174. start: '&3&lStaff &8>> &7Loaded history of &b$target&&!'
  175. ban_entry: |-
  176. &8 >> &b&l$timeSince Ago &8<<&r
  177. &b $name &7was &bbanned &7by &b$executor &8> &7$reason'
  178. mute_entry: |-
  179. &8 >> &b&l$timeSince Ago &8<<&r
  180. &b $name &7was &bmuted &7by &b$executor &8> &7$reason'
  181. warn_entry: |-
  182. &8 >> &b&l$timeSince Ago &8<<&r
  183. &b $name &7was &bwarned &7by &b$executor &8> &7$reason'
  184. kick_entry: |-
  185. &8 >> &b&l$timeSince Ago &8<<&r
  186. &b $name &7was &bkicked &7by &b$executor &8> &7$reason'
  187. active_suffix: '&8 [&bActive&8]'
  188. active_suffix_temp: |-
  189. &8 [&bActive&8] &7Until &8> &7$duration
  190.  
  191. error_no_history: '&bNo history found.'
  192. unban_entry: |2-
  193.  
  194. &f$name was &7unbanned &fby $executor.
  195. unmute_entry: |2-
  196.  
  197. &f$name was &7unmuted &fby $executor.
  198. expired_suffix: '&8 [&3Expired&8]'
  199. warnings:
  200. usage: '&8&m-----------------------------------------------------&bUsage &8> &7/warnings <player>\n&bExample &8> &7/warnings Console\n&8&m-----------------------------------------------------'
  201. start: '&3&lStaff &8>> &7Loaded warnings for &b$target&7!'
  202. prunehistory:
  203. usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/prunehistory <player> [duration]\n&bExample &8> &7/prunehistory StaffMember 7d\n&8&m-----------------------------------------------------'
  204. message: '&3&lStaff &8>> &7History pruned!'
  205. staffhistory:
  206. usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/staffhistory <player>\n&bExample &8> &7/staffhistory StaffMember\n&8&m-----------------------------------------------------'
  207. start: '&3&lStaff &8>> &7Loaded staff history of &b$target&7!'
  208. staffrollback:
  209. usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/staffrollback <player> [duration]\n&bExample &8> &7/staffrollback StaffMember 7d\n&8&m-----------------------------------------------------'
  210. message: '&3&lStaff &8>> &7Rollback completed, &b$amount &7punishments have been reversed.'
  211. banlist:
  212. start: '&8>> &b&lBANLIST &8[&b$page&8/&b$total&8] <<'
  213. iphistory:
  214. usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/iphistory <player>\n&bExample &8> &7/iphistory Console\n&8&m-----------------------------------------------------'
  215. start: '&3&lStaff &8>> &7Loaded login history of &b$target&7!'
  216. entry: '&8 - [&b$date&8]&b $name &8> &7 $ip'
  217. error_no_history: '&bNo history found.'
  218. dupeip:
  219. usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/dupeip <player>\n&bExample &8> &7/dupeip Console\n&8&m-----------------------------------------------------'
  220. start: '&3&lStaff &8>> &7Scanning &b$name&7 on &b$ip&7! &8[&bOnline&8] [&7Offline&8] [&3Banned&8] [&6Muted&8]'
  221. start_no_ip: '&3&lStaff &8>> &7Scanning &v$name&7! &8[&bOnline&f] [&7Offline&8] [&3Banned&8] [&6Muted&8]'
  222. separator: '&7, '
  223. online: '&b'
  224. offline: '&7'
  225. banned: '&3'
  226. muted: '&6'
  227. multiple_addresses: '[$num addresses]'
  228. ipreport:
  229. start: '&3&lStaff &8>> &7Scanning &b$num&f &7online players! &8[&bOnline&f] [&7Offline&8] [&3Banned&8] [&6Muted&8]'
  230. entry: '&b$player &8> &7$result'
  231. checkban:
  232. usage: '&8&m-----------------------------------------------------&bUsage &8> &7/checkban <player>\n&bExample &8> &7/checkban BannedPlayer\n&8&m-----------------------------------------------------'
  233. no_ban: '&3&lStaff &8>> &7This player is not banned!'
  234. banned: |-
  235. &b$target &7is banned!
  236. &bBanned by &8> &7$executor
  237. &bReason &8> &7$reason
  238. &bBanned on &8> &7$dateStart
  239. &bBanned until &8> &7$dateEnd ($duration)
  240. &bIP-ban &8> &7$ipban
  241. &bSilent &8> &7$silent
  242. &bPermanent &8> &7$permanent
  243. checkmute:
  244. usage: '&8&m-----------------------------------------------------&bUsage &8> &7/checkmute <player>\n&bExample &8> &7/checkmute MutedPlayer\n&8&m-----------------------------------------------------'
  245. no_mute: '&bTarget is not muted!'
  246. muted: |-
  247. &b$target &7is muted!
  248. &bMuted by &8> &7$executor
  249. &bReason &8> &7$reason
  250. &bMuted on &8> &7$dateStart
  251. &bMuted until &8> &7$dateEnd ($duration)
  252. &bIP-mute &8> &7$ipban
  253. &bSilent &8> &7$silent
  254. &bPermanent &8> &7$permanent
  255. lastuuid:
  256. usage: '&8&m-----------------------------------------------------&bUsage &8> &7/lastuuid <player|IP>\n&bExample &8> &7/lastuuid Console\n&8&m-----------------------------------------------------'
  257. message: '&3&lStaff &8>> &7Last UUID of &b$name &8> &7$uuid'
  258. geoip:
  259. usage: '&8&m-----------------------------------------------------&bUsage &8> &7/geoip <player|IP>\n&bExample &8> &7/geoip Console\n&8&m-----------------------------------------------------'
  260. message: '&3&lStaff &8>> &v$target&7 is likely from &b$result&7!'
  261. error_disabled: '&3&lStaff &8>> &7GeoIP support is not enabled in the configuration!'
  262. error_unavailable: '&3&lStaff &8>> &7GeoIP support is currently unavailable, not downloaded!'
  263. error_not_found: '&3&lStaff &8>> &7Information for &b$target &7could not be found.'
  264. lockdown:
  265. usage: '&8&m-----------------------------------------------------&bUsage &8> &7/lockdown <reason> | /lockdown end\n&bExample &8> &7/lockdown Maintenance\n&8&m-----------------------------------------------------'
  266. message: '&3&lStaff &8>> &7Server lockdown activated with reason &b$reason&7!'
  267. stopped: '&3&lStaff &8>> &7Lockdown has been deactivated!'
  268. kick_message: |-
  269. &8>> &b&lLOCKDOWN &8<<
  270. &r
  271. &7A server lockdown is in effect!
  272. &bReason &8> &7$reason
  273. error_not_active: '&3&lStaff &8>> &7There is no lockdown enabled!'
  274. kick:
  275. usage: '&8&m-----------------------------------------------------&bUsage &8> &7/kick <player> [reason] [-s]\n&bExample &8> &7/kick Console -s\n&8&m-----------------------------------------------------'
  276. no_match: '&3&lStaff &8>> &7Invalid player!'
  277. message: '&bKicked &7by &b$executor &8> &7$reason'
  278. message_no_reason: '&bKicked &7by &b$executor&7!'
  279. response: ''
  280. broadcast: '&8&m-----------------------------------------------------\n&b$player &7has been &bkicked&7!\n&bKicked by &8> &7$executor\n&bReason &8> &7$reason\n&8&m-----------------------------------------------------'
  281. broadcast_no_reason: '&8&m-----------------------------------------------------\n&b$player&f has been &bkicked&7!\n&bKicked by &8> &7$executor\n&8&m-----------------------------------------------------'
  282. exempt: '&3&lStaff &8>> &7You cannot kick &b$player&7!'
  283. kick_requested: '&3&lStaff &8>> &b$player &7is not online and a cross-server kick has been requested!'
  284. togglechat:
  285. toggle_off: '&3&lStaff &8>> &7Chat has been toggled off!'
  286. toggle_on: '&3&lStaff &8>> &7Chat has been toggled on!'
  287. clearchat:
  288. broadcast: '&b&lALERT &8> &7Chat has been cleared by &b$executor&7!'
  289. mutechat:
  290. response: '&b&lCHAT &8> &7The server chat is disabled!'
  291. broadcast_disabled: '&b&lALERT &8> &7Chat has been disabled by &b$executor&7!'
  292. broadcast_enabled: '&b&lALERT &8> &7Chat has been enabled by &b$executor&7!'
  293. litebans:
  294. reload_success: '&b&lLITEBANS &8> &7LiteBans reloaded successfully!'
  295. reload_fail_connect: '&b&lLITEBANS &8> &7LiteBans reloaded but failed to connect to database!'
  296. add_history_usage: '&8&m-----------------------------------------------------\n&bUsage &8> &7/litebans addhistory <name> <UUID> <IP>\n&8&m-----------------------------------------------------'
  297. add_history: '&3&lStaff &8>> &7History added!'
  298. fix_history: '&3&lStaff &8>> &7Fixing history of &btable $table&7!'
  299. fix_history_result: '&3&lStaff &8>> &b$entries &7entries have been added!'
  300. import_usage: '&b&lLITEBANS &8> &7&bUsage &8> &7/litebans import start'
  301. import_start: '&b&lLITEBANS &8> &7Importing from &b$db&7, this might take a while!'
  302. import_finish: '&b&lLITEBANS &8> &7Import finished successfully. &b$bans bans &7imported, &b$ipbans IP-bans&7!'
  303. import_finish_litebans: '&b&lLITEBANS &8> &7Import finished successfully. Added &b$amount entries &7to the database!'
  304. import_fail: '&b&lLITEBANS &8> &7Import failed. Check console!'
  305. import_unsupported: '&b&lLITEBANS &8> &7Importing from &b$name &7is not supported yet!'
  306. sqlexec_success: '&b&lLITEBANS &8> &7SQL query executed successfully!'
  307. sqlexec_failure: '&b&lLITEBANS &8> &7Failed to execute!'
  308. duration:
  309. expired: expired
  310. forever: forever
  311. year: year
  312. years: years
  313. month: month
  314. months: months
  315. week: week
  316. weeks: weeks
  317. day: day
  318. days: days
  319. hour: hour
  320. hours: hours
  321. minute: minute
  322. minutes: minutes
  323. second: second
  324. seconds: seconds
  325. strings:
  326. global: global
  327. 'null': undefined
  328. 'true': true
  329. 'false': false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement