Advertisement
Guest User

lb

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