From 134f07f22badfddfe8e924627a75ec68d3814978 Mon Sep 17 00:00:00 2001 From: Michael Reichenbach Date: Sat, 2 May 2020 21:52:38 +0200 Subject: [PATCH] fix: plugin startup --- build.gradle | 4 +-- settings.gradle | 2 +- src/main/resources/plugin.yml | 3 +- working/server.properties | 68 +++++++++++++++++++---------------- 4 files changed, 42 insertions(+), 35 deletions(-) diff --git a/build.gradle b/build.gradle index 4d5763f..4b6f056 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ version '1.0' spigot { authors = [project.property("author")] - depends = [''] +// depends = [''] apiVersion = project.property("apiVersion") load = STARTUP // commands { @@ -105,7 +105,7 @@ task copyPluginYaml(type: Copy, dependsOn: spigotPluginYaml) { tasks.test.dependsOn(copyPluginYaml) -task deploy(type: Copy, dependsOn: ['cleanPlugin', 'jar']) { +task deploy(type: Copy, dependsOn: ['cleanPlugin', 'copyPluginYaml', 'jar']) { group 'deploy' description 'Exports you plugin to the plugin directory in your test server' diff --git a/settings.gradle b/settings.gradle index 3055ec4..66a0c60 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -rootProject.name = 'Spigot Template' \ No newline at end of file +rootProject.name = 'SpigotTemplate' \ No newline at end of file diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index d36d02b..f913538 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,6 @@ main: com.silthus.template.TemplatePlugin -name: Spigot Template +name: SpigotTemplate version: '1.0' authors: [Silthus] api-version: '1.15' load: STARTUP -depend: [''] diff --git a/working/server.properties b/working/server.properties index 762bbd4..336d534 100644 --- a/working/server.properties +++ b/working/server.properties @@ -1,39 +1,47 @@ #Minecraft server properties -#Sun Dec 30 04:38:29 CET 2018 -generator-settings= -force-gamemode=false +#Sat May 02 21:47:01 CEST 2020 +broadcast-rcon-to-ops=true +view-distance=10 +max-build-height=256 +server-ip= +level-seed= +rcon.port=25575 allow-nether=true -enforce-whitelist=false -gamemode=0 -broadcast-console-to-ops=true -enable-query=false -player-idle-timeout=0 -difficulty=1 -spawn-monsters=true -op-permission-level=4 -pvp=true -snooper-enabled=true -level-type=DEFAULT -hardcore=false +gamemode=survival enable-command-block=false -max-players=20 -network-compression-threshold=256 -resource-pack-sha1= -max-world-size=29999984 server-port=25565 +enable-rcon=false +enable-query=false +op-permission-level=4 +prevent-proxy-connections=false +generator-settings= +resource-pack= +player-idle-timeout=0 +level-name=world +rcon.password= +motd=\u00A76Spigot Gradle Template by Tammo0987 +query.port=25565 +force-gamemode=false debug=false -server-ip= +hardcore=false +white-list=false +broadcast-console-to-ops=true +pvp=true spawn-npcs=true -allow-flight=false -level-name=world -view-distance=10 -resource-pack= spawn-animals=true -white-list=false generate-structures=true +snooper-enabled=true +difficulty=easy +function-permission-level=2 +network-compression-threshold=256 +level-type=default +spawn-monsters=true +max-tick-time=60000 +enforce-whitelist=false +max-players=20 +use-native-transport=true +resource-pack-sha1= +spawn-protection=16 online-mode=true -max-build-height=256 -level-seed= -prevent-proxy-connections=false -enable-rcon=false -motd=\u00A76Spigot Gradle Template by Tammo0987 +allow-flight=false +max-world-size=29999984