RemoteCommandInterface r = (RemoteCommandInterface) Class.forName("commands." + thisFile).newInstance();
So, implement an interface that the bot is aware of, and then use Class.forName(pkgName " + "." + className + ".class").newInstance(); and typecast it back to that interface? Sweet. I was just looking at the packet stuff and forgot about the commands.
PS: Sorry for insulting your coding style with the overintwined comment at the beginning. =p