private String buildRegistrationString(CommandInfo ci) {
		String str = new String(ci.command.command());
		
		// add who can execute us
		if(ci.command.consoleOnly()) {
			str += ":c";
		}
		else if(ci.command.playerOnly()) {
			str += ":p";
		}
		else {
			str += ":b";
		}
		
		// now add our arguments
		Class<?>[] parameterTypes = ci.method.getParameterTypes();
		for(int i = 1; i < parameterTypes.length; i++) {
			if(parameterTypes[i] == int.class) {
				str += ":i";
			}
			else if(parameterTypes[i] == float.class) {
				str += ":f";
			}
			else if(parameterTypes[i] == String.class) {
				str += ":s";
			}
			else if(parameterTypes[i] == String[].class) {
				str += ":sa";
			}
		}
		
		return str;
	}