Advertisement
Guest User

Untitled

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