Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
052592cff6 | |||
f5dfca5f72 |
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>net.t2code</groupId>
|
<groupId>net.t2code</groupId>
|
||||||
<artifactId>T2C-OPSecurity</artifactId>
|
<artifactId>T2C-OPSecurity</artifactId>
|
||||||
<version>3.1.1</version>
|
<version>3.1.3</version>
|
||||||
|
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.t2code</groupId>
|
<groupId>net.t2code</groupId>
|
||||||
<artifactId>T2CodeLib</artifactId>
|
<artifactId>T2CodeLib</artifactId>
|
||||||
<version>14.4</version>
|
<version>15.0</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
||||||
|
@@ -8,7 +8,7 @@ public class Util {
|
|||||||
private static String infoText = "";
|
private static String infoText = "";
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private static String requiredT2CodeLibVersion = "14.4";
|
private static String requiredT2CodeLibVersion = "15.0";
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private static String prefix = "§8[§4T2C§8-§2OP§4Security§8]";
|
private static String prefix = "§8[§4T2C§8-§2OP§4Security§8]";
|
||||||
|
@@ -9,9 +9,12 @@ import net.t2code.opsecurity.events.Events;
|
|||||||
import net.t2code.opsecurity.events.OpCommand;
|
import net.t2code.opsecurity.events.OpCommand;
|
||||||
import net.t2code.opsecurity.events.PlugManCommand;
|
import net.t2code.opsecurity.events.PlugManCommand;
|
||||||
import net.t2code.opsecurity.check.Timer;
|
import net.t2code.opsecurity.check.Timer;
|
||||||
|
import net.t2code.t2codelib.SPIGOT.api.messages.T2Csend;
|
||||||
import net.t2code.t2codelib.SPIGOT.api.messages.T2Ctemplate;
|
import net.t2code.t2codelib.SPIGOT.api.messages.T2Ctemplate;
|
||||||
import net.t2code.t2codelib.SPIGOT.api.register.T2Cregister;
|
import net.t2code.t2codelib.SPIGOT.api.register.T2Cregister;
|
||||||
import net.t2code.t2codelib.SPIGOT.api.update.T2CupdateAPI;
|
import net.t2code.t2codelib.SPIGOT.api.update.T2CupdateAPI;
|
||||||
|
import net.t2code.t2codelib.SPIGOT.system.config.config.SelectLibConfig;
|
||||||
|
import org.bukkit.Bukkit;
|
||||||
import org.checkerframework.checker.units.qual.C;
|
import org.checkerframework.checker.units.qual.C;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -38,7 +41,10 @@ public class Load {
|
|||||||
T2Cregister.listener(new OpCommand(), plugin);
|
T2Cregister.listener(new OpCommand(), plugin);
|
||||||
T2Cregister.listener(new PlugManCommand(), plugin);
|
T2Cregister.listener(new PlugManCommand(), plugin);
|
||||||
T2Cregister.listener(new Events(), plugin);
|
T2Cregister.listener(new Events(), plugin);
|
||||||
|
if (SelectLibConfig.getBungee()) {
|
||||||
|
Bukkit.getMessenger().registerOutgoingPluginChannel(plugin, "t2c:opsec");
|
||||||
|
T2Csend.debug(plugin, "registerIncomingPluginChannel §et2c:opsec");
|
||||||
|
}
|
||||||
Timer.refreshTimer();
|
Timer.refreshTimer();
|
||||||
Permissions.register();
|
Permissions.register();
|
||||||
T2CupdateAPI.onUpdateCheck(plugin, Util.getPrefix(),Util.getGit(),Util.getSpigotID(),Util.getDiscord(), Config.updateCheckOnJoin.valueBoolean,
|
T2CupdateAPI.onUpdateCheck(plugin, Util.getPrefix(),Util.getGit(),Util.getSpigotID(),Util.getDiscord(), Config.updateCheckOnJoin.valueBoolean,
|
||||||
|
Reference in New Issue
Block a user