Advertisement
Guest User

Untitled

a guest
Jan 16th, 2016
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.88 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 implicitly set ban_sync_ticks and mutes.sync_ticks if not configured.
  4. bungeecord: true
  5.  
  6. sql:
  7. # MySQL, PostgreSQL(pgsql), SQLite, and H2 are supported database drivers.
  8. driver: MySQL
  9.  
  10. ## MySQL/PostgreSQL settings ##
  11. # If using SQLite/H2, the database will be stored in the LiteBans plugin folder,
  12. # and most of these settings won't apply.
  13.  
  14. # MySQL server address to connect to.
  15. # This can also be set to a custom file path if using SQLite/H2.
  16. address: 185.114.156.237:3306
  17.  
  18. # Username and password.
  19. username: '237_2'
  20. password: '6f55b6ed2e'
  21.  
  22. # The name of the database (MySQL).
  23. # This will not be automatically created by LiteBans.
  24. database: 237_2
  25.  
  26. # If set, all tables will start with this prefix. Example: 'litebans_'
  27. # Not necessary unless this is a shared database.
  28. table_prefix: 'litebans_'
  29.  
  30. # MySQL database engine.
  31. engine: InnoDB
  32.  
  33. # Format: <name>:<class>[:URL]
  34. drivers:
  35. - mysql:com.mysql.jdbc.Driver
  36. - pgsql:org.postgresql.Driver:https://repo1.maven.org/maven2/org/postgresql/postgresql/9.4-1201-jdbc41/postgresql-9.4-1201-jdbc41.jar
  37. - sqlite:org.sqlite.JDBC:https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/3.8.11.1/sqlite-jdbc-3.8.11.1.jar
  38. - h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/1.4.188/h2-1.4.188.jar
  39.  
  40. durations:
  41. # Can be bypassed with the permission "litebans.unlimited.ban"
  42. tempban_max: 7 days
  43. # Can be bypassed with the permission "litebans.unlimited.mute"
  44. mute_max: 1 day
  45. # If true, players will not get an error when placing bans above the configured limit.
  46. # The duration will be rounded down to the maximum duration instead.
  47. round_down: true
  48.  
  49. mutes:
  50. enabled: true
  51.  
  52. # All of these commands can not be used while muted.
  53. command_blacklist:
  54. - /me
  55. - /say
  56. # If enabled, muted players cannot use commands containing ":", for example: "/minecraft:me".
  57. prevent_bypass: true
  58.  
  59. sync_ticks: 0
  60.  
  61. # All online players will be re-checked for bans per interval when this is set.
  62. # This only makes sense in a multi-server configuration,
  63. # or if you're otherwise manipulating the database while the server is running.
  64. ban_sync_ticks: 0
  65.  
  66. warnings:
  67. # Warnings will expire after this duration has passed.
  68. expire_after: 7 days
  69.  
  70. # Warning actions.
  71. # Format: <amount>[+]:<action>
  72. # If '+' is provided after the amount, the action will execute if the player has that amount of warnings or more.
  73. actions:
  74. - '3:/kick -s:$silent $player Final warning: $reason'
  75. - '4:/tempban -s:$silent $player 1 day Reached 4 warnings: $list'
  76.  
  77. # If enabled, the console will execute warning actions.
  78. # Otherwise, the player who executes the last warning also executes the warning action.
  79. actions_execute_as_console: false
  80.  
  81. # If enabled, all active warnings will be deactivated after a warning action is executed.
  82. delete_warnings_after_action: false
  83.  
  84. notify:
  85. # If enabled, players with the permission 'litebans.notify' or 'litebans.notify.banned_join' will be notified when a banned player tries to join.
  86. banned_player_join: true
  87.  
  88. # If enabled, /dupeip output will be shown on join if the player meets certain conditions.
  89. dupeip_on_join: true
  90.  
  91. # Notify if the player has a banned account on the same IP.
  92. dupeip_on_banned_account: true
  93.  
  94. # If you set this to a lower value, players with X accounts will send dupeip notifications.
  95. dupeip_on_join_threshold: 9999
  96.  
  97. # Log all notifications to the console?
  98. notify_console: true
  99.  
  100. exempt:
  101. enable: true
  102. # By default, the first loaded world is used for permission checks.
  103. permission_world: default
  104.  
  105. # Permission groups that are exempt from bans, mutes, warnings, and kicks.
  106. exempt_groups: []
  107. # Players who are exempt from bans, mutes, warnings, and kicks.
  108. # Format: <name/UUID>[:type]
  109. # Type can be ban, mute, warning, or kick.
  110. # Examples: 'Player', 'Player:kick'
  111. exempt_players: []
  112.  
  113. geoip:
  114. enable: false
  115. # Anyone from these locations will not be able to join.
  116. # A full list of countries that can be blacklisted:
  117. # https://dev.maxmind.com/geoip/legacy/codes/iso3166/
  118. # The configuration includes "Anonymous Proxy" which matches a few open proxies and high profile VPNs according to the GeoLite2 database.
  119. # This may block some proxies, but it's not completely reliable as a proxy blocking solution.
  120. # 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".
  121. blacklist: ['Anonymous Proxy']
  122. download:
  123. # Download links for the API and database. They are downloaded to the 'plugins/LiteBans/geoip' folder.
  124. # You shouldn't need to change these, but if it isn't working, you can search for these files.
  125. api:
  126. - https://repo1.maven.org/maven2/com/maxmind/geoip2/geoip2/2.1.0/geoip2-2.1.0.jar
  127. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.4.3/jackson-databind-2.4.3.jar
  128. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.4.3/jackson-core-2.4.3.jar
  129. - https://repo1.maven.org/maven2/com/maxmind/db/maxmind-db/1.0.0/maxmind-db-1.0.0.jar
  130. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.4.3/jackson-annotations-2.4.3.jar
  131. # Will be extracted and saved as 'GeoLite2-Country.mmdb'.
  132. db: https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
  133.  
  134. import:
  135. # You can import from: MaxBans/Ultrabans/BanHammer/BanManagerv4/BanManagerv5/LiteBans/Vanilla.
  136. # Vanilla means importing from banned-players.json, which is also used by Essentials.
  137. from: maxbans
  138.  
  139. # If enabled, importing will be done from a SQLite database instead of a MySQL database.
  140. # You can ignore this if importing from banned-players.json.
  141. sqlite: false
  142.  
  143. # SQLite file locations:
  144. # MaxBans: plugins/MaxBans/bans.db
  145. # Ultrabans: plugins/Ultrabans/banlist.db
  146. # BanHammer: plugins/BanHammer/BanHammer.db
  147. # LiteBans: plugins/LiteBans/litebans.sqlite
  148. sqlite_file: plugins/MaxBans/bans.db
  149.  
  150. import_ipbans: true
  151. ## MySQL import settings ##
  152. import_mysql_address: localhost:3306
  153. import_mysql_username: ''
  154. import_mysql_password: ''
  155. import_mysql_database: maxbans
  156.  
  157. # Use display names?
  158. # This means that when moderators and punished players change their name using /nick,
  159. # this name will be used in broadcasts and other messages instead of their regular name.
  160. use_display_names: false
  161.  
  162. # Instead of CONSOLE, this name will be used to represent the console.
  163. console_sender_name: Console
  164.  
  165. # Players in this list will not show up in /dupeip output. UUIDs can also be specified.
  166. hidden_dupeip_players: []
  167.  
  168. # A player cannot be warned again while they are on cooldown.
  169. # This prevents two moderators from warning the same player for the same reason.
  170. warning_cooldown: 30
  171.  
  172. # If enabled, online player names will be auto-completed.
  173. # Example: /ban Pl -> /ban Player
  174. autocomplete_online_player_names: false
  175.  
  176. # This allows /dupeip and /ipreport to scan every single IP address that a player has ever joined with.
  177. # If set to false, it will only scan the last IP address.
  178. dupeip_scan_all_ips: false
  179.  
  180. # /ipreport will not show accounts that have no other players attached by default.
  181. ipreport_minimum_accounts: 1
  182.  
  183. # If enabled, this option will delete all previous IP history for a player when they join, adding only the most recent history.
  184. # This should only be used if you are having performance issues.
  185. # It will reduce /iphistory to 1 result, and /dupeip will not scan all previous IP addresses.
  186. delete_previous_history: false
  187.  
  188. # If enabled (default), all previous login history will be unbanned when unbanning a player.
  189. unban_all_history: true
  190.  
  191. # This is the amount of bans shown on each page for /banlist.
  192. # Note that ban entries can span 2-3 lines.
  193. banlist_bans_per_page: 5
  194.  
  195. # Only show active bans for /banlist?
  196. banlist_show_active_only: false
  197.  
  198. # If enabled, AuthMe will be detected and IP history will only be added after a player has successfully logged in.
  199. support_authme: true
  200.  
  201. lockdown:
  202. # If enabled, /lockdown will continue after restarts.
  203. persist_enabled: true
  204.  
  205. debug_level: 0
  206.  
  207. # This forces most commands registered by LiteBans to be handled by LiteBans.
  208. # Set it to false if you want another plugin to override a LiteBans command.
  209. # This won't work for commands used from the console.
  210. force_command_override: false
  211.  
  212. # If enabled, this performs an additional two database queries on each join
  213. # in order to provide case-insensitive name bans.
  214. ban_names: false
  215.  
  216. # If a kick message contains any of these, it will not be added to the database.
  217. # You can add '' (empty string) to this list if you don't want any kicks to be added to the database.
  218. ignored_kick_messages: ['restarting']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement