Advertisement
Guest User

Untitled

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