Added GameMode methods to Server and HumanEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
42235114ca
commit
a3154f3ffc
3 changed files with 47 additions and 0 deletions
|
|
@ -441,4 +441,18 @@ public interface Server {
|
|||
* @return Set containing banned players
|
||||
*/
|
||||
public Set<OfflinePlayer> getBannedPlayers();
|
||||
|
||||
/**
|
||||
* Gets the default {@link GameMode} for new players
|
||||
*
|
||||
* @return Default game mode
|
||||
*/
|
||||
public GameMode getDefaultGameMode();
|
||||
|
||||
/**
|
||||
* Sets the default {@link GameMode} for new players
|
||||
*
|
||||
* @param mode New game mode
|
||||
*/
|
||||
public void setDefaultGameMode(GameMode mode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue