Advertisement
Guest User

config

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