Advertisement
Giller

Litebans

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