currently refactoring a lot
This commit is contained in:
parent
701a5ff620
commit
7fe7409a15
49 changed files with 856 additions and 767 deletions
|
|
@ -4,6 +4,7 @@ plugins {
|
|||
id("de.kentoj.scrow.scrow-repository")
|
||||
id("de.kentoj.scrow.base-dependencies")
|
||||
id("de.kentoj.scrow.java-library")
|
||||
id("de.kentoj.scrow.reactor")
|
||||
}
|
||||
|
||||
group = "de.kentoj.scrow"
|
||||
|
|
@ -23,9 +24,9 @@ dependencies {
|
|||
api("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT")
|
||||
|
||||
// http://forge.kentoj.de/scrow/-/packages/maven/de.kentoj.scrow:kencommandapi-core
|
||||
api("de.kentoj.scrow:kencommandapi-core:0.8")
|
||||
api("de.kentoj.scrow:kencommandapi-core:0.21")
|
||||
// http://forge.kentoj.de/scrow/-/packages/maven/de.kentoj.scrow:kencommandapi-velocity
|
||||
api("de.kentoj.scrow:kencommandapi-velocity:0.8")
|
||||
api("de.kentoj.scrow:kencommandapi-velocity:0.21")
|
||||
}
|
||||
|
||||
publishing {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
package de.kentoj.scrow.velocity;
|
||||
|
||||
import de.kentoj.kencommandapi.VelocityKenCommandApi;
|
||||
import de.kentoj.kencommandapi.CommandAPI;
|
||||
import de.kentoj.scrowlib.connection.DatabaseConnectionFactory;
|
||||
import de.kentoj.scrowlib.servermanager.ServerManager;
|
||||
import de.kentoj.scrowlib.servermanager.InstanceManager;
|
||||
import io.nats.client.Connection;
|
||||
import lombok.AccessLevel;
|
||||
import lombok.Getter;
|
||||
|
|
@ -16,14 +16,14 @@ public class ScrowAPI {
|
|||
@Getter
|
||||
private static DatabaseConnectionFactory dbConFactory;
|
||||
@Getter
|
||||
private static VelocityKenCommandApi commandApi;
|
||||
private static CommandAPI commandApi;
|
||||
@Getter
|
||||
private static Connection nats;
|
||||
@Getter
|
||||
private static ServerManager serverManager;
|
||||
private static InstanceManager instanceManager;
|
||||
|
||||
@ApiStatus.Internal
|
||||
public static void setCommandApi(VelocityKenCommandApi commandApi) {
|
||||
public static void setCommandApi(CommandAPI commandApi) {
|
||||
ScrowAPI.commandApi = commandApi;
|
||||
}
|
||||
|
||||
|
|
@ -33,8 +33,8 @@ public class ScrowAPI {
|
|||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
public static void setServerManager(ServerManager serverManager) {
|
||||
ScrowAPI.serverManager = serverManager;
|
||||
public static void setInstanceManager(InstanceManager instanceManager) {
|
||||
ScrowAPI.instanceManager = instanceManager;
|
||||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue