Advertisement
Guest User

ghh

a guest
Oct 7th, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.59 KB | None | 0 0
  1. # LiteBans config.yml generated by version 2.2.5
  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: true
  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: false
  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: true
  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: 'Silence'
  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: MySQL
  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: 62.4.16.242:3306
  42.  
  43. # Database name, username and password.
  44. database: 'litebans'
  45. username: 'root'
  46. password: 'aaa'
  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:6.0.6'
  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. # Can be bypassed with the permission "litebans.unlimited.ban"
  78. tempban_max: 7 days
  79. # Can be bypassed with the permission "litebans.unlimited.mute"
  80. mute_max: 7 days
  81. # If true, players will not get an error when using a duration higher than the configured limit.
  82. # The duration will be rounded down to the maximum duration instead.
  83. round_down: true
  84.  
  85. mutes:
  86. enabled: true
  87.  
  88. # All of these commands can not be used while muted.
  89. command_blacklist:
  90. - /me
  91. - /say
  92. - /tell
  93. - /whisper
  94. - /reply
  95. - /ereply
  96. - /erequest
  97. - /emessage
  98. - /message
  99. - /msg
  100. - /emsg
  101. - /tell
  102. - /etell
  103. - /ewhisper
  104. - /w
  105. - /ehelpop
  106. - /request
  107. - /helpop
  108. - /m
  109. - /t
  110. - /r
  111. mutechat_command_blacklist:
  112. - /me
  113. - /say
  114. # If enabled, muted players cannot use commands containing ":", for example: "/minecraft:me".
  115. prevent_bypass: true
  116.  
  117. # If set, a ban or mute reason must be provided, otherwise players will get an error.
  118. # When set to false, "default_ban_reason" and "default_mute_reason" in messages.yml are used as reasons when no reason is provided.
  119. require_ban_mute_reason: false
  120.  
  121. warnings:
  122. # Warnings will expire after this duration has passed.
  123. expire_after: 2 days
  124.  
  125. # Warning actions.
  126. # Format: <amount>[+]:<action>
  127. # If '+' is provided after the amount, the action will execute if the player has that amount of warnings or more.
  128. actions:
  129. - '3:/kick $player Final warning -s'
  130. - '4:/tempban $player 1d Reached 4 warnings -s'
  131.  
  132. # If enabled, the console will execute warning actions.
  133. # Otherwise, the player who executes the last warning also executes the warning action.
  134. actions_execute_as_console: false
  135.  
  136. # If enabled, all active warnings will be deactivated after a warning action is executed.
  137. delete_warnings_after_action: false
  138.  
  139. notify:
  140. # If enabled, players with the permission 'litebans.notify' or 'litebans.notify.banned_join' will be notified when a banned player tries to join.
  141. banned_player_join: true
  142.  
  143. # If enabled, /dupeip output will be shown on join if the player meets certain conditions.
  144. dupeip_on_join: true
  145.  
  146. # Notify if the player has a banned account on the same IP.
  147. dupeip_on_banned_account: true
  148.  
  149. # If enabled, muted accounts will be detected with /dupeip.
  150. # 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.
  151. dupeip_show_muted_accounts: true
  152.  
  153. # If you set this to a lower value, players with X accounts will send dupeip notifications.
  154. dupeip_on_join_threshold: 2
  155.  
  156. # Log all notifications to the console?
  157. notify_console: true
  158.  
  159. exempt:
  160. enable: true
  161. # By default, the first loaded world is used for permission checks.
  162. permission_world: default
  163.  
  164. # Permission groups that are exempt from bans, mutes, warnings, and kicks.
  165. exempt_groups: []
  166.  
  167. # Players who are exempt from bans, mutes, warnings, and kicks.
  168. # Format: <name/UUID>[:type]
  169. # Type can be ban, mute, warning, or kick.
  170. # Example:
  171. # exempt_players: ['Player', 'Player:kick', 'Player2']
  172. exempt_players: []
  173.  
  174. geoip:
  175. enable: true
  176. # Anyone from these locations will not be able to join.
  177. # A full list of countries that can be blacklisted:
  178. # https://dev.maxmind.com/geoip/legacy/codes/iso3166/
  179. # Example:
  180. # blacklist: ['Australia', 'Brazil', 'Canada', 'Denmark']
  181. blacklist: []
  182.  
  183. # If the whitelist is not empty, all countries which are not found in the list will be blocked.
  184. whitelist: []
  185. download:
  186. # Download links for the API and database. They are downloaded to the 'plugins/LiteBans/geoip' folder.
  187. # You shouldn't need to change these, but if it isn't working, you can search for these files.
  188. api:
  189. - https://repo1.maven.org/maven2/com/maxmind/geoip2/geoip2/2.1.0/geoip2-2.1.0.jar
  190. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.4.3/jackson-databind-2.4.3.jar
  191. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.4.3/jackson-core-2.4.3.jar
  192. - https://repo1.maven.org/maven2/com/maxmind/db/maxmind-db/1.0.0/maxmind-db-1.0.0.jar
  193. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.4.3/jackson-annotations-2.4.3.jar
  194. # Will be extracted and saved as 'GeoLite2-Country.mmdb'.
  195. db: https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
  196.  
  197. # After configuring import options, run "/litebans import start" to begin the import.
  198. # The import process occurs while the server is running, no downtime is required.
  199. import:
  200. # You can import from: MaxBans, Ultrabans, BanHammer, BanManagerv4, BanManagerv5, BungeeAdminTools, LiteBans, Vanilla.
  201. # Vanilla means importing from banned-players.json, which is also used by Essentials.
  202. from: maxbans
  203.  
  204. # If enabled, importing will be done from a SQLite database instead of a MySQL database.
  205. # You can ignore this if importing from banned-players.json.
  206. # If importing from LiteBans, H2 will be used instead of SQLite.
  207. sqlite: true
  208.  
  209. # SQLite file locations:
  210. # MaxBans: plugins/MaxBans/bans.db
  211. # Ultrabans: plugins/Ultrabans/banlist.db
  212. # BanHammer: plugins/BanHammer/BanHammer.db
  213. # LiteBans: plugins/LiteBans/litebans.sqlite (legacy)
  214. sqlite_file: plugins/MaxBans/bans.db
  215.  
  216. import_ipbans: true
  217. ## MySQL import settings ##
  218. import_mysql_address: 62.4.16.242:3306
  219. import_mysql_database: maxbans
  220. import_mysql_username: ''
  221. import_mysql_password: ''
  222.  
  223. # Use display names?
  224. # This means that when moderators and punished players change their name using /nick,
  225. # this name will be used in broadcasts and other messages instead of their regular name.
  226. # The BungeeCord version of the plugin cannot detect Spigot-side display names.
  227. use_display_names: false
  228.  
  229. # Instead of "CONSOLE", this name will be used to represent the console.
  230. console_sender_name: Console
  231.  
  232. # Players in this list will not be shown in /dupeip or /alts output.
  233. # Names, UUIDs and IP addresses can be specified.
  234. hidden_dupeip_players: []
  235.  
  236. # A player cannot be warned again while they are on cooldown.
  237. # This prevents two moderators from warning the same player for the same reason.
  238. warning_cooldown: 15
  239.  
  240. # If enabled, online player names will be auto-completed.
  241. # Example: /ban Pl -> /ban Player
  242. autocomplete_online_player_names: false
  243.  
  244. # This allows /dupeip and /ipreport to scan every single IP address that a player has ever joined with.
  245. # If set to false, it will only scan the last IP address.
  246. dupeip_scan_all_ips: false
  247.  
  248. # /ipreport will not show accounts that have no other players attached by default.
  249. ipreport_minimum_accounts: 1
  250.  
  251. # If disabled, all previous IP addresses will be recorded, allowing /iphistory to work.
  252. delete_previous_history: true
  253.  
  254. # If enabled, all previous login history will be unbanned when unbanning a player.
  255. unban_all_history: false
  256.  
  257. # This is the amount of bans shown on each page for /banlist.
  258. # Note that ban entries can span 2-3 lines.
  259. banlist_bans_per_page: 5
  260.  
  261. # Only show active bans for /banlist?
  262. banlist_show_active_only: false
  263.  
  264. # If enabled, AuthMe will be detected and IP history will only be added after a player has successfully logged in.
  265. # This option will only work under Spigot, since AuthMe is a Spigot plugin.
  266. support_authme: true
  267.  
  268. lockdown:
  269. # If enabled, /lockdown will continue after restarts.
  270. persist_enabled: true
  271.  
  272. debug_level: 0
  273.  
  274. # If enabled, this performs an additional two database queries on each join
  275. # in order to provide case-insensitive name bans.
  276. ban_names: false
  277.  
  278. # If a kick message contains any of these, it will not be added to the database.
  279. # You can set this list to [''] if you don't want any kicks to be added to the database.
  280. ignored_kick_messages: ['restarting']
  281.  
  282. # This option controls how often notifications are sent from a single player.
  283. # When a player tries to join when banned or talk while muted,
  284. # you won't see any more messages from them for a short while.
  285. notification_throttle_ticks: 12000
  286.  
  287. # If enabled, LiteBans will use the database server's time rather than the local system time.
  288. use_database_time: false
  289.  
  290. # If enabled, the plugin will notify you when an update is available.
  291. update_check: true
  292.  
  293. # If enabled, players will be checked for bans after they have joined. (Spigot only)
  294. check_after_join: false
  295.  
  296. # If enabled, ProtocolLib will be detected and chat events will be cancelled before they can be processed by any other plugins.
  297. # This can help prevent plugin conflicts which allow muted players to chat.
  298. # This option will only work under Spigot, since ProtocolLib is a Spigot plugin.
  299. use_protocollib: true
  300.  
  301. # This option controls the behaviour of the "-N" flag. This flag prevents active bans/mutes from being overridden.
  302. # If enabled, the "-N" flag will only prevent bans from being overridden if the active ban has a lower duration.
  303. override_lower_duration: true
  304.  
  305. # This option allows you to disable recording IP history on specific servers under BungeeCord.
  306. # Example: ignored_history_servers: ['Lobby']
  307. ignored_history_servers: []
  308.  
  309. # If enabled, the local system timezone will be used.
  310. # UTC time will be stored in the database, but dates will be formatted using the timezone offset.
  311. use_timezone: true
  312.  
  313. # This option controls how often the database is polled for sync data (cross-server punishments, kicks, notifications).
  314. sync_poll_ticks: 20
  315.  
  316. # If this is set above 0, the plugin will skip polling up to N times while no players are online.
  317. sync_poll_skip: 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement