Class MinecraftServerConnection
java.lang.Object
org.tywrapstudios.ctd.platform.impl.MinecraftServerConnection
- All Implemented Interfaces:
org.tywrapstudios.krafter.platform.services.IMinecraftServerConnection
public class MinecraftServerConnection
extends Object
implements org.tywrapstudios.krafter.platform.services.IMinecraftServerConnection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbroadcast(@NotNull org.tywrapstudios.krafter.api.discord.McMessage message) voidbroadcastPlain(@NotNull String message) static voidinit(@NotNull net.minecraft.server.MinecraftServer server)
-
Constructor Details
-
MinecraftServerConnection
public MinecraftServerConnection()
-
-
Method Details
-
init
public static void init(@NotNull @NotNull net.minecraft.server.MinecraftServer server) -
broadcast
public void broadcast(@NotNull @NotNull org.tywrapstudios.krafter.api.discord.McMessage message) - Specified by:
broadcastin interfaceorg.tywrapstudios.krafter.platform.services.IMinecraftServerConnection
-
broadcastPlain
- Specified by:
broadcastPlainin interfaceorg.tywrapstudios.krafter.platform.services.IMinecraftServerConnection
-