Advertisement
Guest User

Litebans cz

a guest
Aug 19th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.49 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. &8&m-------------------------------------------
  62. &eYour account n&eReason &8» &6$reason
  63. &eBanned by &8» &6$executor
  64.  
  65. &eYou may appeal at &6www.dandycraft.cz&e.
  66. &8&m-------------------------------------------
  67. banned_message: |-
  68. &8&m-------------------------------------------
  69. &eYour account has n&eReason &8» &6$reason
  70. &eBanned by &8» &6$executor
  71. &eDuration &8» &6$duration
  72.  
  73. &eYou may appeal at &6www.dandycraft.cz&e.
  74. &8&m-------------------------------------------
  75. banned_message_permanent: $base
  76. banned_message_appeal_message: 'Appeal at: &nwww.dandycraft.cz'
  77. banned_message_geoip_blacklist: |-
  78. &eYou are banned from this server!&f
  79.  
  80. Your location is blacklisted: $geoip
  81. default_ban_reason: Cheating
  82. default_mute_reason: Spamming
  83. permission_error: '&eYou don''t have permission!'
  84. muted: '&eYou are muted! ($duration remaining)!'
  85. muted_permanent: '&eYou are permanently muted!'
  86. notify:
  87. banned_player_join: '&e$player&f tried to join, but is banned ($duration)!'
  88. banned_geoip_blacklist: '&e$player&f tried to join, but is blacklisted ($geoip)!'
  89. error_no_sql_connection: '&eLiteBans is not connected to a database!'
  90. internal_error: '&eAn internal error occurred while attempting to perform this command.'
  91. duration_limit_error: '&eMaximum duration allowed: $duration'
  92. warned_join: '&eYou have new warnings:'
  93. warned_join_entry: |-
  94. &8&m-----------------------------------------
  95. &eYou have been warned by &8» &6$executor
  96. &eReason &8» &6$reason
  97. &8&m-----------------------------------------
  98. command:
  99. ban:
  100. usage: '&eUsage: /ban [-s] <player> [time spec] [reason]'
  101. unban_usage: '&eUsage: /unban <player>'
  102. example: '&eExample: /ban Player 7d [reason]'
  103. silent_prefix: '&f[&7Silent&f] '
  104. broadcast_ban: |-
  105. &8&m-----------------------------------------&r
  106. &7» &6$bannedPlayer &ehas been banned by &6$executor
  107. &7» &eReason: &6$reason
  108. &8&m-----------------------------------------
  109. broadcast_tempban: |-
  110. &8&m-----------------------------------------&r
  111. &7» &6$bannedPlayer &ehas been temporarily banned by &6$executor
  112. &7» &eReason: &6$reason
  113. &7» &eDuration: &6$duration
  114. &8&m-----------------------------------------
  115. broadcast_ip_ban: '&6$bannedPlayer &ehas been blacklisted by &6$executor'
  116. broadcast_temp_ip_ban: '&e$executor &ftemp IP-banned &e$bannedIP &ffor $tempDuration
  117. for ''&e$reason&f'''
  118. broadcast_ip_ban_hidden: '[Hidden IP]'
  119. broadcast_unban: '&6$bannedPlayer &ehas been unbanned by &6$executor'
  120. previous_ban_removed: '&ePrevious ban for $bannedPlayer removed.'
  121. previous_ban_existing: '&e$bannedPlayer is already banned, and you do not have
  122. permissions to replace existing bans.'
  123. unban_queue: '&6If they try to reconnect, they will be unbanned.'
  124. error_no_spec: '&eNo valid time specification detected!'
  125. unban_fail: '&eTarget is not banned!'
  126. exempt: '&eYou can''t ban $player!'
  127. broadcast_unmute: '&6$unmutedPlayer &ehas been unmuted by &6$executor'
  128. no_override: '&ePlayer is already banned!'
  129. response: ''
  130. cooldown: '&cYou need to wait $seconds seconds before you can use this command
  131. again.'
  132. mute:
  133. usage: '&eUsage: /mute [-s] <player> [time spec] [reason]'
  134. unmute_usage: '&eUsage: /unmute <player>'
  135. example: '&eExample: /mute Player 7d [reason]'
  136. broadcast: |-
  137. &8&m-----------------------------------------&r
  138. &7» &6$mutedPlayer &ehas been muted by &6$executor
  139. &7» &eReason: &6$reason
  140. &8&m-----------------------------------------
  141. broadcast_tempmute: |-
  142. &8&m-----------------------------------------&r
  143. &7» &6$mutedPlayer &ehas been muted by &6$executor
  144. &7» &eReason: &6$reason
  145. &7» &eDuration: &6$duration
  146. &8&m-----------------------------------------
  147. unmute_fail: '&eTarget is not muted!'
  148. previous_mute_removed: '&ePrevious mute for $mutedPlayer removed.'
  149. previous_mute_existing: '&e$mutedPlayer is already muted, and you do not have
  150. permissions to replace existing mutes.'
  151. exempt: '&eYou can''t mute $player!'
  152. notification: '&e$mutedPlayer tried to speak, but is muted.'
  153. error_not_enabled: '&eMuting is not enabled in the configuration!'
  154. broadcast_ip_mute: '&e$executor &fIP-muted &e$mutedPlayer &ffor ''&e$reason&f'''
  155. broadcast_temp_ip_mute: '&e$executor &ftemp IP-muted &e$mutedIP &ffor $tempDuration
  156. for ''&e$reason&f'''
  157. message: |-
  158. &8&m-----------------------------------------
  159. &eYou have been warned by &8» &6$executor
  160. &eReason &8» &6$reason
  161. &eDuration &8» &6$duration
  162. &8&m-----------------------------------------
  163. message_permanent: |-
  164. &8&m-----------------------------------------
  165. &eYou have been permanently muted by &8» &6$executor
  166. &eReason &8» &6$reason
  167. &8&m-----------------------------------------
  168. no_override: '&ePlayer is already muted!'
  169. response: ''
  170. broadcast_unmute: '&a$executor &funmuted &a$bannedPlayer'
  171. warn:
  172. usage: '&eUsage: /warn [-s] <player> [reason]'
  173. unwarn_usage: '&eUsage: /unwarn <player>'
  174. example: ''
  175. broadcast: |-
  176. &8&m-----------------------------------------&r
  177. &7» &6$warnedPlayer &ehas been warned by &6$executor
  178. &7» &eReason: &6$reason
  179. &8&m-----------------------------------------
  180. message: |-
  181. &8&m-----------------------------------------
  182. &eYou have been warned by &8» &6$executor
  183. &eReason &8» &6$reason
  184. &8&m-----------------------------------------
  185. list_entry: ' \- Warned by $executor: ''$reason&f'' ($timeSince ago)'
  186. unwarn_response: '&eLast warning removed for $player.'
  187. unwarn_fail: '&eTarget has no warnings!'
  188. exempt: '&eYou can''t warn $player!'
  189. cooldown: '&eYou need to wait $seconds seconds before $player can be warned again.'
  190. response: ''
  191. history:
  192. usage: '&e/history <player> [entries=10]'
  193. start: '&eHistory for $target (Limit: $limit):'
  194. ban_entry: |-
  195. &e -- [&f$timeSince ago&e] --&f
  196. $name was &ebanned &fby $executor: '&e$reason&f'
  197. mute_entry: |-
  198. &e -- [&f$timeSince ago&e] --&f
  199. $name was &7muted &fby $executor: '&e$reason&f'
  200. warn_entry: |-
  201. &e -- [&f$timeSince ago&e] --&f
  202. $name was &6warned &fby $executor: '&e$reason&f'
  203. kick_entry: |-
  204. &e -- [&f$timeSince ago&e] --&f
  205. $name was &ekicked &fby $executor: '&e$reason&f'
  206. active_suffix: '&f [&eActive&f]'
  207. active_suffix_temp: |-
  208. &f [&eActive&f]
  209. Expires in $duration.
  210. error_no_history: '&eNo history found.'
  211. unban_entry: |2-
  212.  
  213. &f$name was &7unbanned &fby $executor.
  214. unmute_entry: |2-
  215.  
  216. &f$name was &7unmuted &fby $executor.
  217. expired_suffix: '&f [&8Expired&f]'
  218. warnings:
  219. usage: '&e/warnings <player>'
  220. start: '&eActive warnings for $target:'
  221. prunehistory:
  222. usage: '&e/prunehistory <player> [duration]'
  223. message: '&eHistory pruned.'
  224. staffhistory:
  225. usage: '&e/staffhistory <player> [entries=10]'
  226. start: '&eStaff history for $target (Limit: $limit):'
  227. staffrollback:
  228. usage: '&e/staffrollback <player> [duration]'
  229. message: '&eRollback completed, total entries removed: $amount'
  230. banlist:
  231. start: '&f=== &ePage &6$page&e out of &6$total&f ==='
  232. iphistory:
  233. usage: '&e/iphistory <player> [entries=10]'
  234. start: '&eLogin history for $target (Limit: $limit):'
  235. entry: '&e - [&f$date&e]&f $name&e:&f $ip'
  236. error_no_history: '&eNo history found.'
  237. dupeip:
  238. usage: '&e/dupeip <player>'
  239. start: '&fScanning &7$name&f on &e$ip&f. &f[&eOnline&f] [&7Offline&f] [&eBanned&f]'
  240. separator: '&f, '
  241. online: '&e'
  242. offline: '&7'
  243. banned: '&e'
  244. multiple_addresses: '[$num addresses]'
  245. start_no_ip: '&fScanning &7$name&f. &f[&eOnline&f] [&7Offline&f] [&eBanned&f]'
  246. muted: '&6'
  247. ipreport:
  248. start: '&fScanning &e$num&f online players.. [&eOnline&f] [&7Offline&f] [&eBanned&f]'
  249. entry: '&f$player&e: $result'
  250. checkban:
  251. usage: '&e/checkban <player>'
  252. no_ban: '&eTarget is not banned!'
  253. banned: |-
  254. &eTarget &f[&e$target&f]&e is banned:
  255. Banned by: $executor
  256. Reason: $reason&e
  257. Banned on: $dateStart
  258. Banned until: $dateEnd ($duration)
  259. IP ban: $ipban, silent: $silent, permanent: $permanent
  260. lastuuid:
  261. usage: '&e/lastuuid <player|IP>'
  262. message: '&fLast UUID for &e$name&f: &e$uuid'
  263. geoip:
  264. usage: '&e/geoip <player|IP>'
  265. message: '&e$target&f is from: &e$result'
  266. error_disabled: '&eGeoIP support is not enabled in the configuration!'
  267. error_unavailable: '&eGeoIP support is currently unavailable, has it been downloaded
  268. yet?'
  269. error_not_found: '&eGeoIP information for $target not found.'
  270. lockdown:
  271. usage: '&e/lockdown <reason> | /lockdown end'
  272. message: '&eServer lockdown activated (reason: "$reason&e")'
  273. stopped: '&eLockdown has been deactivated.'
  274. kick_message: |-
  275. Server lockdown active, try again later.
  276. Reason: $reason
  277. error_not_active: '&eLockdown is not active!'
  278. kick_message_global: |-
  279. Network lockdown active, try again later.
  280. Reason: $reason
  281. kick:
  282. usage: '&e/kick <player> [reason]'
  283. no_match: '&eError: &6Player not found.'
  284. message: 'Kicked by $executor: $reason'
  285. message_no_reason: Kicked by $executor.
  286. response: '&6$player &ehas been kicked by &6$executor'
  287. broadcast: '&6$player &ehas been kicked by &6$executor'
  288. broadcast_no_reason: '&6$player &ehas been kicked by &6$executor'
  289. exempt: '&eYou can''t kick $player!'
  290. kick_requested: '&6Player $player is not online on this server. Cross-server kick
  291. has been requested.'
  292. togglechat:
  293. toggle_off: '&eChat has been toggled off.'
  294. toggle_on: '&eChat has been toggled on.'
  295. clearchat:
  296. broadcast: '&eChat has been cleared by $executor.'
  297. litebans:
  298. reload_success: '&eLiteBans reloaded successfully.'
  299. reload_fail_connect: '&eLitebans reloaded. &eFailed to connect to database.'
  300. add_history_usage: '&e/litebans addhistory <name> <UUID> <IP>'
  301. add_history: '&eHistory added.'
  302. fix_history: '&eFixing history for table $table...'
  303. fix_history_result: '&eAdded $amount entries.'
  304. import_usage: '&e/litebans import start'
  305. import_start: '&eImporting from $db, this might take a while...'
  306. import_finish: '&eImport finished successfully. $bans bans imported, $ipbans IP-bans.'
  307. import_finish_litebans: '&eImport finished successfully. Added $amount entries
  308. to the database.'
  309. import_fail: '&eImport failed. Check console.'
  310. import_unsupported: '&eImporting from ''$name'' is not supported yet!'
  311. sqlexec_success: '&eSQL query executed successfully.'
  312. sqlexec_failure: '&eFailed to execute.'
  313. reload_fail: '&eReload failed.'
  314. reload_fail_config: |-
  315. &e[LiteBans] &6config.yml is not valid and could not be loaded, the default configuration will be used.
  316. &ePlease check the server console for more information.
  317. reload_fail_messages: |-
  318. &e[LiteBans] &6messages.yml is not valid and could not be loaded, default messages will be used.
  319. &ePlease check the server console for more information.
  320. fix_history_offline_uuids: '&e$amount UUIDs were not fetched from Mojang since
  321. they are offline-mode UUIDs.'
  322. checkmute:
  323. usage: '&e/checkmute <player>'
  324. no_mute: '&eTarget is not muted!'
  325. muted: |-
  326. &eTarget &f[&e$target&f]&e is muted:
  327. &eMuted by: $executor
  328. &eReason: $reason&r
  329. &eMuted on: $dateStart
  330. &eMuted until: $dateEnd ($duration)
  331. &eMuted on server &6$serverOrigin&e, server scope: &6$serverScope
  332. &eIP mute: $ipban, silent: $silent, permanent: $permanent
  333. mutechat:
  334. response: '&eServer chat is currently disabled!'
  335. broadcast_disabled: '&eServer chat has been disabled by $executor.'
  336. broadcast_enabled: '&eServer chat has been enabled by $executor.'
  337. duration:
  338. forever: forever
  339. year: year
  340. years: years
  341. month: month
  342. months: months
  343. week: week
  344. weeks: weeks
  345. day: day
  346. days: days
  347. hour: hour
  348. hours: hours
  349. minute: minute
  350. minutes: minutes
  351. second: second
  352. seconds: seconds
  353. expired: expired
  354. format: '%d %s'
  355. separator: ', '
  356. error_no_reason_provided: '&eYou must provide a reason for this punishment!'
  357. error_no_uuid_found: '&ePlayer does not exist.'
  358. strings:
  359. global: global
  360. 'null': undefined
  361. 'true': 'yes'
  362. 'false': 'no'
  363. bungee_switch_banned: |-
  364. &cYou are banned on $serverScope! Reason:
  365. $reason
  366. error_console_only: '&cThis command can only be used from console.'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement