Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # If bungeecord is set to true, banned players will be kicked from BungeeCord itself.
- # (Players will not be kicked to the lobby when they are banned.)
- # This will also set ban_sync_ticks and mutes.sync_ticks if not configured.
- bungeecord: false
- sql:
- # MySQL, SQLite, and H2 are supported database drivers.
- driver: mysql
- # MySQL server address to connect to.
- # If using SQLite/H2, this will be set to the file path automatically.
- address: 167.114.208.122
- # Username and password.
- username: mc2133
- password: fdaed0e565
- # The name of the database.
- # This will not be automatically created by LiteBans if you're using MySQL.
- database: bans
- # If set, all tables will start with this prefix. Example: 'litebans_'
- # Not necessary unless this is a shared database.
- table_prefix: ''
- # MySQL database engine. InnoDB and MyISAM can be used.
- engine: MyISAM
- has_connected_before: true
- # Format: <name>:<class>[:URL]
- drivers:
- - mysql:com.mysql.jdbc.Driver
- - sqlite:org.sqlite.JDBC
- - h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/1.4.185/h2-1.4.185.jar
- durations:
- tempban_max: 7 days
- mute_max: 1 day
- # If true, players will not get an error when placing bans above the configured limit.
- # The duration will be rounded down to the maximum duration instead.
- round_down: true
- # This forces most commands registered by LiteBans to be handled by LiteBans.
- # Set it to false if you want another plugin to override a LiteBans command.
- force_command_override: false
- mutes:
- enabled: true
- # All of these commands can not be used while muted.
- command_blacklist:
- - /me
- - /say
- # If enabled, muted players cannot use commands containing ":", for example: "/minecraft:me".
- prevent_bypass: true
- sync_ticks: 0
- ban_sync_ticks: 0
- warnings:
- # Warnings will expire after this duration has passed.
- expire_after: 3 days
- # Warning actions.
- # Format: <amount>[+]:<action>
- # If '+' is provided after the amount, the action will execute if the player has that amount of warnings or more.
- actions:
- - '3:/kick $player Final warning: $reason'
- - '4:/tempban $player 1 day Reached 4 warnings: $list'
- # If enabled, the console will execute warning actions.
- # By default, the player who executes the last warning also executes the warning action.
- actions_execute_as_console: false
- notify:
- # If enabled, players with the permission 'litebans.notify.banned_join' will be notified when a banned player tries to join.
- banned_player_join: true
- # If enabled, /dupeip output will be shown on join if the player has more accounts than the provided threshold (3).
- dupeip_on_join: true
- dupeip_on_join_threshold: 3
- # Or if the player has a banned account on the same IP.
- dupeip_on_banned_account: true
- # Log to the console as well?
- notify_console: true
- exempt:
- enable: true
- # By default, the first world is used for permission checks.
- permission_world: default
- # Permission groups that are exempt from bans, mutes, warnings, and kicks.
- exempt_groups: []
- # Players who are exempt from bans, mutes, warnings, and kicks.
- # Format: <name/UUID>[:type]
- # Type can be ban, mute, warning, or kick.
- # Example: 'Player'
- # Example: 'Player:kick'
- exempt_players: []
- geoip:
- enable: false
- # Anyone from these locations will not be able to join.
- blacklist:
- - Anonymous Proxy
- download:
- # Download links for the API and database. They are downloaded to the 'plugins/LiteBans/geoip' folder.
- # You shouldn't need to change these, but if it isn't working, you can search for these files.
- api:
- - https://repo1.maven.org/maven2/com/maxmind/geoip2/geoip2/2.1.0/geoip2-2.1.0.jar
- - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.4.3/jackson-databind-2.4.3.jar
- - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.4.3/jackson-core-2.4.3.jar
- - https://repo1.maven.org/maven2/com/maxmind/db/maxmind-db/1.0.0/maxmind-db-1.0.0.jar
- - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.4.3/jackson-annotations-2.4.3.jar
- # Will be saved as 'GeoLite2-Country.mmdb'.
- db: https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
- import:
- # You can import from: MaxBans/Ultrabans/BanHammer/BanManagerv4/BanManagerv5/LiteBans/Vanilla.
- # Vanilla means importing from banned-players.json, which is also used by Essentials.
- from: maxbans
- # If enabled, importing will be done from a SQLite database instead of a MySQL database.
- # You can ignore this if importing from banned-players.json.
- sqlite: true
- # SQLite file locations:
- # MaxBans: plugins/MaxBans/bans.db
- # Ultrabans: plugins/Ultrabans/banlist.db
- # BanHammer: plugins/BanHammer/BanHammer.db
- # LiteBans: plugins/LiteBans/litebans.sqlite
- sqlite_file: plugins/MaxBans/bans.db
- import_ipbans: true
- # These are the MySQL import settings.
- import_mysql_address: localhost:3306
- import_mysql_username: ''
- import_mysql_password: ''
- import_mysql_database: maxbans
- console_sender_name: Console
- # Players in this list will not show up in /dupeip output. UUIDs can also be specified.
- hidden_dupeip_players: []
- # If enabled, online player names will be auto-completed.
- # Example: /ban Pl -> /ban Player
- autocomplete_online_player_names: false
- # If enabled, the 'history' table will be used to store every single login attempt.
- # By default, the 'history' table is only used to check a player's last UUID and IP address.
- allow_duplicate_history: false
- # This allows /dupeip and /ipreport to scan every single IP address that a player has joined with.
- # If set to false, it will only scan the last IP address that the player logged in with.
- dupeip_scan_all_ips: false
- # /ipreport will not show accounts that have no other players attached by default.
- ipreport_minimum_accounts: 1
- # If enabled, this option will delete all previous IP history for a player when they join, adding only the most recent history.
- # This should only be used if you are having performance issues.
- # It will reduce /iphistory to 1 result, and /dupeip will not scan all previous IP addresses.
- delete_previous_history: false
- # If enabled (default), all previous login history will be unbanned when unbanning a player.
- unban_all_history: true
- # If enabled, AuthMe will be detected and IP history will only be added after a player has successfully logged in.
- support_authme: true
- debug_level: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement