public class HytaleServer
Class HytaleServer. Provides hytaleserver functionality for the Hytale server.
java.lang.Object > HytaleServer
Field Summary
pluginsProgress
Field pluginsProgress.
optionSet
Field optionSet.
options
Field options.
throwable
Field throwable.
contexts
Field contexts.
serverManager
Field serverManager.
universe
Field universe.
manifest2
Field manifest2.
hardwareUUID
Field hardwareUUID.
sin
Field sin.
atan2
Field atan2.
shutdownHook
Field shutdownHook.
universe2
Field universe2.
loadAssetEvent
Field loadAssetEvent.
reasons
Field reasons.
join
Field join.
tags
Field tags.
bootCommands
Field bootCommands.
border
Field border.
shutdownThread
Field shutdownThread.
plugins
Field plugins.
progress
Field progress.
reason
Field reason.
Method Detail
HytaleServer
public
HytaleServer
()
Method HytaleServer.
EventBus
new
EventBus
(Options.getOptionSet()
Method EventBus.
- Parameters:
Options.getOptionSet(Options.getOptionSet(
if
else
if
(!optionSet.has(Options.DISABLE_SENTRY)
Method if.
- Parameters:
!optionSet.has(Options.DISABLE_SENTRY!optionSet.has(Options.DISABLE_SENTRY
Thread
new
Thread
(()
Method Thread.
- Parameters:
((
boot
void
boot
()
Method boot.
LoadAssetEvent
new
LoadAssetEvent
(this.bootStart)
Method LoadAssetEvent.
- Parameters:
this.bootStartthis.bootStart
reason
d
reason
(s)
Method reason.
- Parameters:
ss
shutdownServer
void
shutdownServer
()
Method shutdownServer.
sendSingleplayerProgress
void
sendSingleplayerProgress
()
Method sendSingleplayerProgress.
getServerName
String
getServerName
()
Method getServerName.
isBooting
boolean
isBooting
()
Method isBooting.
isBooted
boolean
isBooted
()
Method isBooted.
isShuttingDown
boolean
isShuttingDown
()
Method isShuttingDown.
getBoot
Instant
getBoot
()
Method getBoot.
getBootStart
long
getBootStart
()
Method getBootStart.
sendSingleplayerSignal
void
sendSingleplayerSignal
(final String message)
Method sendSingleplayerSignal.
- Parameters:
final Stringmessage
reportSingleplayerStatus
void
reportSingleplayerStatus
(final String message)
Method reportSingleplayerStatus.
- Parameters:
final Stringmessage
reportSaveProgress
void
reportSaveProgress
(@Nonnull final World world, final int saved, final int total)
Method reportSaveProgress.
- Parameters:
@Nonnull final Worldworldfinal intsavedfinal inttotal