diff --git a/src/main/java/eu/m724/tweaks/TweaksPlugin.java b/src/main/java/eu/m724/tweaks/TweaksPlugin.java index 5462ddf..c5c4530 100644 --- a/src/main/java/eu/m724/tweaks/TweaksPlugin.java +++ b/src/main/java/eu/m724/tweaks/TweaksPlugin.java @@ -11,6 +11,7 @@ import eu.m724.tweaks.auth.AuthManager; import eu.m724.tweaks.chat.ChatCommands; import eu.m724.tweaks.chat.ChatManager; import eu.m724.tweaks.door.DoorManager; +import eu.m724.tweaks.full.FullListener; import eu.m724.tweaks.hardcore.HardcoreManager; import eu.m724.tweaks.motd.MotdManager; import eu.m724.tweaks.ping.F3NameListener; @@ -99,6 +100,8 @@ public class TweaksPlugin extends MStatsPlugin { new AuthManager(this).init(getCommand("tauth")); } + this.getServer().getPluginManager().registerEvents(new FullListener(), this); + if (config.metrics()) mStats(1); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index ddaf0f4..0495773 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -43,4 +43,6 @@ permissions: default: op tweaks724.tauth: default: op + tweaks724.full.exempt: + default: op