This commit is contained in:
parent
84aa625eae
commit
7703df3976
3 changed files with 13 additions and 2 deletions
6
pom.xml
6
pom.xml
|
@ -149,6 +149,12 @@
|
||||||
<version>2.5.0</version>
|
<version>2.5.0</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>eu.m724</groupId>
|
||||||
|
<artifactId>mstats-spigot</artifactId>
|
||||||
|
<version>0.1.0</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jetbrains</groupId>
|
<groupId>org.jetbrains</groupId>
|
||||||
<artifactId>annotations</artifactId>
|
<artifactId>annotations</artifactId>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
package eu.m724.tweaks;
|
package eu.m724.tweaks;
|
||||||
|
|
||||||
|
import eu.m724.mstats.MStatsPlugin;
|
||||||
import eu.m724.tweaks.auth.AuthManager;
|
import eu.m724.tweaks.auth.AuthManager;
|
||||||
import eu.m724.tweaks.chat.ChatCommands;
|
import eu.m724.tweaks.chat.ChatCommands;
|
||||||
import eu.m724.tweaks.chat.ChatManager;
|
import eu.m724.tweaks.chat.ChatManager;
|
||||||
|
@ -21,13 +22,12 @@ import eu.m724.tweaks.sleep.SleepManager;
|
||||||
import eu.m724.tweaks.updater.UpdaterCommands;
|
import eu.m724.tweaks.updater.UpdaterCommands;
|
||||||
import eu.m724.tweaks.updater.UpdaterManager;
|
import eu.m724.tweaks.updater.UpdaterManager;
|
||||||
import eu.m724.tweaks.worldborder.WorldBorderManager;
|
import eu.m724.tweaks.worldborder.WorldBorderManager;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
public class TweaksPlugin extends JavaPlugin {
|
public class TweaksPlugin extends MStatsPlugin {
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
long start = System.nanoTime();
|
long start = System.nanoTime();
|
||||||
|
@ -99,6 +99,8 @@ public class TweaksPlugin extends JavaPlugin {
|
||||||
new AuthManager(this).init(getCommand("tauth"));
|
new AuthManager(this).init(getCommand("tauth"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mStats(1);
|
||||||
|
|
||||||
getLogger().info("Took %.3f milliseconds".formatted((System.nanoTime() - start) / 1000000.0));
|
getLogger().info("Took %.3f milliseconds".formatted((System.nanoTime() - start) / 1000000.0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,9 @@ api-version: 1.21.1
|
||||||
depend: [ProtocolLib]
|
depend: [ProtocolLib]
|
||||||
#softdepend: [voicechat]
|
#softdepend: [voicechat]
|
||||||
|
|
||||||
|
libraries:
|
||||||
|
- eu.m724:mstats-spigot:0.1.0
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
chat:
|
chat:
|
||||||
description: Chatroom user commands
|
description: Chatroom user commands
|
||||||
|
|
Loading…
Reference in a new issue