Package net.notcoded.codelib.util.server
Class ServerUtils
java.lang.Object
net.notcoded.codelib.util.server.ServerUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfirstTick(net.minecraft.server.MinecraftServer server) static voidrunCommand(String command) Runs a command as the server (console).static voidrunCommands(ArrayList<String> commands) Runs multiple commands as the server (console).
-
Constructor Details
-
ServerUtils
public ServerUtils()
-
-
Method Details
-
firstTick
public static void firstTick(net.minecraft.server.MinecraftServer server) -
runCommand
Runs a command as the server (console).- Parameters:
command- The command.
-
runCommands
Runs multiple commands as the server (console).- Parameters:
commands- The commands.
-