public void closeServer() {
		try {
			for(int k=0;k!=this.updater.classic_sockets.size();k++) {
				if(k>=this.updater.classic_sockets.size()) {
					break;
				}
				this.updater.classic_sockets.get(k).sendDisconnectPacket("Server closed");
			}
			if(this.socket!=null && !this.socket.isClosed()) {
				this.socket.close();
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}