func Pause() {
	if !serverPaused {
		serverPaused = true
		clientResp := helpers.MakeClientResponse(helpers.ClientActionLogout, nil, helpers.NoError())
		usersMux.Lock()
		for _, user := range users {
			user.mux.Lock()
			for connID, conn := range user.conns {
				currRoom := conn.room
				if currRoom != nil && currRoom.Name() != "" {
					user.mux.Unlock()
					currRoom.RemoveUser(user, connID)
					user.mux.Lock()
				}
				conn.clientMux.Lock()
				if *(conn.user) != nil {
					*(conn.user) = nil
				}
				conn.clientMux.Unlock()
				conn.socket.WriteJSON(clientResp)
			}
			user.mux.Unlock()
		}
		users = make(map[string]*User)
		usersMux.Unlock()
	}
}
////////////////////////////////////////////////////////////////////////////////////////////////////
SERVER PAUSE AND RESUME   ///////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
Pause is only for internal Gopher Game Server mechanics.
package core
import (
	"github.com/hewiefreeman/GopherGameServer/helpers"
)
var (
	serverStarted bool
	serverPaused  bool
	serverName        string
	kickOnLogin       bool
	sqlFeatures       bool
	rememberMe        bool
	multiConnect      bool
	maxUserConns      uint8
	deleteRoomOnLeave bool = true
)
type RoomRecoveryState struct {
	T string                  
	P bool                    
	O string                  
	M int                     
	I []string                
	V map[string]interface{}  
}
func SetServerStarted(val bool) {
	if !serverStarted {
		serverStarted = val
	}
}
func SettingsSet(kickDups bool, name string, deleteOnLeave bool, sqlFeat bool, remMe bool, multiConn bool, maxConns uint8) {
	if !serverStarted {
		kickOnLogin = kickDups
		serverName = name
		sqlFeatures = sqlFeat
		rememberMe = remMe
		multiConnect = multiConn
		maxUserConns = maxConns
		deleteRoomOnLeave = deleteOnLeave
	}
}