HytaleServer

public class HytaleServer

Class HytaleServer. Provides hytaleserver functionality for the Hytale server.

java.lang.Object > HytaleServer

Field Summary

pluginsProgress

private int pluginsProgress

Field pluginsProgress.

optionSet

final OptionSet optionSet

Field optionSet.

options

final SentryOptions options

Field options.

throwable

final Throwable throwable

Field throwable.

contexts

final Contexts contexts

Field contexts.

serverManager

final ServerManager serverManager

Field serverManager.

universe

final Universe universe

Field universe.

manifest2

final PluginManifest manifest2

Field manifest2.

hardwareUUID

final UUID hardwareUUID

Field hardwareUUID.

sin

final float sin

Field sin.

atan2

final float atan2

Field atan2.

shutdownHook

final Thread shutdownHook

Field shutdownHook.

universe2

final Universe universe2

Field universe2.

loadAssetEvent

final LoadAssetEvent loadAssetEvent

Field loadAssetEvent.

reasons

final List reasons

Field reasons.

join

final String join

Field join.

tags

final List tags

Field tags.

bootCommands

final List bootCommands

Field bootCommands.

border

final String border

Field border.

shutdownThread

final Thread shutdownThread

Field shutdownThread.

plugins

final List plugins

Field plugins.

progress

final double progress

Field progress.

reason

final ShutdownReason reason

Field reason.

Method Detail

HytaleServer

public public HytaleServer ()

Method HytaleServer.

EventBus

public new EventBus (Options.getOptionSet()

Method EventBus.

Parameters:
Options.getOptionSet( Options.getOptionSet(

if

public else if (!optionSet.has(Options.DISABLE_SENTRY)

Method if.

Parameters:
!optionSet.has(Options.DISABLE_SENTRY !optionSet.has(Options.DISABLE_SENTRY

Thread

public new Thread (()

Method Thread.

Parameters:
( (

getEventBus

public EventBus getEventBus ()

Method getEventBus.

getPluginManager

public PluginManager getPluginManager ()

Method getPluginManager.

getCommandManager

public CommandManager getCommandManager ()

Method getCommandManager.

getConfig

public HytaleServerConfig getConfig ()

Method getConfig.

boot

private void boot ()

Method boot.

LoadAssetEvent

public new LoadAssetEvent (this.bootStart)

Method LoadAssetEvent.

Parameters:
this.bootStart this.bootStart

reason

public d reason (s)

Method reason.

Parameters:
s s

shutdownServer

public void shutdownServer ()

Method shutdownServer.

shutdown0

public void shutdown0 (@Nonnull final ShutdownReason reason)

Method shutdown0.

Parameters:
@Nonnull final ShutdownReason reason

doneSetup

public void doneSetup (final PluginBase plugin)

Method doneSetup.

Parameters:
final PluginBase plugin

doneStart

public void doneStart (final PluginBase plugin)

Method doneStart.

Parameters:
final PluginBase plugin

doneStop

public void doneStop (final PluginBase plugin)

Method doneStop.

Parameters:
final PluginBase plugin

sendSingleplayerProgress

public void sendSingleplayerProgress ()

Method sendSingleplayerProgress.

getServerName

public String getServerName ()

Method getServerName.

isBooting

public boolean isBooting ()

Method isBooting.

isBooted

public boolean isBooted ()

Method isBooted.

isShuttingDown

public boolean isShuttingDown ()

Method isShuttingDown.

getBoot

public Instant getBoot ()

Method getBoot.

getBootStart

public long getBootStart ()

Method getBootStart.

getShutdownReason

public ShutdownReason getShutdownReason ()

Method getShutdownReason.

sendSingleplayerSignal

private void sendSingleplayerSignal (final String message)

Method sendSingleplayerSignal.

Parameters:
final String message

reportSingleplayerStatus

public void reportSingleplayerStatus (final String message)

Method reportSingleplayerStatus.

Parameters:
final String message

reportSaveProgress

public void reportSaveProgress (@Nonnull final World world, final int saved, final int total)

Method reportSaveProgress.

Parameters:
@Nonnull final World world
final int saved
final int total

get

static HytaleServer get ()

Method get.