@SuppressWarnings("deprecation")
	public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
		if (cmd.getName().equalsIgnoreCase("dm")) {
			Player p = (Player) sender;
		    if (args.length == 0){
		    	p.sendMessage(Prefix + "Plugin by DragonSephHD(Peace1333)");
		    }

		    if (args.length == 2){
		    	if(args[0].equalsIgnoreCase("setRespawn")){
		    		Config.setRespawnBlock(args[1], p.getTargetBlock(null, 30).getLocation());
		    		rb.put(p.getTargetBlock(null, 30).getLocation(), args[1]);
			    	p.sendMessage(Prefix + "Respawnblock gesetzt");
		    	}
		    }
		    	if(args[0].equalsIgnoreCase("join")){
		    		players.add(p);
		    		String Team = null;
		    		Team = tm.addPlayer(p);
		    		playerTeam.put(p, Team);
			    	p.sendMessage(Prefix + "Du bist DragonMode beigetreten");
			    	p.sendMessage(Prefix + "Team: §c" + Team);
		    	}
		    	if(args[0].equalsIgnoreCase("leave")){
		    		players.remove(p);
		    		playerTeam.remove(p);
			    	p.sendMessage(Prefix + "Du hast DragonMode verlassen");
		    	}
		}
		return true;
	}