public class LANDiscoveryPlugin extends JavaPlugin
The main plugin class for Landiscovery. This plugin provides gameplay features for the Hytale server. Extend this class to create a plugin.
java.lang.Object > JavaPlugin > LANDiscoveryPlugin
Field Summary
lanDiscoveryThread
private
LANDiscoveryThread
lanDiscoveryThread
Field lanDiscoveryThread.
Method Detail
setup
protected
void
setup
()
Method setup.
LANDiscoveryCommand
public
new
LANDiscoveryCommand
()
Method LANDiscoveryCommand.
start
protected
void
start
()
Method start.
shutdown
protected
void
shutdown
()
Method shutdown.
setLANDiscoveryEnabled
public
void
setLANDiscoveryEnabled
(final boolean enabled)
Method setLANDiscoveryEnabled.
- Parameters:
final booleanenabled
if
public
else
if
(enabled && this.lanDiscoveryThread == null)
Method if.
- Parameters:
enabled && this.lanDiscoveryThread ==null
LANDiscoveryThread
public
new
LANDiscoveryThread
()
Method LANDiscoveryThread.
isLANDiscoveryEnabled
public
boolean
isLANDiscoveryEnabled
()
Method isLANDiscoveryEnabled.
getLanDiscoveryThread
Method getLanDiscoveryThread.