Advertisement
Guest User

Untitled

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