FabricServer class
- Implemented types
Properties
-
onStdErr
↔ List<
void Function(String)> -
read / write, override
-
onStdOut
↔ List<
void Function(String)> -
read / write, override
- process ↔ Process
-
read / write, override
- properties ↔ DartMcLauncherFabricProperties
-
read / write, override-getter
- running → bool
-
Is the server running at the moment?
read-only, override
- server_properties ↔ ServerProperties
-
read / write, override-getter
- serverdir ↔ String
-
read / write, override-getter
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
executeCommand(
String cmd) → Future< FabricServer> -
override
-
start(
) → Future< FabricServer> -
override
-
stop(
) → Future< FabricServer> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Methods
-
create(
String serverdir, { String fabric_version, String minecraft_version, bool defaultEula: false }) → Future< FabricServer> -
install(
String serverdir, { String fabric_version, String minecraft_version, String installer_version, bool downloadMinecraft: true, bool eula: false }) → Future< FabricServer> - Install a fabric server instance