Implemented bStats
This commit is contained in:
parent
8bdf268cf1
commit
b12e66cc3a
@ -39,5 +39,7 @@
|
|||||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.yaml:snakeyaml:1.30" level="project" />
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.yaml:snakeyaml:1.30" level="project" />
|
||||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.bukkit:craftbukkit:1.18.2-R0.1-SNAPSHOT" level="project" />
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.bukkit:craftbukkit:1.18.2-R0.1-SNAPSHOT" level="project" />
|
||||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.mojang:brigadier:1.0.18" level="project" />
|
<orderEntry type="library" scope="PROVIDED" name="Maven: com.mojang:brigadier:1.0.18" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.bstats:bstats-bukkit:3.0.0" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.bstats:bstats-base:3.0.0" level="project" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
@ -4,5 +4,6 @@
|
|||||||
- Minor changes
|
- Minor changes
|
||||||
- Temporarily reworked Plugin Manager
|
- Temporarily reworked Plugin Manager
|
||||||
- Added Update Checker (https://github.com/JEFF-Media-GbR/Spigot-UpdateChecker)
|
- Added Update Checker (https://github.com/JEFF-Media-GbR/Spigot-UpdateChecker)
|
||||||
|
- Implemented Metrics (bStats)
|
||||||
- 1.0.0 - First Release
|
- 1.0.0 - First Release
|
||||||
- Notice: If the /st reload command not reloading the new settings, you need to restart your MC server.
|
- Notice: If the /st reload command not reloading the new settings, you need to restart your MC server.
|
||||||
|
10
pom.xml
10
pom.xml
@ -59,6 +59,10 @@
|
|||||||
<pattern>com.jeff_media.updatechecker</pattern>
|
<pattern>com.jeff_media.updatechecker</pattern>
|
||||||
<shadedPattern>tk.ditservices.updatechecker</shadedPattern>
|
<shadedPattern>tk.ditservices.updatechecker</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.bstats</pattern>
|
||||||
|
<shadedPattern>tk.ditservices.bstats</shadedPattern>
|
||||||
|
</relocation>
|
||||||
</relocations>
|
</relocations>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
@ -130,6 +134,12 @@
|
|||||||
<version>1.0.18</version>
|
<version>1.0.18</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.bstats</groupId>
|
||||||
|
<artifactId>bstats-bukkit</artifactId>
|
||||||
|
<version>3.0.0</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package tk.ditservices;
|
package tk.ditservices;
|
||||||
|
|
||||||
|
import org.bstats.bukkit.Metrics;
|
||||||
import org.bukkit.scheduler.BukkitScheduler;
|
import org.bukkit.scheduler.BukkitScheduler;
|
||||||
//import org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftScheduler;
|
|
||||||
import tk.ditservices.commands.DitCmd;
|
import tk.ditservices.commands.DitCmd;
|
||||||
import tk.ditservices.listeners.ChatEvents;
|
import tk.ditservices.listeners.ChatEvents;
|
||||||
import tk.ditservices.listeners.LogChat;
|
import tk.ditservices.listeners.LogChat;
|
||||||
@ -55,6 +55,7 @@ public final class DITSystem extends JavaPlugin implements CommandExecutor, List
|
|||||||
.setUserAgent(new UserAgentBuilder().addPluginNameAndVersion())
|
.setUserAgent(new UserAgentBuilder().addPluginNameAndVersion())
|
||||||
.checkEveryXHours(24)
|
.checkEveryXHours(24)
|
||||||
.checkNow();
|
.checkNow();
|
||||||
|
Metrics metrics = new Metrics(this, 15108);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DIT_initialize() {
|
private void DIT_initialize() {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
package tk.ditservices.utils;
|
package tk.ditservices.utils;
|
||||||
|
|
||||||
import tk.ditservices.DITLog;
|
|
||||||
import tk.ditservices.DITSystem;
|
import tk.ditservices.DITSystem;
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user