Advertisement
Guest User

Untitled

a guest
Mar 12th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.48 KB | None | 0 0
  1.  
  2. # About editing this file:
  3. # - DO NOT USE TABS. You MUST use spaces or Bukkit will complain. If
  4. # you use an editor like Notepad++ (recommended for Windows users), you
  5. # must configure it to "replace tabs with spaces." In Notepad++, this can
  6. # be changed in Settings > Preferences > Language Menu.
  7. # - Don't get rid of the indents. They are indented so some entries are
  8. # in categories (like "max-blocks-changed" is in the "limits"
  9. # category.
  10. # - If you want to check the format of this file before putting it
  11. # into WorldEdit, paste it into http://yaml-online-parser.appspot.com/
  12. # and see if it gives "ERROR:".
  13. # - Lines starting with # are commentsand so they are ignored.
  14. #
  15.  
  16. limits:
  17. allow-extra-data-values: false
  18. max-blocks-changed:
  19. default: -1
  20. maximum: -1
  21. max-polygonal-points:
  22. default: -1
  23. maximum: 20
  24. max-radius: -1
  25. max-super-pickaxe-size: 5
  26. max-brush-radius: 5
  27. butcher-radius:
  28. default: -1
  29. maximum: -1
  30. disallowed-blocks: [6, 7, 14, 15, 16, 26, 27, 28, 29, 39, 31, 32, 33, 34, 36, 37, 38, 39, 40, 46, 50, 51, 56, 59, 69, 73, 74, 75, 76, 77, 81, 83, 137, 210, 211, 255]
  31.  
  32. use-inventory:
  33. enable: false
  34. allow-override: true
  35. creative-mode-overrides: false
  36.  
  37. logging:
  38. log-commands: false
  39. file: worldedit.log
  40.  
  41. super-pickaxe:
  42. drop-items: true
  43. many-drop-items: false
  44.  
  45. snapshots:
  46. directory:
  47.  
  48. navigation-wand:
  49. item: 345
  50. max-distance: 100
  51.  
  52. scripting:
  53. timeout: 3000
  54. dir: craftscripts
  55.  
  56. saving:
  57. dir: schematics
  58.  
  59. files:
  60. allow-symbolic-links: false
  61.  
  62. history:
  63. size: 15
  64. expiration: 10
  65.  
  66. wand-item: 271
  67. shell-save-type:
  68. no-double-slash: false
  69. no-op-permissions: false
  70. debug: false
  71. show-help-on-first-use: true
  72. # If bungeecord is set to true, banned players will be kicked from BungeeCord itself.
  73. # (Players will not be kicked to the lobby when they are banned.)
  74. # This option has no effect if the plugin is running directly under BungeeCord.
  75. bungeecord: false
  76.  
  77. # If this option is enabled and the server is connected to a remote database (e.g. MySQL),
  78. # LiteBans will synchronize across all servers connected to that database with sync enabled.
  79. sync: true
  80.  
  81. # If enabled, broadcasts will be synchronized.
  82. sync_broadcasts: true
  83.  
  84. # If enabled, notifications will be synchronized.
  85. sync_notifications: true
  86.  
  87. # If enabled, dupeip notifications will be synchronized.
  88. # This will appear multiple times if a player joins multiple servers, so you might want to leave this disabled.
  89. sync_dupeip_notifications: false
  90.  
  91. # The server name is an identifier used in cross-server synchronization.
  92. # It represents a single plugin instance and can be updated at any time.
  93. # If multiple servers have the same server name, they will be called "litebans-1", "litebans-2", etc.
  94. # The "$server" variable can be used in broadcast messages.
  95. server_name: 'litebans'
  96.  
  97. sql:
  98. # H2, MySQL, MariaDB, and PostgreSQL are supported database drivers.
  99. driver: H2
  100.  
  101. ## MySQL/PostgreSQL settings ##
  102. # If using H2, the database will be stored in the LiteBans plugin folder,
  103. # and most of these settings won't apply.
  104.  
  105. # Database server address.
  106. address: localhost:3306
  107.  
  108. # Database name, username and password.
  109. database: 'litebans'
  110. username: ''
  111. password: ''
  112.  
  113. table_prefix: 'litebans_'
  114.  
  115. # LiteBans utilizes connection pooling for extra performance and reliability.
  116. # min_connections: Minimum amount of pooled connections.
  117. # max_connections: Maximum amount of pooled connections. See: https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
  118. # timeout: Connection timeout.
  119. # idle_timeout: Maximum amount of time a pooled connection can remain idle before it is closed for inactivity.
  120. pool:
  121. min_connections: 1
  122. max_connections: 10
  123. timeout: 30 seconds
  124. idle_timeout: 1 minute
  125.  
  126. # Database engine. Only applies to MySQL.
  127. engine: InnoDB
  128.  
  129. # Format: <name>:<class>[:URL]
  130. drivers:
  131. - mysql:com.mysql.jdbc.Driver:https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.37/mysql-connector-java-5.1.37.jar
  132. - pgsql:org.postgresql.Driver:https://repo1.maven.org/maven2/org/postgresql/postgresql/9.4-1201-jdbc41/postgresql-9.4-1201-jdbc41.jar
  133. - 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
  134. - sqlite:org.sqlite.JDBC:https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/3.8.11.1/sqlite-jdbc-3.8.11.1.jar
  135. - h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/1.4.188/h2-1.4.188.jar
  136.  
  137. durations:
  138. # Can be bypassed with the permission "litebans.unlimited.ban"
  139. tempban_max: 7 days
  140. # Can be bypassed with the permission "litebans.unlimited.mute"
  141. mute_max: 1 day
  142. # If true, players will not get an error when using a duration higher than the configured limit.
  143. # The duration will be rounded down to the maximum duration instead.
  144. round_down: true
  145.  
  146. mutes:
  147. enabled: true
  148.  
  149. # All of these commands can not be used while muted.
  150. command_blacklist:
  151. - /me
  152. - /say
  153. - /tell
  154. - /whisper
  155. - /reply
  156. - /pm
  157. - /msg
  158. - /emsg
  159. - /epm
  160. - /etell
  161. - /ewhisper
  162. - /w
  163. - /m
  164. - /t
  165. - /r
  166. mutechat_command_blacklist:
  167. - /me
  168. - /say
  169. # If enabled, muted players cannot use commands containing ":", for example: "/minecraft:me".
  170. prevent_bypass: true
  171.  
  172. # If set, a ban or mute reason must be provided, otherwise players will get an error.
  173. # When set to false, "default_ban_reason" and "default_mute_reason" in messages.yml are used as reasons when no reason is provided.
  174. require_ban_mute_reason: false
  175.  
  176. warnings:
  177. # Warnings will expire after this duration has passed.
  178. expire_after: 7 days
  179.  
  180. # Warning actions.
  181. # Format: <amount>[+]:<action>
  182. # If '+' is provided after the amount, the action will execute if the player has that amount of warnings or more.
  183. actions:
  184. - '3:/kick -s:$silent $player Final warning: $reason'
  185. - '4:/tempban -s:$silent $player 1 day Reached 4 warnings: $list'
  186.  
  187. # If enabled, the console will execute warning actions.
  188. # Otherwise, the player who executes the last warning also executes the warning action.
  189. actions_execute_as_console: false
  190.  
  191. # If enabled, all active warnings will be deactivated after a warning action is executed.
  192. delete_warnings_after_action: false
  193.  
  194. notify:
  195. # If enabled, players with the permission 'litebans.notify' or 'litebans.notify.banned_join' will be notified when a banned player tries to join.
  196. banned_player_join: true
  197.  
  198. # If enabled, /dupeip output will be shown on join if the player meets certain conditions.
  199. dupeip_on_join: true
  200.  
  201. # Notify if the player has a banned account on the same IP.
  202. dupeip_on_banned_account: true
  203.  
  204. # If you set this to a lower value, players with X accounts will send dupeip notifications.
  205. dupeip_on_join_threshold: 9999999
  206.  
  207. # Log all notifications to the console?
  208. notify_console: true
  209.  
  210. exempt:
  211. enable: true
  212. # By default, the first loaded world is used for permission checks.
  213. permission_world: default
  214.  
  215. # Permission groups that are exempt from bans, mutes, warnings, and kicks.
  216. exempt_groups: []
  217.  
  218. # Players who are exempt from bans, mutes, warnings, and kicks.
  219. # Format: <name/UUID>[:type]
  220. # Type can be ban, mute, warning, or kick.
  221. # Example:
  222. # exempt_players: ['Player', 'Player:kick', 'Player2']
  223. exempt_players: []
  224.  
  225. geoip:
  226. enable: false
  227. # Anyone from these locations will not be able to join.
  228. # A full list of countries that can be blacklisted:
  229. # https://dev.maxmind.com/geoip/legacy/codes/iso3166/
  230. # 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".
  231. blacklist: []
  232. download:
  233. # Download links for the API and database. They are downloaded to the 'plugins/LiteBans/geoip' folder.
  234. # You shouldn't need to change these, but if it isn't working, you can search for these files.
  235. api:
  236. - https://repo1.maven.org/maven2/com/maxmind/geoip2/geoip2/2.1.0/geoip2-2.1.0.jar
  237. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.4.3/jackson-databind-2.4.3.jar
  238. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.4.3/jackson-core-2.4.3.jar
  239. - https://repo1.maven.org/maven2/com/maxmind/db/maxmind-db/1.0.0/maxmind-db-1.0.0.jar
  240. - https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.4.3/jackson-annotations-2.4.3.jar
  241. # Will be extracted and saved as 'GeoLite2-Country.mmdb'.
  242. db: https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
  243.  
  244. import:
  245. # You can import from: MaxBans/Ultrabans/BanHammer/BanManagerv4/BanManagerv5/BungeeAdminTools/LiteBans/Vanilla.
  246. # Vanilla means importing from banned-players.json, which is also used by Essentials.
  247. from: maxbans
  248.  
  249. # If enabled, importing will be done from a SQLite database instead of a MySQL database.
  250. # You can ignore this if importing from banned-players.json.
  251. # If importing from LiteBans, H2 will be used instead of SQLite.
  252. sqlite: true
  253.  
  254. # SQLite file locations:
  255. # MaxBans: plugins/MaxBans/bans.db
  256. # Ultrabans: plugins/Ultrabans/banlist.db
  257. # BanHammer: plugins/BanHammer/BanHammer.db
  258. # LiteBans: plugins/LiteBans/litebans.sqlite (legacy)
  259. sqlite_file: plugins/MaxBans/bans.db
  260.  
  261. import_ipbans: true
  262. ## MySQL import settings ##
  263. import_mysql_address: localhost:3306
  264. import_mysql_database: maxbans
  265. import_mysql_username: ''
  266. import_mysql_password: ''
  267.  
  268. # Use display names?
  269. # This means that when moderators and punished players change their name using /nick,
  270. # this name will be used in broadcasts and other messages instead of their regular name.
  271. # The BungeeCord version of the plugin cannot detect Spigot-side display names.
  272. use_display_names: false
  273.  
  274. # Instead of "CONSOLE", this name will be used to represent the console.
  275. console_sender_name: Console
  276.  
  277. # Players in this list will not be shown in /dupeip output. UUIDs can also be specified.
  278. hidden_dupeip_players: []
  279.  
  280. # A player cannot be warned again while they are on cooldown.
  281. # This prevents two moderators from warning the same player for the same reason.
  282. warning_cooldown: 30
  283.  
  284. # If enabled, online player names will be auto-completed.
  285. # Example: /ban Pl -> /ban Player
  286. autocomplete_online_player_names: false
  287.  
  288. # This allows /dupeip and /ipreport to scan every single IP address that a player has ever joined with.
  289. # If set to false, it will only scan the last IP address.
  290. dupeip_scan_all_ips: false
  291.  
  292. # /ipreport will not show accounts that have no other players attached by default.
  293. ipreport_minimum_accounts: 1
  294.  
  295. # If disabled, all previous IP addresses will be recorded, allowing /iphistory to work.
  296. delete_previous_history: true
  297.  
  298. # If enabled (default), all previous login history will be unbanned when unbanning a player.
  299. unban_all_history: true
  300.  
  301. # This is the amount of bans shown on each page for /banlist.
  302. # Note that ban entries can span 2-3 lines.
  303. banlist_bans_per_page: 5
  304.  
  305. # Only show active bans for /banlist?
  306. banlist_show_active_only: false
  307.  
  308. # If enabled, AuthMe will be detected and IP history will only be added after a player has successfully logged in.
  309. # This option will only work under Spigot, since AuthMe is a Spigot plugin.
  310. support_authme: true
  311.  
  312. lockdown:
  313. # If enabled, /lockdown will continue after restarts.
  314. persist_enabled: true
  315.  
  316. debug_level: 0
  317.  
  318. # If enabled, this performs an additional two database queries on each join
  319. # in order to provide case-insensitive name bans.
  320. ban_names: false
  321.  
  322. # If a kick message contains any of these, it will not be added to the database.
  323. # You can set this list to [''] if you don't want any kicks to be added to the database.
  324. ignored_kick_messages: ['restarting']
  325.  
  326. # This option controls how often notifications are sent from a single player.
  327. # When a player tries to join when banned or talk while muted,
  328. # you won't see any more messages from them for a short while.
  329. notification_throttle_ticks: 12000
  330.  
  331. # If enabled, LiteBans will use the database server's time rather than the system time.
  332. use_database_time: false
  333.  
  334. # If enabled, the plugin will notify you when an update is available.
  335. update_check: true
  336.  
  337. # If enabled, players will be checked for bans after they have joined. (Spigot only)
  338. check_after_join: false
  339.  
  340. # If enabled, ProtocolLib will be detected and chat events will be cancelled before they can be processed by any other plugins.
  341. # This can help prevent plugin conflicts which allow muted players to chat.
  342. # This option will only work under Spigot, since ProtocolLib is a Spigot plugin.
  343. use_protocollib: true
  344.  
  345. # This option controls the behaviour of the "-N" flag. This flag prevents active bans/mutes from being overridden.
  346. # If enabled, the "-N" flag will only prevent bans from being overridden if the active ban has a lower duration.
  347. override_lower_duration: true
  348.  
  349. # This option allows you to disable recording IP history on specific servers under BungeeCord.
  350. # Example: ignored_history_servers: ['Lobby']
  351. ignored_history_servers: []
  352.  
  353. # If enabled, the local system timezone will be used.
  354. # UTC time will be stored in the database, but dates will be formatted using the timezone offset.
  355. use_timezone: true
  356.  
  357. # This option controls how often the database is polled for sync data (cross-server punishments, kicks, notifications).
  358. sync_poll_ticks: 20
  359.  
  360. # If this is set above 0, the plugin will skip polling up to N times while no players are online.
  361. sync_poll_skip: 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement