Advertisement
Guest User

lightbans

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