Skip to content

Commit

Permalink
fix: plugin startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Silthus committed May 2, 2020
1 parent 5f2f332 commit 134f07f
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 35 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version '1.0'

spigot {
authors = [project.property("author")]
depends = ['']
// depends = ['']
apiVersion = project.property("apiVersion")
load = STARTUP
// commands {
Expand Down Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = 'Spigot Template'
rootProject.name = 'SpigotTemplate'
3 changes: 1 addition & 2 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -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: ['']
68 changes: 38 additions & 30 deletions working/server.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 134f07f

Please sign in to comment.