Advertisement
Guest User

Untitled

a guest
Jan 11th, 2018
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.59 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 option has no effect if the plugin is running directly under BungeeCord.
  4. bungeecord: false
  5.  
  6. # If this option is enabled and the server is connected to a remote database (e.g. MySQL),
  7. # LiteBans will synchronize across all servers connected to that database with sync enabled.
  8. sync: true
  9.  
  10. # If enabled, broadcasts will be synchronized.
  11. sync_broadcasts: false
  12.  
  13. # If enabled, notifications will be synchronized.
  14. sync_notifications: true
  15.  
  16. # If enabled, dupeip notifications will be synchronized.
  17. # This will appear multiple times if a player joins multiple servers, so you might want to leave this disabled.
  18. sync_dupeip_notifications: false
  19.  
  20. # The server name is an identifier used in cross-server synchronization.
  21. # It represents a single plugin instance and can be updated at any time.
  22. # If multiple servers have the same server name, they will be called "litebans-1", "litebans-2", etc.
  23. # The "$server" variable can be used in broadcast messages.
  24. server_name: 'litebans'
  25.  
  26. # This option decides which server(s) will be affected in commands by default.
  27. default_server_scope: '*'
  28.  
  29. sql:
  30. # MySQL, PostgreSQL, SQLite, and H2 are supported database drivers.
  31. driver: MySQL
  32.  
  33. ## MySQL/PostgreSQL settings ##
  34. # If using SQLite/H2, the database will be stored in the LiteBans plugin folder,
  35. # and most of these settings won't apply.
  36.  
  37. # Database server address.
  38. address: uk.virtualgladiators.com
  39.  
  40. # Database name, username and password.
  41. database: 'mcusers4649'
  42. username: 'mcusers4649'
  43. password: ''
  44.  
  45. table_prefix: 'litebans_'
  46.  
  47. # LiteBans utilizes connection pooling for extra performance and reliability.
  48. # min_connections: Minimum amount of pooled connections.
  49. # max_connections: Maximum amount of pooled connections. See: https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
  50. # timeout: Connection timeout.
  51. # idle_timeout: Maximum amount of time a pooled connection can remain idle before it is closed for inactivity.
  52. pool:
  53. min_connections: 1
  54. max_connections: 10
  55. timeout: 30 seconds
  56. idle_timeout: 1 minute
  57.  
  58. # Database engine. Only applies to MySQL.
  59. engine: InnoDB
  60.  
  61. # Format: <name>:<class>[:URL]
  62. drivers:
  63. - mysql:com.mysql.jdbc.Driver:https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.37/mysql-connector-java-5.1.37.jar
  64. - pgsql:org.postgresql.Driver:https://repo1.maven.org/maven2/org/postgresql/postgresql/9.4-1201-jdbc41/postgresql-9.4-1201-jdbc41.jar
  65. - mariadb:org.mariadb.jdbc.Driver:https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/1.3.0/mariadb-java-client-1.3.0.jar
  66. - sqlite:org.sqlite.JDBC:https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/3.8.11.1/sqlite-jdbc-3.8.11.1.jar
  67. - h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/1.4.188/h2-1.4.188.jar
  68.  
  69. durations:
  70. # Can be bypassed with the permission "litebans.unlimited.ban"
  71. tempban_max: 8 hour
  72. # Can be bypassed with the permission "litebans.unlimited.mute"
  73. mute_max: 8 hour
  74. # If true, players will not get an error when using a duration higher than the configured limit.
  75. # The duration will be rounded down to the maximum duration instead.
  76. round_down: true
  77.  
  78. mutes:
  79. enabled: true
  80.  
  81. # All of these commands can not be used while muted.
  82. command_blacklist:
  83. - /me
  84. - /say
  85. - /tell
  86. - /whisper
  87. - /reply
  88. - /pm
  89. - /msg
  90. - /emsg
  91. - /epm
  92. - /etell
  93. - /ewhisper
  94. - /w
  95. - /m
  96. - /t
  97. - /r
  98. # If enabled, muted players cannot use commands containing ":", for example: "/minecraft:me".
  99. prevent_bypass: true
  100.  
  101. # If set, a ban or mute reason must be provided, otherwise players will get an error.
  102. # When set to false, "default_ban_reason" and "default_mute_reason" in messages.yml are used as reasons when no reason is provided.
  103. require_ban_mute_reason: false
  104.  
  105. warnings:
  106. # Warnings will expire after this duration has passed.
  107. expire_after: 999 days
  108.  
  109. # Warning actions.
  110. # Format: <amount>[+]:<action>
  111. # If '+' is provided after the amount, the action will execute if the player has that amount of warnings or more.
  112. actions:
  113. - '3:/tempban $player 1w &f[&6Waarschuwingen API&f]&c Je hebt meer dan &43&c waarschuwingen.'
  114. - '6:/tempban $player 3w &f[&6Waarschuwingen API&f]&c Je hebt meer dan &46&c waarschuwingen.'
  115. - '9:/ban $player &f[&6Waarschuwingen API&f]&c Je hebt meer dan &49&c waarschuwingen. Waardoor je een blijvende straf hebt gekregen.'
  116.  
  117. # If enabled, the console will execute warning actions.
  118. # Otherwise, the player who executes the last warning also executes the warning action.
  119. actions_execute_as_console: true
  120.  
  121. # If enabled, all active warnings will be deactivated after a warning action is executed.
  122. delete_warnings_after_action: false
  123.  
  124. notify:
  125. # If enabled, players with the permission 'litebans.notify' or 'litebans.notify.banned_join' will be notified when a banned player tries to join.
  126. banned_player_join: true
  127.  
  128. # If enabled, /dupeip output will be shown on join if the player meets certain conditions.
  129. dupeip_on_join: true
  130.  
  131. # Notify if the player has a banned account on the same IP.
  132. dupeip_on_banned_account: true
  133.  
  134. # If you set this to a lower value, players with X accounts will send dupeip notifications.
  135. dupeip_on_join_threshold: 9997999
  136.  
  137. # Log all notifications to the console?
  138. notify_console: true
  139.  
  140. exempt:
  141. enable: true
  142. # By default, the first loaded world is used for permission checks.
  143. permission_world: default
  144.  
  145. # Permission groups that are exempt from bans, mutes, warnings, and kicks.
  146. exempt_groups: []
  147.  
  148. # Players who are exempt from bans, mutes, warnings, and kicks.
  149. # Format: <name/UUID>[:type]
  150. # Type can be ban, mute, warning, or kick.
  151. # Example:
  152. # exempt_players: ['Player', 'Player:kick', 'Player2']
  153. exempt_players: []
  154.  
  155. geoip:
  156. enable: false
  157. # Anyone from these locations will not be able to join.
  158. # A full list of countries that can be blacklisted:
  159. # https://dev.maxmind.com/geoip/legacy/codes/iso3166/
  160. # 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".
  161. # The configuration includes "Anonymous Proxy" which matches a few open proxies and high profile VPNs according to the GeoLite2 database.
  162. # This may block some proxies, but it's not completely reliable as a proxy blocking solution.
  163. blacklist: ['Anonymous Proxy']
  164. download:
  165. # Download links for the API and database. They are downloaded to the 'plugins/LiteBans/geoip' folder.
  166. # You shouldn't need to change these, but if it isn't working, you can search for these files.
  167. api:
  168. - https://repo1.maven.org/maven2/com/maxmind/geoip2/geoip2/2.1.0/geoip2-2.1.0.jar
  169. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.4.3/jackson-databind-2.4.3.jar
  170. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.4.3/jackson-core-2.4.3.jar
  171. - https://repo1.maven.org/maven2/com/maxmind/db/maxmind-db/1.0.0/maxmind-db-1.0.0.jar
  172. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.4.3/jackson-annotations-2.4.3.jar
  173. # Will be extracted and saved as 'GeoLite2-Country.mmdb'.
  174. db: https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
  175.  
  176. import:
  177. # You can import from: MaxBans/Ultrabans/BanHammer/BanManagerv4/BanManagerv5/BungeeAdminTools/LiteBans/Vanilla.
  178. # Vanilla means importing from banned-players.json, which is also used by Essentials.
  179. from: litebans
  180.  
  181. # If enabled, importing will be done from a SQLite database instead of a MySQL database.
  182. # You can ignore this if importing from banned-players.json.
  183. sqlite: true
  184.  
  185. # SQLite file locations:
  186. # MaxBans: plugins/MaxBans/bans.db
  187. # Ultrabans: plugins/Ultrabans/banlist.db
  188. # BanHammer: plugins/BanHammer/BanHammer.db
  189. # LiteBans: plugins/LiteBans/litebans.sqlite
  190. sqlite_file: plugins/MaxBans/bans.db
  191.  
  192. import_ipbans: true
  193. ## MySQL import settings ##
  194. import_mysql_address: 178.20.170.70
  195. import_mysql_database: 'mcp_6909'
  196. import_mysql_username: 'mcp_6909'
  197. import_mysql_password: '0570a47928'
  198.  
  199. # Use display names?
  200. # This means that when moderators and punished players change their name using /nick,
  201. # this name will be used in broadcasts and other messages instead of their regular name.
  202. use_display_names: false
  203.  
  204. # Instead of "CONSOLE", this name will be used to represent the console.
  205. console_sender_name: Console
  206.  
  207. # Players in this list will not be shown in /dupeip output. UUIDs can also be specified.
  208. hidden_dupeip_players: []
  209.  
  210. # A player cannot be warned again while they are on cooldown.
  211. # This prevents two moderators from warning the same player for the same reason.
  212. warning_cooldown: 5
  213.  
  214. # If enabled, online player names will be auto-completed.
  215. # Example: /ban Pl -> /ban Player
  216. autocomplete_online_player_names: false
  217.  
  218. # This allows /dupeip and /ipreport to scan every single IP address that a player has ever joined with.
  219. # If set to false, it will only scan the last IP address.
  220. dupeip_scan_all_ips: false
  221.  
  222. # /ipreport will not show accounts that have no other players attached by default.
  223. ipreport_minimum_accounts: 1
  224.  
  225. # If disabled, all previous IP addresses will be recorded, allowing /iphistory to work.
  226. # It is not recommended to disable this for SQLite databases.
  227. delete_previous_history: true
  228.  
  229. # If enabled (default), all previous login history will be unbanned when unbanning a player.
  230. unban_all_history: true
  231.  
  232. # This is the amount of bans shown on each page for /banlist.
  233. # Note that ban entries can span 2-3 lines.
  234. banlist_bans_per_page: 5
  235.  
  236. # Only show active bans for /banlist?
  237. banlist_show_active_only: false
  238.  
  239. # If enabled, AuthMe will be detected and IP history will only be added after a player has successfully logged in.
  240. support_authme: true
  241.  
  242. lockdown:
  243. # If enabled, /lockdown will continue after restarts.
  244. persist_enabled: true
  245.  
  246. debug_level: 89190502936
  247.  
  248. # This forces most commands registered by LiteBans to be handled by LiteBans.
  249. # Set it to false if you want another plugin to override a LiteBans command.
  250. # This won't work for commands used from the console.
  251. force_command_override: false
  252.  
  253. # If enabled, this performs an additional two database queries on each join
  254. # in order to provide case-insensitive name bans.
  255. ban_names: false
  256.  
  257. # If a kick message contains any of these, it will not be added to the database.
  258. # You can set this list to [''] if you don't want any kicks to be added to the database.
  259. ignored_kick_messages: ['restarting']
  260.  
  261. # This option controls how often notifications are sent from a single player.
  262. # When a player tries to join when banned or talk while muted,
  263. # you won't see any more messages from them for a short while.
  264. notification_throttle_ticks: 12000
  265.  
  266. # If enabled, LiteBans will use the database server's time rather than the system time.
  267. use_database_time: false
  268.  
  269. # If enabled, the plugin will notify you when an update is available.
  270. update_check: true
  271.  
  272. # If enabled, players will be checked for bans after they have joined. (Bukkit only)
  273. check_after_join: false
  274.  
  275. # If enabled, ProtocolLib will be detected and chat events will be cancelled before they can be processed by any other plugins.
  276. use_protocollib: true
  277.  
  278. # This option controls the behaviour of the "-N" flag. This flag prevents active bans/mutes from being overridden.
  279. # If enabled, the "-N" flag will only prevent bans from being overridden if the active ban has a lower duration.
  280. override_lower_duration: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement