Advertisement
Guest User

config.yml

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