setJoinable

public void setJoinable(boolean value)

Set the joinable variable if the value param is passed as 'false' then all players will be kicked and the server won't be able to be joined.

Parameters

value

boolean