Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.90 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. &7You have been suspended from &2&lMedieval&5&lPvP
  62. &7for &4$reason
  63. &7Feel as if this ban was &cunfair&8?
  64.  
  65. &7Feel free to appeal at &clink
  66. banned_message: |-
  67. $base
  68.  
  69. &7This punishment will expire in &a$duration
  70. banned_message_permanent: |-
  71. $base
  72. banned_message_geoip_blacklist: |-
  73. $base
  74. bungee_switch_banned: |-
  75. &reason
  76. default_ban_reason: Violating the server's rules
  77. default_mute_reason: Violating the server's rules
  78. permission_error: '&cYou have insufficient permissions'
  79. muted: '&7You are temporarily muted for &a($duration remaining) &7left'
  80. muted_permanent: '&cYou are permanently muted'
  81. notify:
  82. banned_player_join: '&7» &b$player &7tried to join but is &csuspended &7(&a$duration&7)'
  83. banned_geoip_blacklist: '&7» &b$player &7tried to join but is &cIP-Banned &7(&a$duration&7)'
  84. error_no_reason_provided: '&cYou must provide a reason for this punishment'
  85. error_no_sql_connection: '&cLiteBans is not connected to a database'
  86. error_no_uuid_found: '&cPlayer does not exist'
  87. error_console_only: '&cYou have insufficient permissions'
  88. internal_error: '&cAn error has occured while attempting to perform this command'
  89. duration_limit_error: '&cThe maximum duration allowed is &a$duration'
  90. warned_join: '&cYou have been warned'
  91. warned_join_entry: |-
  92. &7You have been warned for &b$reason
  93. command:
  94. ban:
  95. usage: '&cUsage: &7$command [-s] <player> [duration] [reason]'
  96. unban_usage: '&cUsage: &7$command <player>'
  97. silent_prefix: '&7[&b&lS&7]'
  98. broadcast_ban: '&7» &c&o$executor &7has permanently suspended &a$bannedPlayer'
  99. broadcast_tempban: '&7» &c&o$executor &7has temporarily suspended &a$bannedPlayer'
  100. broadcast_ip_ban: '&7» &c$executor &7has permanently blacklisted &a$bannedPlayer'
  101. broadcast_temp_ip_ban: '&7» &c&o$executor &7has temporarily blacklisted &a$bannedPlayer'
  102. broadcast_ip_ban_hidden: '&7&o[Hidden IP]'
  103. broadcast_unban: '&7» &c&o$executor &7has unbanned &a$bannedPlayer'
  104. previous_ban_removed: '&7Previous ban for &a$bannedPlayer &7removed'
  105. previous_ban_existing: '&e$bannedPlayer &7is already banned'
  106. unban_queue: '&aIf they try to reconnect, they will be unbanned'
  107. error_no_spec: '&7» &cNo valid time specification provided'
  108. unban_fail: '&aTarget is not banned'
  109. no_override: '&cPlayer is already banned'
  110. exempt: '&7You can't ban &c&o$player'
  111. cooldown: '&7You need to wait &a$seconds &7seconds before you can use this command
  112. again'
  113. response: ''
  114. mute:
  115. usage: '&bUsage: &7$command [-s] <player> [duration] [reason]'
  116. unmute_usage: '&bUsage: &7$command <player>'
  117. broadcast: '&7» &c&o$executor &7has permanently muted &a$mutedPlayer'
  118. broadcast_tempmute: '&7» &c&o$executor &7has temporarily muted &a$mutedPlayer'
  119. broadcast_ip_mute: '&7» &c&o$executor &7has IP-Muted &a$mutedPlayer'
  120. broadcast_temp_ip_mute: '&7» &c&o$executor &7has temporarily IP-Muted &a$mutedPlayer'
  121. message: |-
  122. &7You have been temporarily muted by &c&o$executor
  123. &7This punishment will expire in &a$duration
  124. message_permanent: |-
  125. &7You have been permanently muted by &c&executor
  126. broadcast_unmute: '&7» &c&o$executor &7has unmuted &a$mutedPlayer'
  127. unmute_fail: '&cTarget is not muted'
  128. no_override: '&cPlayer is already muted'
  129. previous_mute_removed: '&7Previous mute for &a$mutedPlayer &7removed'
  130. previous_mute_existing: '&a$mutedPlayer &7is already muted'
  131. exempt: '&7You can't mute &a$player'
  132. notification: '&a$mutedPlayer &7tried to speak, but is muted'
  133. error_not_enabled: '&cMuting is not enabled in the configuration'
  134. response: ''
  135. warn:
  136. usage: '&cUsage: &7$command [-s] <player> [reason]'
  137. unwarn_usage: '&cUsage: &7$command <player>'
  138. example: ''
  139. broadcast: '&c&o$executor &7has warned &a$player'
  140. message: |-
  141. &7You have been warned by &c&o$executor&7 for &c$reason
  142. &7This warning will expire in &a$duration.
  143. list_entry: '&7Warned by &c&o$executor &7for &c$reason'
  144. unwarn_response: '&7Last warning removed for &a$player'
  145. unwarn_fail: '&7Target has no warnings'
  146. exempt: '&cYou can''t warn $player'
  147. cooldown: '&7You need to wait &a$seconds &7seconds before you can use this command
  148. again'
  149. response: ''
  150. history:
  151. usage: '&cUsage: &7$command <player> [entries=10]'
  152. start: '&6&lHistory &7for &a$target &7(&bLimit: $limit&7):'
  153. ban_entry: |-
  154. &7[&6&o$timeSince ago&7]
  155. &a$name &7was banned by &c&o$executor &7for &c$reason
  156. mute_entry: |-
  157. &7[&6&o$timeSince ago&7]
  158. &a$name &7was muted by &c&o$executor &7for &c$reason
  159. warn_entry: |-
  160. &7[&6&o$timeSince ago&7]
  161. &a$name &7was warned by &c&o$executor &7for &c$reason
  162. kick_entry: |-
  163. &7[&6&o$timeSince ago&7]
  164. &a$name &7was kicked by &c&o$executor &7for &c$reason'
  165. unban_entry: |2-
  166.  
  167. &a$name &7was unbanned by &c&o$executor.
  168. unmute_entry: |2-
  169.  
  170. &a$name &7was unmuted by &c&o$executor.
  171. active_suffix: '&7[&aActive&7]'
  172. expired_suffix: '&7[&cExpired&7]'
  173. active_suffix_temp: |-
  174. &7[&aActive&7]
  175. &7Expires in &a$duration.
  176. error_no_history: '&aNo history found'
  177. warnings:
  178. usage: '&cUsage: &7$command <player>'
  179. start: '&aActive &7warnings for &a$target&7:'
  180. prunehistory:
  181. usage: '&cUsage: &7$command <player> [duration]'
  182. message: '&aHistory pruned'
  183. staffhistory:
  184. usage: '&cUsage: &7$command <player> [entries=10]'
  185. start: '&6&lStaff history &7for &a$target &7(&bLimit: $limit&7):'
  186. staffrollback:
  187. usage: '&cUsage: &7$command <player> [duration]'
  188. message: '&aRollback completed, total entries removed: $amount'
  189. banlist:
  190. start: '&7Page &6&l$page &7out of &6&l$total'
  191. iphistory:
  192. usage: '&cUsage: &7$command <player> [entries=10]'
  193. start: '&6&lLogin history &7for a$target &7(&b&cLimit: $limit&7):'
  194. entry: '&7[&6&o$date&7] with the IGN &a$name &7and the IP:&b$ip'
  195. error_no_history: '&aNo history found'
  196. dupeip:
  197. usage: '&cUsage: &7$command <player>'
  198. start: '&7Scanning &a$name &7on &b$ip &7[&aOnline&7] [&7Offline&7] [&cBanned&7]'
  199. start_no_ip: '&7Scanning &a$name &7[&aOnline&7] [&7Offline&7] [&cBanned&7]'
  200. separator: '&7, '
  201. online: '&a'
  202. offline: '&7'
  203. banned: '&c'
  204. muted: '&6'
  205. multiple_addresses: '[$num addresses]'
  206. ipreport:
  207. start: '&7Scanning &b$num&7 online players.. [&aOnline&7] [&7Offline&7] [&cBanned&7]'
  208. entry: '&7player: $result'
  209. checkban:
  210. usage: '&cUsage: &7$command <player>'
  211. no_ban: '&aTarget is not banned'
  212. banned: |-
  213. &7Target &7[&a$target&7] is banned:
  214. &7Banned by: &c&o$executor
  215. &7Reason: &c$reason
  216. &7Banned on: &6&o$dateStart
  217. &7Banned until: &6&o$dateEnd ($duration)
  218. &7Banned on server &6&a$serverOrigin, server scope: &6$serverScope
  219. &7IP ban: $ipban, silent: $silent, permanent: $permanent
  220. checkmute:
  221. usage: '&cUsage: &8$command <player>'
  222. no_mute: '&aTarget is not muted'
  223. muted: |-
  224. &7Target [&a$target&7]is muted:
  225. &7Muted by: &c&o$executor
  226. &7Reason: &c$reason
  227. &7Muted on: &6&o$dateStart
  228. &7Muted until: &6&o$dateEnd ($duration)
  229. &7Muted on server &6$serverOrigin&a, server scope: &6$serverScope
  230. &7IP mute: $ipban, silent: $silent, permanent: $permanent
  231. lastuuid:
  232. usage: '&cUsage: &7$command <player|IP>'
  233. message: '&7Last UUID for &a$name: &6$uuid'
  234. geoip:
  235. usage: '&cUsage: &7$command <player|IP>'
  236. message: '&c$target&8 is from: &6$result'
  237. error_disabled: '&cGeoIP support is not enabled in the configuration'
  238. error_unavailable: '&cGeoIP support is currently unavailable'
  239. error_not_found: '&cGeoIP information for $target not found.'
  240. lockdown:
  241. usage: '&cUsage: &7$command <reason> | $command end'
  242. message: '&cServer is currently in mainteance mode'
  243. stopped: '&aMainteance mode has been deactivated'
  244. kick_message: |-
  245. &7Server is currently in &cmainteance mode.
  246. &7for more information visit our website:
  247. &clink
  248. kick_message_global: |-
  249. &7Server is currently in &cmainteance mode.
  250. &7for more information visit our website:
  251. &clink
  252. error_not_active: '&aMainteance mode is not active'
  253. kick:
  254. usage: '&cUsage: &7$command <player> [reason]'
  255. no_match: '&cError: &7Player not found'
  256. kick_requested: '&a$player &7is not online on this server. Cross-server kick
  257. has been requested'
  258. message: '&7You have been kicked by &c&o$executor &7for &c$reason'
  259. message_no_reason: '&7You have been kicked by &c&o$executor'
  260. response: '&a$player &7has been kicked'
  261. broadcast: '&c&o$executor &7has kicked &a$player'
  262. broadcast_no_reason: '&c&o$executor &7has kicked &a$player'
  263. exempt: '&cYou can''t kick &b$player'
  264. togglechat:
  265. toggle_off: '&b» &7The chat has been &cdeactivated'
  266. toggle_on: '&b» &7The chat has been &aactivated'
  267. clearchat:
  268. broadcast: '&b» &7Chat has been &bcleared &8by $executor'
  269. mutechat:
  270. response: '&cServer chat is currently disabled'
  271. broadcast_disabled: '&b» &7The chat has been &cdeactivated &7by &c&o$executor'
  272. broadcast_enabled: '&b» &7The chat has been &aactivated &7by &c&o$executor'
  273. litebans:
  274. reload_success: '&aLiteBans reloaded successfully'
  275. reload_fail_connect: '&aLitebans reloaded. &cFailed to connect to database.'
  276. reload_fail: '&cReload failed.'
  277. reload_fail_config: |-
  278. &c[LiteBans] &4config.yml is not valid and could not be loaded, the default configuration will be used.
  279. &cPlease check the server console for more information.
  280. reload_fail_messages: |-
  281. &c[LiteBans] &4messages.yml is not valid and could not be loaded, default messages will be used.
  282. &cPlease check the server console for more information.
  283. add_history_usage: '&cUsage: &8$command addhistory <name> <UUID> <IP>'
  284. add_history: '&aHistory added.'
  285. fix_history: '&aFixing history for table $table...'
  286. fix_history_result: '&aAdded $amount entries.'
  287. fix_history_offline_uuids: '&c$amount UUIDs were not fetched from Mojang since
  288. they are offline-mode UUIDs.'
  289. import_usage: '&c$command import start'
  290. import_start: '&aImporting from $db, this might take a while...'
  291. import_finish: '&aImport finished successfully. $bans bans imported, $ipbans IP-bans.'
  292. import_finish_litebans: '&aImport finished successfully. Added $amount entries
  293. to the database.'
  294. import_fail: '&cImport failed. Check console.'
  295. import_unsupported: '&cImporting from ''$name'' is not supported yet!'
  296. sqlexec_success: '&aSQL query executed successfully.'
  297. sqlexec_failure: '&cFailed to execute.'
  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. format: '%d %s'
  316. separator: ', '
  317. strings:
  318. global: global
  319. 'null': undefined
  320. 'true': 'yes'
  321. 'false': 'no'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement