diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 diff --git a/pom.xml b/pom.xml index 20c0809..48672fd 100644 --- a/pom.xml +++ b/pom.xml @@ -4,12 +4,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - kd_ontime_handler_spigot + sh_ontime_handler_spigot de.sh-edraft - 1.0-SNAPSHOT + 1.1-SNAPSHOT jar - kd_ontime_handler_spigot + sh_ontime_handler_spigot UTF-8 @@ -28,7 +28,7 @@ org.spigotmc spigot-api - 1.19.2-R0.1-SNAPSHOT + 1.20.1-R0.1-SNAPSHOT provided diff --git a/run.sh b/run.sh old mode 100644 new mode 100755 index fd9919b..c911fba --- a/run.sh +++ b/run.sh @@ -1,5 +1,5 @@ bash build.sh -cp target/kd_ontime_handler_spigot-*-SNAPSHOT.jar spigot/plugins +cp target/sh_ontime_handler_spigot-*-SNAPSHOT.jar spigot/plugins cd spigot export PLUGIN_ENVIRONMENT=development java -Xms1G -Xmx8G -jar spigot.jar --nogui \ No newline at end of file diff --git a/kd_ontime_handler_spigot.iml b/sh_ontime_handler_spigot.iml similarity index 100% rename from kd_ontime_handler_spigot.iml rename to sh_ontime_handler_spigot.iml diff --git a/src/main/kotlin/de/sh_edraft/OntimeHandlerPlugin.kt b/src/main/kotlin/de/sh_edraft/OntimeHandlerPlugin.kt index 0e8fb3a..02a4002 100644 --- a/src/main/kotlin/de/sh_edraft/OntimeHandlerPlugin.kt +++ b/src/main/kotlin/de/sh_edraft/OntimeHandlerPlugin.kt @@ -15,9 +15,9 @@ open class OntimeHandlerPlugin() : JavaPlugin() { override fun onEnable() { this.config = Config(logger) - this.config.read("plugins/kd_ontime/config.properties", false) - this.config.read("plugins/kd_ontime/config.${this.config.environment}.properties", true) - this.config.read("plugins/kd_ontime/config.${this.config.hostName}.properties", true) + this.config.read("plugins/sh_ontime/config.properties", false) + this.config.read("plugins/sh_ontime/config.${this.config.environment}.properties", true) + this.config.read("plugins/sh_ontime/config.${this.config.hostName}.properties", true) this.dataService = DataService(logger, this.config) diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 873804b..16b8fc1 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,3 +1,3 @@ name: sh_edraft.OntimeHandlerPlugin -version: 1.0 +version: 1.1 main: de.sh_edraft.OntimeHandlerPlugin \ No newline at end of file