From 92f43c4dae988faf01cc77ab32895d4a4661082f Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Thu, 15 Dec 2016 18:25:54 +0200 Subject: [PATCH] Added notification when plugin hooks into Plan. Some bs with config and plugin yml - they were gone for some reason --- nbproject/private/private.properties | 5 +++-- nbproject/private/private.xml | 6 +++++- nbproject/project.properties | 4 ++-- src/com/djrapitops/plan/Plan.java | 1 + 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/nbproject/private/private.properties b/nbproject/private/private.properties index a11705098..16df8c2b7 100644 --- a/nbproject/private/private.properties +++ b/nbproject/private/private.properties @@ -2,8 +2,9 @@ compile.on.save=true do.depend=false do.jar=true file.reference.craftbukkit-1.10.2.jar=D:\\Minecraft Servers\\Buildtools\\craftbukkit-1.10.2.jar -file.reference.EssentialsX-2.0.1.jar=D:\\Downloads\\EssentialsX-2.0.1.jar -file.reference.OnTime.jar=D:\\Downloads\\OnTime.jar +file.reference.EssentialsX-2.0.1.jar=D:\\Minecraft Servers\\TestServer\\plugins\\Uusi kansio\\EssentialsX-2.0.1.jar +file.reference.OnTime.jar=D:\\Minecraft Servers\\TestServer\\plugins\\Uusi kansio\\OnTime.jar +file.reference.Towny.jar=D:\\Minecraft Servers\\TestServer\\plugins\\Uusi kansio\\Towny.jar file.reference.Vault.jar=D:\\Minecraft Servers\\TestServer\\plugins\\Uusi kansio\\Vault.jar javac.debug=true javadoc.preview=true diff --git a/nbproject/private/private.xml b/nbproject/private/private.xml index 6807a2ba1..e8be92078 100644 --- a/nbproject/private/private.xml +++ b/nbproject/private/private.xml @@ -2,6 +2,10 @@ - + + file:/C:/Users/Risto/Documents/NetBeansProjects/Plan/src/com/djrapitops/plan/Plan.java + file:/C:/Users/Risto/Documents/NetBeansProjects/Plan/src/com/djrapitops/plan/command/utils/DataUtils.java + file:/C:/Users/Risto/Documents/NetBeansProjects/Plan/src/plugin.yml + diff --git a/nbproject/project.properties b/nbproject/project.properties index d46472440..0c03a9cb5 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -29,7 +29,7 @@ dist.jar=${dist.dir}/Plan.jar dist.javadoc.dir=${dist.dir}/javadoc endorsed.classpath= excludes= -file.reference.AdvancedAchievements.jar=D:\\Minecraft Servers\\TestServer\\plugins\\Uusi kansio\\AdvancedAchievements.jar +file.reference.AdvancedAchievements-4.0.2.jar=C:\\Users\\Risto\\Documents\\NetBeansProjects\\AdvancedAchievements\\target\\AdvancedAchievements-4.0.2.jar file.reference.Factions.jar=D:\\Minecraft Servers\\TestServer\\plugins\\Uusi kansio\\Factions.jar file.reference.MassiveCore.jar=D:\\Minecraft Servers\\TestServer\\plugins\\Uusi kansio\\MassiveCore.jar file.reference.mcMMO.jar=D:\\Minecraft Servers\\TestServer\\plugins\\Uusi kansio\\mcMMO.jar @@ -50,7 +50,7 @@ javac.classpath=\ ${file.reference.mcMMO.jar}:\ ${file.reference.SuperbVote-0.3.2.jar}:\ ${file.reference.PlaceholderAPI.jar}:\ - ${file.reference.AdvancedAchievements.jar} + ${file.reference.AdvancedAchievements-4.0.2.jar} # Space-separated list of extra javac options javac.compilerargs= javac.deprecation=false diff --git a/src/com/djrapitops/plan/Plan.java b/src/com/djrapitops/plan/Plan.java index e453467bf..6f12abec4 100644 --- a/src/com/djrapitops/plan/Plan.java +++ b/src/com/djrapitops/plan/Plan.java @@ -182,5 +182,6 @@ public class Plan extends JavaPlugin { public void addExtraHook(String name, Hook hook) { this.extraHooks.put(name, hook); this.hooks.put(name, hook); + log("Registered additional hook: "+name); } }