Add isHardcore API to check if the server is in hardcore mode or not. Adds BUKKIT-2707
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
@ -475,6 +475,13 @@ public interface Server extends PluginMessageRecipient {
|
||||
*/
|
||||
public boolean getAllowFlight();
|
||||
|
||||
/**
|
||||
* Gets whether the server is in hardcore mode or not.
|
||||
*
|
||||
* @return Whether this server is in hardcore mode or not.
|
||||
*/
|
||||
public boolean isHardcore();
|
||||
|
||||
/**
|
||||
* Gets whether to use vanilla (false) or exact behaviour (true).
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user