mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			javadoc-cl
			...
			fix/plotTi
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					ac5cb8d445 | 
							
								
								
									
										630
									
								
								.editorconfig
									
									
									
									
									
								
							
							
						
						
									
										630
									
								
								.editorconfig
									
									
									
									
									
								
							@@ -13,6 +13,40 @@ ij_formatter_tags_enabled = false
 | 
			
		||||
ij_smart_tabs = false
 | 
			
		||||
ij_wrap_on_typing = true
 | 
			
		||||
 | 
			
		||||
[*.conf]
 | 
			
		||||
indent_size = 2
 | 
			
		||||
tab_width = 2
 | 
			
		||||
ij_continuation_indent_size = 2
 | 
			
		||||
ij_hocon_keep_blank_lines_before_right_brace = 2
 | 
			
		||||
ij_hocon_keep_indents_on_empty_lines = false
 | 
			
		||||
ij_hocon_keep_line_breaks = true
 | 
			
		||||
ij_hocon_space_after_colon = true
 | 
			
		||||
ij_hocon_space_after_comma = true
 | 
			
		||||
ij_hocon_space_before_colon = true
 | 
			
		||||
ij_hocon_space_before_comma = false
 | 
			
		||||
ij_hocon_spaces_within_braces = false
 | 
			
		||||
ij_hocon_spaces_within_brackets = false
 | 
			
		||||
ij_hocon_spaces_within_method_call_parentheses = false
 | 
			
		||||
 | 
			
		||||
[*.css]
 | 
			
		||||
ij_css_align_closing_brace_with_properties = false
 | 
			
		||||
ij_css_blank_lines_around_nested_selector = 1
 | 
			
		||||
ij_css_blank_lines_between_blocks = 1
 | 
			
		||||
ij_css_brace_placement = end_of_line
 | 
			
		||||
ij_css_enforce_quotes_on_format = false
 | 
			
		||||
ij_css_hex_color_long_format = false
 | 
			
		||||
ij_css_hex_color_lower_case = false
 | 
			
		||||
ij_css_hex_color_short_format = false
 | 
			
		||||
ij_css_hex_color_upper_case = false
 | 
			
		||||
ij_css_keep_blank_lines_in_code = 2
 | 
			
		||||
ij_css_keep_indents_on_empty_lines = false
 | 
			
		||||
ij_css_keep_single_line_blocks = false
 | 
			
		||||
ij_css_properties_order = font, font-family, font-size, font-weight, font-style, font-variant, font-size-adjust, font-stretch, line-height, position, z-index, top, right, bottom, left, display, visibility, float, clear, overflow, overflow-x, overflow-y, clip, zoom, align-content, align-items, align-self, flex, flex-flow, flex-basis, flex-direction, flex-grow, flex-shrink, flex-wrap, justify-content, order, box-sizing, width, min-width, max-width, height, min-height, max-height, margin, margin-top, margin-right, margin-bottom, margin-left, padding, padding-top, padding-right, padding-bottom, padding-left, table-layout, empty-cells, caption-side, border-spacing, border-collapse, list-style, list-style-position, list-style-type, list-style-image, content, quotes, counter-reset, counter-increment, resize, cursor, user-select, nav-index, nav-up, nav-right, nav-down, nav-left, transition, transition-delay, transition-timing-function, transition-duration, transition-property, transform, transform-origin, animation, animation-name, animation-duration, animation-play-state, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, text-align, text-align-last, vertical-align, white-space, text-decoration, text-emphasis, text-emphasis-color, text-emphasis-style, text-emphasis-position, text-indent, text-justify, letter-spacing, word-spacing, text-outline, text-transform, text-wrap, text-overflow, text-overflow-ellipsis, text-overflow-mode, word-wrap, word-break, tab-size, hyphens, pointer-events, opacity, color, border, border-width, border-style, border-color, border-top, border-top-width, border-top-style, border-top-color, border-right, border-right-width, border-right-style, border-right-color, border-bottom, border-bottom-width, border-bottom-style, border-bottom-color, border-left, border-left-width, border-left-style, border-left-color, border-radius, border-top-left-radius, border-top-right-radius, border-bottom-right-radius, border-bottom-left-radius, border-image, border-image-source, border-image-slice, border-image-width, border-image-outset, border-image-repeat, outline, outline-width, outline-style, outline-color, outline-offset, background, background-color, background-image, background-repeat, background-attachment, background-position, background-position-x, background-position-y, background-clip, background-origin, background-size, box-decoration-break, box-shadow, text-shadow
 | 
			
		||||
ij_css_space_after_colon = true
 | 
			
		||||
ij_css_space_before_opening_brace = true
 | 
			
		||||
ij_css_use_double_quotes = true
 | 
			
		||||
ij_css_value_alignment = do_not_align
 | 
			
		||||
 | 
			
		||||
[*.java]
 | 
			
		||||
ij_java_align_consecutive_assignments = false
 | 
			
		||||
ij_java_align_consecutive_variable_declarations = false
 | 
			
		||||
@@ -243,12 +277,63 @@ ij_java_wrap_comments = false
 | 
			
		||||
ij_java_wrap_first_method_in_call_chain = true
 | 
			
		||||
ij_java_wrap_long_lines = false
 | 
			
		||||
 | 
			
		||||
[*.nbtt]
 | 
			
		||||
max_line_length = 150
 | 
			
		||||
ij_continuation_indent_size = 4
 | 
			
		||||
ij_nbtt_keep_indents_on_empty_lines = false
 | 
			
		||||
ij_nbtt_space_after_colon = true
 | 
			
		||||
ij_nbtt_space_after_comma = true
 | 
			
		||||
ij_nbtt_space_before_colon = true
 | 
			
		||||
ij_nbtt_space_before_comma = false
 | 
			
		||||
ij_nbtt_spaces_within_brackets = false
 | 
			
		||||
ij_nbtt_spaces_within_parentheses = false
 | 
			
		||||
 | 
			
		||||
[*.properties]
 | 
			
		||||
ij_properties_align_group_field_declarations = false
 | 
			
		||||
ij_properties_keep_blank_lines = false
 | 
			
		||||
ij_properties_key_value_delimiter = equals
 | 
			
		||||
ij_properties_spaces_around_key_value_delimiter = false
 | 
			
		||||
 | 
			
		||||
[*.sass]
 | 
			
		||||
indent_size = 2
 | 
			
		||||
ij_sass_align_closing_brace_with_properties = false
 | 
			
		||||
ij_sass_blank_lines_around_nested_selector = 1
 | 
			
		||||
ij_sass_blank_lines_between_blocks = 1
 | 
			
		||||
ij_sass_brace_placement = 0
 | 
			
		||||
ij_sass_enforce_quotes_on_format = false
 | 
			
		||||
ij_sass_hex_color_long_format = false
 | 
			
		||||
ij_sass_hex_color_lower_case = false
 | 
			
		||||
ij_sass_hex_color_short_format = false
 | 
			
		||||
ij_sass_hex_color_upper_case = false
 | 
			
		||||
ij_sass_keep_blank_lines_in_code = 2
 | 
			
		||||
ij_sass_keep_indents_on_empty_lines = false
 | 
			
		||||
ij_sass_keep_single_line_blocks = false
 | 
			
		||||
ij_sass_properties_order = font, font-family, font-size, font-weight, font-style, font-variant, font-size-adjust, font-stretch, line-height, position, z-index, top, right, bottom, left, display, visibility, float, clear, overflow, overflow-x, overflow-y, clip, zoom, align-content, align-items, align-self, flex, flex-flow, flex-basis, flex-direction, flex-grow, flex-shrink, flex-wrap, justify-content, order, box-sizing, width, min-width, max-width, height, min-height, max-height, margin, margin-top, margin-right, margin-bottom, margin-left, padding, padding-top, padding-right, padding-bottom, padding-left, table-layout, empty-cells, caption-side, border-spacing, border-collapse, list-style, list-style-position, list-style-type, list-style-image, content, quotes, counter-reset, counter-increment, resize, cursor, user-select, nav-index, nav-up, nav-right, nav-down, nav-left, transition, transition-delay, transition-timing-function, transition-duration, transition-property, transform, transform-origin, animation, animation-name, animation-duration, animation-play-state, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, text-align, text-align-last, vertical-align, white-space, text-decoration, text-emphasis, text-emphasis-color, text-emphasis-style, text-emphasis-position, text-indent, text-justify, letter-spacing, word-spacing, text-outline, text-transform, text-wrap, text-overflow, text-overflow-ellipsis, text-overflow-mode, word-wrap, word-break, tab-size, hyphens, pointer-events, opacity, color, border, border-width, border-style, border-color, border-top, border-top-width, border-top-style, border-top-color, border-right, border-right-width, border-right-style, border-right-color, border-bottom, border-bottom-width, border-bottom-style, border-bottom-color, border-left, border-left-width, border-left-style, border-left-color, border-radius, border-top-left-radius, border-top-right-radius, border-bottom-right-radius, border-bottom-left-radius, border-image, border-image-source, border-image-slice, border-image-width, border-image-outset, border-image-repeat, outline, outline-width, outline-style, outline-color, outline-offset, background, background-color, background-image, background-repeat, background-attachment, background-position, background-position-x, background-position-y, background-clip, background-origin, background-size, box-decoration-break, box-shadow, text-shadow
 | 
			
		||||
ij_sass_space_after_colon = true
 | 
			
		||||
ij_sass_space_before_opening_brace = true
 | 
			
		||||
ij_sass_use_double_quotes = true
 | 
			
		||||
ij_sass_value_alignment = 0
 | 
			
		||||
 | 
			
		||||
[*.scss]
 | 
			
		||||
indent_size = 2
 | 
			
		||||
ij_scss_align_closing_brace_with_properties = false
 | 
			
		||||
ij_scss_blank_lines_around_nested_selector = 1
 | 
			
		||||
ij_scss_blank_lines_between_blocks = 1
 | 
			
		||||
ij_scss_brace_placement = 0
 | 
			
		||||
ij_scss_enforce_quotes_on_format = false
 | 
			
		||||
ij_scss_hex_color_long_format = false
 | 
			
		||||
ij_scss_hex_color_lower_case = false
 | 
			
		||||
ij_scss_hex_color_short_format = false
 | 
			
		||||
ij_scss_hex_color_upper_case = false
 | 
			
		||||
ij_scss_keep_blank_lines_in_code = 2
 | 
			
		||||
ij_scss_keep_indents_on_empty_lines = false
 | 
			
		||||
ij_scss_keep_single_line_blocks = false
 | 
			
		||||
ij_scss_properties_order = font, font-family, font-size, font-weight, font-style, font-variant, font-size-adjust, font-stretch, line-height, position, z-index, top, right, bottom, left, display, visibility, float, clear, overflow, overflow-x, overflow-y, clip, zoom, align-content, align-items, align-self, flex, flex-flow, flex-basis, flex-direction, flex-grow, flex-shrink, flex-wrap, justify-content, order, box-sizing, width, min-width, max-width, height, min-height, max-height, margin, margin-top, margin-right, margin-bottom, margin-left, padding, padding-top, padding-right, padding-bottom, padding-left, table-layout, empty-cells, caption-side, border-spacing, border-collapse, list-style, list-style-position, list-style-type, list-style-image, content, quotes, counter-reset, counter-increment, resize, cursor, user-select, nav-index, nav-up, nav-right, nav-down, nav-left, transition, transition-delay, transition-timing-function, transition-duration, transition-property, transform, transform-origin, animation, animation-name, animation-duration, animation-play-state, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, text-align, text-align-last, vertical-align, white-space, text-decoration, text-emphasis, text-emphasis-color, text-emphasis-style, text-emphasis-position, text-indent, text-justify, letter-spacing, word-spacing, text-outline, text-transform, text-wrap, text-overflow, text-overflow-ellipsis, text-overflow-mode, word-wrap, word-break, tab-size, hyphens, pointer-events, opacity, color, border, border-width, border-style, border-color, border-top, border-top-width, border-top-style, border-top-color, border-right, border-right-width, border-right-style, border-right-color, border-bottom, border-bottom-width, border-bottom-style, border-bottom-color, border-left, border-left-width, border-left-style, border-left-color, border-radius, border-top-left-radius, border-top-right-radius, border-bottom-right-radius, border-bottom-left-radius, border-image, border-image-source, border-image-slice, border-image-width, border-image-outset, border-image-repeat, outline, outline-width, outline-style, outline-color, outline-offset, background, background-color, background-image, background-repeat, background-attachment, background-position, background-position-x, background-position-y, background-clip, background-origin, background-size, box-decoration-break, box-shadow, text-shadow
 | 
			
		||||
ij_scss_space_after_colon = true
 | 
			
		||||
ij_scss_space_before_opening_brace = true
 | 
			
		||||
ij_scss_use_double_quotes = true
 | 
			
		||||
ij_scss_value_alignment = 0
 | 
			
		||||
 | 
			
		||||
[.editorconfig]
 | 
			
		||||
ij_editorconfig_align_group_field_declarations = false
 | 
			
		||||
ij_editorconfig_space_after_colon = false
 | 
			
		||||
@@ -257,6 +342,548 @@ ij_editorconfig_space_before_colon = false
 | 
			
		||||
ij_editorconfig_space_before_comma = false
 | 
			
		||||
ij_editorconfig_spaces_around_assignment_operators = true
 | 
			
		||||
 | 
			
		||||
[{*.ant, *.fxml, *.jhm, *.jnlp, *.jrxml, *.pom, *.rng, *.tld, *.wsdl, *.xml, *.xsd, *.xsl, *.xslt, *.xul}]
 | 
			
		||||
ij_xml_align_attributes = true
 | 
			
		||||
ij_xml_align_text = false
 | 
			
		||||
ij_xml_attribute_wrap = normal
 | 
			
		||||
ij_xml_block_comment_at_first_column = true
 | 
			
		||||
ij_xml_keep_blank_lines = 2
 | 
			
		||||
ij_xml_keep_indents_on_empty_lines = false
 | 
			
		||||
ij_xml_keep_line_breaks = true
 | 
			
		||||
ij_xml_keep_line_breaks_in_text = true
 | 
			
		||||
ij_xml_keep_whitespaces = false
 | 
			
		||||
ij_xml_keep_whitespaces_around_cdata = preserve
 | 
			
		||||
ij_xml_keep_whitespaces_inside_cdata = false
 | 
			
		||||
ij_xml_line_comment_at_first_column = true
 | 
			
		||||
ij_xml_space_after_tag_name = false
 | 
			
		||||
ij_xml_space_around_equals_in_attribute = false
 | 
			
		||||
ij_xml_space_inside_empty_tag = false
 | 
			
		||||
ij_xml_text_wrap = normal
 | 
			
		||||
 | 
			
		||||
[{*.ats, *.ts}]
 | 
			
		||||
ij_continuation_indent_size = 4
 | 
			
		||||
ij_typescript_align_imports = false
 | 
			
		||||
ij_typescript_align_multiline_array_initializer_expression = false
 | 
			
		||||
ij_typescript_align_multiline_binary_operation = false
 | 
			
		||||
ij_typescript_align_multiline_chained_methods = false
 | 
			
		||||
ij_typescript_align_multiline_extends_list = false
 | 
			
		||||
ij_typescript_align_multiline_for = true
 | 
			
		||||
ij_typescript_align_multiline_parameters = true
 | 
			
		||||
ij_typescript_align_multiline_parameters_in_calls = false
 | 
			
		||||
ij_typescript_align_multiline_ternary_operation = false
 | 
			
		||||
ij_typescript_align_object_properties = 0
 | 
			
		||||
ij_typescript_align_union_types = false
 | 
			
		||||
ij_typescript_align_var_statements = 0
 | 
			
		||||
ij_typescript_array_initializer_new_line_after_left_brace = false
 | 
			
		||||
ij_typescript_array_initializer_right_brace_on_new_line = false
 | 
			
		||||
ij_typescript_array_initializer_wrap = off
 | 
			
		||||
ij_typescript_assignment_wrap = off
 | 
			
		||||
ij_typescript_binary_operation_sign_on_next_line = false
 | 
			
		||||
ij_typescript_binary_operation_wrap = off
 | 
			
		||||
ij_typescript_blacklist_imports = rxjs/Rx, node_modules/**, **/node_modules/**, @angular/material, @angular/material/typings/**
 | 
			
		||||
ij_typescript_blank_lines_after_imports = 1
 | 
			
		||||
ij_typescript_blank_lines_around_class = 1
 | 
			
		||||
ij_typescript_blank_lines_around_field = 0
 | 
			
		||||
ij_typescript_blank_lines_around_field_in_interface = 0
 | 
			
		||||
ij_typescript_blank_lines_around_function = 1
 | 
			
		||||
ij_typescript_blank_lines_around_method = 1
 | 
			
		||||
ij_typescript_blank_lines_around_method_in_interface = 1
 | 
			
		||||
ij_typescript_block_brace_style = end_of_line
 | 
			
		||||
ij_typescript_call_parameters_new_line_after_left_paren = false
 | 
			
		||||
ij_typescript_call_parameters_right_paren_on_new_line = false
 | 
			
		||||
ij_typescript_call_parameters_wrap = off
 | 
			
		||||
ij_typescript_catch_on_new_line = false
 | 
			
		||||
ij_typescript_chained_call_dot_on_new_line = true
 | 
			
		||||
ij_typescript_class_brace_style = end_of_line
 | 
			
		||||
ij_typescript_comma_on_new_line = false
 | 
			
		||||
ij_typescript_do_while_brace_force = never
 | 
			
		||||
ij_typescript_else_on_new_line = false
 | 
			
		||||
ij_typescript_enforce_trailing_comma = keep
 | 
			
		||||
ij_typescript_extends_keyword_wrap = off
 | 
			
		||||
ij_typescript_extends_list_wrap = off
 | 
			
		||||
ij_typescript_field_prefix = _
 | 
			
		||||
ij_typescript_file_name_style = relaxed
 | 
			
		||||
ij_typescript_finally_on_new_line = false
 | 
			
		||||
ij_typescript_for_brace_force = never
 | 
			
		||||
ij_typescript_for_statement_new_line_after_left_paren = false
 | 
			
		||||
ij_typescript_for_statement_right_paren_on_new_line = false
 | 
			
		||||
ij_typescript_for_statement_wrap = off
 | 
			
		||||
ij_typescript_force_quote_style = false
 | 
			
		||||
ij_typescript_force_semicolon_style = false
 | 
			
		||||
ij_typescript_function_expression_brace_style = end_of_line
 | 
			
		||||
ij_typescript_if_brace_force = never
 | 
			
		||||
ij_typescript_import_merge_members = global
 | 
			
		||||
ij_typescript_import_prefer_absolute_path = global
 | 
			
		||||
ij_typescript_import_sort_members = true
 | 
			
		||||
ij_typescript_import_sort_module_name = false
 | 
			
		||||
ij_typescript_import_use_node_resolution = true
 | 
			
		||||
ij_typescript_imports_wrap = on_every_item
 | 
			
		||||
ij_typescript_indent_case_from_switch = true
 | 
			
		||||
ij_typescript_indent_chained_calls = true
 | 
			
		||||
ij_typescript_indent_package_children = 0
 | 
			
		||||
ij_typescript_jsdoc_include_types = false
 | 
			
		||||
ij_typescript_jsx_attribute_value = braces
 | 
			
		||||
ij_typescript_keep_blank_lines_in_code = 2
 | 
			
		||||
ij_typescript_keep_first_column_comment = true
 | 
			
		||||
ij_typescript_keep_indents_on_empty_lines = false
 | 
			
		||||
ij_typescript_keep_line_breaks = true
 | 
			
		||||
ij_typescript_keep_simple_blocks_in_one_line = false
 | 
			
		||||
ij_typescript_keep_simple_methods_in_one_line = false
 | 
			
		||||
ij_typescript_line_comment_add_space = true
 | 
			
		||||
ij_typescript_line_comment_at_first_column = false
 | 
			
		||||
ij_typescript_method_brace_style = end_of_line
 | 
			
		||||
ij_typescript_method_call_chain_wrap = off
 | 
			
		||||
ij_typescript_method_parameters_new_line_after_left_paren = false
 | 
			
		||||
ij_typescript_method_parameters_right_paren_on_new_line = false
 | 
			
		||||
ij_typescript_method_parameters_wrap = off
 | 
			
		||||
ij_typescript_object_literal_wrap = on_every_item
 | 
			
		||||
ij_typescript_parentheses_expression_new_line_after_left_paren = false
 | 
			
		||||
ij_typescript_parentheses_expression_right_paren_on_new_line = false
 | 
			
		||||
ij_typescript_place_assignment_sign_on_next_line = false
 | 
			
		||||
ij_typescript_prefer_as_type_cast = false
 | 
			
		||||
ij_typescript_prefer_explicit_types_function_expression_returns = false
 | 
			
		||||
ij_typescript_prefer_explicit_types_function_returns = false
 | 
			
		||||
ij_typescript_prefer_explicit_types_vars_fields = false
 | 
			
		||||
ij_typescript_prefer_parameters_wrap = false
 | 
			
		||||
ij_typescript_reformat_c_style_comments = false
 | 
			
		||||
ij_typescript_space_after_colon = true
 | 
			
		||||
ij_typescript_space_after_comma = true
 | 
			
		||||
ij_typescript_space_after_dots_in_rest_parameter = false
 | 
			
		||||
ij_typescript_space_after_generator_mult = true
 | 
			
		||||
ij_typescript_space_after_property_colon = true
 | 
			
		||||
ij_typescript_space_after_quest = true
 | 
			
		||||
ij_typescript_space_after_type_colon = true
 | 
			
		||||
ij_typescript_space_after_unary_not = false
 | 
			
		||||
ij_typescript_space_before_async_arrow_lparen = true
 | 
			
		||||
ij_typescript_space_before_catch_keyword = true
 | 
			
		||||
ij_typescript_space_before_catch_left_brace = true
 | 
			
		||||
ij_typescript_space_before_catch_parentheses = true
 | 
			
		||||
ij_typescript_space_before_class_lbrace = true
 | 
			
		||||
ij_typescript_space_before_class_left_brace = true
 | 
			
		||||
ij_typescript_space_before_colon = true
 | 
			
		||||
ij_typescript_space_before_comma = false
 | 
			
		||||
ij_typescript_space_before_do_left_brace = true
 | 
			
		||||
ij_typescript_space_before_else_keyword = true
 | 
			
		||||
ij_typescript_space_before_else_left_brace = true
 | 
			
		||||
ij_typescript_space_before_finally_keyword = true
 | 
			
		||||
ij_typescript_space_before_finally_left_brace = true
 | 
			
		||||
ij_typescript_space_before_for_left_brace = true
 | 
			
		||||
ij_typescript_space_before_for_parentheses = true
 | 
			
		||||
ij_typescript_space_before_for_semicolon = false
 | 
			
		||||
ij_typescript_space_before_function_left_parenth = true
 | 
			
		||||
ij_typescript_space_before_generator_mult = false
 | 
			
		||||
ij_typescript_space_before_if_left_brace = true
 | 
			
		||||
ij_typescript_space_before_if_parentheses = true
 | 
			
		||||
ij_typescript_space_before_method_call_parentheses = false
 | 
			
		||||
ij_typescript_space_before_method_left_brace = true
 | 
			
		||||
ij_typescript_space_before_method_parentheses = false
 | 
			
		||||
ij_typescript_space_before_property_colon = false
 | 
			
		||||
ij_typescript_space_before_quest = true
 | 
			
		||||
ij_typescript_space_before_switch_left_brace = true
 | 
			
		||||
ij_typescript_space_before_switch_parentheses = true
 | 
			
		||||
ij_typescript_space_before_try_left_brace = true
 | 
			
		||||
ij_typescript_space_before_type_colon = false
 | 
			
		||||
ij_typescript_space_before_unary_not = false
 | 
			
		||||
ij_typescript_space_before_while_keyword = true
 | 
			
		||||
ij_typescript_space_before_while_left_brace = true
 | 
			
		||||
ij_typescript_space_before_while_parentheses = true
 | 
			
		||||
ij_typescript_spaces_around_additive_operators = true
 | 
			
		||||
ij_typescript_spaces_around_arrow_function_operator = true
 | 
			
		||||
ij_typescript_spaces_around_assignment_operators = true
 | 
			
		||||
ij_typescript_spaces_around_bitwise_operators = true
 | 
			
		||||
ij_typescript_spaces_around_equality_operators = true
 | 
			
		||||
ij_typescript_spaces_around_logical_operators = true
 | 
			
		||||
ij_typescript_spaces_around_multiplicative_operators = true
 | 
			
		||||
ij_typescript_spaces_around_relational_operators = true
 | 
			
		||||
ij_typescript_spaces_around_shift_operators = true
 | 
			
		||||
ij_typescript_spaces_around_unary_operator = false
 | 
			
		||||
ij_typescript_spaces_within_array_initializer_brackets = false
 | 
			
		||||
ij_typescript_spaces_within_brackets = false
 | 
			
		||||
ij_typescript_spaces_within_catch_parentheses = false
 | 
			
		||||
ij_typescript_spaces_within_for_parentheses = false
 | 
			
		||||
ij_typescript_spaces_within_if_parentheses = false
 | 
			
		||||
ij_typescript_spaces_within_imports = false
 | 
			
		||||
ij_typescript_spaces_within_interpolation_expressions = false
 | 
			
		||||
ij_typescript_spaces_within_method_call_parentheses = false
 | 
			
		||||
ij_typescript_spaces_within_method_parentheses = false
 | 
			
		||||
ij_typescript_spaces_within_object_literal_braces = false
 | 
			
		||||
ij_typescript_spaces_within_object_type_braces = true
 | 
			
		||||
ij_typescript_spaces_within_parentheses = false
 | 
			
		||||
ij_typescript_spaces_within_switch_parentheses = false
 | 
			
		||||
ij_typescript_spaces_within_type_assertion = false
 | 
			
		||||
ij_typescript_spaces_within_union_types = true
 | 
			
		||||
ij_typescript_spaces_within_while_parentheses = false
 | 
			
		||||
ij_typescript_special_else_if_treatment = true
 | 
			
		||||
ij_typescript_ternary_operation_signs_on_next_line = false
 | 
			
		||||
ij_typescript_ternary_operation_wrap = off
 | 
			
		||||
ij_typescript_union_types_wrap = on_every_item
 | 
			
		||||
ij_typescript_use_chained_calls_group_indents = false
 | 
			
		||||
ij_typescript_use_double_quotes = true
 | 
			
		||||
ij_typescript_use_explicit_js_extension = global
 | 
			
		||||
ij_typescript_use_path_mapping = always
 | 
			
		||||
ij_typescript_use_public_modifier = false
 | 
			
		||||
ij_typescript_use_semicolon_after_statement = true
 | 
			
		||||
ij_typescript_var_declaration_wrap = normal
 | 
			
		||||
ij_typescript_while_brace_force = never
 | 
			
		||||
ij_typescript_while_on_new_line = false
 | 
			
		||||
ij_typescript_wrap_comments = false
 | 
			
		||||
 | 
			
		||||
[{*.bash, *.sh, *.zsh}]
 | 
			
		||||
indent_size = 2
 | 
			
		||||
tab_width = 2
 | 
			
		||||
ij_shell_binary_ops_start_line = false
 | 
			
		||||
ij_shell_keep_column_alignment_padding = false
 | 
			
		||||
ij_shell_minify_program = false
 | 
			
		||||
ij_shell_redirect_followed_by_space = false
 | 
			
		||||
ij_shell_switch_cases_indented = false
 | 
			
		||||
 | 
			
		||||
[{*.cjs, *.js}]
 | 
			
		||||
ij_continuation_indent_size = 4
 | 
			
		||||
ij_javascript_align_imports = false
 | 
			
		||||
ij_javascript_align_multiline_array_initializer_expression = false
 | 
			
		||||
ij_javascript_align_multiline_binary_operation = false
 | 
			
		||||
ij_javascript_align_multiline_chained_methods = false
 | 
			
		||||
ij_javascript_align_multiline_extends_list = false
 | 
			
		||||
ij_javascript_align_multiline_for = true
 | 
			
		||||
ij_javascript_align_multiline_parameters = true
 | 
			
		||||
ij_javascript_align_multiline_parameters_in_calls = false
 | 
			
		||||
ij_javascript_align_multiline_ternary_operation = false
 | 
			
		||||
ij_javascript_align_object_properties = 0
 | 
			
		||||
ij_javascript_align_union_types = false
 | 
			
		||||
ij_javascript_align_var_statements = 0
 | 
			
		||||
ij_javascript_array_initializer_new_line_after_left_brace = false
 | 
			
		||||
ij_javascript_array_initializer_right_brace_on_new_line = false
 | 
			
		||||
ij_javascript_array_initializer_wrap = off
 | 
			
		||||
ij_javascript_assignment_wrap = off
 | 
			
		||||
ij_javascript_binary_operation_sign_on_next_line = false
 | 
			
		||||
ij_javascript_binary_operation_wrap = off
 | 
			
		||||
ij_javascript_blacklist_imports = rxjs/Rx, node_modules/**, **/node_modules/**, @angular/material, @angular/material/typings/**
 | 
			
		||||
ij_javascript_blank_lines_after_imports = 1
 | 
			
		||||
ij_javascript_blank_lines_around_class = 1
 | 
			
		||||
ij_javascript_blank_lines_around_field = 0
 | 
			
		||||
ij_javascript_blank_lines_around_function = 1
 | 
			
		||||
ij_javascript_blank_lines_around_method = 1
 | 
			
		||||
ij_javascript_block_brace_style = end_of_line
 | 
			
		||||
ij_javascript_call_parameters_new_line_after_left_paren = false
 | 
			
		||||
ij_javascript_call_parameters_right_paren_on_new_line = false
 | 
			
		||||
ij_javascript_call_parameters_wrap = off
 | 
			
		||||
ij_javascript_catch_on_new_line = false
 | 
			
		||||
ij_javascript_chained_call_dot_on_new_line = true
 | 
			
		||||
ij_javascript_class_brace_style = end_of_line
 | 
			
		||||
ij_javascript_comma_on_new_line = false
 | 
			
		||||
ij_javascript_do_while_brace_force = never
 | 
			
		||||
ij_javascript_else_on_new_line = false
 | 
			
		||||
ij_javascript_enforce_trailing_comma = keep
 | 
			
		||||
ij_javascript_extends_keyword_wrap = off
 | 
			
		||||
ij_javascript_extends_list_wrap = off
 | 
			
		||||
ij_javascript_field_prefix = _
 | 
			
		||||
ij_javascript_file_name_style = relaxed
 | 
			
		||||
ij_javascript_finally_on_new_line = false
 | 
			
		||||
ij_javascript_for_brace_force = never
 | 
			
		||||
ij_javascript_for_statement_new_line_after_left_paren = false
 | 
			
		||||
ij_javascript_for_statement_right_paren_on_new_line = false
 | 
			
		||||
ij_javascript_for_statement_wrap = off
 | 
			
		||||
ij_javascript_force_quote_style = false
 | 
			
		||||
ij_javascript_force_semicolon_style = false
 | 
			
		||||
ij_javascript_function_expression_brace_style = end_of_line
 | 
			
		||||
ij_javascript_if_brace_force = never
 | 
			
		||||
ij_javascript_import_merge_members = global
 | 
			
		||||
ij_javascript_import_prefer_absolute_path = global
 | 
			
		||||
ij_javascript_import_sort_members = true
 | 
			
		||||
ij_javascript_import_sort_module_name = false
 | 
			
		||||
ij_javascript_import_use_node_resolution = true
 | 
			
		||||
ij_javascript_imports_wrap = on_every_item
 | 
			
		||||
ij_javascript_indent_case_from_switch = true
 | 
			
		||||
ij_javascript_indent_chained_calls = true
 | 
			
		||||
ij_javascript_indent_package_children = 0
 | 
			
		||||
ij_javascript_jsx_attribute_value = braces
 | 
			
		||||
ij_javascript_keep_blank_lines_in_code = 2
 | 
			
		||||
ij_javascript_keep_first_column_comment = true
 | 
			
		||||
ij_javascript_keep_indents_on_empty_lines = false
 | 
			
		||||
ij_javascript_keep_line_breaks = true
 | 
			
		||||
ij_javascript_keep_simple_blocks_in_one_line = false
 | 
			
		||||
ij_javascript_keep_simple_methods_in_one_line = false
 | 
			
		||||
ij_javascript_line_comment_add_space = true
 | 
			
		||||
ij_javascript_line_comment_at_first_column = false
 | 
			
		||||
ij_javascript_method_brace_style = end_of_line
 | 
			
		||||
ij_javascript_method_call_chain_wrap = off
 | 
			
		||||
ij_javascript_method_parameters_new_line_after_left_paren = false
 | 
			
		||||
ij_javascript_method_parameters_right_paren_on_new_line = false
 | 
			
		||||
ij_javascript_method_parameters_wrap = off
 | 
			
		||||
ij_javascript_object_literal_wrap = on_every_item
 | 
			
		||||
ij_javascript_parentheses_expression_new_line_after_left_paren = false
 | 
			
		||||
ij_javascript_parentheses_expression_right_paren_on_new_line = false
 | 
			
		||||
ij_javascript_place_assignment_sign_on_next_line = false
 | 
			
		||||
ij_javascript_prefer_as_type_cast = false
 | 
			
		||||
ij_javascript_prefer_explicit_types_function_expression_returns = false
 | 
			
		||||
ij_javascript_prefer_explicit_types_function_returns = false
 | 
			
		||||
ij_javascript_prefer_explicit_types_vars_fields = false
 | 
			
		||||
ij_javascript_prefer_parameters_wrap = false
 | 
			
		||||
ij_javascript_reformat_c_style_comments = false
 | 
			
		||||
ij_javascript_space_after_colon = true
 | 
			
		||||
ij_javascript_space_after_comma = true
 | 
			
		||||
ij_javascript_space_after_dots_in_rest_parameter = false
 | 
			
		||||
ij_javascript_space_after_generator_mult = true
 | 
			
		||||
ij_javascript_space_after_property_colon = true
 | 
			
		||||
ij_javascript_space_after_quest = true
 | 
			
		||||
ij_javascript_space_after_type_colon = true
 | 
			
		||||
ij_javascript_space_after_unary_not = false
 | 
			
		||||
ij_javascript_space_before_async_arrow_lparen = true
 | 
			
		||||
ij_javascript_space_before_catch_keyword = true
 | 
			
		||||
ij_javascript_space_before_catch_left_brace = true
 | 
			
		||||
ij_javascript_space_before_catch_parentheses = true
 | 
			
		||||
ij_javascript_space_before_class_lbrace = true
 | 
			
		||||
ij_javascript_space_before_class_left_brace = true
 | 
			
		||||
ij_javascript_space_before_colon = true
 | 
			
		||||
ij_javascript_space_before_comma = false
 | 
			
		||||
ij_javascript_space_before_do_left_brace = true
 | 
			
		||||
ij_javascript_space_before_else_keyword = true
 | 
			
		||||
ij_javascript_space_before_else_left_brace = true
 | 
			
		||||
ij_javascript_space_before_finally_keyword = true
 | 
			
		||||
ij_javascript_space_before_finally_left_brace = true
 | 
			
		||||
ij_javascript_space_before_for_left_brace = true
 | 
			
		||||
ij_javascript_space_before_for_parentheses = true
 | 
			
		||||
ij_javascript_space_before_for_semicolon = false
 | 
			
		||||
ij_javascript_space_before_function_left_parenth = true
 | 
			
		||||
ij_javascript_space_before_generator_mult = false
 | 
			
		||||
ij_javascript_space_before_if_left_brace = true
 | 
			
		||||
ij_javascript_space_before_if_parentheses = true
 | 
			
		||||
ij_javascript_space_before_method_call_parentheses = false
 | 
			
		||||
ij_javascript_space_before_method_left_brace = true
 | 
			
		||||
ij_javascript_space_before_method_parentheses = false
 | 
			
		||||
ij_javascript_space_before_property_colon = false
 | 
			
		||||
ij_javascript_space_before_quest = true
 | 
			
		||||
ij_javascript_space_before_switch_left_brace = true
 | 
			
		||||
ij_javascript_space_before_switch_parentheses = true
 | 
			
		||||
ij_javascript_space_before_try_left_brace = true
 | 
			
		||||
ij_javascript_space_before_type_colon = false
 | 
			
		||||
ij_javascript_space_before_unary_not = false
 | 
			
		||||
ij_javascript_space_before_while_keyword = true
 | 
			
		||||
ij_javascript_space_before_while_left_brace = true
 | 
			
		||||
ij_javascript_space_before_while_parentheses = true
 | 
			
		||||
ij_javascript_spaces_around_additive_operators = true
 | 
			
		||||
ij_javascript_spaces_around_arrow_function_operator = true
 | 
			
		||||
ij_javascript_spaces_around_assignment_operators = true
 | 
			
		||||
ij_javascript_spaces_around_bitwise_operators = true
 | 
			
		||||
ij_javascript_spaces_around_equality_operators = true
 | 
			
		||||
ij_javascript_spaces_around_logical_operators = true
 | 
			
		||||
ij_javascript_spaces_around_multiplicative_operators = true
 | 
			
		||||
ij_javascript_spaces_around_relational_operators = true
 | 
			
		||||
ij_javascript_spaces_around_shift_operators = true
 | 
			
		||||
ij_javascript_spaces_around_unary_operator = false
 | 
			
		||||
ij_javascript_spaces_within_array_initializer_brackets = false
 | 
			
		||||
ij_javascript_spaces_within_brackets = false
 | 
			
		||||
ij_javascript_spaces_within_catch_parentheses = false
 | 
			
		||||
ij_javascript_spaces_within_for_parentheses = false
 | 
			
		||||
ij_javascript_spaces_within_if_parentheses = false
 | 
			
		||||
ij_javascript_spaces_within_imports = false
 | 
			
		||||
ij_javascript_spaces_within_interpolation_expressions = false
 | 
			
		||||
ij_javascript_spaces_within_method_call_parentheses = false
 | 
			
		||||
ij_javascript_spaces_within_method_parentheses = false
 | 
			
		||||
ij_javascript_spaces_within_object_literal_braces = false
 | 
			
		||||
ij_javascript_spaces_within_object_type_braces = true
 | 
			
		||||
ij_javascript_spaces_within_parentheses = false
 | 
			
		||||
ij_javascript_spaces_within_switch_parentheses = false
 | 
			
		||||
ij_javascript_spaces_within_type_assertion = false
 | 
			
		||||
ij_javascript_spaces_within_union_types = true
 | 
			
		||||
ij_javascript_spaces_within_while_parentheses = false
 | 
			
		||||
ij_javascript_special_else_if_treatment = true
 | 
			
		||||
ij_javascript_ternary_operation_signs_on_next_line = false
 | 
			
		||||
ij_javascript_ternary_operation_wrap = off
 | 
			
		||||
ij_javascript_union_types_wrap = on_every_item
 | 
			
		||||
ij_javascript_use_chained_calls_group_indents = false
 | 
			
		||||
ij_javascript_use_double_quotes = true
 | 
			
		||||
ij_javascript_use_explicit_js_extension = global
 | 
			
		||||
ij_javascript_use_path_mapping = always
 | 
			
		||||
ij_javascript_use_public_modifier = false
 | 
			
		||||
ij_javascript_use_semicolon_after_statement = true
 | 
			
		||||
ij_javascript_var_declaration_wrap = normal
 | 
			
		||||
ij_javascript_while_brace_force = never
 | 
			
		||||
ij_javascript_while_on_new_line = false
 | 
			
		||||
ij_javascript_wrap_comments = false
 | 
			
		||||
 | 
			
		||||
[{*.ft, *.vm, *.vsl}]
 | 
			
		||||
ij_vtl_keep_indents_on_empty_lines = false
 | 
			
		||||
 | 
			
		||||
[{*.gant, *.gradle, *.groovy, *.gy}]
 | 
			
		||||
ij_groovy_align_group_field_declarations = false
 | 
			
		||||
ij_groovy_align_multiline_array_initializer_expression = false
 | 
			
		||||
ij_groovy_align_multiline_assignment = false
 | 
			
		||||
ij_groovy_align_multiline_binary_operation = false
 | 
			
		||||
ij_groovy_align_multiline_chained_methods = false
 | 
			
		||||
ij_groovy_align_multiline_extends_list = false
 | 
			
		||||
ij_groovy_align_multiline_for = true
 | 
			
		||||
ij_groovy_align_multiline_list_or_map = true
 | 
			
		||||
ij_groovy_align_multiline_method_parentheses = false
 | 
			
		||||
ij_groovy_align_multiline_parameters = true
 | 
			
		||||
ij_groovy_align_multiline_parameters_in_calls = false
 | 
			
		||||
ij_groovy_align_multiline_resources = true
 | 
			
		||||
ij_groovy_align_multiline_ternary_operation = false
 | 
			
		||||
ij_groovy_align_multiline_throws_list = false
 | 
			
		||||
ij_groovy_align_named_args_in_map = true
 | 
			
		||||
ij_groovy_align_throws_keyword = false
 | 
			
		||||
ij_groovy_array_initializer_new_line_after_left_brace = false
 | 
			
		||||
ij_groovy_array_initializer_right_brace_on_new_line = false
 | 
			
		||||
ij_groovy_array_initializer_wrap = off
 | 
			
		||||
ij_groovy_assert_statement_wrap = off
 | 
			
		||||
ij_groovy_assignment_wrap = off
 | 
			
		||||
ij_groovy_binary_operation_wrap = off
 | 
			
		||||
ij_groovy_blank_lines_after_class_header = 0
 | 
			
		||||
ij_groovy_blank_lines_after_imports = 1
 | 
			
		||||
ij_groovy_blank_lines_after_package = 1
 | 
			
		||||
ij_groovy_blank_lines_around_class = 1
 | 
			
		||||
ij_groovy_blank_lines_around_field = 0
 | 
			
		||||
ij_groovy_blank_lines_around_field_in_interface = 0
 | 
			
		||||
ij_groovy_blank_lines_around_method = 1
 | 
			
		||||
ij_groovy_blank_lines_around_method_in_interface = 1
 | 
			
		||||
ij_groovy_blank_lines_before_imports = 1
 | 
			
		||||
ij_groovy_blank_lines_before_method_body = 0
 | 
			
		||||
ij_groovy_blank_lines_before_package = 0
 | 
			
		||||
ij_groovy_block_brace_style = end_of_line
 | 
			
		||||
ij_groovy_block_comment_at_first_column = true
 | 
			
		||||
ij_groovy_call_parameters_new_line_after_left_paren = false
 | 
			
		||||
ij_groovy_call_parameters_right_paren_on_new_line = false
 | 
			
		||||
ij_groovy_call_parameters_wrap = off
 | 
			
		||||
ij_groovy_catch_on_new_line = false
 | 
			
		||||
ij_groovy_class_annotation_wrap = split_into_lines
 | 
			
		||||
ij_groovy_class_brace_style = end_of_line
 | 
			
		||||
ij_groovy_class_count_to_use_import_on_demand = 5
 | 
			
		||||
ij_groovy_do_while_brace_force = never
 | 
			
		||||
ij_groovy_else_on_new_line = false
 | 
			
		||||
ij_groovy_enum_constants_wrap = off
 | 
			
		||||
ij_groovy_extends_keyword_wrap = off
 | 
			
		||||
ij_groovy_extends_list_wrap = off
 | 
			
		||||
ij_groovy_field_annotation_wrap = split_into_lines
 | 
			
		||||
ij_groovy_finally_on_new_line = false
 | 
			
		||||
ij_groovy_for_brace_force = never
 | 
			
		||||
ij_groovy_for_statement_new_line_after_left_paren = false
 | 
			
		||||
ij_groovy_for_statement_right_paren_on_new_line = false
 | 
			
		||||
ij_groovy_for_statement_wrap = off
 | 
			
		||||
ij_groovy_if_brace_force = never
 | 
			
		||||
ij_groovy_import_annotation_wrap = 2
 | 
			
		||||
ij_groovy_imports_layout = *, |, javax.**, java.**, |, $*
 | 
			
		||||
ij_groovy_indent_case_from_switch = true
 | 
			
		||||
ij_groovy_indent_label_blocks = true
 | 
			
		||||
ij_groovy_insert_inner_class_imports = false
 | 
			
		||||
ij_groovy_keep_blank_lines_before_right_brace = 2
 | 
			
		||||
ij_groovy_keep_blank_lines_in_code = 2
 | 
			
		||||
ij_groovy_keep_blank_lines_in_declarations = 2
 | 
			
		||||
ij_groovy_keep_control_statement_in_one_line = true
 | 
			
		||||
ij_groovy_keep_first_column_comment = true
 | 
			
		||||
ij_groovy_keep_indents_on_empty_lines = false
 | 
			
		||||
ij_groovy_keep_line_breaks = true
 | 
			
		||||
ij_groovy_keep_multiple_expressions_in_one_line = false
 | 
			
		||||
ij_groovy_keep_simple_blocks_in_one_line = false
 | 
			
		||||
ij_groovy_keep_simple_classes_in_one_line = true
 | 
			
		||||
ij_groovy_keep_simple_lambdas_in_one_line = true
 | 
			
		||||
ij_groovy_keep_simple_methods_in_one_line = true
 | 
			
		||||
ij_groovy_label_indent_absolute = false
 | 
			
		||||
ij_groovy_label_indent_size = 0
 | 
			
		||||
ij_groovy_lambda_brace_style = end_of_line
 | 
			
		||||
ij_groovy_layout_static_imports_separately = true
 | 
			
		||||
ij_groovy_line_comment_add_space = false
 | 
			
		||||
ij_groovy_line_comment_at_first_column = true
 | 
			
		||||
ij_groovy_method_annotation_wrap = split_into_lines
 | 
			
		||||
ij_groovy_method_brace_style = end_of_line
 | 
			
		||||
ij_groovy_method_call_chain_wrap = off
 | 
			
		||||
ij_groovy_method_parameters_new_line_after_left_paren = false
 | 
			
		||||
ij_groovy_method_parameters_right_paren_on_new_line = false
 | 
			
		||||
ij_groovy_method_parameters_wrap = off
 | 
			
		||||
ij_groovy_modifier_list_wrap = false
 | 
			
		||||
ij_groovy_names_count_to_use_import_on_demand = 3
 | 
			
		||||
ij_groovy_parameter_annotation_wrap = off
 | 
			
		||||
ij_groovy_parentheses_expression_new_line_after_left_paren = false
 | 
			
		||||
ij_groovy_parentheses_expression_right_paren_on_new_line = false
 | 
			
		||||
ij_groovy_prefer_parameters_wrap = false
 | 
			
		||||
ij_groovy_resource_list_new_line_after_left_paren = false
 | 
			
		||||
ij_groovy_resource_list_right_paren_on_new_line = false
 | 
			
		||||
ij_groovy_resource_list_wrap = off
 | 
			
		||||
ij_groovy_space_after_assert_separator = true
 | 
			
		||||
ij_groovy_space_after_colon = true
 | 
			
		||||
ij_groovy_space_after_comma = true
 | 
			
		||||
ij_groovy_space_after_comma_in_type_arguments = true
 | 
			
		||||
ij_groovy_space_after_for_semicolon = true
 | 
			
		||||
ij_groovy_space_after_quest = true
 | 
			
		||||
ij_groovy_space_after_type_cast = true
 | 
			
		||||
ij_groovy_space_before_annotation_parameter_list = false
 | 
			
		||||
ij_groovy_space_before_array_initializer_left_brace = false
 | 
			
		||||
ij_groovy_space_before_assert_separator = false
 | 
			
		||||
ij_groovy_space_before_catch_keyword = true
 | 
			
		||||
ij_groovy_space_before_catch_left_brace = true
 | 
			
		||||
ij_groovy_space_before_catch_parentheses = true
 | 
			
		||||
ij_groovy_space_before_class_left_brace = true
 | 
			
		||||
ij_groovy_space_before_closure_left_brace = true
 | 
			
		||||
ij_groovy_space_before_colon = true
 | 
			
		||||
ij_groovy_space_before_comma = false
 | 
			
		||||
ij_groovy_space_before_do_left_brace = true
 | 
			
		||||
ij_groovy_space_before_else_keyword = true
 | 
			
		||||
ij_groovy_space_before_else_left_brace = true
 | 
			
		||||
ij_groovy_space_before_finally_keyword = true
 | 
			
		||||
ij_groovy_space_before_finally_left_brace = true
 | 
			
		||||
ij_groovy_space_before_for_left_brace = true
 | 
			
		||||
ij_groovy_space_before_for_parentheses = true
 | 
			
		||||
ij_groovy_space_before_for_semicolon = false
 | 
			
		||||
ij_groovy_space_before_if_left_brace = true
 | 
			
		||||
ij_groovy_space_before_if_parentheses = true
 | 
			
		||||
ij_groovy_space_before_method_call_parentheses = false
 | 
			
		||||
ij_groovy_space_before_method_left_brace = true
 | 
			
		||||
ij_groovy_space_before_method_parentheses = false
 | 
			
		||||
ij_groovy_space_before_quest = true
 | 
			
		||||
ij_groovy_space_before_switch_left_brace = true
 | 
			
		||||
ij_groovy_space_before_switch_parentheses = true
 | 
			
		||||
ij_groovy_space_before_synchronized_left_brace = true
 | 
			
		||||
ij_groovy_space_before_synchronized_parentheses = true
 | 
			
		||||
ij_groovy_space_before_try_left_brace = true
 | 
			
		||||
ij_groovy_space_before_try_parentheses = true
 | 
			
		||||
ij_groovy_space_before_while_keyword = true
 | 
			
		||||
ij_groovy_space_before_while_left_brace = true
 | 
			
		||||
ij_groovy_space_before_while_parentheses = true
 | 
			
		||||
ij_groovy_space_in_named_argument = true
 | 
			
		||||
ij_groovy_space_in_named_argument_before_colon = false
 | 
			
		||||
ij_groovy_space_within_empty_array_initializer_braces = false
 | 
			
		||||
ij_groovy_space_within_empty_method_call_parentheses = false
 | 
			
		||||
ij_groovy_spaces_around_additive_operators = true
 | 
			
		||||
ij_groovy_spaces_around_assignment_operators = true
 | 
			
		||||
ij_groovy_spaces_around_bitwise_operators = true
 | 
			
		||||
ij_groovy_spaces_around_equality_operators = true
 | 
			
		||||
ij_groovy_spaces_around_lambda_arrow = true
 | 
			
		||||
ij_groovy_spaces_around_logical_operators = true
 | 
			
		||||
ij_groovy_spaces_around_multiplicative_operators = true
 | 
			
		||||
ij_groovy_spaces_around_regex_operators = true
 | 
			
		||||
ij_groovy_spaces_around_relational_operators = true
 | 
			
		||||
ij_groovy_spaces_around_shift_operators = true
 | 
			
		||||
ij_groovy_spaces_within_annotation_parentheses = false
 | 
			
		||||
ij_groovy_spaces_within_array_initializer_braces = false
 | 
			
		||||
ij_groovy_spaces_within_braces = true
 | 
			
		||||
ij_groovy_spaces_within_brackets = false
 | 
			
		||||
ij_groovy_spaces_within_cast_parentheses = false
 | 
			
		||||
ij_groovy_spaces_within_catch_parentheses = false
 | 
			
		||||
ij_groovy_spaces_within_for_parentheses = false
 | 
			
		||||
ij_groovy_spaces_within_gstring_injection_braces = false
 | 
			
		||||
ij_groovy_spaces_within_if_parentheses = false
 | 
			
		||||
ij_groovy_spaces_within_list_or_map = false
 | 
			
		||||
ij_groovy_spaces_within_method_call_parentheses = false
 | 
			
		||||
ij_groovy_spaces_within_method_parentheses = false
 | 
			
		||||
ij_groovy_spaces_within_parentheses = false
 | 
			
		||||
ij_groovy_spaces_within_switch_parentheses = false
 | 
			
		||||
ij_groovy_spaces_within_synchronized_parentheses = false
 | 
			
		||||
ij_groovy_spaces_within_try_parentheses = false
 | 
			
		||||
ij_groovy_spaces_within_tuple_expression = false
 | 
			
		||||
ij_groovy_spaces_within_while_parentheses = false
 | 
			
		||||
ij_groovy_special_else_if_treatment = true
 | 
			
		||||
ij_groovy_ternary_operation_wrap = off
 | 
			
		||||
ij_groovy_throws_keyword_wrap = off
 | 
			
		||||
ij_groovy_throws_list_wrap = off
 | 
			
		||||
ij_groovy_use_flying_geese_braces = false
 | 
			
		||||
ij_groovy_use_fq_class_names = false
 | 
			
		||||
ij_groovy_use_fq_class_names_in_javadoc = true
 | 
			
		||||
ij_groovy_use_relative_indents = false
 | 
			
		||||
ij_groovy_use_single_class_imports = true
 | 
			
		||||
ij_groovy_variable_annotation_wrap = off
 | 
			
		||||
ij_groovy_while_brace_force = never
 | 
			
		||||
ij_groovy_while_on_new_line = false
 | 
			
		||||
ij_groovy_wrap_long_lines = false
 | 
			
		||||
 | 
			
		||||
[{*.gradle.kts, *.kt, *.kts, *.main.kts}]
 | 
			
		||||
ij_kotlin_align_in_columns_case_branch = false
 | 
			
		||||
ij_kotlin_align_multiline_binary_operation = false
 | 
			
		||||
@@ -336,8 +963,7 @@ ij_kotlin_wrap_elvis_expressions = 1
 | 
			
		||||
ij_kotlin_wrap_expression_body_functions = 0
 | 
			
		||||
ij_kotlin_wrap_first_method_in_call_chain = false
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[*.json]
 | 
			
		||||
[{*.har, *.jsb2, *.jsb3, *.json, .babelrc, .eslintrc, .stylelintrc, bowerrc, jest.config, mcmod.info}]
 | 
			
		||||
indent_size = 2
 | 
			
		||||
ij_json_keep_blank_lines_in_code = 0
 | 
			
		||||
ij_json_keep_indents_on_empty_lines = false
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								.github/ISSUE_TEMPLATE/bug_report.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/ISSUE_TEMPLATE/bug_report.yml
									
									
									
									
										vendored
									
									
								
							@@ -27,7 +27,6 @@ body:
 | 
			
		||||
      description: Which server version version you using? If your server version is not listed, it is not supported. Update to a supported version first.
 | 
			
		||||
      multiple: false
 | 
			
		||||
      options:
 | 
			
		||||
        - '1.19.3'
 | 
			
		||||
        - '1.19.2'
 | 
			
		||||
        - '1.19.1'
 | 
			
		||||
        - '1.19'
 | 
			
		||||
 
 | 
			
		||||
@@ -1,25 +0,0 @@
 | 
			
		||||
name: Announce release on discord
 | 
			
		||||
on:
 | 
			
		||||
  release:
 | 
			
		||||
    types: [published]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  send_announcement:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: send custom message with args
 | 
			
		||||
        env:
 | 
			
		||||
          DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
 | 
			
		||||
          DISCORD_USERNAME: PlotSquared Release
 | 
			
		||||
          DISCORD_AVATAR: https://raw.githubusercontent.com/IntellectualSites/Assets/main/plugins/PlotSquared/PlotSquared.png
 | 
			
		||||
        uses: Ilshidur/action-discord@0.3.2
 | 
			
		||||
        with:
 | 
			
		||||
          args: |
 | 
			
		||||
            "<@&525015541815967744> <@&679322738552471574> <@&699293353862496266>"
 | 
			
		||||
            ""
 | 
			
		||||
            "<:plotsquared:730750385886593039> **PlotSquared ${{ github.event.release.tag_name }} has been released!**"
 | 
			
		||||
            ""
 | 
			
		||||
            "Click here to view changelog: https://github.com/IntellectualSites/PlotSquared/releases/tag/${{ github.event.release.tag_name }}"
 | 
			
		||||
            ""
 | 
			
		||||
            "The download is available at:"
 | 
			
		||||
            "- Spigot: <https://www.spigotmc.org/resources/77506/>"
 | 
			
		||||
@@ -24,7 +24,7 @@ dependencies {
 | 
			
		||||
    implementation("org.bstats:bstats-bukkit")
 | 
			
		||||
 | 
			
		||||
    // Paper
 | 
			
		||||
    compileOnly("io.papermc.paper:paper-api")
 | 
			
		||||
    compileOnly(libs.paper)
 | 
			
		||||
    implementation("io.papermc:paperlib")
 | 
			
		||||
 | 
			
		||||
    // Plugins
 | 
			
		||||
@@ -105,10 +105,6 @@ tasks {
 | 
			
		||||
        opt.links("https://jd.adventure.kyori.net/api/4.9.3/")
 | 
			
		||||
        opt.links("https://google.github.io/guice/api-docs/" + libs.guice.get().versionConstraint.toString() + "/javadoc/")
 | 
			
		||||
        opt.links("https://checkerframework.org/api/")
 | 
			
		||||
        opt.isLinkSource = true
 | 
			
		||||
        opt.bottom(File("$rootDir/javadocfooter.html").readText())
 | 
			
		||||
        opt.isUse = true
 | 
			
		||||
        opt.encoding("UTF-8")
 | 
			
		||||
        opt.keyWords()
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -849,11 +849,11 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
 | 
			
		||||
                            // managed elsewhere
 | 
			
		||||
                            continue;
 | 
			
		||||
                        case "SHULKER":
 | 
			
		||||
                            if (Settings.Enabled_Components.KILL_ROAD_MOBS && (Settings.Enabled_Components.KILL_NAMED_ROAD_MOBS || entity.getCustomName() == null)) {
 | 
			
		||||
                            if (Settings.Enabled_Components.KILL_ROAD_MOBS) {
 | 
			
		||||
                                LivingEntity livingEntity = (LivingEntity) entity;
 | 
			
		||||
                                List<MetadataValue> meta = entity.getMetadata("shulkerPlot");
 | 
			
		||||
                                if (!meta.isEmpty()) {
 | 
			
		||||
                                    if (livingEntity.isLeashed() && !Settings.Enabled_Components.KILL_OWNED_ROAD_MOBS) {
 | 
			
		||||
                                    if (livingEntity.isLeashed()) {
 | 
			
		||||
                                        continue;
 | 
			
		||||
                                    }
 | 
			
		||||
                                    List<MetadataValue> keep = entity.getMetadata("keep");
 | 
			
		||||
@@ -866,8 +866,10 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
 | 
			
		||||
                                        com.plotsquared.core.location.Location pLoc = BukkitUtil.adapt(entity.getLocation());
 | 
			
		||||
                                        PlotArea area = pLoc.getPlotArea();
 | 
			
		||||
                                        if (area != null) {
 | 
			
		||||
                                            Plot currentPlot = area.getPlotAbs(pLoc);
 | 
			
		||||
                                            if (currentPlot == null || !originalPlotId.equals(currentPlot.getId())) {
 | 
			
		||||
                                            PlotId currentPlotId = area.getPlotAbs(pLoc).getId();
 | 
			
		||||
                                            if (!originalPlotId.equals(currentPlotId) && (currentPlotId == null || !area.getPlot(
 | 
			
		||||
                                                            originalPlotId)
 | 
			
		||||
                                                    .equals(area.getPlot(currentPlotId)))) {
 | 
			
		||||
                                                if (entity.hasMetadata("ps-tmp-teleport")) {
 | 
			
		||||
                                                    continue;
 | 
			
		||||
                                                }
 | 
			
		||||
@@ -881,11 +883,11 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
 | 
			
		||||
                                    com.plotsquared.core.location.Location pLoc = BukkitUtil.adapt(entity.getLocation());
 | 
			
		||||
                                    PlotArea area = pLoc.getPlotArea();
 | 
			
		||||
                                    if (area != null) {
 | 
			
		||||
                                        Plot currentPlot = area.getPlotAbs(pLoc);
 | 
			
		||||
                                        if (currentPlot != null) {
 | 
			
		||||
                                        PlotId currentPlotId = area.getPlotAbs(pLoc).getId();
 | 
			
		||||
                                        if (currentPlotId != null) {
 | 
			
		||||
                                            entity.setMetadata(
 | 
			
		||||
                                                    "shulkerPlot",
 | 
			
		||||
                                                    new FixedMetadataValue((Plugin) PlotSquared.platform(), currentPlot.getId())
 | 
			
		||||
                                                    new FixedMetadataValue((Plugin) PlotSquared.platform(), currentPlotId)
 | 
			
		||||
                                            );
 | 
			
		||||
                                        }
 | 
			
		||||
                                    }
 | 
			
		||||
@@ -971,9 +973,7 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
 | 
			
		||||
                                                || !entity.hasMetadata("keep")) {
 | 
			
		||||
                                            Entity passenger = entity.getPassenger();
 | 
			
		||||
                                            if ((Settings.Enabled_Components.KILL_OWNED_ROAD_MOBS
 | 
			
		||||
                                                    || !((passenger instanceof Player) || livingEntity.isLeashed()))
 | 
			
		||||
                                                    && (Settings.Enabled_Components.KILL_NAMED_ROAD_MOBS || entity.getCustomName() == null)
 | 
			
		||||
                                                    && entity.getMetadata("keep").isEmpty()) {
 | 
			
		||||
                                                    || !(passenger instanceof Player)) && entity.getMetadata("keep").isEmpty()) {
 | 
			
		||||
                                                if (entity.hasMetadata("ps-tmp-teleport")) {
 | 
			
		||||
                                                    continue;
 | 
			
		||||
                                                }
 | 
			
		||||
@@ -983,9 +983,8 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
 | 
			
		||||
                                        }
 | 
			
		||||
                                    } else {
 | 
			
		||||
                                        Entity passenger = entity.getPassenger();
 | 
			
		||||
                                        if ((Settings.Enabled_Components.KILL_OWNED_ROAD_MOBS || !(passenger instanceof Player))
 | 
			
		||||
                                                && (Settings.Enabled_Components.KILL_NAMED_ROAD_MOBS && entity.getCustomName() != null)
 | 
			
		||||
                                                && entity.getMetadata("keep").isEmpty()) {
 | 
			
		||||
                                        if ((Settings.Enabled_Components.KILL_OWNED_ROAD_MOBS
 | 
			
		||||
                                                || !(passenger instanceof Player)) && entity.getMetadata("keep").isEmpty()) {
 | 
			
		||||
                                            if (entity.hasMetadata("ps-tmp-teleport")) {
 | 
			
		||||
                                                continue;
 | 
			
		||||
                                            }
 | 
			
		||||
 
 | 
			
		||||
@@ -33,6 +33,7 @@ import org.bukkit.Chunk;
 | 
			
		||||
import org.bukkit.World;
 | 
			
		||||
import org.bukkit.generator.BlockPopulator;
 | 
			
		||||
import org.checkerframework.checker.nullness.qual.NonNull;
 | 
			
		||||
import org.jetbrains.annotations.NotNull;
 | 
			
		||||
 | 
			
		||||
import java.util.Random;
 | 
			
		||||
 | 
			
		||||
@@ -50,7 +51,7 @@ final class LegacyBlockStatePopulator extends BlockPopulator {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void populate(@NonNull final World world, @NonNull final Random random, @NonNull final Chunk source) {
 | 
			
		||||
    public void populate(@NotNull final World world, @NotNull final Random random, @NotNull final Chunk source) {
 | 
			
		||||
        int chunkMinX = source.getX() << 4;
 | 
			
		||||
        int chunkMinZ = source.getZ() << 4;
 | 
			
		||||
        PlotArea area = Location.at(world.getName(), chunkMinX, 0, chunkMinZ).getPlotArea();
 | 
			
		||||
 
 | 
			
		||||
@@ -56,7 +56,6 @@ import com.plotsquared.core.plot.flag.types.BlockTypeWrapper;
 | 
			
		||||
import com.plotsquared.core.plot.flag.types.BooleanFlag;
 | 
			
		||||
import com.plotsquared.core.plot.world.PlotAreaManager;
 | 
			
		||||
import com.plotsquared.core.util.Permissions;
 | 
			
		||||
import com.plotsquared.core.util.PlotFlagUtil;
 | 
			
		||||
import com.plotsquared.core.util.task.TaskManager;
 | 
			
		||||
import com.plotsquared.core.util.task.TaskTime;
 | 
			
		||||
import com.sk89q.worldedit.WorldEdit;
 | 
			
		||||
@@ -71,7 +70,6 @@ import org.bukkit.block.Block;
 | 
			
		||||
import org.bukkit.block.BlockFace;
 | 
			
		||||
import org.bukkit.block.BlockState;
 | 
			
		||||
import org.bukkit.block.data.BlockData;
 | 
			
		||||
import org.bukkit.block.data.type.Dispenser;
 | 
			
		||||
import org.bukkit.entity.Entity;
 | 
			
		||||
import org.bukkit.entity.Fireball;
 | 
			
		||||
import org.bukkit.entity.Player;
 | 
			
		||||
@@ -101,6 +99,7 @@ import org.bukkit.event.block.EntityBlockFormEvent;
 | 
			
		||||
import org.bukkit.event.block.LeavesDecayEvent;
 | 
			
		||||
import org.bukkit.event.block.SpongeAbsorbEvent;
 | 
			
		||||
import org.bukkit.event.world.StructureGrowEvent;
 | 
			
		||||
import org.bukkit.material.Directional;
 | 
			
		||||
import org.bukkit.projectiles.BlockProjectileSource;
 | 
			
		||||
import org.bukkit.util.Vector;
 | 
			
		||||
import org.checkerframework.checker.nullness.qual.NonNull;
 | 
			
		||||
@@ -167,7 +166,7 @@ public class BlockEventListener implements Listener {
 | 
			
		||||
        }
 | 
			
		||||
        Plot plot = location.getOwnedPlot();
 | 
			
		||||
        if (plot == null) {
 | 
			
		||||
            if (PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, RedstoneFlag.class, false)) {
 | 
			
		||||
            if (area.isRoadFlags() && !area.getRoadFlag(RedstoneFlag.class)) {
 | 
			
		||||
                event.setNewCurrent(0);
 | 
			
		||||
            }
 | 
			
		||||
            return;
 | 
			
		||||
@@ -926,9 +925,6 @@ public class BlockEventListener implements Listener {
 | 
			
		||||
 | 
			
		||||
    @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
 | 
			
		||||
    public void onBlockDispense(BlockDispenseEvent event) {
 | 
			
		||||
        if (!this.plotAreaManager.hasPlotArea(event.getBlock().getWorld().getName())) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        Material type = event.getItem().getType();
 | 
			
		||||
        switch (type.toString()) {
 | 
			
		||||
            case "SHULKER_BOX", "WHITE_SHULKER_BOX", "ORANGE_SHULKER_BOX", "MAGENTA_SHULKER_BOX", "LIGHT_BLUE_SHULKER_BOX",
 | 
			
		||||
@@ -940,7 +936,7 @@ public class BlockEventListener implements Listener {
 | 
			
		||||
                if (event.getBlock().getType() == Material.DROPPER) {
 | 
			
		||||
                    return;
 | 
			
		||||
                }
 | 
			
		||||
                BlockFace targetFace = ((Dispenser) event.getBlock().getBlockData()).getFacing();
 | 
			
		||||
                BlockFace targetFace = ((Directional) event.getBlock().getState().getData()).getFacing();
 | 
			
		||||
                Location location = BukkitUtil.adapt(event.getBlock().getRelative(targetFace).getLocation());
 | 
			
		||||
                if (location.isPlotRoad()) {
 | 
			
		||||
                    event.setCancelled(true);
 | 
			
		||||
@@ -1088,10 +1084,7 @@ public class BlockEventListener implements Listener {
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
            if (plot == null) {
 | 
			
		||||
                if (!PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, BlockIgnitionFlag.class, true) && !Permissions.hasPermission(
 | 
			
		||||
                        pp,
 | 
			
		||||
                        Permission.PERMISSION_ADMIN_BUILD_ROAD
 | 
			
		||||
                )) {
 | 
			
		||||
                if (!Permissions.hasPermission(pp, Permission.PERMISSION_ADMIN_BUILD_ROAD)) {
 | 
			
		||||
                    pp.sendMessage(
 | 
			
		||||
                            TranslatableCaption.of("permission.no_permission_event"),
 | 
			
		||||
                            Template.of("node", String.valueOf(Permission.PERMISSION_ADMIN_BUILD_ROAD))
 | 
			
		||||
@@ -1099,10 +1092,7 @@ public class BlockEventListener implements Listener {
 | 
			
		||||
                    event.setCancelled(true);
 | 
			
		||||
                }
 | 
			
		||||
            } else if (!plot.hasOwner()) {
 | 
			
		||||
                if (!PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, BlockIgnitionFlag.class, true) && !Permissions.hasPermission(
 | 
			
		||||
                        pp,
 | 
			
		||||
                        Permission.PERMISSION_ADMIN_BUILD_UNOWNED
 | 
			
		||||
                )) {
 | 
			
		||||
                if (!Permissions.hasPermission(pp, Permission.PERMISSION_ADMIN_BUILD_UNOWNED)) {
 | 
			
		||||
                    pp.sendMessage(
 | 
			
		||||
                            TranslatableCaption.of("permission.no_permission_event"),
 | 
			
		||||
                            Template.of("node", String.valueOf(Permission.PERMISSION_ADMIN_BUILD_UNOWNED))
 | 
			
		||||
 
 | 
			
		||||
@@ -26,7 +26,6 @@ import com.plotsquared.core.plot.Plot;
 | 
			
		||||
import com.plotsquared.core.plot.PlotArea;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.CopperOxideFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.MiscInteractFlag;
 | 
			
		||||
import com.plotsquared.core.util.PlotFlagUtil;
 | 
			
		||||
import org.bukkit.Material;
 | 
			
		||||
import org.bukkit.block.Block;
 | 
			
		||||
import org.bukkit.entity.Entity;
 | 
			
		||||
@@ -92,8 +91,7 @@ public class BlockEventListener117 implements Listener {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Plot plot = location.getOwnedPlot();
 | 
			
		||||
        if (plot == null && !PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, MiscInteractFlag.class, true) || plot != null && !plot.getFlag(
 | 
			
		||||
                MiscInteractFlag.class)) {
 | 
			
		||||
        if (plot == null || !plot.getFlag(MiscInteractFlag.class)) {
 | 
			
		||||
            if (plotPlayer != null) {
 | 
			
		||||
                if (plot != null) {
 | 
			
		||||
                    if (!plot.isAdded(plotPlayer.getUUID())) {
 | 
			
		||||
@@ -106,12 +104,6 @@ public class BlockEventListener117 implements Listener {
 | 
			
		||||
            if (entity instanceof Item item) {
 | 
			
		||||
                UUID itemThrower = item.getThrower();
 | 
			
		||||
                if (plot != null) {
 | 
			
		||||
                    if (itemThrower == null && (itemThrower = item.getOwner()) == null) {
 | 
			
		||||
                        plot.debug(
 | 
			
		||||
                                "A thrown item couldn't trigger sculk sensors because misc-interact = false and the item's owner could not be resolved.");
 | 
			
		||||
                        event.setCancelled(true);
 | 
			
		||||
                        return;
 | 
			
		||||
                    }
 | 
			
		||||
                    if (!plot.isAdded(itemThrower)) {
 | 
			
		||||
                        if (!plot.isAdded(itemThrower)) {
 | 
			
		||||
                            plot.debug("A thrown item couldn't trigger sculk sensors because misc-interact = false");
 | 
			
		||||
 
 | 
			
		||||
@@ -38,7 +38,6 @@ import com.plotsquared.core.plot.flag.implementations.InvincibleFlag;
 | 
			
		||||
import com.plotsquared.core.plot.world.PlotAreaManager;
 | 
			
		||||
import com.plotsquared.core.util.EventDispatcher;
 | 
			
		||||
import com.plotsquared.core.util.Permissions;
 | 
			
		||||
import com.plotsquared.core.util.PlotFlagUtil;
 | 
			
		||||
import com.sk89q.worldedit.bukkit.BukkitAdapter;
 | 
			
		||||
import com.sk89q.worldedit.world.block.BlockType;
 | 
			
		||||
import org.bukkit.Material;
 | 
			
		||||
@@ -262,7 +261,7 @@ public class EntityEventListener implements Listener {
 | 
			
		||||
        }
 | 
			
		||||
        Plot plot = location.getOwnedPlot();
 | 
			
		||||
        if (plot == null) {
 | 
			
		||||
            if (PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, InvincibleFlag.class, true)) {
 | 
			
		||||
            if (area.isRoadFlags() && area.getRoadFlag(InvincibleFlag.class)) {
 | 
			
		||||
                event.setCancelled(true);
 | 
			
		||||
            }
 | 
			
		||||
            return;
 | 
			
		||||
 
 | 
			
		||||
@@ -44,7 +44,6 @@ import com.plotsquared.core.plot.flag.implementations.ProjectilesFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.types.BooleanFlag;
 | 
			
		||||
import com.plotsquared.core.plot.world.PlotAreaManager;
 | 
			
		||||
import com.plotsquared.core.util.Permissions;
 | 
			
		||||
import com.plotsquared.core.util.PlotFlagUtil;
 | 
			
		||||
import net.kyori.adventure.text.minimessage.Template;
 | 
			
		||||
import org.bukkit.Chunk;
 | 
			
		||||
import org.bukkit.block.Block;
 | 
			
		||||
@@ -327,18 +326,14 @@ public class PaperListener implements Listener {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        Location location = BukkitUtil.adapt(entity.getLocation());
 | 
			
		||||
        PlotArea area = location.getPlotArea();
 | 
			
		||||
        if (area == null) {
 | 
			
		||||
        if (!this.plotAreaManager.hasPlotArea(location.getWorldName())) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        PlotPlayer<Player> pp = BukkitUtil.adapt((Player) shooter);
 | 
			
		||||
        Plot plot = location.getOwnedPlot();
 | 
			
		||||
 | 
			
		||||
        if (plot == null) {
 | 
			
		||||
            if (!PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, ProjectilesFlag.class, true) && !Permissions.hasPermission(
 | 
			
		||||
                    pp,
 | 
			
		||||
                    Permission.PERMISSION_ADMIN_PROJECTILE_ROAD
 | 
			
		||||
            )) {
 | 
			
		||||
            if (!Permissions.hasPermission(pp, Permission.PERMISSION_ADMIN_PROJECTILE_ROAD)) {
 | 
			
		||||
                pp.sendMessage(
 | 
			
		||||
                        TranslatableCaption.of("permission.no_permission_event"),
 | 
			
		||||
                        Template.of("node", String.valueOf(Permission.PERMISSION_ADMIN_PROJECTILE_ROAD))
 | 
			
		||||
 
 | 
			
		||||
@@ -48,10 +48,6 @@ import org.bukkit.event.EventHandler;
 | 
			
		||||
import org.bukkit.event.block.BlockPlaceEvent;
 | 
			
		||||
import org.checkerframework.checker.nullness.qual.NonNull;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @deprecated P2 effectively no longer supports 1.13
 | 
			
		||||
 */
 | 
			
		||||
@Deprecated(forRemoval = true, since = "6.10.4")
 | 
			
		||||
public class PaperListener113 extends PaperListener {
 | 
			
		||||
 | 
			
		||||
    @Inject
 | 
			
		||||
 
 | 
			
		||||
@@ -68,7 +68,6 @@ import com.plotsquared.core.plot.world.PlotAreaManager;
 | 
			
		||||
import com.plotsquared.core.util.EventDispatcher;
 | 
			
		||||
import com.plotsquared.core.util.MathMan;
 | 
			
		||||
import com.plotsquared.core.util.Permissions;
 | 
			
		||||
import com.plotsquared.core.util.PlotFlagUtil;
 | 
			
		||||
import com.plotsquared.core.util.PremiumVerification;
 | 
			
		||||
import com.plotsquared.core.util.entity.EntityCategories;
 | 
			
		||||
import com.plotsquared.core.util.task.TaskManager;
 | 
			
		||||
@@ -890,7 +889,8 @@ public class PlayerEventListener implements Listener {
 | 
			
		||||
                }
 | 
			
		||||
            } else {
 | 
			
		||||
                PlotArea area = pp.getPlotAreaAbs();
 | 
			
		||||
                if (area != null && PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, PreventCreativeCopyFlag.class, true)) {
 | 
			
		||||
                if (area != null && area.isRoadFlags() && area
 | 
			
		||||
                        .getRoadFlag(PreventCreativeCopyFlag.class)) {
 | 
			
		||||
                    final ItemStack newStack =
 | 
			
		||||
                            new ItemStack(newItem.getType(), newItem.getAmount());
 | 
			
		||||
                    event.setCursor(newStack);
 | 
			
		||||
@@ -998,10 +998,8 @@ public class PlayerEventListener implements Listener {
 | 
			
		||||
        Plot plot = location.getPlotAbs();
 | 
			
		||||
        BukkitPlayer pp = BukkitUtil.adapt(e.getPlayer());
 | 
			
		||||
        if (plot == null) {
 | 
			
		||||
            if (!PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, MiscInteractFlag.class, true) && !Permissions.hasPermission(
 | 
			
		||||
                    pp,
 | 
			
		||||
                    Permission.PERMISSION_ADMIN_INTERACT_ROAD
 | 
			
		||||
            )) {
 | 
			
		||||
            if (!area.isRoadFlags() && !area.getRoadFlag(MiscInteractFlag.class) && !Permissions
 | 
			
		||||
                    .hasPermission(pp, Permission.PERMISSION_ADMIN_INTERACT_ROAD)) {
 | 
			
		||||
                pp.sendMessage(
 | 
			
		||||
                        TranslatableCaption.of("permission.no_permission_event"),
 | 
			
		||||
                        Template.of("node", String.valueOf(Permission.PERMISSION_ADMIN_INTERACT_ROAD))
 | 
			
		||||
@@ -1011,7 +1009,9 @@ public class PlayerEventListener implements Listener {
 | 
			
		||||
        } else {
 | 
			
		||||
            if (Settings.Done.RESTRICT_BUILDING && DoneFlag.isDone(plot)) {
 | 
			
		||||
                if (!Permissions.hasPermission(pp, Permission.PERMISSION_ADMIN_BUILD_OTHER)) {
 | 
			
		||||
                    pp.sendMessage(TranslatableCaption.of("done.building_restricted"));
 | 
			
		||||
                    pp.sendMessage(
 | 
			
		||||
                            TranslatableCaption.of("done.building_restricted")
 | 
			
		||||
                    );
 | 
			
		||||
                    e.setCancelled(true);
 | 
			
		||||
                    return;
 | 
			
		||||
                }
 | 
			
		||||
@@ -1594,10 +1594,7 @@ public class PlayerEventListener implements Listener {
 | 
			
		||||
            BukkitPlayer pp = BukkitUtil.adapt(p);
 | 
			
		||||
            Plot plot = area.getPlot(location);
 | 
			
		||||
            if (plot == null) {
 | 
			
		||||
                if (!PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, VehicleBreakFlag.class, true) && !Permissions.hasPermission(
 | 
			
		||||
                        pp,
 | 
			
		||||
                        Permission.PERMISSION_ADMIN_DESTROY_VEHICLE_ROAD
 | 
			
		||||
                )) {
 | 
			
		||||
                if (!Permissions.hasPermission(pp, Permission.PERMISSION_ADMIN_DESTROY_VEHICLE_ROAD)) {
 | 
			
		||||
                    pp.sendMessage(
 | 
			
		||||
                            TranslatableCaption.of("permission.no_permission_event"),
 | 
			
		||||
                            Template.of("node", String.valueOf(Permission.PERMISSION_ADMIN_DESTROY_VEHICLE_ROAD))
 | 
			
		||||
@@ -1645,7 +1642,7 @@ public class PlayerEventListener implements Listener {
 | 
			
		||||
        }
 | 
			
		||||
        Plot plot = location.getOwnedPlot();
 | 
			
		||||
        if (plot == null) {
 | 
			
		||||
            if (PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, ItemDropFlag.class, false)) {
 | 
			
		||||
            if (area.isRoadFlags() && !area.getRoadFlag(ItemDropFlag.class)) {
 | 
			
		||||
                event.setCancelled(true);
 | 
			
		||||
            }
 | 
			
		||||
            return;
 | 
			
		||||
@@ -1671,7 +1668,7 @@ public class PlayerEventListener implements Listener {
 | 
			
		||||
            }
 | 
			
		||||
            Plot plot = location.getOwnedPlot();
 | 
			
		||||
            if (plot == null) {
 | 
			
		||||
                if (PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, DropProtectionFlag.class, true)) {
 | 
			
		||||
                if (area.isRoadFlags() && area.getRoadFlag(DropProtectionFlag.class)) {
 | 
			
		||||
                    event.setCancelled(true);
 | 
			
		||||
                }
 | 
			
		||||
                return;
 | 
			
		||||
@@ -1693,15 +1690,17 @@ public class PlayerEventListener implements Listener {
 | 
			
		||||
        }
 | 
			
		||||
        Plot plot = location.getOwnedPlot();
 | 
			
		||||
        if (plot == null) {
 | 
			
		||||
            if (PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, KeepInventoryFlag.class, true)) {
 | 
			
		||||
            if (area.isRoadFlags() && area.getRoadFlag(KeepInventoryFlag.class)) {
 | 
			
		||||
                event.setCancelled(true);
 | 
			
		||||
            }
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        if (plot.getFlag(KeepInventoryFlag.class)) {
 | 
			
		||||
            plot.debug(event.getEntity().getName() + " kept their inventory because of keep-inventory = true");
 | 
			
		||||
            event.getDrops().clear();
 | 
			
		||||
            event.setKeepInventory(true);
 | 
			
		||||
            if (plot.getFlag(KeepInventoryFlag.class)) {
 | 
			
		||||
                plot.debug(event.getEntity().getName() + " kept their inventory because of keep-inventory = true");
 | 
			
		||||
                event.getDrops().clear();
 | 
			
		||||
                event.setKeepInventory(true);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -1726,14 +1725,16 @@ public class PlayerEventListener implements Listener {
 | 
			
		||||
        }
 | 
			
		||||
        Plot plot = location.getOwnedPlot();
 | 
			
		||||
        if (plot == null) {
 | 
			
		||||
            if (PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, DenyPortalTravelFlag.class, true)) {
 | 
			
		||||
            if (area.isRoadFlags() && area.getRoadFlag(DenyPortalTravelFlag.class)) {
 | 
			
		||||
                event.setCancelled(true);
 | 
			
		||||
            }
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        if (plot.getFlag(DenyPortalTravelFlag.class)) {
 | 
			
		||||
            plot.debug(event.getPlayer().getName() + " did not travel thru a portal because of deny-portal-travel = true");
 | 
			
		||||
            event.setCancelled(true);
 | 
			
		||||
            if (plot.getFlag(DenyPortalTravelFlag.class)) {
 | 
			
		||||
                plot.debug(event.getPlayer().getName() + " did not travel thru a portal because of deny-portal-travel = true");
 | 
			
		||||
                event.setCancelled(true);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -1771,7 +1772,7 @@ public class PlayerEventListener implements Listener {
 | 
			
		||||
            }
 | 
			
		||||
            Plot plot = location.getOwnedPlot();
 | 
			
		||||
            if (plot == null) {
 | 
			
		||||
                if (PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, DenyPortalsFlag.class, true)) {
 | 
			
		||||
                if (area.isRoadFlags() && area.getRoadFlag(DenyPortalsFlag.class)) {
 | 
			
		||||
                    event.setCancelled(true);
 | 
			
		||||
                    return;
 | 
			
		||||
                }
 | 
			
		||||
@@ -1800,14 +1801,16 @@ public class PlayerEventListener implements Listener {
 | 
			
		||||
        }
 | 
			
		||||
        Plot plot = location.getOwnedPlot();
 | 
			
		||||
        if (plot == null) {
 | 
			
		||||
            if (PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, LecternReadBookFlag.class, true)) {
 | 
			
		||||
            if (area.isRoadFlags() && area.getRoadFlag(LecternReadBookFlag.class)) {
 | 
			
		||||
                event.setCancelled(true);
 | 
			
		||||
            }
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        if (plot.getFlag(LecternReadBookFlag.class)) {
 | 
			
		||||
            plot.debug(event.getPlayer().getName() + " could not take the book because of lectern-read-book = true");
 | 
			
		||||
            event.setCancelled(true);
 | 
			
		||||
            if (plot.getFlag(LecternReadBookFlag.class)) {
 | 
			
		||||
                plot.debug(event.getPlayer().getName() + " could not take the book because of lectern-read-book = true");
 | 
			
		||||
                event.setCancelled(true);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -31,7 +31,6 @@ import com.plotsquared.core.plot.PlotHandler;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.ProjectilesFlag;
 | 
			
		||||
import com.plotsquared.core.plot.world.PlotAreaManager;
 | 
			
		||||
import com.plotsquared.core.util.Permissions;
 | 
			
		||||
import com.plotsquared.core.util.PlotFlagUtil;
 | 
			
		||||
import net.kyori.adventure.text.minimessage.Template;
 | 
			
		||||
import org.bukkit.entity.Entity;
 | 
			
		||||
import org.bukkit.entity.LivingEntity;
 | 
			
		||||
@@ -98,18 +97,14 @@ public class ProjectileEventListener implements Listener {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        Location location = BukkitUtil.adapt(entity.getLocation());
 | 
			
		||||
        PlotArea area = location.getPlotArea();
 | 
			
		||||
        if (area == null) {
 | 
			
		||||
        if (!this.plotAreaManager.hasPlotArea(location.getWorldName())) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        PlotPlayer<Player> pp = BukkitUtil.adapt((Player) shooter);
 | 
			
		||||
        Plot plot = location.getOwnedPlot();
 | 
			
		||||
 | 
			
		||||
        if (plot == null) {
 | 
			
		||||
            if (!PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, ProjectilesFlag.class, true) && !Permissions.hasPermission(
 | 
			
		||||
                    pp,
 | 
			
		||||
                    Permission.PERMISSION_ADMIN_PROJECTILE_ROAD
 | 
			
		||||
            )) {
 | 
			
		||||
            if (!Permissions.hasPermission(pp, Permission.PERMISSION_ADMIN_PROJECTILE_ROAD)) {
 | 
			
		||||
                pp.sendMessage(
 | 
			
		||||
                        TranslatableCaption.of("permission.no_permission_event"),
 | 
			
		||||
                        Template.of("node", String.valueOf(Permission.PERMISSION_ADMIN_PROJECTILE_ROAD))
 | 
			
		||||
@@ -159,8 +154,6 @@ public class ProjectileEventListener implements Listener {
 | 
			
		||||
                    if (plot.isAdded(((Player) shooter).getUniqueId()) || plot.getFlag(ProjectilesFlag.class)) {
 | 
			
		||||
                        return;
 | 
			
		||||
                    }
 | 
			
		||||
                } else if (PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, ProjectilesFlag.class, true)) {
 | 
			
		||||
                    return;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                entity.remove();
 | 
			
		||||
@@ -170,10 +163,7 @@ public class ProjectileEventListener implements Listener {
 | 
			
		||||
 | 
			
		||||
            PlotPlayer<?> pp = BukkitUtil.adapt((Player) shooter);
 | 
			
		||||
            if (plot == null) {
 | 
			
		||||
                if (!PlotFlagUtil.isAreaRoadFlagsAndFlagEquals(area, ProjectilesFlag.class, true) && !Permissions.hasPermission(
 | 
			
		||||
                        pp,
 | 
			
		||||
                        Permission.PERMISSION_ADMIN_PROJECTILE_UNOWNED
 | 
			
		||||
                )) {
 | 
			
		||||
                if (!Permissions.hasPermission(pp, Permission.PERMISSION_ADMIN_PROJECTILE_UNOWNED)) {
 | 
			
		||||
                    entity.remove();
 | 
			
		||||
                    event.setCancelled(true);
 | 
			
		||||
                }
 | 
			
		||||
@@ -204,6 +194,7 @@ public class ProjectileEventListener implements Listener {
 | 
			
		||||
            if (sPlot == null || !PlotHandler.sameOwners(plot, sPlot)) {
 | 
			
		||||
                entity.remove();
 | 
			
		||||
                event.setCancelled(true);
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -183,11 +183,7 @@ public class GenChunk extends ScopedQueueCoordinator {
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public boolean setBlock(int x, int y, int z, @NonNull Pattern pattern) {
 | 
			
		||||
        final BaseBlock block = PatternUtil.apply(Preconditions.checkNotNull(
 | 
			
		||||
                pattern,
 | 
			
		||||
                "Pattern may not be null"
 | 
			
		||||
        ), x + (chunkX << 4), y, z + (chunkZ << 4));
 | 
			
		||||
        return setBlock(x, y, z, block);
 | 
			
		||||
        return setBlock(x, y, z, PatternUtil.apply(Preconditions.checkNotNull(pattern, "Pattern may not be null"), x, y, z));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
 
 | 
			
		||||
@@ -44,7 +44,6 @@ public class LimitedRegionWrapperQueue extends DelegateQueueCoordinator {
 | 
			
		||||
    private static final Logger LOGGER = LogManager.getLogger("PlotSquared/" + LimitedRegionWrapperQueue.class.getSimpleName());
 | 
			
		||||
 | 
			
		||||
    private final LimitedRegion limitedRegion;
 | 
			
		||||
    private boolean useOtherRestoreTagMethod = false;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * @since 6.9.0
 | 
			
		||||
@@ -66,18 +65,10 @@ public class LimitedRegionWrapperQueue extends DelegateQueueCoordinator {
 | 
			
		||||
            CompoundTag tag = id.getNbtData();
 | 
			
		||||
            StateWrapper sw = new StateWrapper(tag);
 | 
			
		||||
            try {
 | 
			
		||||
                if (useOtherRestoreTagMethod && getWorld() != null) {
 | 
			
		||||
                    sw.restoreTag(getWorld().getName(), x, y, z);
 | 
			
		||||
                } else {
 | 
			
		||||
                    sw.restoreTag(limitedRegion.getBlockState(x, y, z).getBlock());
 | 
			
		||||
                }
 | 
			
		||||
                sw.restoreTag(limitedRegion.getBlockState(x, y, z).getBlock());
 | 
			
		||||
            } catch (IllegalArgumentException e) {
 | 
			
		||||
                LOGGER.error("Error attempting to populate tile entity into the world at location {},{},{}", x, y, z, e);
 | 
			
		||||
                return false;
 | 
			
		||||
            } catch (IllegalStateException e) {
 | 
			
		||||
                useOtherRestoreTagMethod = true;
 | 
			
		||||
                LOGGER.warn("IllegalStateException attempting to populate tile entity into the world at location {},{},{}. " +
 | 
			
		||||
                        "Possibly on <=1.17.1, switching to secondary method.", x, y, z, e);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        return result;
 | 
			
		||||
 
 | 
			
		||||
@@ -36,7 +36,8 @@ import com.sk89q.worldedit.function.pattern.Pattern;
 | 
			
		||||
import com.sk89q.worldedit.regions.CuboidRegion;
 | 
			
		||||
import com.sk89q.worldedit.world.biome.BiomeType;
 | 
			
		||||
import org.checkerframework.checker.nullness.qual.NonNull;
 | 
			
		||||
import org.checkerframework.checker.nullness.qual.Nullable;
 | 
			
		||||
import org.jetbrains.annotations.NotNull;
 | 
			
		||||
import org.jetbrains.annotations.Nullable;
 | 
			
		||||
 | 
			
		||||
import java.util.Set;
 | 
			
		||||
 | 
			
		||||
@@ -45,7 +46,10 @@ public class FaweRegionManager extends BukkitRegionManager {
 | 
			
		||||
    private final FaweDelegateRegionManager delegate = new FaweDelegateRegionManager();
 | 
			
		||||
 | 
			
		||||
    @Inject
 | 
			
		||||
    public FaweRegionManager(WorldUtil worldUtil, GlobalBlockQueue blockQueue, ProgressSubscriberFactory subscriberFactory) {
 | 
			
		||||
    public FaweRegionManager(
 | 
			
		||||
            @NonNull WorldUtil worldUtil, @NonNull GlobalBlockQueue blockQueue, @NonNull
 | 
			
		||||
            ProgressSubscriberFactory subscriberFactory
 | 
			
		||||
    ) {
 | 
			
		||||
        super(worldUtil, blockQueue, subscriberFactory);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -72,9 +76,9 @@ public class FaweRegionManager extends BukkitRegionManager {
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public boolean handleClear(
 | 
			
		||||
            @NonNull Plot plot,
 | 
			
		||||
            @NotNull Plot plot,
 | 
			
		||||
            @Nullable Runnable whenDone,
 | 
			
		||||
            @NonNull PlotManager manager,
 | 
			
		||||
            @NotNull PlotManager manager,
 | 
			
		||||
            final @Nullable PlotPlayer<?> player
 | 
			
		||||
    ) {
 | 
			
		||||
        if (!Settings.FAWE_Components.CLEAR || !(manager instanceof HybridPlotManager)) {
 | 
			
		||||
 
 | 
			
		||||
@@ -29,7 +29,7 @@ import com.plotsquared.core.util.SchematicHandler;
 | 
			
		||||
import com.plotsquared.core.util.WorldUtil;
 | 
			
		||||
import com.plotsquared.core.util.task.RunnableVal;
 | 
			
		||||
import com.sk89q.jnbt.CompoundTag;
 | 
			
		||||
import org.checkerframework.checker.nullness.qual.NonNull;
 | 
			
		||||
import org.jetbrains.annotations.NotNull;
 | 
			
		||||
 | 
			
		||||
import java.io.InputStream;
 | 
			
		||||
import java.net.URL;
 | 
			
		||||
@@ -40,7 +40,7 @@ public class FaweSchematicHandler extends SchematicHandler {
 | 
			
		||||
    private final FaweDelegateSchematicHandler delegate = new FaweDelegateSchematicHandler();
 | 
			
		||||
 | 
			
		||||
    @Inject
 | 
			
		||||
    public FaweSchematicHandler(WorldUtil worldUtil, ProgressSubscriberFactory subscriberFactory) {
 | 
			
		||||
    public FaweSchematicHandler(@NotNull WorldUtil worldUtil, @NotNull ProgressSubscriberFactory subscriberFactory) {
 | 
			
		||||
        super(worldUtil, subscriberFactory);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -75,7 +75,7 @@ public class FaweSchematicHandler extends SchematicHandler {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public Schematic getSchematic(@NonNull InputStream is) {
 | 
			
		||||
    public Schematic getSchematic(@NotNull InputStream is) {
 | 
			
		||||
        return delegate.getSchematic(is);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -71,10 +71,6 @@ tasks {
 | 
			
		||||
        opt.links("https://google.github.io/guice/api-docs/" + libs.guice.get().versionConstraint.toString() + "/javadoc/")
 | 
			
		||||
        opt.links("https://checkerframework.org/api/")
 | 
			
		||||
        opt.links("https://javadoc.io/doc/com.intellectualsites.informative-annotations/informative-annotations/latest/")
 | 
			
		||||
        opt.isLinkSource = true
 | 
			
		||||
        opt.bottom(File("$rootDir/javadocfooter.html").readText())
 | 
			
		||||
        opt.isUse = true
 | 
			
		||||
        opt.encoding("UTF-8")
 | 
			
		||||
        opt.keyWords()
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -32,7 +32,6 @@ import com.plotsquared.core.inject.annotations.DefaultGenerator;
 | 
			
		||||
import com.plotsquared.core.location.World;
 | 
			
		||||
import com.plotsquared.core.permissions.PermissionHandler;
 | 
			
		||||
import com.plotsquared.core.player.PlotPlayer;
 | 
			
		||||
import com.plotsquared.core.plot.expiration.ExpireManager;
 | 
			
		||||
import com.plotsquared.core.plot.world.PlotAreaManager;
 | 
			
		||||
import com.plotsquared.core.queue.GlobalBlockQueue;
 | 
			
		||||
import com.plotsquared.core.util.ChunkManager;
 | 
			
		||||
@@ -285,16 +284,6 @@ public interface PlotPlatform<P> extends LocaleHolder {
 | 
			
		||||
        return injector().getInstance(ChunkManager.class);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Get the {@link ExpireManager} implementation for the platform
 | 
			
		||||
     *
 | 
			
		||||
     * @return Expire manager
 | 
			
		||||
     * @since 6.10.2
 | 
			
		||||
     */
 | 
			
		||||
    default @NonNull ExpireManager expireManager() {
 | 
			
		||||
        return injector().getInstance(ExpireManager.class);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Get the {@link PlotAreaManager} implementation.
 | 
			
		||||
     *
 | 
			
		||||
 
 | 
			
		||||
@@ -290,11 +290,11 @@ public class PlotSquared {
 | 
			
		||||
 | 
			
		||||
    public void startExpiryTasks() {
 | 
			
		||||
        if (Settings.Enabled_Components.PLOT_EXPIRY) {
 | 
			
		||||
            ExpireManager expireManager = PlotSquared.platform().expireManager();
 | 
			
		||||
            expireManager.runAutomatedTask();
 | 
			
		||||
            ExpireManager.IMP = new ExpireManager(this.eventDispatcher);
 | 
			
		||||
            ExpireManager.IMP.runAutomatedTask();
 | 
			
		||||
            for (Settings.Auto_Clear settings : Settings.AUTO_CLEAR.getInstances()) {
 | 
			
		||||
                ExpiryTask task = new ExpiryTask(settings, this.getPlotAreaManager());
 | 
			
		||||
                expireManager.addTask(task);
 | 
			
		||||
                ExpireManager.IMP.addTask(task);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
@@ -645,8 +645,7 @@ public class PlotSquared {
 | 
			
		||||
        } else {
 | 
			
		||||
            list = new ArrayList<>(input);
 | 
			
		||||
        }
 | 
			
		||||
        ExpireManager expireManager = PlotSquared.platform().expireManager();
 | 
			
		||||
        list.sort(Comparator.comparingLong(a -> expireManager.getTimestamp(a.getOwnerAbs())));
 | 
			
		||||
        list.sort(Comparator.comparingLong(a -> ExpireManager.IMP.getTimestamp(a.getOwnerAbs())));
 | 
			
		||||
        return list;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,6 @@
 | 
			
		||||
package com.plotsquared.core.command;
 | 
			
		||||
 | 
			
		||||
import com.google.inject.Inject;
 | 
			
		||||
import com.plotsquared.core.PlotSquared;
 | 
			
		||||
import com.plotsquared.core.configuration.caption.StaticCaption;
 | 
			
		||||
import com.plotsquared.core.configuration.caption.TranslatableCaption;
 | 
			
		||||
import com.plotsquared.core.events.PlotFlagRemoveEvent;
 | 
			
		||||
@@ -140,7 +139,10 @@ public class DebugExec extends SubCommand {
 | 
			
		||||
                    return true;
 | 
			
		||||
                }
 | 
			
		||||
                case "start-expire" -> {
 | 
			
		||||
                    if (PlotSquared.platform().expireManager().runAutomatedTask()) {
 | 
			
		||||
                    if (ExpireManager.IMP == null) {
 | 
			
		||||
                        ExpireManager.IMP = new ExpireManager(this.eventDispatcher);
 | 
			
		||||
                    }
 | 
			
		||||
                    if (ExpireManager.IMP.runAutomatedTask()) {
 | 
			
		||||
                        player.sendMessage(TranslatableCaption.of("debugexec.expiry_started"));
 | 
			
		||||
                    } else {
 | 
			
		||||
                        player.sendMessage(TranslatableCaption.of("debugexec.expiry_already_started"));
 | 
			
		||||
@@ -148,7 +150,7 @@ public class DebugExec extends SubCommand {
 | 
			
		||||
                    return true;
 | 
			
		||||
                }
 | 
			
		||||
                case "stop-expire" -> {
 | 
			
		||||
                    if (!PlotSquared.platform().expireManager().cancelTask()) {
 | 
			
		||||
                    if (ExpireManager.IMP == null || !ExpireManager.IMP.cancelTask()) {
 | 
			
		||||
                        player.sendMessage(TranslatableCaption.of("debugexec.task_halted"));
 | 
			
		||||
                    } else {
 | 
			
		||||
                        player.sendMessage(TranslatableCaption.of("debugexec.task_cancelled"));
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,6 @@
 | 
			
		||||
package com.plotsquared.core.command;
 | 
			
		||||
 | 
			
		||||
import com.google.inject.Inject;
 | 
			
		||||
import com.plotsquared.core.PlotSquared;
 | 
			
		||||
import com.plotsquared.core.configuration.Settings;
 | 
			
		||||
import com.plotsquared.core.configuration.caption.TranslatableCaption;
 | 
			
		||||
import com.plotsquared.core.events.PlotDoneEvent;
 | 
			
		||||
@@ -30,6 +29,7 @@ import com.plotsquared.core.location.Location;
 | 
			
		||||
import com.plotsquared.core.permissions.Permission;
 | 
			
		||||
import com.plotsquared.core.player.PlotPlayer;
 | 
			
		||||
import com.plotsquared.core.plot.Plot;
 | 
			
		||||
import com.plotsquared.core.plot.expiration.ExpireManager;
 | 
			
		||||
import com.plotsquared.core.plot.expiration.PlotAnalysis;
 | 
			
		||||
import com.plotsquared.core.plot.flag.PlotFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.DoneFlag;
 | 
			
		||||
@@ -94,7 +94,7 @@ public class Done extends SubCommand {
 | 
			
		||||
                Template.of("plot", plot.getId().toString())
 | 
			
		||||
        );
 | 
			
		||||
        final Settings.Auto_Clear doneRequirements = Settings.AUTO_CLEAR.get("done");
 | 
			
		||||
        if (PlotSquared.platform().expireManager() == null || doneRequirements == null) {
 | 
			
		||||
        if (ExpireManager.IMP == null || doneRequirements == null) {
 | 
			
		||||
            finish(plot, player, true);
 | 
			
		||||
            plot.removeRunning();
 | 
			
		||||
        } else {
 | 
			
		||||
 
 | 
			
		||||
@@ -30,6 +30,7 @@ import com.plotsquared.core.permissions.Permission;
 | 
			
		||||
import com.plotsquared.core.player.PlotPlayer;
 | 
			
		||||
import com.plotsquared.core.plot.Plot;
 | 
			
		||||
import com.plotsquared.core.plot.PlotArea;
 | 
			
		||||
import com.plotsquared.core.plot.expiration.ExpireManager;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.DoneFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.PriceFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.ServerPlotFlag;
 | 
			
		||||
@@ -239,7 +240,7 @@ public class ListCmd extends SubCommand {
 | 
			
		||||
                    );
 | 
			
		||||
                    return false;
 | 
			
		||||
                }
 | 
			
		||||
                if (PlotSquared.platform().expireManager() == null) {
 | 
			
		||||
                if (ExpireManager.IMP == null) {
 | 
			
		||||
                    plotConsumer.accept(PlotQuery.newQuery().noPlots());
 | 
			
		||||
                } else {
 | 
			
		||||
                    plotConsumer.accept(PlotQuery.newQuery().expiredPlots());
 | 
			
		||||
 
 | 
			
		||||
@@ -282,28 +282,7 @@ public class Merge extends SubCommand {
 | 
			
		||||
                run.run();
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        if (force || !isOnline) {
 | 
			
		||||
            if (force || Permissions.hasPermission(player, Permission.PERMISSION_ADMIN_COMMAND_MERGE_OTHER_OFFLINE)) {
 | 
			
		||||
                if (plot.getPlotModificationManager().autoMerge(direction, maxSize - size, uuids.iterator().next(), player, terrain)) {
 | 
			
		||||
                    if (this.econHandler.isEnabled(plotArea) && price > 0d) {
 | 
			
		||||
                        if (!force && this.econHandler.getMoney(player) < price) {
 | 
			
		||||
                            player.sendMessage(
 | 
			
		||||
                                    TranslatableCaption.of("economy.cannot_afford_merge"),
 | 
			
		||||
                                    Template.of("money", this.econHandler.format(price))
 | 
			
		||||
                            );
 | 
			
		||||
                            return false;
 | 
			
		||||
                        }
 | 
			
		||||
                        this.econHandler.withdrawMoney(player, price);
 | 
			
		||||
                        player.sendMessage(
 | 
			
		||||
                                TranslatableCaption.of("economy.removed_balance"),
 | 
			
		||||
                                Template.of("money", this.econHandler.format(price))
 | 
			
		||||
                        );
 | 
			
		||||
                    }
 | 
			
		||||
                    player.sendMessage(TranslatableCaption.of("merge.success_merge"));
 | 
			
		||||
                    eventDispatcher.callPostMerge(player, plot);
 | 
			
		||||
                    return true;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        if (!force && !isOnline) {
 | 
			
		||||
            player.sendMessage(TranslatableCaption.of("merge.no_available_automerge"));
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,7 @@ import com.plotsquared.core.configuration.caption.TranslatableCaption;
 | 
			
		||||
import com.plotsquared.core.location.Location;
 | 
			
		||||
import com.plotsquared.core.player.PlotPlayer;
 | 
			
		||||
import com.plotsquared.core.plot.Plot;
 | 
			
		||||
import com.plotsquared.core.plot.expiration.ExpireManager;
 | 
			
		||||
import com.plotsquared.core.plot.world.PlotAreaManager;
 | 
			
		||||
import com.plotsquared.core.queue.GlobalBlockQueue;
 | 
			
		||||
import com.plotsquared.core.queue.QueueCoordinator;
 | 
			
		||||
@@ -91,8 +92,8 @@ public class Trim extends SubCommand {
 | 
			
		||||
        }
 | 
			
		||||
        TranslatableCaption.of("trim.trim_starting");
 | 
			
		||||
        final List<Plot> plots = PlotQuery.newQuery().inWorld(world).asList();
 | 
			
		||||
        if (PlotSquared.platform().expireManager() != null) {
 | 
			
		||||
            plots.removeAll(PlotSquared.platform().expireManager().getPendingExpired());
 | 
			
		||||
        if (ExpireManager.IMP != null) {
 | 
			
		||||
            plots.removeAll(ExpireManager.IMP.getPendingExpired());
 | 
			
		||||
        }
 | 
			
		||||
        result.value1 = new HashSet<>(PlotSquared.platform().worldUtil().getChunkChunks(world));
 | 
			
		||||
        result.value2 = new HashSet<>();
 | 
			
		||||
 
 | 
			
		||||
@@ -759,8 +759,6 @@ public class Settings extends Config {
 | 
			
		||||
        @Comment("Also kill any road mobs that are being ridden, or are leashed")
 | 
			
		||||
        public static boolean
 | 
			
		||||
                KILL_OWNED_ROAD_MOBS = false;
 | 
			
		||||
        @Comment("Also kill any road mobs that are named")
 | 
			
		||||
        public static boolean KILL_NAMED_ROAD_MOBS = false;
 | 
			
		||||
        @Comment("Kill items on roads (Stick, Paper, etc.)")
 | 
			
		||||
        public static boolean KILL_ROAD_ITEMS = false;
 | 
			
		||||
        @Comment("Kill vehicles on roads (Boat, Minecart, etc.)")
 | 
			
		||||
 
 | 
			
		||||
@@ -21,15 +21,16 @@ package com.plotsquared.core.configuration.caption;
 | 
			
		||||
import net.kyori.adventure.text.Component;
 | 
			
		||||
import net.kyori.adventure.text.event.ClickEvent;
 | 
			
		||||
import org.checkerframework.checker.nullness.qual.NonNull;
 | 
			
		||||
import org.jetbrains.annotations.NotNull;
 | 
			
		||||
 | 
			
		||||
import java.util.EnumSet;
 | 
			
		||||
import java.util.Set;
 | 
			
		||||
 | 
			
		||||
final class ClickStripTransform implements ComponentTransform {
 | 
			
		||||
 | 
			
		||||
    private final Set<ClickEvent.@NonNull Action> actionsToStrip;
 | 
			
		||||
    private final Set<ClickEvent.@NotNull Action> actionsToStrip;
 | 
			
		||||
 | 
			
		||||
    public ClickStripTransform(final Set<ClickEvent.@NonNull Action> actionsToStrip) {
 | 
			
		||||
    public ClickStripTransform(final Set<ClickEvent.@NotNull Action> actionsToStrip) {
 | 
			
		||||
        this.actionsToStrip = EnumSet.copyOf(actionsToStrip);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -53,10 +53,7 @@ final class ClassLoaderCaptionProvider implements DefaultCaptionProvider {
 | 
			
		||||
        try {
 | 
			
		||||
            final InputStream stream = this.classLoader.getResourceAsStream(url);
 | 
			
		||||
            if (stream == null) {
 | 
			
		||||
                LOGGER.info("No resource for locale '{}' found in the plugin file." +
 | 
			
		||||
                                "Please ensure you have placed the latest version of the file messages_{}.json in the 'lang' folder." +
 | 
			
		||||
                                "You may be able to find completed translations at https://intellectualsites.crowdin.com/plotsquared",
 | 
			
		||||
                        locale, locale);
 | 
			
		||||
                LOGGER.warn("No resource for locale '{}' found", locale);
 | 
			
		||||
                return null;
 | 
			
		||||
            }
 | 
			
		||||
            try (final BufferedReader reader = new BufferedReader(new InputStreamReader(stream))) {
 | 
			
		||||
 
 | 
			
		||||
@@ -114,7 +114,7 @@ public class PlayerAutoPlotEvent extends PlotEvent implements CancellablePlotEve
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * @deprecated for removal. Use {@link PlayerAutoPlotEvent#setSizeX(int)}
 | 
			
		||||
     * @deprecated for removal. Use {@link PlayerAutoPlotEvent#setSizeX(int)} )}
 | 
			
		||||
     */
 | 
			
		||||
    @Deprecated(forRemoval = true, since = "6.1.0")
 | 
			
		||||
    public void setSize_x(int sizeX) {
 | 
			
		||||
@@ -130,7 +130,7 @@ public class PlayerAutoPlotEvent extends PlotEvent implements CancellablePlotEve
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * @deprecated for removal. Use {@link PlayerAutoPlotEvent#setSizeZ(int)}
 | 
			
		||||
     * @deprecated for removal. Use {@link PlayerAutoPlotEvent#setSizeZ(int)} )}
 | 
			
		||||
     */
 | 
			
		||||
    @Deprecated(forRemoval = true, since = "6.1.0")
 | 
			
		||||
    public void setSize_z(int sizeZ) {
 | 
			
		||||
 
 | 
			
		||||
@@ -174,9 +174,8 @@ public class HybridPlotManager extends ClassicPlotManager {
 | 
			
		||||
                    for (int y = 0; y < blocks.length; y++) {
 | 
			
		||||
                        if (blocks[y] != null) {
 | 
			
		||||
                            queue.setBlock(x, minY + y, z, blocks[y]);
 | 
			
		||||
                        } else if (!isRoad) {
 | 
			
		||||
                        } else {
 | 
			
		||||
                            // This is necessary, otherwise any blocks not specified in the schematic will remain after a clear
 | 
			
		||||
                            //  Do not set air for road as this may cause cavernous roads when debugroadregen is used
 | 
			
		||||
                            queue.setBlock(x, minY + y, z, airBlock);
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
 
 | 
			
		||||
@@ -21,6 +21,7 @@ package com.plotsquared.core.generator;
 | 
			
		||||
import com.google.inject.Inject;
 | 
			
		||||
import com.google.inject.assistedinject.Assisted;
 | 
			
		||||
import com.intellectualsites.annotations.DoNotUse;
 | 
			
		||||
import com.intellectualsites.annotations.NotPublic;
 | 
			
		||||
import com.plotsquared.core.PlotSquared;
 | 
			
		||||
import com.plotsquared.core.configuration.ConfigurationSection;
 | 
			
		||||
import com.plotsquared.core.configuration.Settings;
 | 
			
		||||
@@ -74,9 +75,6 @@ public class HybridPlotWorld extends ClassicPlotWorld {
 | 
			
		||||
    public short PATH_WIDTH_UPPER;
 | 
			
		||||
    public HashMap<Integer, BaseBlock[]> G_SCH;
 | 
			
		||||
    public HashMap<Integer, BiomeType> G_SCH_B;
 | 
			
		||||
    /**
 | 
			
		||||
     * The Y level at which schematic generation will start, lowest of either road or plot schematic generation.
 | 
			
		||||
     */
 | 
			
		||||
    public int SCHEM_Y;
 | 
			
		||||
    private Location SIGN_LOCATION;
 | 
			
		||||
    private File root = null;
 | 
			
		||||
@@ -93,10 +91,10 @@ public class HybridPlotWorld extends ClassicPlotWorld {
 | 
			
		||||
    @Inject
 | 
			
		||||
    public HybridPlotWorld(
 | 
			
		||||
            @Assisted("world") final String worldName,
 | 
			
		||||
            @javax.annotation.Nullable @Assisted("id") final String id,
 | 
			
		||||
            @Nullable @Assisted("id") final String id,
 | 
			
		||||
            @Assisted final @NonNull IndependentPlotGenerator generator,
 | 
			
		||||
            @javax.annotation.Nullable @Assisted("min") final PlotId min,
 | 
			
		||||
            @javax.annotation.Nullable @Assisted("max") final PlotId max,
 | 
			
		||||
            @Nullable @Assisted("min") final PlotId min,
 | 
			
		||||
            @Nullable @Assisted("max") final PlotId max,
 | 
			
		||||
            @WorldConfig final @NonNull YamlConfiguration worldConfiguration,
 | 
			
		||||
            final @NonNull GlobalBlockQueue blockQueue
 | 
			
		||||
    ) {
 | 
			
		||||
@@ -269,67 +267,34 @@ public class HybridPlotWorld extends ClassicPlotWorld {
 | 
			
		||||
        int oddshift = (this.ROAD_WIDTH & 1);
 | 
			
		||||
 | 
			
		||||
        SCHEM_Y = schematicStartHeight();
 | 
			
		||||
 | 
			
		||||
        // plotY and roadY are important to allow plot and/or road schematic "overflow" into each other without causing AIOOB
 | 
			
		||||
        //  exceptions when attempting either to set blocks to, or get block from G_SCH
 | 
			
		||||
        // Default plot schematic start height, normalized to the minimum height schematics are pasted from.
 | 
			
		||||
        int plotY = PLOT_HEIGHT - SCHEM_Y;
 | 
			
		||||
        int minRoadWall = Settings.Schematics.USE_WALL_IN_ROAD_SCHEM_HEIGHT ? Math.min(ROAD_HEIGHT, WALL_HEIGHT) : ROAD_HEIGHT;
 | 
			
		||||
        // Default road schematic start height, normalized to the minimum height schematics are pasted from.
 | 
			
		||||
        int roadY = minRoadWall - SCHEM_Y;
 | 
			
		||||
 | 
			
		||||
        int worldGenHeight = getMaxGenHeight() - getMinGenHeight() + 1;
 | 
			
		||||
 | 
			
		||||
        int maxSchematicHeight = 0;
 | 
			
		||||
        int plotSchemHeight = 0;
 | 
			
		||||
        int worldHeight = getMaxGenHeight() - getMinGenHeight() + 1;
 | 
			
		||||
 | 
			
		||||
        // SCHEM_Y should be normalised to the plot "start" height
 | 
			
		||||
        if (schematic3 != null) {
 | 
			
		||||
            plotSchemHeight = maxSchematicHeight = schematic3.getClipboard().getDimensions().getY();
 | 
			
		||||
            if (maxSchematicHeight == worldGenHeight) {
 | 
			
		||||
                SCHEM_Y = getMinGenHeight();
 | 
			
		||||
                plotY = 0;
 | 
			
		||||
            if (schematic3.getClipboard().getDimensions().getY() == worldHeight) {
 | 
			
		||||
                SCHEM_Y = plotY = 0;
 | 
			
		||||
            } else if (!Settings.Schematics.PASTE_ON_TOP) {
 | 
			
		||||
                SCHEM_Y = getMinBuildHeight();
 | 
			
		||||
                plotY = 0;
 | 
			
		||||
                SCHEM_Y = plotY = getMinBuildHeight() - getMinGenHeight();
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        int roadSchemHeight;
 | 
			
		||||
 | 
			
		||||
        if (schematic1 != null) {
 | 
			
		||||
            roadSchemHeight = Math.max(
 | 
			
		||||
                    schematic1.getClipboard().getDimensions().getY(),
 | 
			
		||||
                    schematic2.getClipboard().getDimensions().getY()
 | 
			
		||||
            );
 | 
			
		||||
            maxSchematicHeight = Math.max(roadSchemHeight, maxSchematicHeight);
 | 
			
		||||
            if (maxSchematicHeight == worldGenHeight) {
 | 
			
		||||
                SCHEM_Y = getMinGenHeight();
 | 
			
		||||
                roadY = 0; // Road is the lowest schematic
 | 
			
		||||
                if (schematic3 != null && schematic3.getClipboard().getDimensions().getY() != worldGenHeight) {
 | 
			
		||||
                    // Road is the lowest schematic. Normalize plotY to it.
 | 
			
		||||
                    if (Settings.Schematics.PASTE_ON_TOP) {
 | 
			
		||||
                        plotY = PLOT_HEIGHT - getMinGenHeight();
 | 
			
		||||
                    } else {
 | 
			
		||||
                        plotY = getMinBuildHeight() - getMinGenHeight();
 | 
			
		||||
                    }
 | 
			
		||||
            if (schematic1.getClipboard().getDimensions().getY() == worldHeight) {
 | 
			
		||||
                SCHEM_Y = roadY = getMinGenHeight();
 | 
			
		||||
                if (schematic3 != null && schematic3.getClipboard().getDimensions().getY() != worldHeight
 | 
			
		||||
                        && !Settings.Schematics.PASTE_ON_TOP) {
 | 
			
		||||
                    plotY = PLOT_HEIGHT;
 | 
			
		||||
                }
 | 
			
		||||
            } else if (!Settings.Schematics.PASTE_ROAD_ON_TOP) {
 | 
			
		||||
                if (SCHEM_Y == getMinGenHeight()) { // Only possible if plot schematic is enabled
 | 
			
		||||
                    // Plot is still the lowest schematic, normalize roadY to it
 | 
			
		||||
                    roadY = getMinBuildHeight() - getMinGenHeight();
 | 
			
		||||
                } else if (schematic3 != null) {
 | 
			
		||||
                    SCHEM_Y = getMinBuildHeight();
 | 
			
		||||
                    roadY = 0;// Road is the lowest schematic
 | 
			
		||||
                    if (Settings.Schematics.PASTE_ON_TOP) {
 | 
			
		||||
                        // Road is the lowest schematic. Normalize plotY to it.
 | 
			
		||||
                        plotY = PLOT_HEIGHT - getMinBuildHeight();
 | 
			
		||||
                    }
 | 
			
		||||
                    maxSchematicHeight = Math.max(maxSchematicHeight, plotY + plotSchemHeight);
 | 
			
		||||
                SCHEM_Y = roadY = getMinBuildHeight();
 | 
			
		||||
                if (schematic3 != null && schematic3.getClipboard().getDimensions().getY() != worldHeight
 | 
			
		||||
                        && !Settings.Schematics.PASTE_ON_TOP) {
 | 
			
		||||
                    plotY = PLOT_HEIGHT;
 | 
			
		||||
                }
 | 
			
		||||
            } else {
 | 
			
		||||
                roadY = minRoadWall - SCHEM_Y;
 | 
			
		||||
                maxSchematicHeight = Math.max(maxSchematicHeight, roadY + roadSchemHeight);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
@@ -366,15 +331,17 @@ public class HybridPlotWorld extends ClassicPlotWorld {
 | 
			
		||||
                                y + min.getBlockY(),
 | 
			
		||||
                                z + min.getBlockZ()
 | 
			
		||||
                        ));
 | 
			
		||||
                        schem3PopulationNeeded |= id.hasNbtData();
 | 
			
		||||
                        addOverlayBlock(
 | 
			
		||||
                                (short) (x + shift + oddshift + centerShiftX),
 | 
			
		||||
                                (short) (y + plotY),
 | 
			
		||||
                                (short) (z + shift + oddshift + centerShiftZ),
 | 
			
		||||
                                id,
 | 
			
		||||
                                false,
 | 
			
		||||
                                maxSchematicHeight
 | 
			
		||||
                        );
 | 
			
		||||
                        if (!id.getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                            schem3PopulationNeeded |= id.hasNbtData();
 | 
			
		||||
                            addOverlayBlock(
 | 
			
		||||
                                    (short) (x + shift + oddshift + centerShiftX),
 | 
			
		||||
                                    (short) (y + plotY),
 | 
			
		||||
                                    (short) (z + shift + oddshift + centerShiftZ),
 | 
			
		||||
                                    id,
 | 
			
		||||
                                    false,
 | 
			
		||||
                                    h3
 | 
			
		||||
                            );
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                    if (blockArrayClipboard3.hasBiomes()) {
 | 
			
		||||
                        BiomeType biome = blockArrayClipboard3.getBiome(BlockVector2.at(
 | 
			
		||||
@@ -424,23 +391,18 @@ public class HybridPlotWorld extends ClassicPlotWorld {
 | 
			
		||||
                            y + min.getBlockY(),
 | 
			
		||||
                            z + min.getBlockZ()
 | 
			
		||||
                    ));
 | 
			
		||||
                    schem1PopulationNeeded |= id.hasNbtData();
 | 
			
		||||
                    addOverlayBlock(
 | 
			
		||||
                            (short) (x - shift),
 | 
			
		||||
                            (short) (y + roadY),
 | 
			
		||||
                            (short) (z + shift + oddshift),
 | 
			
		||||
                            id,
 | 
			
		||||
                            false,
 | 
			
		||||
                            maxSchematicHeight
 | 
			
		||||
                    );
 | 
			
		||||
                    addOverlayBlock(
 | 
			
		||||
                            (short) (z + shift + oddshift),
 | 
			
		||||
                            (short) (y + roadY),
 | 
			
		||||
                            (short) (shift - x + (oddshift - 1)),
 | 
			
		||||
                            id,
 | 
			
		||||
                            true,
 | 
			
		||||
                            maxSchematicHeight
 | 
			
		||||
                    );
 | 
			
		||||
                    if (!id.getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                        schem1PopulationNeeded |= id.hasNbtData();
 | 
			
		||||
                        addOverlayBlock((short) (x - shift), (short) (y + roadY), (short) (z + shift + oddshift), id, false, h1);
 | 
			
		||||
                        addOverlayBlock(
 | 
			
		||||
                                (short) (z + shift + oddshift),
 | 
			
		||||
                                (short) (y + roadY),
 | 
			
		||||
                                (short) (shift - x + (oddshift - 1)),
 | 
			
		||||
                                id,
 | 
			
		||||
                                true,
 | 
			
		||||
                                h1
 | 
			
		||||
                        );
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                if (blockArrayClipboard1.hasBiomes()) {
 | 
			
		||||
                    BiomeType biome = blockArrayClipboard1.getBiome(BlockVector2.at(x + min.getBlockX(), z + min.getBlockZ()));
 | 
			
		||||
@@ -468,15 +430,10 @@ public class HybridPlotWorld extends ClassicPlotWorld {
 | 
			
		||||
                            y + min.getBlockY(),
 | 
			
		||||
                            z + min.getBlockZ()
 | 
			
		||||
                    ));
 | 
			
		||||
                    schem2PopulationNeeded |= id.hasNbtData();
 | 
			
		||||
                    addOverlayBlock(
 | 
			
		||||
                            (short) (x - shift),
 | 
			
		||||
                            (short) (y + roadY),
 | 
			
		||||
                            (short) (z - shift),
 | 
			
		||||
                            id,
 | 
			
		||||
                            false,
 | 
			
		||||
                            maxSchematicHeight
 | 
			
		||||
                    );
 | 
			
		||||
                    if (!id.getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                        schem2PopulationNeeded |= id.hasNbtData();
 | 
			
		||||
                        addOverlayBlock((short) (x - shift), (short) (y + roadY), (short) (z - shift), id, false, h2);
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                if (blockArrayClipboard2.hasBiomes()) {
 | 
			
		||||
                    BiomeType biome = blockArrayClipboard2.getBiome(BlockVector2.at(x + min.getBlockX(), z + min.getBlockZ()));
 | 
			
		||||
@@ -486,10 +443,6 @@ public class HybridPlotWorld extends ClassicPlotWorld {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * @deprecated This method should not be available for public API usage and will be made private.
 | 
			
		||||
     */
 | 
			
		||||
    @Deprecated(forRemoval = true, since = "6.10.2")
 | 
			
		||||
    public void addOverlayBlock(short x, short y, short z, BaseBlock id, boolean rotate, int height) {
 | 
			
		||||
        if (z < 0) {
 | 
			
		||||
            z += this.SIZE;
 | 
			
		||||
@@ -509,22 +462,13 @@ public class HybridPlotWorld extends ClassicPlotWorld {
 | 
			
		||||
        if (y >= height) {
 | 
			
		||||
            if (y > lastOverlayHeightError) {
 | 
			
		||||
                lastOverlayHeightError = y;
 | 
			
		||||
                LOGGER.error(
 | 
			
		||||
                        "Error adding overlay block in world {}. `y > height`. y={}, height={}",
 | 
			
		||||
                        getWorldName(),
 | 
			
		||||
                        y,
 | 
			
		||||
                        height
 | 
			
		||||
                );
 | 
			
		||||
                LOGGER.error(String.format("Error adding overlay block. `y > height`. y=%s, height=%s", y, height));
 | 
			
		||||
            }
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        existing[y] = id;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * @deprecated This method should not be available for public API usage and will be made private.
 | 
			
		||||
     */
 | 
			
		||||
    @Deprecated(forRemoval = true, since = "6.10.2")
 | 
			
		||||
    public void addOverlayBiome(short x, short z, BiomeType id) {
 | 
			
		||||
        if (z < 0) {
 | 
			
		||||
            z += this.SIZE;
 | 
			
		||||
 
 | 
			
		||||
@@ -234,52 +234,44 @@ public class HybridUtils {
 | 
			
		||||
                        Set<BlockType> types = new HashSet<>();
 | 
			
		||||
                        for (int yIndex = 0; yIndex < height; yIndex++) {
 | 
			
		||||
                            BlockState old = oldBlocks[yIndex][x][z]; // Nullable
 | 
			
		||||
                            BlockState now = newBlocks[yIndex][x][z]; // Not null
 | 
			
		||||
                            if (now == null) {
 | 
			
		||||
                                throw new NullPointerException(String.format(
 | 
			
		||||
                                        "\"now\" block null attempting to perform plot analysis. Indexes: x=%d of %d, yIndex=%d" +
 | 
			
		||||
                                                " of %d, z=%d of %d",
 | 
			
		||||
                                        x,
 | 
			
		||||
                                        width,
 | 
			
		||||
                                        yIndex,
 | 
			
		||||
                                        height,
 | 
			
		||||
                                        z,
 | 
			
		||||
                                        length
 | 
			
		||||
                                ));
 | 
			
		||||
                            }
 | 
			
		||||
                            if (!now.equals(old) && !(old == null && now.getBlockType().equals(BlockTypes.AIR))) {
 | 
			
		||||
                                changes[i]++;
 | 
			
		||||
                            }
 | 
			
		||||
                            if (now.getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                air[i]++;
 | 
			
		||||
                            } else {
 | 
			
		||||
                                // check vertices
 | 
			
		||||
                                // modifications_adjacent
 | 
			
		||||
                                if (x > 0 && z > 0 && yIndex > 0 && x < width - 1 && z < length - 1 && yIndex < (height - 1)) {
 | 
			
		||||
                                    if (newBlocks[yIndex - 1][x][z].getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                        faces[i]++;
 | 
			
		||||
                                    }
 | 
			
		||||
                                    if (newBlocks[yIndex][x - 1][z].getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                        faces[i]++;
 | 
			
		||||
                                    }
 | 
			
		||||
                                    if (newBlocks[yIndex][x][z - 1].getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                        faces[i]++;
 | 
			
		||||
                                    }
 | 
			
		||||
                                    if (newBlocks[yIndex + 1][x][z].getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                        faces[i]++;
 | 
			
		||||
                                    }
 | 
			
		||||
                                    if (newBlocks[yIndex][x + 1][z].getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                        faces[i]++;
 | 
			
		||||
                                    }
 | 
			
		||||
                                    if (newBlocks[yIndex][x][z + 1].getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                        faces[i]++;
 | 
			
		||||
                                    }
 | 
			
		||||
                            try {
 | 
			
		||||
                                BlockState now = newBlocks[yIndex][x][z]; // Not null
 | 
			
		||||
                                if (!now.equals(old) && !(old == null && now.getBlockType().equals(BlockTypes.AIR))) {
 | 
			
		||||
                                    changes[i]++;
 | 
			
		||||
                                }
 | 
			
		||||
                                if (now.getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                    air[i]++;
 | 
			
		||||
                                } else {
 | 
			
		||||
                                    // check vertices
 | 
			
		||||
                                    // modifications_adjacent
 | 
			
		||||
                                    if (x > 0 && z > 0 && yIndex > 0 && x < width - 1 && z < length - 1 && yIndex < (height - 1)) {
 | 
			
		||||
                                        if (newBlocks[yIndex - 1][x][z].getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                            faces[i]++;
 | 
			
		||||
                                        }
 | 
			
		||||
                                        if (newBlocks[yIndex][x - 1][z].getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                            faces[i]++;
 | 
			
		||||
                                        }
 | 
			
		||||
                                        if (newBlocks[yIndex][x][z - 1].getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                            faces[i]++;
 | 
			
		||||
                                        }
 | 
			
		||||
                                        if (newBlocks[yIndex + 1][x][z].getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                            faces[i]++;
 | 
			
		||||
                                        }
 | 
			
		||||
                                        if (newBlocks[yIndex][x + 1][z].getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                            faces[i]++;
 | 
			
		||||
                                        }
 | 
			
		||||
                                        if (newBlocks[yIndex][x][z + 1].getBlockType().getMaterial().isAir()) {
 | 
			
		||||
                                            faces[i]++;
 | 
			
		||||
                                        }
 | 
			
		||||
                                    }
 | 
			
		||||
 | 
			
		||||
                                if (!now.equals(now.getBlockType().getDefaultState())) {
 | 
			
		||||
                                    data[i]++;
 | 
			
		||||
                                    if (!now.equals(now.getBlockType().getDefaultState())) {
 | 
			
		||||
                                        data[i]++;
 | 
			
		||||
                                    }
 | 
			
		||||
                                    types.add(now.getBlockType());
 | 
			
		||||
                                }
 | 
			
		||||
                                types.add(now.getBlockType());
 | 
			
		||||
                            } catch (NullPointerException e) {
 | 
			
		||||
                                e.printStackTrace();
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                        variety[i] = types.size();
 | 
			
		||||
 
 | 
			
		||||
@@ -114,14 +114,26 @@ public abstract class SquarePlotManager extends GridPlotManager {
 | 
			
		||||
            end = pathWidthLower + squarePlotWorld.PLOT_WIDTH;
 | 
			
		||||
        }
 | 
			
		||||
        int size = squarePlotWorld.PLOT_WIDTH + squarePlotWorld.ROAD_WIDTH;
 | 
			
		||||
        int dx = Math.floorDiv(x, size) + 1;
 | 
			
		||||
        int rx = Math.floorMod(x, size);
 | 
			
		||||
        int dz = Math.floorDiv(z, size) + 1;
 | 
			
		||||
        int rz = Math.floorMod(z, size);
 | 
			
		||||
        if (rz <= pathWidthLower || rz > end || rx <= pathWidthLower || rx > end) {
 | 
			
		||||
        int idx;
 | 
			
		||||
        if (x < 0) {
 | 
			
		||||
            idx = x / size;
 | 
			
		||||
            x = size + (x % size);
 | 
			
		||||
        } else {
 | 
			
		||||
            idx = (x / size) + 1;
 | 
			
		||||
            x = x % size;
 | 
			
		||||
        }
 | 
			
		||||
        int idz;
 | 
			
		||||
        if (z < 0) {
 | 
			
		||||
            idz = z / size;
 | 
			
		||||
            z = size + (z % size);
 | 
			
		||||
        } else {
 | 
			
		||||
            idz = (z / size) + 1;
 | 
			
		||||
            z = z % size;
 | 
			
		||||
        }
 | 
			
		||||
        if (z <= pathWidthLower || z > end || x <= pathWidthLower || x > end) {
 | 
			
		||||
            return null;
 | 
			
		||||
        } else {
 | 
			
		||||
            return PlotId.of(dx, dz);
 | 
			
		||||
            return PlotId.of(idx, idz);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -168,10 +180,24 @@ public abstract class SquarePlotManager extends GridPlotManager {
 | 
			
		||||
                }
 | 
			
		||||
                end = pathWidthLower + squarePlotWorld.PLOT_WIDTH;
 | 
			
		||||
            }
 | 
			
		||||
            int dx = Math.floorDiv(x, size) + 1;
 | 
			
		||||
            int rx = Math.floorMod(x, size);
 | 
			
		||||
            int dz = Math.floorDiv(z, size) + 1;
 | 
			
		||||
            int rz = Math.floorMod(z, size);
 | 
			
		||||
            int dx;
 | 
			
		||||
            int rx;
 | 
			
		||||
            if (x < 0) {
 | 
			
		||||
                dx = x / size;
 | 
			
		||||
                rx = size + (x % size);
 | 
			
		||||
            } else {
 | 
			
		||||
                dx = (x / size) + 1;
 | 
			
		||||
                rx = x % size;
 | 
			
		||||
            }
 | 
			
		||||
            int dz;
 | 
			
		||||
            int rz;
 | 
			
		||||
            if (z < 0) {
 | 
			
		||||
                dz = z / size;
 | 
			
		||||
                rz = size + (z % size);
 | 
			
		||||
            } else {
 | 
			
		||||
                dz = (z / size) + 1;
 | 
			
		||||
                rz = z % size;
 | 
			
		||||
            }
 | 
			
		||||
            PlotId id = PlotId.of(dx, dz);
 | 
			
		||||
            boolean[] merged = new boolean[]{rz <= pathWidthLower, rx > end, rz > end, rx <= pathWidthLower};
 | 
			
		||||
            int hash = HashUtil.hash(merged);
 | 
			
		||||
 
 | 
			
		||||
@@ -36,6 +36,7 @@ import com.plotsquared.core.plot.PlotArea;
 | 
			
		||||
import com.plotsquared.core.plot.PlotTitle;
 | 
			
		||||
import com.plotsquared.core.plot.PlotWeather;
 | 
			
		||||
import com.plotsquared.core.plot.comment.CommentManager;
 | 
			
		||||
import com.plotsquared.core.plot.expiration.ExpireManager;
 | 
			
		||||
import com.plotsquared.core.plot.flag.GlobalFlagContainer;
 | 
			
		||||
import com.plotsquared.core.plot.flag.PlotFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.DenyExitFlag;
 | 
			
		||||
@@ -162,8 +163,8 @@ public class PlotListener {
 | 
			
		||||
            if ((last != null) && !last.getId().equals(plot.getId())) {
 | 
			
		||||
                plotExit(player, last);
 | 
			
		||||
            }
 | 
			
		||||
            if (PlotSquared.platform().expireManager() != null) {
 | 
			
		||||
                PlotSquared.platform().expireManager().handleEntry(player, plot);
 | 
			
		||||
            if (ExpireManager.IMP != null) {
 | 
			
		||||
                ExpireManager.IMP.handleEntry(player, plot);
 | 
			
		||||
            }
 | 
			
		||||
            lastPlot.set(plot);
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
@@ -162,7 +162,6 @@ public enum Permission {
 | 
			
		||||
    PERMISSION_LIST_AREA("plots.list.area"),
 | 
			
		||||
    PERMISSION_ADMIN_COMMAND_LOAD("plots.admin.command.load"),
 | 
			
		||||
    PERMISSION_ADMIN_COMMAND_MERGE("plots.admin.command.merge"),
 | 
			
		||||
    PERMISSION_ADMIN_COMMAND_MERGE_OTHER_OFFLINE("plots.admin.command.merge.other.offline"),
 | 
			
		||||
    PERMISSION_ADMIN_COMMAND_SET_OWNER("plots.admin.command.setowner"),
 | 
			
		||||
    PERMISSION_COMMENT("plots.comment"),
 | 
			
		||||
    PERMISSION_INBOX("plots.inbox"),
 | 
			
		||||
 
 | 
			
		||||
@@ -42,6 +42,7 @@ import com.plotsquared.core.plot.PlotArea;
 | 
			
		||||
import com.plotsquared.core.plot.PlotCluster;
 | 
			
		||||
import com.plotsquared.core.plot.PlotId;
 | 
			
		||||
import com.plotsquared.core.plot.PlotWeather;
 | 
			
		||||
import com.plotsquared.core.plot.expiration.ExpireManager;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.DoneFlag;
 | 
			
		||||
import com.plotsquared.core.plot.world.PlotAreaManager;
 | 
			
		||||
import com.plotsquared.core.plot.world.SinglePlotArea;
 | 
			
		||||
@@ -617,8 +618,8 @@ public abstract class PlotPlayer<P> implements CommandCaller, OfflinePlotPlayer,
 | 
			
		||||
                LOGGER.info("Plot {} was deleted + cleared due to {} getting banned", owned.getId(), getName());
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        if (PlotSquared.platform().expireManager() != null) {
 | 
			
		||||
            PlotSquared.platform().expireManager().storeDate(getUUID(), System.currentTimeMillis());
 | 
			
		||||
        if (ExpireManager.IMP != null) {
 | 
			
		||||
            ExpireManager.IMP.storeDate(getUUID(), System.currentTimeMillis());
 | 
			
		||||
        }
 | 
			
		||||
        PlotSquared.platform().playerManager().removePlayer(this);
 | 
			
		||||
        PlotSquared.platform().unregister(this);
 | 
			
		||||
 
 | 
			
		||||
@@ -40,6 +40,7 @@ import com.plotsquared.core.location.Location;
 | 
			
		||||
import com.plotsquared.core.permissions.Permission;
 | 
			
		||||
import com.plotsquared.core.player.ConsolePlayer;
 | 
			
		||||
import com.plotsquared.core.player.PlotPlayer;
 | 
			
		||||
import com.plotsquared.core.plot.expiration.ExpireManager;
 | 
			
		||||
import com.plotsquared.core.plot.expiration.PlotAnalysis;
 | 
			
		||||
import com.plotsquared.core.plot.flag.FlagContainer;
 | 
			
		||||
import com.plotsquared.core.plot.flag.GlobalFlagContainer;
 | 
			
		||||
@@ -1104,8 +1105,8 @@ public class Plot {
 | 
			
		||||
     * @return A boolean indicating whether or not the operation succeeded
 | 
			
		||||
     */
 | 
			
		||||
    public <V> boolean setFlag(final @NonNull PlotFlag<V, ?> flag) {
 | 
			
		||||
        if (flag instanceof KeepFlag && PlotSquared.platform().expireManager() != null) {
 | 
			
		||||
            PlotSquared.platform().expireManager().updateExpired(this);
 | 
			
		||||
        if (flag instanceof KeepFlag && ExpireManager.IMP != null) {
 | 
			
		||||
            ExpireManager.IMP.updateExpired(this);
 | 
			
		||||
        }
 | 
			
		||||
        for (final Plot plot : this.getConnectedPlots()) {
 | 
			
		||||
            plot.getFlagContainer().addFlag(flag);
 | 
			
		||||
@@ -2830,11 +2831,11 @@ public class Plot {
 | 
			
		||||
                    Component members = PlayerManager.getPlayerList(this.getMembers(), player);
 | 
			
		||||
                    Component denied = PlayerManager.getPlayerList(this.getDenied(), player);
 | 
			
		||||
                    String seen;
 | 
			
		||||
                    if (Settings.Enabled_Components.PLOT_EXPIRY && PlotSquared.platform().expireManager() != null) {
 | 
			
		||||
                    if (Settings.Enabled_Components.PLOT_EXPIRY && ExpireManager.IMP != null) {
 | 
			
		||||
                        if (this.isOnline()) {
 | 
			
		||||
                            seen = TranslatableCaption.of("info.now").getComponent(player);
 | 
			
		||||
                        } else {
 | 
			
		||||
                            int time = (int) (PlotSquared.platform().expireManager().getAge(this, false) / 1000);
 | 
			
		||||
                            int time = (int) (ExpireManager.IMP.getAge(this, false) / 1000);
 | 
			
		||||
                            if (time != 0) {
 | 
			
		||||
                                seen = TimeUtil.secToTime(time);
 | 
			
		||||
                            } else {
 | 
			
		||||
 
 | 
			
		||||
@@ -112,7 +112,7 @@ public final class PlotId {
 | 
			
		||||
     * @return Plot ID copy
 | 
			
		||||
     * @deprecated PlotId is immutable, copy is not required.
 | 
			
		||||
     */
 | 
			
		||||
    @Deprecated(forRemoval = true, since = "6.10.2")
 | 
			
		||||
    @Deprecated(forRemoval = true, since = "TODO")
 | 
			
		||||
    public @NonNull PlotId copy() {
 | 
			
		||||
        return this;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -18,8 +18,7 @@
 | 
			
		||||
 */
 | 
			
		||||
package com.plotsquared.core.plot;
 | 
			
		||||
 | 
			
		||||
import org.checkerframework.checker.nullness.qual.Nullable;
 | 
			
		||||
 | 
			
		||||
import javax.annotation.Nullable;
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
 | 
			
		||||
public class PlotTitle {
 | 
			
		||||
 
 | 
			
		||||
@@ -18,8 +18,6 @@
 | 
			
		||||
 */
 | 
			
		||||
package com.plotsquared.core.plot.expiration;
 | 
			
		||||
 | 
			
		||||
import com.google.inject.Inject;
 | 
			
		||||
import com.plotsquared.core.PlotPlatform;
 | 
			
		||||
import com.plotsquared.core.PlotSquared;
 | 
			
		||||
import com.plotsquared.core.configuration.caption.Caption;
 | 
			
		||||
import com.plotsquared.core.configuration.caption.Templates;
 | 
			
		||||
@@ -62,10 +60,6 @@ import java.util.concurrent.ConcurrentLinkedDeque;
 | 
			
		||||
 | 
			
		||||
public class ExpireManager {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * @deprecated Use {@link PlotPlatform#expireManager()} instead
 | 
			
		||||
     */
 | 
			
		||||
    @Deprecated(forRemoval = true, since = "6.10.2")
 | 
			
		||||
    public static ExpireManager IMP;
 | 
			
		||||
    private final ConcurrentHashMap<UUID, Long> dates_cache;
 | 
			
		||||
    private final ConcurrentHashMap<UUID, Long> account_age_cache;
 | 
			
		||||
@@ -77,7 +71,6 @@ public class ExpireManager {
 | 
			
		||||
     */
 | 
			
		||||
    private int running;
 | 
			
		||||
 | 
			
		||||
    @Inject
 | 
			
		||||
    public ExpireManager(final @NonNull EventDispatcher eventDispatcher) {
 | 
			
		||||
        this.tasks = new ArrayDeque<>();
 | 
			
		||||
        this.dates_cache = new ConcurrentHashMap<>();
 | 
			
		||||
 
 | 
			
		||||
@@ -18,7 +18,6 @@
 | 
			
		||||
 */
 | 
			
		||||
package com.plotsquared.core.plot.expiration;
 | 
			
		||||
 | 
			
		||||
import com.plotsquared.core.PlotSquared;
 | 
			
		||||
import com.plotsquared.core.configuration.Settings;
 | 
			
		||||
import com.plotsquared.core.plot.Plot;
 | 
			
		||||
import com.plotsquared.core.plot.PlotArea;
 | 
			
		||||
@@ -73,9 +72,8 @@ public class ExpiryTask {
 | 
			
		||||
                        min = false;
 | 
			
		||||
                        diff = plots.size() - settings.REQUIRED_PLOTS;
 | 
			
		||||
                    }
 | 
			
		||||
                    ExpireManager expireManager = PlotSquared.platform().expireManager();
 | 
			
		||||
                    List<Long> entireList =
 | 
			
		||||
                            plots.stream().map(plot -> expireManager.getAge(plot, settings.DELETE_IF_OWNER_IS_UNKNOWN))
 | 
			
		||||
                            plots.stream().map(plot -> ExpireManager.IMP.getAge(plot, settings.DELETE_IF_OWNER_IS_UNKNOWN))
 | 
			
		||||
                                    .collect(Collectors.toList());
 | 
			
		||||
                    List<Long> top = new ArrayList<>(diff + 1);
 | 
			
		||||
                    if (diff > 1000) {
 | 
			
		||||
 
 | 
			
		||||
@@ -116,7 +116,7 @@ public class BlockArrayCacheScopedQueueCoordinator extends ScopedQueueCoordinato
 | 
			
		||||
        x += offsetX;
 | 
			
		||||
        z += offsetZ;
 | 
			
		||||
        if (x >= scopeMinX && x < scopeMaxX && y >= minY && y <= maxY && z >= scopeMinZ && z < scopeMaxZ) {
 | 
			
		||||
            blockStates[y - minY][x - scopeMinX][z - scopeMinZ] = id.toImmutableState();
 | 
			
		||||
            blockStates[y - minY][x][z] = id.toImmutableState();
 | 
			
		||||
        }
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,6 @@ package com.plotsquared.core.util;
 | 
			
		||||
 | 
			
		||||
import com.google.common.eventbus.EventBus;
 | 
			
		||||
import com.intellectualsites.annotations.DoNotUse;
 | 
			
		||||
import com.plotsquared.core.PlotSquared;
 | 
			
		||||
import com.plotsquared.core.configuration.Settings;
 | 
			
		||||
import com.plotsquared.core.configuration.caption.TranslatableCaption;
 | 
			
		||||
import com.plotsquared.core.events.PlayerAutoPlotEvent;
 | 
			
		||||
@@ -60,6 +59,7 @@ import com.plotsquared.core.plot.Plot;
 | 
			
		||||
import com.plotsquared.core.plot.PlotArea;
 | 
			
		||||
import com.plotsquared.core.plot.PlotId;
 | 
			
		||||
import com.plotsquared.core.plot.Rating;
 | 
			
		||||
import com.plotsquared.core.plot.expiration.ExpireManager;
 | 
			
		||||
import com.plotsquared.core.plot.flag.PlotFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.DeviceInteractFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.MiscPlaceFlag;
 | 
			
		||||
@@ -300,8 +300,8 @@ public class EventDispatcher {
 | 
			
		||||
        if (player == null) {
 | 
			
		||||
            return; //possible future warning message to figure out where we are retrieving null
 | 
			
		||||
        }
 | 
			
		||||
        if (PlotSquared.platform().expireManager() != null) {
 | 
			
		||||
            PlotSquared.platform().expireManager().handleJoin(player);
 | 
			
		||||
        if (ExpireManager.IMP != null) {
 | 
			
		||||
            ExpireManager.IMP.handleJoin(player);
 | 
			
		||||
        }
 | 
			
		||||
        if (this.worldEdit != null) {
 | 
			
		||||
            if (player.getAttribute("worldedit")) {
 | 
			
		||||
 
 | 
			
		||||
@@ -29,6 +29,7 @@ import com.sk89q.worldedit.extension.input.ParserContext;
 | 
			
		||||
import com.sk89q.worldedit.extension.platform.Actor;
 | 
			
		||||
import com.sk89q.worldedit.function.pattern.BlockPattern;
 | 
			
		||||
import com.sk89q.worldedit.function.pattern.Pattern;
 | 
			
		||||
import com.sk89q.worldedit.function.pattern.RandomPattern;
 | 
			
		||||
import com.sk89q.worldedit.math.BlockVector3;
 | 
			
		||||
import com.sk89q.worldedit.world.block.BaseBlock;
 | 
			
		||||
import com.sk89q.worldedit.world.block.BlockState;
 | 
			
		||||
@@ -43,7 +44,7 @@ public class PatternUtil {
 | 
			
		||||
 | 
			
		||||
    public static BaseBlock apply(@NonNull Pattern pattern, int x, int y, int z) {
 | 
			
		||||
        Preconditions.checkNotNull(pattern, "Pattern may not be null");
 | 
			
		||||
        if (pattern instanceof BlockPattern
 | 
			
		||||
        if (pattern instanceof BlockPattern || pattern instanceof RandomPattern
 | 
			
		||||
                || pattern instanceof BlockState || pattern instanceof BlockType
 | 
			
		||||
                || pattern instanceof BaseBlock) {
 | 
			
		||||
            return pattern.applyBlock(BlockVector3.ZERO);
 | 
			
		||||
 
 | 
			
		||||
@@ -1,53 +0,0 @@
 | 
			
		||||
/*
 | 
			
		||||
 * PlotSquared, a land and world management plugin for Minecraft.
 | 
			
		||||
 * Copyright (C) IntellectualSites <https://intellectualsites.com>
 | 
			
		||||
 * Copyright (C) IntellectualSites team and contributors
 | 
			
		||||
 *
 | 
			
		||||
 * This program is free software: you can redistribute it and/or modify
 | 
			
		||||
 * it under the terms of the GNU General Public License as published by
 | 
			
		||||
 * the Free Software Foundation, either version 3 of the License, or
 | 
			
		||||
 * (at your option) any later version.
 | 
			
		||||
 *
 | 
			
		||||
 * This program is distributed in the hope that it will be useful,
 | 
			
		||||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
 * GNU General Public License for more details.
 | 
			
		||||
 *
 | 
			
		||||
 * You should have received a copy of the GNU General Public License
 | 
			
		||||
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 | 
			
		||||
 */
 | 
			
		||||
package com.plotsquared.core.util;
 | 
			
		||||
 | 
			
		||||
import com.plotsquared.core.plot.PlotArea;
 | 
			
		||||
import com.plotsquared.core.plot.flag.PlotFlag;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Util class for generic methods relating to plot flags.
 | 
			
		||||
 *
 | 
			
		||||
 * @since 6.10.4
 | 
			
		||||
 */
 | 
			
		||||
public final class PlotFlagUtil {
 | 
			
		||||
 | 
			
		||||
    private PlotFlagUtil() {
 | 
			
		||||
        //No-op
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Check if the value of a {@link PlotFlag} matches the given value. If
 | 
			
		||||
     * road flags are disabled for the given plot area, returns false.
 | 
			
		||||
     *
 | 
			
		||||
     * @param flagClass boolean flag to get value of
 | 
			
		||||
     * @param value     boolean value to check flag value against
 | 
			
		||||
     * @param <T>       The flag value type
 | 
			
		||||
     * @return true if road flag value matches with road flags enabled
 | 
			
		||||
     * @since 6.10.4
 | 
			
		||||
     */
 | 
			
		||||
    public static <T> boolean isAreaRoadFlagsAndFlagEquals(
 | 
			
		||||
            PlotArea area, final Class<? extends PlotFlag<T, ?>> flagClass, T value
 | 
			
		||||
    ) {
 | 
			
		||||
        return area.isRoadFlags() && Objects.equals(area.getRoadFlag(flagClass), value);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
@@ -18,8 +18,8 @@
 | 
			
		||||
 */
 | 
			
		||||
package com.plotsquared.core.util.query;
 | 
			
		||||
 | 
			
		||||
import com.plotsquared.core.PlotSquared;
 | 
			
		||||
import com.plotsquared.core.plot.Plot;
 | 
			
		||||
import com.plotsquared.core.plot.expiration.ExpireManager;
 | 
			
		||||
 | 
			
		||||
import java.util.Collection;
 | 
			
		||||
 | 
			
		||||
@@ -27,7 +27,7 @@ class ExpiredPlotProvider implements PlotProvider {
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public Collection<Plot> getPlots() {
 | 
			
		||||
        return PlotSquared.platform().expireManager().getPendingExpired();
 | 
			
		||||
        return ExpireManager.IMP.getPendingExpired();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										34
									
								
								HEADER.txt
									
									
									
									
									
								
							
							
						
						
									
										34
									
								
								HEADER.txt
									
									
									
									
									
								
							@@ -1,18 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * PlotSquared, a land and world management plugin for Minecraft.
 | 
			
		||||
 * Copyright (C) IntellectualSites <https://intellectualsites.com>
 | 
			
		||||
 * Copyright (C) IntellectualSites team and contributors
 | 
			
		||||
 *
 | 
			
		||||
 * This program is free software: you can redistribute it and/or modify
 | 
			
		||||
 * it under the terms of the GNU General Public License as published by
 | 
			
		||||
 * the Free Software Foundation, either version 3 of the License, or
 | 
			
		||||
 * (at your option) any later version.
 | 
			
		||||
 *
 | 
			
		||||
 * This program is distributed in the hope that it will be useful,
 | 
			
		||||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
 * GNU General Public License for more details.
 | 
			
		||||
 *
 | 
			
		||||
 * You should have received a copy of the GNU General Public License
 | 
			
		||||
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 | 
			
		||||
 */
 | 
			
		||||
PlotSquared, a land and world management plugin for Minecraft.
 | 
			
		||||
Copyright (C) IntellectualSites <https://intellectualsites.com>
 | 
			
		||||
Copyright (C) IntellectualSites team and contributors
 | 
			
		||||
 | 
			
		||||
This program is free software: you can redistribute it and/or modify
 | 
			
		||||
it under the terms of the GNU General Public License as published by
 | 
			
		||||
the Free Software Foundation, either version 3 of the License, or
 | 
			
		||||
(at your option) any later version.
 | 
			
		||||
 | 
			
		||||
This program is distributed in the hope that it will be useful,
 | 
			
		||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
GNU General Public License for more details.
 | 
			
		||||
 | 
			
		||||
You should have received a copy of the GNU General Public License
 | 
			
		||||
along with this program.  If not, see <https://www.gnu.org/licenses/>.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,7 @@
 | 
			
		||||
import com.github.jengelman.gradle.plugins.shadow.ShadowPlugin
 | 
			
		||||
import org.cadixdev.gradle.licenser.LicenseExtension
 | 
			
		||||
import org.cadixdev.gradle.licenser.Licenser
 | 
			
		||||
import java.net.URI
 | 
			
		||||
import com.diffplug.gradle.spotless.SpotlessPlugin
 | 
			
		||||
 | 
			
		||||
plugins {
 | 
			
		||||
    java
 | 
			
		||||
@@ -9,7 +10,7 @@ plugins {
 | 
			
		||||
    signing
 | 
			
		||||
 | 
			
		||||
    alias(libs.plugins.shadow)
 | 
			
		||||
    alias(libs.plugins.spotless)
 | 
			
		||||
    alias(libs.plugins.licenser)
 | 
			
		||||
    alias(libs.plugins.grgit)
 | 
			
		||||
    alias(libs.plugins.nexus)
 | 
			
		||||
 | 
			
		||||
@@ -18,7 +19,7 @@ plugins {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
group = "com.plotsquared"
 | 
			
		||||
version = "6.10.7-SNASPHOT"
 | 
			
		||||
version = "6.10.2-SNAPSHOT"
 | 
			
		||||
 | 
			
		||||
subprojects {
 | 
			
		||||
    group = rootProject.group
 | 
			
		||||
@@ -56,7 +57,7 @@ subprojects {
 | 
			
		||||
        plugin<JavaLibraryPlugin>()
 | 
			
		||||
        plugin<MavenPublishPlugin>()
 | 
			
		||||
        plugin<ShadowPlugin>()
 | 
			
		||||
        plugin<SpotlessPlugin>()
 | 
			
		||||
        plugin<Licenser>()
 | 
			
		||||
        plugin<SigningPlugin>()
 | 
			
		||||
 | 
			
		||||
        plugin<EclipsePlugin>()
 | 
			
		||||
@@ -64,7 +65,7 @@ subprojects {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    dependencies {
 | 
			
		||||
        implementation(platform("com.intellectualsites.bom:bom-1.18.x:1.21"))
 | 
			
		||||
        implementation(platform("com.intellectualsites.bom:bom-1.18.x:1.16"))
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    dependencies {
 | 
			
		||||
@@ -86,11 +87,10 @@ subprojects {
 | 
			
		||||
        attributes.attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 17)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    spotless {
 | 
			
		||||
        java {
 | 
			
		||||
            licenseHeaderFile(rootProject.file("HEADER.txt"))
 | 
			
		||||
            target("**/*.java")
 | 
			
		||||
        }
 | 
			
		||||
    configure<LicenseExtension> {
 | 
			
		||||
        header(rootProject.file("HEADER.txt"))
 | 
			
		||||
        include("**/*.java")
 | 
			
		||||
        newLine.set(false)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    java {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,11 @@
 | 
			
		||||
[versions]
 | 
			
		||||
# Platform expectations
 | 
			
		||||
paper = "1.18.1-R0.1-SNAPSHOT"
 | 
			
		||||
guice = "5.1.0"
 | 
			
		||||
spotbugs = "4.7.3"
 | 
			
		||||
spotbugs = "4.7.2"
 | 
			
		||||
 | 
			
		||||
# Plugins
 | 
			
		||||
worldedit = "7.2.13"
 | 
			
		||||
worldedit = "7.2.12"
 | 
			
		||||
placeholderapi = "2.11.2"
 | 
			
		||||
luckperms = "5.4"
 | 
			
		||||
essentialsx = "2.19.7"
 | 
			
		||||
@@ -13,7 +14,7 @@ mvdwapi = "3.1.1"
 | 
			
		||||
# Third party
 | 
			
		||||
prtree = "2.0.0"
 | 
			
		||||
aopalliance = "1.0"
 | 
			
		||||
cloud-services = "1.8.0"
 | 
			
		||||
cloud-services = "1.7.1"
 | 
			
		||||
arkitektonika = "2.1.1"
 | 
			
		||||
squirrelid = "0.3.1"
 | 
			
		||||
http4j = "1.3"
 | 
			
		||||
@@ -21,10 +22,13 @@ http4j = "1.3"
 | 
			
		||||
# Gradle plugins
 | 
			
		||||
shadow = "7.1.2"
 | 
			
		||||
grgit = "4.1.1"
 | 
			
		||||
spotless = "6.12.1"
 | 
			
		||||
licenser = "0.6.1"
 | 
			
		||||
nexus = "1.1.0"
 | 
			
		||||
 | 
			
		||||
[libraries]
 | 
			
		||||
# Platform expectations
 | 
			
		||||
paper = { group = "io.papermc.paper", name = "paper-api", version.ref = "paper" }
 | 
			
		||||
 | 
			
		||||
# Platform expectations
 | 
			
		||||
guice = { group = "com.google.inject", name = "guice", version.ref = "guice" }
 | 
			
		||||
guiceassistedinject = { group = "com.google.inject.extensions", name = "guice-assistedinject", version.ref = "guice" }
 | 
			
		||||
@@ -49,5 +53,5 @@ http4j = { group = "com.intellectualsites.http", name = "HTTP4J", version.ref =
 | 
			
		||||
[plugins]
 | 
			
		||||
shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" }
 | 
			
		||||
grgit = { id = "org.ajoberstar.grgit", version.ref = "grgit" }
 | 
			
		||||
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
 | 
			
		||||
licenser = { id = "org.cadixdev.licenser", version.ref = "licenser" }
 | 
			
		||||
nexus = { id = "io.github.gradle-nexus.publish-plugin", version.ref = "nexus" }
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								gradle/wrapper/gradle-wrapper.jar
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gradle/wrapper/gradle-wrapper.jar
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										3
									
								
								gradle/wrapper/gradle-wrapper.properties
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								gradle/wrapper/gradle-wrapper.properties
									
									
									
									
										vendored
									
									
								
							@@ -1,6 +1,5 @@
 | 
			
		||||
distributionBase=GRADLE_USER_HOME
 | 
			
		||||
distributionPath=wrapper/dists
 | 
			
		||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
 | 
			
		||||
networkTimeout=10000
 | 
			
		||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
 | 
			
		||||
zipStoreBase=GRADLE_USER_HOME
 | 
			
		||||
zipStorePath=wrapper/dists
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										12
									
								
								gradlew
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								gradlew
									
									
									
									
										vendored
									
									
								
							@@ -55,7 +55,7 @@
 | 
			
		||||
#       Darwin, MinGW, and NonStop.
 | 
			
		||||
#
 | 
			
		||||
#   (3) This script is generated from the Groovy template
 | 
			
		||||
#       https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
 | 
			
		||||
#       https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
 | 
			
		||||
#       within the Gradle project.
 | 
			
		||||
#
 | 
			
		||||
#       You can find Gradle at https://github.com/gradle/gradle/.
 | 
			
		||||
@@ -80,11 +80,11 @@ do
 | 
			
		||||
    esac
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
# This is normally unused
 | 
			
		||||
# shellcheck disable=SC2034
 | 
			
		||||
APP_BASE_NAME=${0##*/}
 | 
			
		||||
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
 | 
			
		||||
 | 
			
		||||
APP_NAME="Gradle"
 | 
			
		||||
APP_BASE_NAME=${0##*/}
 | 
			
		||||
 | 
			
		||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
 | 
			
		||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
 | 
			
		||||
 | 
			
		||||
@@ -143,16 +143,12 @@ fi
 | 
			
		||||
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
 | 
			
		||||
    case $MAX_FD in #(
 | 
			
		||||
      max*)
 | 
			
		||||
        # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
 | 
			
		||||
        # shellcheck disable=SC3045 
 | 
			
		||||
        MAX_FD=$( ulimit -H -n ) ||
 | 
			
		||||
            warn "Could not query maximum file descriptor limit"
 | 
			
		||||
    esac
 | 
			
		||||
    case $MAX_FD in  #(
 | 
			
		||||
      '' | soft) :;; #(
 | 
			
		||||
      *)
 | 
			
		||||
        # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
 | 
			
		||||
        # shellcheck disable=SC3045 
 | 
			
		||||
        ulimit -n "$MAX_FD" ||
 | 
			
		||||
            warn "Could not set maximum file descriptor limit to $MAX_FD"
 | 
			
		||||
    esac
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								gradlew.bat
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								gradlew.bat
									
									
									
									
										vendored
									
									
								
							@@ -26,7 +26,6 @@ if "%OS%"=="Windows_NT" setlocal
 | 
			
		||||
 | 
			
		||||
set DIRNAME=%~dp0
 | 
			
		||||
if "%DIRNAME%"=="" set DIRNAME=.
 | 
			
		||||
@rem This is normally unused
 | 
			
		||||
set APP_BASE_NAME=%~n0
 | 
			
		||||
set APP_HOME=%DIRNAME%
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +0,0 @@
 | 
			
		||||
Javadocs generated for
 | 
			
		||||
<a rel="noopener nofollow noreferrer" href="https://github.com/IntellectualSites/PlotSquared/" target="_blank"> PlotSquared</a> |
 | 
			
		||||
<a rel="noopener nofollow noreferrer" href="https://intellectualsites.github.io/plotsquared-documentation/"> Documentation </a> |
 | 
			
		||||
Visit us on our <a rel="noopener nofollow noreferrer" href="https://discord.gg/intellectualsites"> Discord server</a> :)
 | 
			
		||||
		Reference in New Issue
	
	Block a user