KathyM has basically covered everything, but I'll add a few observations of my own. I've kept a royal plec for 11 years or so, and in terms of general care, it couldn't be an easier fish to own. It has lived in a hard and alkaline water aquarium with mbuna, and right now it's in soft and acid water with tetras and various other small fish. I haven't kept it in brackish water, but I have seen specimens that have been kept in very low-end brackish for many years without problems. I wouldn't recommend doing that myself, but it is indicative of the fact that these are basically tough fish.
Royal plecs are most delicate (i.e., liable to die) during the first few weeks of ownership. Make sure you buy a healthy specimen. Good indicators of overall health are the eyes (which must not be sunken) and the belly (which should not be hollow, i.e., concave). While it is possible to nurse these fish back to health, some simply don't recover, so it's perhaps just as well to pick a specimen that is in good condition.
These fish swim about as well as hippos, i.e., they don't swim at all. They merely barge through whatever they want, propelled by a gigantic tail fin but encumbered by massive body armour. In planted tanks, they destroy anything not firmly rooted. Talking of plants, while they will eat "crunchy" species like Amazon swords and giant hygrophila and destroy some plants like Anubias simply while grazing algae. Only keep these fish with soft plants large enough to resist distrubance but bendy enough not to be attractive to a royal plec looking for somewhere to graze. Examples of good plants to use with them are Vallisneria and water lillies. In my experience, Java ferns are uprooted when the royal plec eats the wood, and Java moss is simply destroyed.
As KathyM mentioned, diet for these fish is very specific: they need vegetables, algae discs, and wood, and only rarely things like catfish pellets. They can live indefinitely on a diet of wood because they digest the stuff, so provided there is wood in the tank, your fish won't starve. That said, they love courgette, spinach, lettuce, broccoli, carrot, and so on, and these should be provided 2-3 times a week. Once a week throw in some algae discs (there are various brands, specificially designed for algae-eating plecs). High-protein catfish pellets are a treat not a staple. Royal plecs given a high protein diet appear to die young.
You need a fairly decent filter for these fish, but that said, most of the "poop" is simply sawdust from their grazing of wood, and has zero effect on ammonium and nitrite levels. Simply arrange the water current to that the faeces get washed towards one of the front corners of the aquarium where you can siphon it out every so often.
Behaviour-wise, these fish are essentially shy but become quite tame. They are nocturnal, but in a tank with some shade (floating plants are ideal) they will forage during the daytime. If you put vegetable slices in the same part of the tank every day, the catfish will learn to feed there, and you can train it to come sit at the front of the tank while you are watching. They ignore other fish totally, with the exception perhaps of other plecs. Being heavily armoured and quite bullish when harassed, even aggressive cichlids leave them alone.
Lifespan is said to be at least 20 years.
Cheers,
Neale