diff --git a/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock b/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock new file mode 100644 index 0000000..a36586a Binary files /dev/null and b/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock differ diff --git a/.gradle/7.1/dependencies-accessors/gc.properties b/.gradle/7.1/dependencies-accessors/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/.gradle/7.1/executionHistory/executionHistory.bin b/.gradle/7.1/executionHistory/executionHistory.bin new file mode 100644 index 0000000..a755c24 Binary files /dev/null and b/.gradle/7.1/executionHistory/executionHistory.bin differ diff --git a/.gradle/7.1/executionHistory/executionHistory.lock b/.gradle/7.1/executionHistory/executionHistory.lock new file mode 100644 index 0000000..a7b7fec Binary files /dev/null and b/.gradle/7.1/executionHistory/executionHistory.lock differ diff --git a/.gradle/7.1/fileChanges/last-build.bin b/.gradle/7.1/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/.gradle/7.1/fileChanges/last-build.bin differ diff --git a/.gradle/7.1/fileHashes/fileHashes.bin b/.gradle/7.1/fileHashes/fileHashes.bin new file mode 100644 index 0000000..bb8afa4 Binary files /dev/null and b/.gradle/7.1/fileHashes/fileHashes.bin differ diff --git a/.gradle/7.1/fileHashes/fileHashes.lock b/.gradle/7.1/fileHashes/fileHashes.lock new file mode 100644 index 0000000..7a19e07 Binary files /dev/null and b/.gradle/7.1/fileHashes/fileHashes.lock differ diff --git a/.gradle/7.1/gc.properties b/.gradle/7.1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000..1baafa2 Binary files /dev/null and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/.gradle/buildOutputCleanup/cache.properties b/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..4652daa --- /dev/null +++ b/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Wed Dec 01 01:21:03 CET 2021 +gradle.version=7.1 diff --git a/.gradle/buildOutputCleanup/outputFiles.bin b/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000..f9136ef Binary files /dev/null and b/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/.gradle/checksums/checksums.lock b/.gradle/checksums/checksums.lock new file mode 100644 index 0000000..2c5cabc Binary files /dev/null and b/.gradle/checksums/checksums.lock differ diff --git a/.gradle/checksums/md5-checksums.bin b/.gradle/checksums/md5-checksums.bin new file mode 100644 index 0000000..f4cc427 Binary files /dev/null and b/.gradle/checksums/md5-checksums.bin differ diff --git a/.gradle/checksums/sha1-checksums.bin b/.gradle/checksums/sha1-checksums.bin new file mode 100644 index 0000000..8102674 Binary files /dev/null and b/.gradle/checksums/sha1-checksums.bin differ diff --git a/.gradle/vcs-1/gc.properties b/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..edfb96f --- /dev/null +++ b/build.gradle @@ -0,0 +1,86 @@ +plugins { + id 'java' + id "com.github.johnrengelman.shadow" version "7.1.0" +} + +group = 'com.zeshanaslam' +version = '3.5.6' + +repositories { + mavenCentral() + maven { + name = 'spigotmc-repo' + url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' + } + maven { + name = 'sonatype-repo' + url = 'https://oss.sonatype.org/content/repositories/snapshots/' + } + maven { + name = 'codemc-repo' + url = 'https://repo.codemc.org/repository/maven-public/' + } + maven { + name = 'langutils-repo' + url 'https://raw.github.com/MascusJeoraly/LanguageUtils/mvn-repo/' + } + maven { + name = 'Lumine Releases' + url 'https://mvn.lumine.io/repository/maven-public/' + } + maven { + name = 'papi-repo' + url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' + } + maven { + name = 'IntellectualSites' + url = 'https://mvn.intellectualsites.com/content/repositories/releases/' + } +} + +dependencies { + compileOnly 'org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT' + compileOnly 'io.lumine.xikage:MythicMobs:4.9.1' + compileOnly 'me.clip:placeholderapi:2.10.10' + implementation 'org.apache.commons:commons-lang3:3.12.0' + implementation 'org.codemc.worldguardwrapper:worldguardwrapper:1.2.0-SNAPSHOT' + implementation 'com.meowj:LangUtils:1.9' + implementation 'be.maximvdw:MVdWPlaceholderAPI:3.1.1' + +} + +def targetJavaVersion = 8 +java { + def javaVersion = JavaVersion.toVersion(targetJavaVersion) + sourceCompatibility = javaVersion + targetCompatibility = javaVersion + if (JavaVersion.current() < javaVersion) { + toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion) + } +} + +tasks.withType(JavaCompile).configureEach { + if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) { + options.release = targetJavaVersion + } +} + +processResources { + def props = [version: version] + inputs.properties props + filteringCharset 'UTF-8' + filesMatching('plugin.yml') { + expand props + } +} + +shadowJar { + dependencies { + include(dependency('org.apache.commons:commons-lang3:3.12.0')) + include(dependency('org.codemc.worldguardwrapper:worldguardwrapper:1.2.0-SNAPSHOT')) + include(dependency('com.meowj:LangUtils:1.9')) + include(dependency('be.maximvdw:MVdWPlaceholderAPI:3.1.1')) + } +} + +tasks.build.dependsOn tasks.shadowJar \ No newline at end of file diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/LookThread.class b/build/classes/java/main/com/zeshanaslam/actionhealth/LookThread.class new file mode 100644 index 0000000..df23d5f Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/LookThread.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/Main.class b/build/classes/java/main/com/zeshanaslam/actionhealth/Main.class new file mode 100644 index 0000000..988c6e0 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/Main.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionHelper.class b/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionHelper.class new file mode 100644 index 0000000..28af716 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionHelper.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionListener.class b/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionListener.class new file mode 100644 index 0000000..2e8fb91 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionListener.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionStore$ActionType.class b/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionStore$ActionType.class new file mode 100644 index 0000000..e41eec0 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionStore$ActionType.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionStore.class b/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionStore.class new file mode 100644 index 0000000..af6073b Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionStore.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionTask.class b/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionTask.class new file mode 100644 index 0000000..471e966 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/action/ActionTask.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/action/data/Action.class b/build/classes/java/main/com/zeshanaslam/actionhealth/action/data/Action.class new file mode 100644 index 0000000..33cb358 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/action/data/Action.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/action/data/Tagged.class b/build/classes/java/main/com/zeshanaslam/actionhealth/action/data/Tagged.class new file mode 100644 index 0000000..674f37a Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/action/data/Tagged.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/api/HealthSendEvent.class b/build/classes/java/main/com/zeshanaslam/actionhealth/api/HealthSendEvent.class new file mode 100644 index 0000000..5558d9d Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/api/HealthSendEvent.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/commands/HealthCommand.class b/build/classes/java/main/com/zeshanaslam/actionhealth/commands/HealthCommand.class new file mode 100644 index 0000000..4d77122 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/commands/HealthCommand.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/config/ConfigStore.class b/build/classes/java/main/com/zeshanaslam/actionhealth/config/ConfigStore.class new file mode 100644 index 0000000..08cf5fb Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/config/ConfigStore.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/events/HealthListeners.class b/build/classes/java/main/com/zeshanaslam/actionhealth/events/HealthListeners.class new file mode 100644 index 0000000..c69142d Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/events/HealthListeners.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/support/LangUtilsSupport.class b/build/classes/java/main/com/zeshanaslam/actionhealth/support/LangUtilsSupport.class new file mode 100644 index 0000000..8614fd1 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/support/LangUtilsSupport.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/support/LegacyPreAction.class b/build/classes/java/main/com/zeshanaslam/actionhealth/support/LegacyPreAction.class new file mode 100644 index 0000000..6786cd5 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/support/LegacyPreAction.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/support/McMMOSupport.class b/build/classes/java/main/com/zeshanaslam/actionhealth/support/McMMOSupport.class new file mode 100644 index 0000000..9d35a12 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/support/McMMOSupport.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/support/MythicMobsSupport.class b/build/classes/java/main/com/zeshanaslam/actionhealth/support/MythicMobsSupport.class new file mode 100644 index 0000000..22e409b Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/support/MythicMobsSupport.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/support/NewAction.class b/build/classes/java/main/com/zeshanaslam/actionhealth/support/NewAction.class new file mode 100644 index 0000000..6a95350 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/support/NewAction.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/support/PreAction.class b/build/classes/java/main/com/zeshanaslam/actionhealth/support/PreAction.class new file mode 100644 index 0000000..1ecc4fb Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/support/PreAction.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/FileHandler.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/FileHandler.class new file mode 100644 index 0000000..8c4fd67 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/FileHandler.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/HealthUtil$1.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/HealthUtil$1.class new file mode 100644 index 0000000..621ba62 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/HealthUtil$1.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/HealthUtil.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/HealthUtil.class new file mode 100644 index 0000000..5d1de4e Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/HealthUtil.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$1.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$1.class new file mode 100644 index 0000000..2eb7abc Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$1.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$AdvancedBarChart.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$AdvancedBarChart.class new file mode 100644 index 0000000..8be7410 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$AdvancedBarChart.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$AdvancedPie.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$AdvancedPie.class new file mode 100644 index 0000000..e8d55ab Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$AdvancedPie.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$CustomChart.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$CustomChart.class new file mode 100644 index 0000000..584fb58 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$CustomChart.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$DrilldownPie.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$DrilldownPie.class new file mode 100644 index 0000000..07bb11e Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$DrilldownPie.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$JsonObjectBuilder$JsonObject.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$JsonObjectBuilder$JsonObject.class new file mode 100644 index 0000000..aedaaa9 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$JsonObjectBuilder$JsonObject.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$JsonObjectBuilder.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$JsonObjectBuilder.class new file mode 100644 index 0000000..7045d1e Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$JsonObjectBuilder.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$MetricsBase.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$MetricsBase.class new file mode 100644 index 0000000..d224263 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$MetricsBase.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$MultiLineChart.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$MultiLineChart.class new file mode 100644 index 0000000..114915f Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$MultiLineChart.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$SimpleBarChart.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$SimpleBarChart.class new file mode 100644 index 0000000..bdfc85a Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$SimpleBarChart.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$SimplePie.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$SimplePie.class new file mode 100644 index 0000000..2ca441c Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$SimplePie.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$SingleLineChart.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$SingleLineChart.class new file mode 100644 index 0000000..5746fab Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics$SingleLineChart.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics.class new file mode 100644 index 0000000..277d41b Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/Metrics.class differ diff --git a/build/classes/java/main/com/zeshanaslam/actionhealth/utils/TargetHelper.class b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/TargetHelper.class new file mode 100644 index 0000000..1e510a4 Binary files /dev/null and b/build/classes/java/main/com/zeshanaslam/actionhealth/utils/TargetHelper.class differ diff --git a/build/libs/ActionHealth-3.5.6.jar b/build/libs/ActionHealth-3.5.6.jar new file mode 100644 index 0000000..523a234 Binary files /dev/null and b/build/libs/ActionHealth-3.5.6.jar differ diff --git a/config.yml b/build/resources/main/config.yml similarity index 100% rename from config.yml rename to build/resources/main/config.yml diff --git a/plugin.yml b/build/resources/main/plugin.yml similarity index 100% rename from plugin.yml rename to build/resources/main/plugin.yml diff --git a/translations/BrazilianPortuguese.yml b/build/resources/main/translations/BrazilianPortuguese.yml similarity index 100% rename from translations/BrazilianPortuguese.yml rename to build/resources/main/translations/BrazilianPortuguese.yml diff --git a/translations/French.yml b/build/resources/main/translations/French.yml similarity index 100% rename from translations/French.yml rename to build/resources/main/translations/French.yml diff --git a/translations/German.yml b/build/resources/main/translations/German.yml similarity index 100% rename from translations/German.yml rename to build/resources/main/translations/German.yml diff --git a/translations/Italian.yml b/build/resources/main/translations/Italian.yml similarity index 100% rename from translations/Italian.yml rename to build/resources/main/translations/Italian.yml diff --git a/translations/Japanese.yml b/build/resources/main/translations/Japanese.yml similarity index 100% rename from translations/Japanese.yml rename to build/resources/main/translations/Japanese.yml diff --git a/translations/Polish.yml b/build/resources/main/translations/Polish.yml similarity index 100% rename from translations/Polish.yml rename to build/resources/main/translations/Polish.yml diff --git a/translations/Russian.yml b/build/resources/main/translations/Russian.yml similarity index 100% rename from translations/Russian.yml rename to build/resources/main/translations/Russian.yml diff --git a/translations/SimplifiedChinese.yml b/build/resources/main/translations/SimplifiedChinese.yml similarity index 100% rename from translations/SimplifiedChinese.yml rename to build/resources/main/translations/SimplifiedChinese.yml diff --git a/translations/Spanish.yml b/build/resources/main/translations/Spanish.yml similarity index 100% rename from translations/Spanish.yml rename to build/resources/main/translations/Spanish.yml diff --git a/translations/Turkish.yml b/build/resources/main/translations/Turkish.yml similarity index 100% rename from translations/Turkish.yml rename to build/resources/main/translations/Turkish.yml diff --git a/build/tmp/compileJava/previous-compilation-data.bin b/build/tmp/compileJava/previous-compilation-data.bin new file mode 100644 index 0000000..4476492 Binary files /dev/null and b/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/build/tmp/jar/MANIFEST.MF b/build/tmp/jar/MANIFEST.MF new file mode 100644 index 0000000..58630c0 --- /dev/null +++ b/build/tmp/jar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..e69de29 diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..7454180 Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..69a9715 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew new file mode 100644 index 0000000..744e882 --- /dev/null +++ b/gradlew @@ -0,0 +1,185 @@ +#!/usr/bin/env sh + +# +# Copyright 2015 the original author or authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$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"' + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn () { + echo "$*" +} + +die () { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MSYS* | MINGW* ) + msys=true + ;; + NONSTOP* ) + nonstop=true + ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin or MSYS, switch paths to Windows format before running java +if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=`expr $i + 1` + done + case $i in + 0) set -- ;; + 1) set -- "$args0" ;; + 2) set -- "$args0" "$args1" ;; + 3) set -- "$args0" "$args1" "$args2" ;; + 4) set -- "$args0" "$args1" "$args2" "$args3" ;; + 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Escape application args +save () { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " +} +APP_ARGS=`save "$@"` + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000..ac1b06f --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,89 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..7938504 --- /dev/null +++ b/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'ActionHealth' \ No newline at end of file diff --git a/src/com/zeshanaslam/actionhealth/LookThread.java b/src/main/java/com/zeshanaslam/actionhealth/LookThread.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/LookThread.java rename to src/main/java/com/zeshanaslam/actionhealth/LookThread.java diff --git a/src/com/zeshanaslam/actionhealth/Main.java b/src/main/java/com/zeshanaslam/actionhealth/Main.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/Main.java rename to src/main/java/com/zeshanaslam/actionhealth/Main.java diff --git a/src/com/zeshanaslam/actionhealth/action/ActionHelper.java b/src/main/java/com/zeshanaslam/actionhealth/action/ActionHelper.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/action/ActionHelper.java rename to src/main/java/com/zeshanaslam/actionhealth/action/ActionHelper.java diff --git a/src/com/zeshanaslam/actionhealth/action/ActionListener.java b/src/main/java/com/zeshanaslam/actionhealth/action/ActionListener.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/action/ActionListener.java rename to src/main/java/com/zeshanaslam/actionhealth/action/ActionListener.java diff --git a/src/com/zeshanaslam/actionhealth/action/ActionStore.java b/src/main/java/com/zeshanaslam/actionhealth/action/ActionStore.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/action/ActionStore.java rename to src/main/java/com/zeshanaslam/actionhealth/action/ActionStore.java diff --git a/src/com/zeshanaslam/actionhealth/action/ActionTask.java b/src/main/java/com/zeshanaslam/actionhealth/action/ActionTask.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/action/ActionTask.java rename to src/main/java/com/zeshanaslam/actionhealth/action/ActionTask.java diff --git a/src/com/zeshanaslam/actionhealth/action/data/Action.java b/src/main/java/com/zeshanaslam/actionhealth/action/data/Action.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/action/data/Action.java rename to src/main/java/com/zeshanaslam/actionhealth/action/data/Action.java diff --git a/src/com/zeshanaslam/actionhealth/action/data/Tagged.java b/src/main/java/com/zeshanaslam/actionhealth/action/data/Tagged.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/action/data/Tagged.java rename to src/main/java/com/zeshanaslam/actionhealth/action/data/Tagged.java diff --git a/src/com/zeshanaslam/actionhealth/api/HealthSendEvent.java b/src/main/java/com/zeshanaslam/actionhealth/api/HealthSendEvent.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/api/HealthSendEvent.java rename to src/main/java/com/zeshanaslam/actionhealth/api/HealthSendEvent.java diff --git a/src/com/zeshanaslam/actionhealth/commands/HealthCommand.java b/src/main/java/com/zeshanaslam/actionhealth/commands/HealthCommand.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/commands/HealthCommand.java rename to src/main/java/com/zeshanaslam/actionhealth/commands/HealthCommand.java diff --git a/src/com/zeshanaslam/actionhealth/config/ConfigStore.java b/src/main/java/com/zeshanaslam/actionhealth/config/ConfigStore.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/config/ConfigStore.java rename to src/main/java/com/zeshanaslam/actionhealth/config/ConfigStore.java diff --git a/src/com/zeshanaslam/actionhealth/events/HealthListeners.java b/src/main/java/com/zeshanaslam/actionhealth/events/HealthListeners.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/events/HealthListeners.java rename to src/main/java/com/zeshanaslam/actionhealth/events/HealthListeners.java diff --git a/src/com/zeshanaslam/actionhealth/support/LangUtilsSupport.java b/src/main/java/com/zeshanaslam/actionhealth/support/LangUtilsSupport.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/support/LangUtilsSupport.java rename to src/main/java/com/zeshanaslam/actionhealth/support/LangUtilsSupport.java diff --git a/src/com/zeshanaslam/actionhealth/support/LegacyPreAction.java b/src/main/java/com/zeshanaslam/actionhealth/support/LegacyPreAction.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/support/LegacyPreAction.java rename to src/main/java/com/zeshanaslam/actionhealth/support/LegacyPreAction.java diff --git a/src/com/zeshanaslam/actionhealth/support/McMMOSupport.java b/src/main/java/com/zeshanaslam/actionhealth/support/McMMOSupport.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/support/McMMOSupport.java rename to src/main/java/com/zeshanaslam/actionhealth/support/McMMOSupport.java diff --git a/src/com/zeshanaslam/actionhealth/support/MythicMobsSupport.java b/src/main/java/com/zeshanaslam/actionhealth/support/MythicMobsSupport.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/support/MythicMobsSupport.java rename to src/main/java/com/zeshanaslam/actionhealth/support/MythicMobsSupport.java diff --git a/src/com/zeshanaslam/actionhealth/support/NewAction.java b/src/main/java/com/zeshanaslam/actionhealth/support/NewAction.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/support/NewAction.java rename to src/main/java/com/zeshanaslam/actionhealth/support/NewAction.java diff --git a/src/com/zeshanaslam/actionhealth/support/PreAction.java b/src/main/java/com/zeshanaslam/actionhealth/support/PreAction.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/support/PreAction.java rename to src/main/java/com/zeshanaslam/actionhealth/support/PreAction.java diff --git a/src/com/zeshanaslam/actionhealth/utils/FileHandler.java b/src/main/java/com/zeshanaslam/actionhealth/utils/FileHandler.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/utils/FileHandler.java rename to src/main/java/com/zeshanaslam/actionhealth/utils/FileHandler.java diff --git a/src/com/zeshanaslam/actionhealth/utils/HealthUtil.java b/src/main/java/com/zeshanaslam/actionhealth/utils/HealthUtil.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/utils/HealthUtil.java rename to src/main/java/com/zeshanaslam/actionhealth/utils/HealthUtil.java diff --git a/src/com/zeshanaslam/actionhealth/utils/Metrics.java b/src/main/java/com/zeshanaslam/actionhealth/utils/Metrics.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/utils/Metrics.java rename to src/main/java/com/zeshanaslam/actionhealth/utils/Metrics.java diff --git a/src/com/zeshanaslam/actionhealth/utils/TargetHelper.java b/src/main/java/com/zeshanaslam/actionhealth/utils/TargetHelper.java similarity index 100% rename from src/com/zeshanaslam/actionhealth/utils/TargetHelper.java rename to src/main/java/com/zeshanaslam/actionhealth/utils/TargetHelper.java diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml new file mode 100644 index 0000000..1eab001 --- /dev/null +++ b/src/main/resources/config.yml @@ -0,0 +1,153 @@ +# The message the player is sent. +# {name} shows the name of the mob or player. +# {health} shows current health of the mob or player. +# {maxhealth} shows the max health of the mob or player. +# {usestyle} will use the defined chars. +# {displayname} will use player/mob custom name. +# {opponentlastdamage} the amount of damage the enemy last received. +# {percenthealth} displays the percentage of health left. +# Note: if placeholders are being overridden by other plugins you can add 'ah' in front of it i.e {ahhealth} +# +# For PlaceholderAPI or MVdWPlaceholderAPI: +# By default placeholders will be retrieved as the attacking player. +# Prefix with 'ATTACKEDPLAYER_' to get the placeholders as the attacked player +# i.e %player_exp% would be %ATTACKEDPLAYER_player_exp%. +Health Message: '&7&l{name}: {usestyle}' + +# If set empty it will default to the one above. +# This message is sent to all non player entities. +# All the placeholders from above work here also. +Non Player Message: '' + +# The message the player is sent to the player if they have actionhealth disabled. +# {name} shows the name of the player. +Toggle Message: '' + +# Message sent to player when player enables actionhealth +# {name} shows the name of the player. +On Enable: '&7ActionHealth has been &cenabled&7.' + +# Message sent to player when player disables actionhealth +# {name} shows the name of the player. +On Disable: '&7ActionHealth has been &cdisabled&7.' + +# Strip Name. +Strip Name: true + +# If enabled players with the permission 'ActionHealth.Health' will only see the action health message. +Use Permissions: false + +# If set to false player will not see health messages from mobs. +Show Mob: true + +# If set to false player will not see health messages from other players. +Show Player: true + +# If set to false player will not see health messages from npcs. +Show NPC: true + +# If set to true player will get the message in a delay to get 100% accurate health. Useful for plugins that add damage by reading item lore. +Delay Message: false +# Amount delayed by +Delay Tick: 1 + +# Style Health +Full Health Icon: "&4\u2764" +Half Health Icon: "&c\u2764" +Empty Health Icon: "&7\u2764" + +# ActionHealth will be disabled for any world names added below. Case sensitive! +Disabled worlds: + - randomworld + +Disabled regions: + - testing_region + +# Disable ActionHealth in regions where PvP is denied. +Region PvP: true + +# Limits the health style to a certain amount of symbols. Static limit (-1 to disable) +# Limit health WILL accurately still display the entities health. +Limit Health: 10 + +# If 'Limit Health' is set to -1. With 'Upper Limit Health' you can trigger 'Limit Health' logic to prevent 'Use Style' going off screen' +# '40 -> 10' = If health over 40, use limit health 10. Leave empty to disable +Upper Limit Health: "40 -> 10" + +# Saves players /actionhealth toggle state. +# Uses flat file. If interested in SQL support ask in discussion. +Remember Toggle: false + +# Blacklist by entity name or entity display name. +# Also supports MythicMobs using the internal name. +Blacklist: + - 'CCPD Officer' + +# Whitelist by entity name or entity display name. +# Also supports MythicMobs using the internal name. +Whitelist: [] + +# Show the health of the entity that the player is looking at. +Show On Look: true +Look Distance: 10 + +LookValues: + # How often (in ticks) to check if player is looking at an entity. Increase if lagging, maybe to 10 or 20. + CheckTicks: 0 + # If the dot product is positive, the target is in front + Dot: 0 + # Tolerance of the line calculation + Tolerance: 4 + +# Check if player can see entity before sending health. +Can See: true + +# Hide action health if entity has invisible potion on. +Invisible Potion: true + +# Hide if entity is in spectator mode. +Spectator Mode: true + +# If to show MiniaturePets health or not +ShowMiniaturePets: true + +# Translate names. Case sensitive! +# Check ActionHealth page if translations already exist for the language you plan on using. +# +# I'd appreciate if servers that use custom translations share them with me, so I can share them with others! +# For users that do, I will tag them on Spigot and display their server IP. +Name Change: false +Name: + - Snow Golem = New name + +# Translate names using Client Language. Need to install LanguageUtils +# https://www.spigotmc.org/resources/1-7-x-1-12-language-utils.8859/ +Use Client Language: false + +# Allows bstats metrics. Useful to allow better understanding of version support and more metrics useful for maintaining +Allow Metrics: true + +# If enabled, when a player gets into combat they will be tagged for the configurable amount of time. +# When the enemy triggers an action the provided message will be sent. +# Supports all placeholders from above. +# Supported events: CONSUME, RIGHTCLICK, LEFTCLICK, SWAP, DAMAGE +Action: + Enabled: false + # In seconds + TagLength: 20 + # Amount of entities a player can tag during combat. -1 for unlimited + TagAmount: 2 + Events: + CONSUME: + GOLDEN_APPLE: '&7&l{name} consumed &cgolden apple&7&l!' + REGENERATION_POTION: '&7&l{name} consumed &cregen potion&7&l!' + RIGHTCLICK: + ENDER_PEARL: '&7&l{name} used &cender pearl&7&l!' + SWAP: + ENDER_PEARL: '&7&l{name} swapped to &cender pearls&7&l. {usestyle}&7&l' + POTION: '&7&l{name} swapped to &cpotion&7&l. {usestyle}&7&l' + DAMAGE: + ANY: '&7&l{name}: {usestyle}' + # Supports DamageCause if 'ANY' not being used + #LAVA: '&4On fire!' + #ENTITY_SWEEP_ATTACK: '&7You swept them!' \ No newline at end of file diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml new file mode 100644 index 0000000..01c65a2 --- /dev/null +++ b/src/main/resources/plugin.yml @@ -0,0 +1,8 @@ +name: ActionHealth +main: com.zeshanaslam.actionhealth.Main +version: 3.5.6 +softdepend: [PlaceholderAPI, MVdWPlaceholderAPI, WorldGuard, mcMMO, MythicMobs, LangUtils] +api-version: 1.13 +commands: + Actionhealth: + description: Actionhealth main commands. diff --git a/src/main/resources/translations/BrazilianPortuguese.yml b/src/main/resources/translations/BrazilianPortuguese.yml new file mode 100644 index 0000000..43ede35 --- /dev/null +++ b/src/main/resources/translations/BrazilianPortuguese.yml @@ -0,0 +1,58 @@ +Name Change: true +Name: + - Snow Golem = Golem de Neve + - Bat = Morcego + - Cat = Gato + - Cave Spider = Aranha da Caverna + - Chicken = Galinha + - Cod = Bacalhau + - Cow = Vaca + - Dolphin = Golfinho + - Donkey = Burro + - Drowned = Afogado + - Elder Guardian = Guardião Ancião + - Ender Dragon = Dragão do End + - Enderman = Enderman + - Endermite = Endermite + - Evoker = Invocador + - Fox = Raposa + - Giant = Gigante + - Guardian = Guardião + - Horse = Cavalo + - Husk = Zumbi do Deserto + - Illusioner = Ilusionista + - Iron Golem = Golem de Ferro + - Llama = Lhama + - Magma Cube = Cubo de Magma + - Mooshroom = Coguvaca + - Mule = Mula + - Parrot = Papagaio + - Phantom = Espectro + - Pig = Porco + - Pillager = Pillager + - Polar Bear = Urso Polar + - Puffer Fish = Baiacu + - Ocelot = Onça + - Rabbit = Coelho + - Ravager = Destruidor + - Salmon = Salmão + - Sheep = Ovelha + - Skeleton = Esqueleto + - Skeleton Horse = Cavalo Esqueleto + - Slime = Slime + - Snow Golem = Golem de Neve + - Spider = Aranha + - Squid = Lula + - Stray = Esqueleto Errante + - Trader Llama = Lhama Trader + - Tropical Fish = Peixe Tropical + - Turtle = Tartaruga + - Vindicator = Vindicador + - Wandering Trader = Mercador Ambulante + - Witch = Bruxa + - Wither Skeleton = Esqueleto Wither + - Wolf = Lobo + - Zombie = Zumbi + - Zombie Horse = Cavalo Zumbi + - Zombified Piglin = Piglin Zumbi + - Zombie Villager = Villager Zumbi diff --git a/src/main/resources/translations/French.yml b/src/main/resources/translations/French.yml new file mode 100644 index 0000000..c5ce4f3 --- /dev/null +++ b/src/main/resources/translations/French.yml @@ -0,0 +1,87 @@ +#French translation for "Action bar Health" made with ♥baguette♥ by PoulpY2K +Name Change: true +Name: + - Armorer = Armurier + - Axolotl = Axolotl + - Bat = Chauve-Souris + - Bee = Abeille + - Blaze = Blaze + - Butcher = Boucher + - Cartographer = Cartographe + - Cat = Chat + - Cave Spider = Araignée venimeuse + - Chicken = Poulet + - Cleric = Prêtre + - Cod = Morue + - Cow = Vache + - Creeper = Creeper + - Dolphin = Dauphin + - Donkey = Âne + - Drowned = Noyé + - Elder Guardian = Gardien Ancestral + - Ender Dragon = Ender Dragon + - Enderman = Enderman + - Endermite = Endermite + - Evoker = Évocateur + - Farmer = Fermier + - Fisherman = Pêcheur + - Fletcher = Fléchier + - Fox = Renard + - Ghast = Ghast + - Glow Squid = Poulpe luisant + - Goat = Chèvre + - Guardian = Gardien + - Hoglin = Hoglin + - Horse = Cheval + - Husk = Zombie momifié + - Iron Golem = Golem de fer + - Llama = Lama + - Leatherworker = Tanneur + - Librarian = Bibliothécaire + - Magma Cube = Cube de magma + - Mason = Maçon + - Mooshroom = Champimeuh + - Mule = Mule + - Nitwit = Idiot du village + - Ocelot = Ocelot + - Panda = Panda + - Parrot = Perroquet + - Phantom = Phantom + - Pig = Cochon + - Piglin Brute = Brute Piglin + - Pillager = Pillard + - Polar Bear = Ours Polaire + - Pufferfish = Poisson-globe + - Rabbit = Lapin + - Ravager = Ravageur + - Salmon = Saumon + - Sheep = Mouton + - Shepherd = Berger + - Shulker = Bernard-l'hermite + - Silverfish = Poisson d'argent + - Skeleton = Squelette + - Skeleton Horse = Cheval-squelette + - Slime = Slime + - Snow Golem = Golem de neige + - Spider = Araignée + - Squid = Poulpe + - Stray = Vagabond + - Strider = Arpenteur + - Toolsmith = Forgeron d'outils + - Trader Llama = Lama de marchand + - Tropical Fish = Poisson tropical + - Turtle = Tortue + - Vex = Vex + - Villager = Villageois + - Vindicator = Vindicateur + - Wandering Trader = Marchand ambulant + - Weaponsmith = Forgeron d'armes + - Witch = Sorcière + - Wither = Wither + - Wither Skeleton = Wither squelette + - Wolf = Loup + - Zoglin = Zoglin + - Zombie = Zombie + - Zombie Horse = Cheval-zombie + - Zombie Villager = Zombie-villageois + - Zombified Piglin = Piglin zombifié \ No newline at end of file diff --git a/src/main/resources/translations/German.yml b/src/main/resources/translations/German.yml new file mode 100644 index 0000000..86e5d4f --- /dev/null +++ b/src/main/resources/translations/German.yml @@ -0,0 +1,78 @@ +#German Translation for "Action Bar Health" by ZeeZee translation by Chris_ImItReal +Name Change: true +Name: + - Armorer = Rüstungsschmied + - Bat = Fledermaus + - Bee = Biene + - Blaze = Lohe + - Butcher = Fleischer + - Cartographer = Kartenzeichner + - Cat = Katze + - Cave Spider = Höhlenspinne + - Chicken = Huhn + - Cleric = Geistlicher + - Cod = Kabeljau + - Cow = Kuh + - Creeper = Creeper + - Dolphin = Delfin + - Donkey = Esel + - Drowned = Ertrunkener + - Elder Guardian = Wächter + - Ender Dragon = Enderdrache + - Enderman = Enderman + - Endermite = Endermite + - Evoker = Magier + - Farmer = Bauer + - Fisherman = Fischer + - Fletcher = Pfeilmacher + - Fox = Fuchs + - Ghast = Ghast + - Giant = Riese + - Guardian = Wächter + - Horse = Pferd + - Husk = Wüstenzombie + - Iron Golem = Eisengolem + - Leatherworker = Gerber + - Librarien = Bibliothekar + - Llama = Lama + - Magma Cube = Magmawürfel + - Mason = Steinmetz + - Mooshroom = Pilzkuh + - Mule = Maultier + - Nitwit = Nichtsnutz + - Ocelot = Ozelot + - Parrot = Papagei + - Pig = Schwein + - Pillager = Plünderer + - Polar Bear = Eisbär + - Pufferfish = Kugelfisch + - Rabbit = Hase + - Ravager = Verwüster + - Salmon = Lachs + - Sheep = Schaf + - Shepherd = Schäfer + - Shulker = Shulker + - Silverfish = Silberfisch + - Skeleton = Skelett + - Skeleton Horse = Skelettpferd + - Slime = Schleim + - Spider = Spinne + - Squid = Tintenfisch + - Stray = Eiswanderer + - Toolsmith = Werkzeugschmied + - Trader Llama = Händlerlama + - Tropical Fish = Tropenfisch + - Turtle = Schildkröte + - Vex = Plagegeist + - Villager = Bewohner + - Vindicator = Diener + - Wandering Trader = Wandernder Händler + - Weaponsmith = Waffenschmied + - Witch = Hexe + - Wither = Wither + - Wither Skeleton = Witherskelett + - Wolf = Wolf + - Zombie = Zombie + - Zombie Horse = Zombiepferd + - Zombie Pigman = Schweinezombie + - Zombie Villager = Dorfbewohnerzombie diff --git a/src/main/resources/translations/Italian.yml b/src/main/resources/translations/Italian.yml new file mode 100644 index 0000000..63ae0fe --- /dev/null +++ b/src/main/resources/translations/Italian.yml @@ -0,0 +1,51 @@ +Name Change: true +Name: + - Bat = Pipistrello + - Bee = Ape + - Cat = Gatto + - Cave Spider = Ragno delle caverne + - Chicken = Gallina + - Cod = Merluzzo + - Cow = Mucca + - Dolphin = Delfino + - Donkey = Asino + - Drowned = Annegato + - Elder Guardian = Guardiano antico + - Evoker = Evocatore + - Fox = Volpe + - Guardian = Guardiano + - Horse = Cavallo + - Husk = Zombi secco + - Llama = Lama + - Magma Cube = Cubo di magma + - Mule = Mulo + - Ocelot = Gattopardo + - Parrot = Pappagallo + - Pig = Maiale + - Piglin Brute = Piglin Bruto + - Pillager = Predone + - Polar Bear = Orso polare + - Pufferfish = Pesce palla + - Rabbit = Coniglio + - Ravanger = Devastatore + - Salmon = Salmone + - Sheep = Pecora + - Silverfish = Pesciolino d'argento + - Skeleton = Scheletro + - Skeleton Horse = Cavallo scheletro + - Spider = Ragno + - Squid = Calamaro + - Stray = Errante + - Trader Llama = Lama del mercante + - Tropical Fish = Pesce tropicale + - Turtle = Tartaruga + - Villager = Villico + - Vindicator = Difensore + - Wandering Trader = Mercante ambulante + - Witch = Strega + - Wither Skeleton = Scheletro wither + - Wolf = Lupo + - Zombie = Zombi + - Zombie Horse = Cavallo zombi + - Zombie Villager = Villico zombi + - Zombified Piglin = Piglin zombificato diff --git a/src/main/resources/translations/Japanese.yml b/src/main/resources/translations/Japanese.yml new file mode 100644 index 0000000..1f6f69a --- /dev/null +++ b/src/main/resources/translations/Japanese.yml @@ -0,0 +1,69 @@ +Name Change: true +Name: + - Bat = コウモリ + - Bee = ミツバチ + - Blaze = ブレイズ + - Cat = ネコ + - Cave Spider = 洞窟グモ + - Chicken = ニワトリ + - Cod = タラ + - Cow = 牛 + - Creeper = クリーパー + - Dolphin = イルカ + - Donkey = ロバ + - Drowned = ドラウンド + - Elder Guardian = エルダーガーディアン + - Enderman = エンダーマン + - Endermite = エンダーマイト + - Evoker = エヴォーカー + - Fox = キツネ + - Ghast = ガスト + - Guardian = ガーディアン + - Hoglin = ホグリン + - Horse = ウマ + - Husk = ハスク + - Llama = ラマ + - Magma Cube = マグマキューブ + - Mooshroom = ムーシュルーム + - Mule = ラバ + - Ocelot = ヤマネコ + - Panda = パンダ + - Parrot = オウム + - Phantom = ファントム + - Pig = ブタ + - Piglin = ピグリン + - Piglin Brute = ピグリンブルート + - Pillager = ピリジャー + - Polar Bear = シロクマ + - Pufferfish = フグ + - Rabbit = ウサギ + - Ravager = ラヴェジャー + - Salmon = サケ + - Sheep = ヒツジ + - Shulker = シュルカー + - Silverfish = シルバーフィッシュ + - Skeleton = スケルトン + - Skeleton Horse = スケルトンホース + - Slime = スライム + - Spider = クモ + - Squid = イカ + - Stray = ストレイ + - Strider = ストライダー + - Trader Llama = 商人のラマ + - Tropical Fish = 熱帯魚 + - Turtle = カメ + - Vex = ヴェックス + - Villager = 村人 + - Vindicator = ヴィンディケーター + - Wandering Trader = 行商人 + - Witch = ウィッチ + - Wither Skeleton = ウィザースケルトン + - Wolf = オオカミ + - Zoglin = ゾグリン + - Zombie = ゾンビ + - Zombie Horse = ゾンビホース + - Zombie Villager = 村人ゾンビ + - Zombified Piglin = ゾンビピグリン + - Snow Golem = スノウゴーレム + - Iron Golem = アイアンゴーレム + - Ender Dragon = エンダードラゴン diff --git a/src/main/resources/translations/Polish.yml b/src/main/resources/translations/Polish.yml new file mode 100644 index 0000000..f1a1df1 --- /dev/null +++ b/src/main/resources/translations/Polish.yml @@ -0,0 +1,57 @@ +Name Change: true +Name: + - Bat = Nietoperz + - Bee = Pszczoła + - Blaze = Płomyk + - Cat = Kot + - Cave Spider = Pająk Jaskiniowy + - Chicken = Kurczak + - Cod = Dorsz + - Cow = Krowa + - Dolphin = Delfin + - Donkey = Osioł + - Drowned = Utopiec + - Elder Guardian = Starszy Strażnik + - Ender Dragon = Smok Kresu + - Evoker = Przywoływacz + - Fox = Lis + - Guardian = Strażnik + - Horse = Koń + - Husk = Posuch + - Iron Golem = Żelazny Golem + - Llama = Lama + - Magma Cube = Kostka Magmy + - Mule = Muł + - Parrot = Papuga + - Phantom = Fantom + - Pig = Świnia + - Pillager = Rozbójnik + - Piglin = Piglin + - Piglin Brute = Piglin Okrutnik + - Polar Bear = Niedźwiedź Polarny + - Pufferfish = Rozdymka + - Rabbit = Królik + - Ravager = Dewastator + - Salmon = Łosoś + - Sheep = Owca + - Silverfish = Rybik + - Skeleton = Szkielet + - Skeleton Horse = Szkielet Konia + - Snow Golem = Bałwan + - Spider = Pająk + - Squid = Kałamarnica + - Stray = Tułacz + - Strider = Magmołaz + - Trader Llama = Lama Handlarza + - Tropical Fish = Ryba Tropikalna + - Turtle = Żółw + - Vex = Dręczyciel + - Villager = Osadnik + - Vindicator = Obrońca + - Wandering Trader = Wędrujący Handlarz + - Witch = Wiedźma + - Wither Skeleton = Witherowy Szkielet + - Wolf = Wilk + - Zombie Horse = Koń Zombie + - Zombified Piglin = Piglin Zombie + - Zombie Villager = Osadnik Zombie diff --git a/src/main/resources/translations/Russian.yml b/src/main/resources/translations/Russian.yml new file mode 100644 index 0000000..199f74a --- /dev/null +++ b/src/main/resources/translations/Russian.yml @@ -0,0 +1,69 @@ +Name Change: true +Name: + - Bat = Летучая мышь + - Bee = Пчела + - Blaze = Ифрит + - Cat = Кот + - Cave Spider = Ядовитый паук + - Chicken = Курица + - Cod = Треска + - Cow = Корова + - Creeper = Крипер + - Dolphin = Дельфин + - Donkey = Осёл + - Drowned = Утопленник + - Fox = Лиса + - Elder Guardian = Древний страж + - Ender Dragon = Дракон Края + - Enderman = Эндермен + - Endermite = Эндермит + - Evoker = Заклинатель + - Ghast = Гаст + - Giant = Гигант + - Guardian = Страж + - Horse = Лошадь + - Hoglin = Хоглин + - Husk = Кадавр + - Iron Golem = Железный голем + - Llama = Лама + - Magma Cube = Магмовый куб + - Mooshroom = Корова + - Ocelot = Оцелот + - Mule = Мул + - Panda = Панда + - Parrot = Попугай + - Phantom = Фантом + - Pig = Свинья + - Piglin = Пиглин + - Pillager = Разбойник + - Polar Bear = Белый медведь + - Pufferfish = Рыба Фугу + - Rabbit = Кролик + - Ravager = Разоритель + - Salmon = Лосось + - Sheep = Овца + - Shulker = Шалкер + - Silverfish = Чешуйница + - Skeleton = Скелет + - Skeleton Horse = Лошадь скелет + - Snow Golem = Снежный голем + - Slime = Слим + - Spider = Паук + - Squid = Спрут + - Stray = Бродяга + - Strider = Страйдер + - Tropical Fish = Тропическая Рыба + - Turtle = Черепаха + - Vex = Досаждатель + - Villager = Житель + - Vindicator = Поборник + - Wandering Trader = Странствующий Торговец + - Witch = Ведьма + - Wither = Иссушитель + - Wither Skeleton = Скелет Иссушитель + - Wolf = Волк + - Zombie = Зомби + - Zombie Horse = Зомби лошадь + - Zombie Villager = Зомби житель + - Zombified Piglin = Зомбифицированный Пиглин + - Zoglin = Зоглин \ No newline at end of file diff --git a/src/main/resources/translations/SimplifiedChinese.yml b/src/main/resources/translations/SimplifiedChinese.yml new file mode 100644 index 0000000..7af7740 --- /dev/null +++ b/src/main/resources/translations/SimplifiedChinese.yml @@ -0,0 +1,86 @@ +Name Change: true +Name: + - Axolotl = 美西螈 + - Bat = 蝙蝠 + - Chicken = 鸡 + - Cod = 鳕鱼 + - Cow = 牛 + - Fox = 狐狸 + - Glow Squid = 发光鱿鱼 + - Mooshroom = 哞菇 + - Ocelot = 豹猫 + - Pig = 猪 + - Rabbit = 兔子 + - Salmon = 鲑鱼 + - Sheep = 绵羊 + - Squid = 鱿鱼 + - Strider = 炽足兽 + - Tropical Fish = 热带鱼 + - Turtle = 海龟 + - Villager = 村民 + - Nitwit = 傻子 + - Armorer = 盔甲匠 + - Butcher = 屠夫 + - Cartographer = 制图师 + - Cleric = 牧师 + - Farmer = 农民 + - Fisherman = 渔夫 + - Fletcher = 制箭师 + - Leatherworker = 皮匠 + - Librarian = 图书管理员 + - Mason = 石匠 + - Shepherd = 牧羊人 + - Toolsmith = 工具匠 + - Weaponsmith = 武器匠 + - Wandering Trader = 流浪商人 + - Pufferfish = 河豚 + - Bee = 蜜蜂 + - Cave Spider = 洞穴蜘蛛 + - Dolphin = 海豚 + - Enderman = 末影人 + - Goat = 山羊 + - Panda = 熊猫 + - Piglin = 猪灵 + - Polar Bear = 北极熊 + - Spider = 蜘蛛 + - Zombified Piglin = 僵尸猪灵 + - Blaze = 烈焰人 + - Creeper = 苦力怕 + - Drowned = 溺尸 + - Elder Guardian = 远古守卫者 + - Endermite = 末影螨 + - Evoker = 唤魔者 + - Ghast = 恶魂 + - Guardian = 守卫者 + - Hoglin = 疣猪兽 + - Husk = 尸壳 + - Magma Cube = 岩浆怪 + - Phantom = 幻翼 + - Piglin Brute = 猪灵蛮兵 + - Pillager = 掠夺者 + - Ravager = 劫掠兽 + - Shulker = 潜影贝 + - Silverfish = 蠹虫 + - Skeleton = 骷髅 + - Slime = 史莱姆 + - Stray = 流浪者 + - Vex = 恼鬼 + - Vindicator = 卫道士 + - Witch = 女巫 + - Wither Skeleton = 凋零骷髅 + - Zoglin = 僵尸疣猪兽 + - Zombie Villager = 僵尸村民 + - Zombie = 僵尸 + - Cat = 猫 + - Donkey = 驴 + - Horse = 马 + - Llama = 羊驼 + - Trader Llama = 行商羊驼 + - Mule = 骡 + - Parrot = 鹦鹉 + - Skeleton Horse = 骷髅马 + - Wolf = 狼 + - Iron Golem = 铁傀儡 + - Snow Golem = 雪傀儡 + - Ender Dragon = 末影龙 + - Wither = 凋灵 \ No newline at end of file diff --git a/src/main/resources/translations/Spanish.yml b/src/main/resources/translations/Spanish.yml new file mode 100644 index 0000000..2331eb1 --- /dev/null +++ b/src/main/resources/translations/Spanish.yml @@ -0,0 +1,49 @@ +Name Change: true +Name: + - Bat = Murciélago + - Blaze = Blaze + - Cave Spider = Araña de Cueva + - Chicken = Pollo + - Cow = Vaca + - Creeper = Creeper + - Donkey = Burro + - Elder Guardian = Guardián Anciano + - Ender Dragon = Dragón del Fin + - Enderman = Enderman + - Endermite = Endermite + - Evoker = Evoker + - Ghast = Ghast + - Giant = Gigante + - Guardian = Guardián + - Horse = Caballo + - Husk = Cáscara + - Iron Golem = Golem de Hierro + - Llama = Llama + - Magma Cube = Cubo de Magma + - Mooshroom = Champiñaca + - Ocelot = Ocelote + - Mule = Mula + - Parrot = Loro + - Pig = Cerdo + - Zombie Pigman = Puerco Zombi + - Polar Bear = Oso Polar + - Rabbit = Conejo + - Sheep = Oveja + - Shulker = Shulker + - Silverfish = Lepisma + - Skeleton = Esqueleto + - Skeleton Horse = Caballo Esqueleto + - Slime = Slime + - Spider = Araña + - Squid = Calamar + - Stray = Stray + - Vex = Vex + - Villager = Aldeano + - Vindicator = Vindicador + - Witch = Bruja + - Wither = Wither + - Wither Skeleton = Wither Esqueleto + - Wolf = Lobo + - Zombie = Zombi + - Zombie Horse = Caballo Zombi + - Zombie Villager = Aldeano Zombi diff --git a/src/main/resources/translations/Turkish.yml b/src/main/resources/translations/Turkish.yml new file mode 100644 index 0000000..f9337e1 --- /dev/null +++ b/src/main/resources/translations/Turkish.yml @@ -0,0 +1,61 @@ +Name: +- Snow Golem = Kar Golemi +- Bat = Yarasa +- Cat = Kedi +- Cave Spider = Mağara Örümceği +- Chicken = Tavuk +- Cod = Morina +- Cow = İnek +- Dolphin = Yunus +- Donkey = Eşek +- Drowned = Boğuk +- Elder Guardian = Yaşlı Gardiyan +- Ender Dragon = Ender Ejerhası +- Enderman = Enderman +- Endermite = Endermite +- Evoker = Uyandırıcı +- Fox = Tilki +- Giant = Dev Zombi +- Guardian = Gardiyan +- Horse = At +- Husk = Zombi Kurusu +- Illusioner = İllüzyonist +- Iron Golem = Demir Golem +- Llama = Lama +- Magma Cube = Magma Küpü +- Mooshroom = Mooshroom +- Mule = Katır +- Parrot = Papağan +- Phantom = Hayalet +- Pig = Domuz +- Pillager = Yağmacı +- Polar Bear = Kutup Ayısı +- Puffer Fish = Kirpi Balığı +- Ocelot = Ocelo +- Rabbit = Tavşan +- Ravager = Tahripçi +- Salmon = Somon +- Sheep = Koyun +- Skeleton = İskelet +- Skeleton Horse = İskelet At +- Slime = Balçık +- Snow Golem = Kar Golemi +- Spider = Örümcek +- Squid = Mürekkep Balığı +- Stray = Serseri +- Trader Llama = Tüccar Lama +- Tropical Fish = Tropikal Balık +- Turtle = Kaplumbağa +- Vindicator = İntikamcı +- Wandering Trader = Seyyar Tüccar +- Witch = Cadı +- Wither Skeleton = Wither İskeleti +- Wolf = Kurt +- Zombie = Zombi +- Zombie Horse = Zombi At +- Zombie PigMan = Zombi Domuzadam +- Zombie Villager = Zombi Köylü +- Vex = Sinirbozan +- Silverfish = Gümüşcün +- Panda = Panda +- Bee = Arı