I am writing gameplay instructions in a class's java documentation. Is there a way that I can open up the documentation when the world runs so that a person can read them?
If you mean something like what this scenario does, then, well, yes; but it is not a command or method, it is a button actor (in one world) and a world subclass that displays a text file (in another world). You will need to add a '.txt' file to your scenario folder by opening up the '.java' class file and saving it in the same folder as a '.txt' file if you want an uploaded version to work properly (the '.java' files are not placed into the scenario folder on the site, but any extra '.txt' files will be placed there).