Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2017
636
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.49 KB | None | 0 0
  1. # If bungeecord is set to true, banned players will be kicked from BungeeCord itself.
  2. # (Players will not be kicked to the lobby when they are banned.)
  3. # This will also set ban_sync_ticks and mutes.sync_ticks if not configured.
  4. bungeecord: false
  5.  
  6. sql:
  7. # MySQL, SQLite, and H2 are supported database drivers.
  8. driver: mysql
  9.  
  10. # MySQL server address to connect to.
  11. # If using SQLite/H2, this will be set to the file path automatically.
  12. address: 167.114.208.122
  13.  
  14. # Username and password.
  15. username: mc2133
  16.  
  17. password: fdaed0e565
  18. # The name of the database.
  19. # This will not be automatically created by LiteBans if you're using MySQL.
  20. database: bans
  21.  
  22. # If set, all tables will start with this prefix. Example: 'litebans_'
  23. # Not necessary unless this is a shared database.
  24. table_prefix: ''
  25.  
  26. # MySQL database engine. InnoDB and MyISAM can be used.
  27. engine: MyISAM
  28.  
  29. has_connected_before: true
  30. # Format: <name>:<class>[:URL]
  31. drivers:
  32. - mysql:com.mysql.jdbc.Driver
  33. - sqlite:org.sqlite.JDBC
  34. - h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/1.4.185/h2-1.4.185.jar
  35. durations:
  36. tempban_max: 7 days
  37. mute_max: 1 day
  38. # If true, players will not get an error when placing bans above the configured limit.
  39. # The duration will be rounded down to the maximum duration instead.
  40. round_down: true
  41.  
  42. # This forces most commands registered by LiteBans to be handled by LiteBans.
  43. # Set it to false if you want another plugin to override a LiteBans command.
  44. force_command_override: false
  45.  
  46. mutes:
  47. enabled: true
  48. # All of these commands can not be used while muted.
  49. command_blacklist:
  50. - /me
  51. - /say
  52. # If enabled, muted players cannot use commands containing ":", for example: "/minecraft:me".
  53. prevent_bypass: true
  54.  
  55. sync_ticks: 0
  56. ban_sync_ticks: 0
  57. warnings:
  58. # Warnings will expire after this duration has passed.
  59. expire_after: 3 days
  60.  
  61. # Warning actions.
  62. # Format: <amount>[+]:<action>
  63. # If '+' is provided after the amount, the action will execute if the player has that amount of warnings or more.
  64. actions:
  65. - '3:/kick $player Final warning: $reason'
  66. - '4:/tempban $player 1 day Reached 4 warnings: $list'
  67. # If enabled, the console will execute warning actions.
  68. # By default, the player who executes the last warning also executes the warning action.
  69. actions_execute_as_console: false
  70.  
  71. notify:
  72. # If enabled, players with the permission 'litebans.notify.banned_join' will be notified when a banned player tries to join.
  73. banned_player_join: true
  74.  
  75. # If enabled, /dupeip output will be shown on join if the player has more accounts than the provided threshold (3).
  76. dupeip_on_join: true
  77.  
  78. dupeip_on_join_threshold: 3
  79. # Or if the player has a banned account on the same IP.
  80. dupeip_on_banned_account: true
  81.  
  82. # Log to the console as well?
  83. notify_console: true
  84.  
  85. exempt:
  86. enable: true
  87. # By default, the first world is used for permission checks.
  88. permission_world: default
  89.  
  90. # Permission groups that are exempt from bans, mutes, warnings, and kicks.
  91. exempt_groups: []
  92. # Players who are exempt from bans, mutes, warnings, and kicks.
  93. # Format: <name/UUID>[:type]
  94. # Type can be ban, mute, warning, or kick.
  95. # Example: 'Player'
  96. # Example: 'Player:kick'
  97. exempt_players: []
  98. geoip:
  99. enable: false
  100. # Anyone from these locations will not be able to join.
  101. blacklist:
  102. - Anonymous Proxy
  103. download:
  104. # Download links for the API and database. They are downloaded to the 'plugins/LiteBans/geoip' folder.
  105. # You shouldn't need to change these, but if it isn't working, you can search for these files.
  106. api:
  107. - https://repo1.maven.org/maven2/com/maxmind/geoip2/geoip2/2.1.0/geoip2-2.1.0.jar
  108. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.4.3/jackson-databind-2.4.3.jar
  109. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.4.3/jackson-core-2.4.3.jar
  110. - https://repo1.maven.org/maven2/com/maxmind/db/maxmind-db/1.0.0/maxmind-db-1.0.0.jar
  111. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.4.3/jackson-annotations-2.4.3.jar
  112. # Will be saved as 'GeoLite2-Country.mmdb'.
  113. db: https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
  114.  
  115. import:
  116. # You can import from: MaxBans/Ultrabans/BanHammer/BanManagerv4/BanManagerv5/LiteBans/Vanilla.
  117. # Vanilla means importing from banned-players.json, which is also used by Essentials.
  118. from: maxbans
  119.  
  120. # If enabled, importing will be done from a SQLite database instead of a MySQL database.
  121. # You can ignore this if importing from banned-players.json.
  122. sqlite: true
  123.  
  124. # SQLite file locations:
  125. # MaxBans: plugins/MaxBans/bans.db
  126. # Ultrabans: plugins/Ultrabans/banlist.db
  127. # BanHammer: plugins/BanHammer/BanHammer.db
  128. # LiteBans: plugins/LiteBans/litebans.sqlite
  129. sqlite_file: plugins/MaxBans/bans.db
  130.  
  131. import_ipbans: true
  132. # These are the MySQL import settings.
  133. import_mysql_address: localhost:3306
  134.  
  135. import_mysql_username: ''
  136. import_mysql_password: ''
  137. import_mysql_database: maxbans
  138. console_sender_name: Console
  139. # Players in this list will not show up in /dupeip output. UUIDs can also be specified.
  140. hidden_dupeip_players: []
  141. # If enabled, online player names will be auto-completed.
  142. # Example: /ban Pl -> /ban Player
  143. autocomplete_online_player_names: false
  144.  
  145. # If enabled, the 'history' table will be used to store every single login attempt.
  146. # By default, the 'history' table is only used to check a player's last UUID and IP address.
  147. allow_duplicate_history: false
  148.  
  149. # This allows /dupeip and /ipreport to scan every single IP address that a player has joined with.
  150. # If set to false, it will only scan the last IP address that the player logged in with.
  151. dupeip_scan_all_ips: false
  152.  
  153. # /ipreport will not show accounts that have no other players attached by default.
  154. ipreport_minimum_accounts: 1
  155.  
  156. # If enabled, this option will delete all previous IP history for a player when they join, adding only the most recent history.
  157. # This should only be used if you are having performance issues.
  158. # It will reduce /iphistory to 1 result, and /dupeip will not scan all previous IP addresses.
  159. delete_previous_history: false
  160.  
  161. # If enabled (default), all previous login history will be unbanned when unbanning a player.
  162. unban_all_history: true
  163.  
  164. # If enabled, AuthMe will be detected and IP history will only be added after a player has successfully logged in.
  165. support_authme: true
  166.  
  167. debug_level: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement