public void sendText(String text){
		try {
			if(this.sendAllJson){
				if(text.length() >= 3 && text.substring(0, 3).equals("ERR")){
					text = "{\"ok\":false,\"message\":\"" + text + "\"}";
				}
				else if(text.equals("Welcome to Bukkit, please authenticate.")){
					text = "{\"ready_for_auth\":true}";
				}
				else if(text.equals("Authenticated!")){
					text = "{\"authed\":true}";
				}
				else if(text.equals("OK")){
					text = "{\"ok\":true}";
				}
				else if(text.substring(0, 1).equals("{") == false){
					text = "{\"message\":\"" + text + "\"}";
				} 
			}
			this.outToClient.writeBytes(text + "\r\n");
			Misc.println("[Socket] Sent: \"" + text + "\" to " + ThreadID + ".");
		} catch (IOException e) {
			Misc.servere(e.toString());
		}
	}