• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

/ closeserver allow tutors

luciano01

New Member
Joined
Aug 6, 2017
Messages
33
Reaction score
1
how to make /closeserver prohibit the entry of players only, but let gods tutors enter?

Game.setGameState(GAME_STATE_CLOSED)
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Server is now closed.")

I need edit thia "GAME_STATE_CLOSED" does anyone know where it is?
Post automatically merged:

Or is it possible for me to free someone's ip to enter?
 
Last edited:
Players are allowed to join to closed server when they have FLAG AlwaysLogin.
It's limited by this line:
Flags you can calculate there (flag: Can always login ):

Flags are configured for groups (god, tutor etc.). They are loaded from file data/groups.xml or from database table groups (depends on server distro).
 
Back
Top