mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-03 22:15:24 +00:00
style: apply .editorconfig
This commit is contained in:
3 files changed
+25
-9
No files matched your search
+6
-1
@@ -8,7 +8,7 @@ indent_style = space
|
|||||||
insert_final_newline = false
|
insert_final_newline = false
|
||||||
max_line_length = 120
|
max_line_length = 120
|
||||||
tab_width = 4
|
tab_width = 4
|
||||||
ij_continuation_indent_size = 8
|
ij_continuation_indent_size = 4
|
||||||
ij_formatter_off_tag = @formatter:off
|
ij_formatter_off_tag = @formatter:off
|
||||||
ij_formatter_on_tag = @formatter:on
|
ij_formatter_on_tag = @formatter:on
|
||||||
ij_formatter_tags_enabled = true
|
ij_formatter_tags_enabled = true
|
||||||
@@ -17,6 +17,7 @@ ij_visual_guides =
|
|||||||
ij_wrap_on_typing = false
|
ij_wrap_on_typing = false
|
||||||
|
|
||||||
[*.java]
|
[*.java]
|
||||||
|
ij_continuation_indent_size = 4
|
||||||
ij_java_align_consecutive_assignments = false
|
ij_java_align_consecutive_assignments = false
|
||||||
ij_java_align_consecutive_variable_declarations = false
|
ij_java_align_consecutive_variable_declarations = false
|
||||||
ij_java_align_group_field_declarations = false
|
ij_java_align_group_field_declarations = false
|
||||||
@@ -276,6 +277,7 @@ ij_java_wrap_first_method_in_call_chain = false
|
|||||||
ij_java_wrap_long_lines = false
|
ij_java_wrap_long_lines = false
|
||||||
|
|
||||||
[{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.jspx,*.pom,*.rng,*.tagx,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul}]
|
[{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.jspx,*.pom,*.rng,*.tagx,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul}]
|
||||||
|
ij_continuation_indent_size = 4
|
||||||
ij_xml_align_attributes = true
|
ij_xml_align_attributes = true
|
||||||
ij_xml_align_text = false
|
ij_xml_align_text = false
|
||||||
ij_xml_attribute_wrap = normal
|
ij_xml_attribute_wrap = normal
|
||||||
@@ -295,6 +297,7 @@ ij_xml_space_inside_empty_tag = false
|
|||||||
ij_xml_text_wrap = normal
|
ij_xml_text_wrap = normal
|
||||||
|
|
||||||
[{*.gradle.kts,*.kt,*.kts,*.main.kts,*.space.kts}]
|
[{*.gradle.kts,*.kt,*.kts,*.main.kts,*.space.kts}]
|
||||||
|
ij_continuation_indent_size = 4
|
||||||
ij_kotlin_align_in_columns_case_branch = false
|
ij_kotlin_align_in_columns_case_branch = false
|
||||||
ij_kotlin_align_multiline_binary_operation = false
|
ij_kotlin_align_multiline_binary_operation = false
|
||||||
ij_kotlin_align_multiline_extends_list = false
|
ij_kotlin_align_multiline_extends_list = false
|
||||||
@@ -380,6 +383,7 @@ ij_kotlin_wrap_first_method_in_call_chain = false
|
|||||||
|
|
||||||
[{*.har,*.json,*.png.mcmeta,mcmod.info,pack.mcmeta}]
|
[{*.har,*.json,*.png.mcmeta,mcmod.info,pack.mcmeta}]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
ij_continuation_indent_size = 4
|
||||||
ij_json_array_wrapping = split_into_lines
|
ij_json_array_wrapping = split_into_lines
|
||||||
ij_json_keep_blank_lines_in_code = 0
|
ij_json_keep_blank_lines_in_code = 0
|
||||||
ij_json_keep_indents_on_empty_lines = false
|
ij_json_keep_indents_on_empty_lines = false
|
||||||
@@ -414,6 +418,7 @@ ij_markdown_wrap_text_if_long = true
|
|||||||
ij_markdown_wrap_text_inside_blockquotes = true
|
ij_markdown_wrap_text_inside_blockquotes = true
|
||||||
|
|
||||||
[{*.toml,Cargo.lock,Cargo.toml.orig,Gopkg.lock,Pipfile,poetry.lock}]
|
[{*.toml,Cargo.lock,Cargo.toml.orig,Gopkg.lock,Pipfile,poetry.lock}]
|
||||||
|
ij_continuation_indent_size = 4
|
||||||
ij_toml_keep_indents_on_empty_lines = false
|
ij_toml_keep_indents_on_empty_lines = false
|
||||||
|
|
||||||
[{*.yaml,*.yml}]
|
[{*.yaml,*.yml}]
|
||||||
|
|||||||
@@ -1,17 +1,26 @@
|
|||||||
# AlathraWar Version: 1.3.1
|
# AlathraWar Version: 1.3.1
|
||||||
|
|
||||||
## A unique Towny war system for the AlathraMC server
|
## A unique Towny war system for the AlathraMC server
|
||||||
|
|
||||||
### Dependencies: Vault, Towny, SiegeWar, TAB
|
### Dependencies: Vault, Towny, SiegeWar, TAB
|
||||||
|
|
||||||
### Commands
|
### Commands
|
||||||
|
|
||||||
+ /war - war commands
|
+ /war - war commands
|
||||||
+ /siege - siege commands
|
+ /siege - siege commands
|
||||||
|
|
||||||
## Siege Point system
|
## Siege Point system
|
||||||
+1 point for every second the homeblock is controlled. Defenders retain control if no one is occupying the homeblock. A contested homeblock yeilds no points. The timer fires every 10 seconds so it's really +10 points every 10 seconds. Kills are worth 20 points each.
|
|
||||||
|
+1 point for every second the homeblock is controlled. Defenders retain control if no one is occupying the homeblock. A
|
||||||
|
contested homeblock yeilds no points. The timer fires every 10 seconds so it's really +10 points every 10 seconds. Kills
|
||||||
|
are worth 20 points each.
|
||||||
|
|
||||||
## Siege Time Limit
|
## Siege Time Limit
|
||||||
|
|
||||||
Sieges last 90 minutes. After this time is up the side with the most points wins. A tie goes to the defenders.
|
Sieges last 90 minutes. After this time is up the side with the most points wins. A tie goes to the defenders.
|
||||||
|
|
||||||
## Siege Cost
|
## Siege Cost
|
||||||
The attackers must put down $20,000 to start a siege. If they win they get this $20,000 back as well as 1/4th the bank of the town OR $20,000, whichever is higher. If the defenders win they sieze the $20,000 initially put down on the siege by the attackers
|
|
||||||
|
The attackers must put down $20,000 to start a siege. If they win they get this $20,000 back as well as 1/4th the bank
|
||||||
|
of the town OR $20,000, whichever is higher. If the defenders win they sieze the $20,000 initially put down on the siege
|
||||||
|
by the attackers
|
||||||
@@ -116,7 +116,6 @@ esac
|
|||||||
|
|
||||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||||
|
|
||||||
|
|
||||||
# Determine the Java command to use to start the JVM.
|
# Determine the Java command to use to start the JVM.
|
||||||
if [ -n "$JAVA_HOME" ]; then
|
if [ -n "$JAVA_HOME" ]; then
|
||||||
if [ -x "$JAVA_HOME/jre/sh/java" ]; then
|
if [ -x "$JAVA_HOME/jre/sh/java" ]; then
|
||||||
@@ -147,6 +146,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
|||||||
# shellcheck disable=SC3045
|
# shellcheck disable=SC3045
|
||||||
MAX_FD=$(ulimit -H -n) ||
|
MAX_FD=$(ulimit -H -n) ||
|
||||||
warn "Could not query maximum file descriptor limit"
|
warn "Could not query maximum file descriptor limit"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
case $MAX_FD in #(
|
case $MAX_FD in #(
|
||||||
'' | soft) : ;; #(
|
'' | soft) : ;; #(
|
||||||
@@ -155,6 +155,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
|||||||
# shellcheck disable=SC3045
|
# shellcheck disable=SC3045
|
||||||
ulimit -n "$MAX_FD" ||
|
ulimit -n "$MAX_FD" ||
|
||||||
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -174,12 +175,14 @@ if "$cygwin" || "$msys" ; then
|
|||||||
JAVACMD=$(cygpath --unix "$JAVACMD")
|
JAVACMD=$(cygpath --unix "$JAVACMD")
|
||||||
|
|
||||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||||
for arg do
|
for arg; do
|
||||||
if
|
if
|
||||||
case $arg in #(
|
case $arg in #(
|
||||||
-*) false ;; # don't mess with options #(
|
-*) false ;; # don't mess with options #(
|
||||||
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
/?*)
|
||||||
[ -e "$t" ] ;; #(
|
t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||||
|
[ -e "$t" ]
|
||||||
|
;; #(
|
||||||
*) false ;;
|
*) false ;;
|
||||||
esac
|
esac
|
||||||
then
|
then
|
||||||
@@ -210,8 +213,7 @@ set -- \
|
|||||||
"$@"
|
"$@"
|
||||||
|
|
||||||
# Stop when "xargs" is not available.
|
# Stop when "xargs" is not available.
|
||||||
if ! command -v xargs >/dev/null 2>&1
|
if ! command -v xargs >/dev/null 2>&1; then
|
||||||
then
|
|
||||||
die "xargs is not available"
|
die "xargs is not available"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user