Advertisement
Guest User

Untitled

a guest
Mar 14th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.87 KB | None | 0 0
  1. # Format: <name>:<class>[:URL:version]
  2. # SQLite is only included here for backwards compatibility, it is no longer supported (use H2 instead).
  3. drivers:
  4. - version:1
  5. - 'mysql:com.mysql.jdbc.Driver:https://repo1.maven.org/maven2/mysql/mysql-connector-java/{}/mysql-connector-java-{}.jar:8.0.11'
  6. - 'pgsql:org.postgresql.Driver:https://repo1.maven.org/maven2/org/postgresql/postgresql/{}/postgresql-{}.jar:9.4-1201-jdbc41'
  7. - 'mariadb:org.mariadb.jdbc.Driver:https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/{}/mariadb-java-client-{}.jar:2.0.3'
  8. - 'sqlite:org.sqlite.JDBC:https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/{}/sqlite-jdbc-{}.jar:3.8.11.1'
  9. - 'h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/{}/h2-{}.jar:1.4.196'
  10.  
  11. durations:
  12. # The highest limit matched by permissions will be used for duration limits.
  13. # If a player has "litebans.group.unlimited", they will bypass these.
  14. limits:
  15. moderator:
  16. permission: litebans.group.moderator
  17. tempban: 3 days
  18. tempmute: 3 days
  19. helper:
  20. permission: litebans.group.helper
  21. tempban: 3 days
  22. tempmute: 3 days
  23. other:
  24. permission: none
  25. tempban: 7 days
  26. tempmute: 1 day
  27. # If true, players will not get an error when using a duration higher than the configured limit.
  28. # The duration will be rounded down to the maximum duration instead.
  29. round_down: true
  30.  
  31. mutes:
  32. enabled: true
  33.  
  34. # All of these commands can not be used while muted.
  35. command_blacklist:
  36. - /me
  37. - /say
  38. - /tell
  39. - /whisper
  40. - /reply
  41. - /pm
  42. - /message
  43. - /msg
  44. - /emsg
  45. - /epm
  46. - /etell
  47. - /ewhisper
  48. - /w
  49. - /m
  50. - /t
  51. - /r
  52. - /mail send
  53. # This command blacklist specifically applies to players who are affected by /mutechat.
  54. mutechat_command_blacklist:
  55. - /me
  56. - /say
  57. # If enabled, muted players cannot use commands containing ":", for example: "/minecraft:me".
  58. prevent_bypass: true
  59.  
  60. # If enabled, a ban or mute reason must be provided, otherwise players will get an error.
  61. # When set to false, "default_ban_reason" and "default_mute_reason" in messages.yml are used as reasons when no reason is provided.
  62. require_ban_mute_reason: false
  63.  
  64. warnings:
  65. # Warnings will expire after this duration has passed.
  66. expire_after: 14 days
  67.  
  68. # Warning actions.
  69. # Format: <amount>[+]:<action>
  70. # If '+' is provided after the amount, the action will execute if the player has that amount of warnings or more.
  71. actions:
  72. - '3:/tempban -s:$silent $player 1 days Reached 7 warnings: $list'
  73. - '4:/tempban -s:$silent $player 7 days Reached 11 warnings: $list'
  74. - '5:/tempban -s:$silent $player 14 days Reached 14 warnings: $list'
  75.  
  76. # If enabled, the console will execute warning actions.
  77. # Otherwise, the player who executes the last warning also executes the warning action.
  78. actions_execute_as_console: true
  79.  
  80. # If enabled, all active warnings will be deactivated after a warning action is executed.
  81. delete_warnings_after_action: false
  82.  
  83. notify:
  84. # If enabled, players with the permission 'litebans.notify' or 'litebans.notify.banned_join' will be notified when a banned player tries to join.
  85. banned_player_join: true
  86.  
  87. # If enabled, /dupeip output will be shown on join if the player meets certain conditions.
  88. dupeip_on_join: true
  89.  
  90. # Notify if the player has a banned account on the same IP.
  91. dupeip_on_banned_account: true
  92.  
  93. # If enabled, muted accounts will be detected with /dupeip.
  94. # This is disabled by default since it can add quite a lot of query overhead on larger servers especially if dupeip_on_join is enabled.
  95. dupeip_show_muted_accounts: false
  96.  
  97. # If you set this to a lower value, players with X accounts will send dupeip notifications.
  98. dupeip_on_join_threshold: 9999999
  99.  
  100. # Log all notifications to the console?
  101. notify_console: true
  102.  
  103. exempt:
  104. enable: true
  105. # By default, the first loaded world is used for permission checks.
  106. permission_world: default
  107.  
  108. # Permission groups that are exempt from bans, mutes, warnings, and kicks.
  109. exempt_groups: []
  110.  
  111. # Players who are exempt from bans, mutes, warnings, and kicks.
  112. # Format: <name/UUID>[:type]
  113. # Type can be ban, mute, warning, or kick. (All types apply if not specified)
  114. # Example:
  115. # exempt_players: ['Player', 'Player2', 'Player3', 'Player4:mute']
  116. exempt_players: []
  117.  
  118. geoip:
  119. enable: false
  120. # Anyone from these locations will not be able to join.
  121. # A full list of countries that can be blacklisted:
  122. # https://dev.maxmind.com/geoip/legacy/codes/iso3166/
  123. # Example:
  124. # blacklist: ['Australia', 'Brazil', 'Canada', 'Denmark']
  125. blacklist: []
  126.  
  127. # If the whitelist is not empty, all countries which are not found in the list will be blocked.
  128. whitelist: []
  129. download:
  130. # Download links for the API and database, which are downloaded to the 'plugins/LiteBans/geoip' folder.
  131. # You shouldn't need to change these, but if it isn't working, you can search for these files.
  132. api:
  133. - https://repo1.maven.org/maven2/com/maxmind/geoip2/geoip2/2.1.0/geoip2-2.1.0.jar
  134. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.4.3/jackson-databind-2.4.3.jar
  135. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.4.3/jackson-core-2.4.3.jar
  136. - https://repo1.maven.org/maven2/com/maxmind/db/maxmind-db/1.0.0/maxmind-db-1.0.0.jar
  137. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.4.3/jackson-annotations-2.4.3.jar
  138. # Will be extracted and saved as 'GeoLite2-Country.mmdb'.
  139. db: https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
  140.  
  141. # After configuring import options, run "/litebans import start" to begin the import.
  142. # The import process occurs while the server is running, no downtime is required.
  143. import:
  144. # You can import from: MaxBans, Ultrabans, BanHammer, BanManagerv4, BanManagerv5, BungeeAdminTools, AdvancedBan(MySQL only), LiteBans, Vanilla.
  145. # Vanilla means importing from banned-players.json, which is also used by Essentials.
  146. from: maxbans
  147.  
  148. # If enabled, importing will be done from a SQLite database instead of a MySQL database.
  149. # You can ignore this if importing from banned-players.json.
  150. # If importing from LiteBans, H2 will be used instead of SQLite.
  151. sqlite: true
  152.  
  153. # SQLite file locations:
  154. # MaxBans: plugins/MaxBans/bans.db
  155. # Ultrabans: plugins/Ultrabans/banlist.db
  156. # BanHammer: plugins/BanHammer/BanHammer.db
  157. # LiteBans: plugins/LiteBans/litebans.sqlite (legacy)
  158. sqlite_file: plugins/MaxBans/bans.db
  159.  
  160. import_ipbans: true
  161. ## MySQL import settings ##
  162. import_mysql_address: localhost:3306
  163. import_mysql_database: maxbans
  164. import_mysql_username: ''
  165. import_mysql_password: ''
  166.  
  167. # Use display names?
  168. # This means that when moderators and punished players change their name using /nick,
  169. # this name will be used in broadcasts and other messages instead of their regular name.
  170. # The BungeeCord version of the plugin cannot detect Spigot-side display names.
  171. use_display_names: false
  172.  
  173. # Instead of "CONSOLE", this name will be used to represent the console.
  174. console_sender_name: Console
  175.  
  176. # Players in this list will not be shown in /dupeip or /alts output.
  177. # Names, UUIDs and IP addresses can be specified.
  178. hidden_dupeip_players: []
  179.  
  180.  
  181. # Moderators cannot use /ban or /warn twice within a specific time frame.
  182. # Additionally, the same player cannot be punished twice.
  183. # This can be bypassed with: "litebans.cooldown.bypass", "litebans.cooldown.bypass.ban", "litebans.cooldown.bypass.warn"
  184. ban_cooldown: 3
  185. warning_cooldown: 3
  186.  
  187. # If enabled, online player names will be auto-completed.
  188. # Example: /ban Pl -> /ban Player
  189. autocomplete_online_player_names: false
  190.  
  191. # This allows /dupeip and /ipreport to scan every single IP address that a player has ever joined with. (Multiple IP scanning)
  192. # If set to false, only the player's last IP address will be scanned.
  193. # (This option requires `delete_previous_history: false`)
  194. dupeip_scan_all_ips: false
  195.  
  196. # If disabled, all previous IP addresses will be recorded, allowing /iphistory to work.
  197. delete_previous_history: true
  198.  
  199. # /ipreport will not show accounts that have no other players attached by default.
  200. ipreport_minimum_accounts: 1
  201.  
  202.  
  203. # If enabled, all previous login history will be unbanned when unbanning a player.
  204. unban_all_history: false
  205.  
  206. # This is the amount of bans shown on each page for /banlist.
  207. # Note that ban entries can span 2-3 lines.
  208. banlist_bans_per_page: 5
  209.  
  210. # Only show active bans for /banlist?
  211. banlist_show_active_only: false
  212.  
  213. # If enabled, AuthMe will be detected and IP history will only be added after a player has successfully logged in.
  214. # This option will only work under Spigot, since AuthMe is a Spigot plugin.
  215. support_authme: true
  216.  
  217. lockdown:
  218. # If enabled, /lockdown will continue after restarts.
  219. persist_enabled: true
  220.  
  221. debug_level: 0
  222.  
  223. # If enabled, LiteBans performs an additional database query on login to provide case-insensitive name bans.
  224. ban_names: false
  225.  
  226. # If a kick message contains any of these, it will not be added to the database.
  227. # You can set this list to [''] if you don't want any kicks to be added to the database.
  228. ignored_kick_messages: ['restarting']
  229.  
  230. # This option controls how often notifications are sent from a single player.
  231. # When a player tries to join when banned or talk while muted,
  232. # you won't see any more messages from them for a short while.
  233. notification_throttle_ticks: 12000
  234.  
  235. # If enabled, LiteBans will use the database server's timezone.
  236. use_database_time: false
  237.  
  238. # If enabled, the plugin will notify you when an update is available.
  239. update_check: true
  240.  
  241. # If enabled, players will be checked for bans after they have joined. (Spigot only)
  242. check_after_join: false
  243.  
  244. # If enabled, ProtocolLib will be detected and chat events will be cancelled before they can be processed by any other plugins.
  245. # This can help prevent plugin conflicts which allow muted players to chat.
  246. # This option will only work under Spigot, since ProtocolLib is a Spigot plugin.
  247. use_protocollib: true
  248.  
  249. # This option controls the behaviour of the "-N" flag. This flag prevents active bans/mutes from being overridden.
  250. # If enabled, the "-N" flag will only prevent bans from being overridden if the active ban has a lower duration.
  251. override_lower_duration: true
  252.  
  253. # This option allows you to disable recording IP history on specific servers under BungeeCord.
  254. # Example: ignored_history_servers: ['Lobby']
  255. ignored_history_servers: []
  256.  
  257. # If enabled, the local system timezone will be used.
  258. # UTC time will be stored in the database, but dates will be formatted using the timezone offset.
  259. use_timezone: true
  260.  
  261. # This option controls how often the database is polled for sync data (cross-server punishments, kicks, notifications).
  262. sync_poll_ticks: 20
  263.  
  264. # If this is set above 0, the plugin will skip polling up to N times while no players are online.
  265. sync_poll_skip: 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement