Add some generic constants - part 2


This patch fixes a compilation warning on MaxClients not being used, and replace these new constants in various places.
It would make more sense to use charsmax() where it has been replaced now, but this will be done later in another PR for all plugins.