Closed TheStranjer closed 6 years ago
Thank you for the submission! The code itself is quite fine, but it highlighted an architectural flaw in the engine. This really isn't something that should have required you to make an engine change. I am restructuring that in the 0.17 release to put the client greeting into the login plugin instead.
I think that having multiple connect messages is neat, but I feel it's something that's best suited as an extra than part of the core release. Mainly because the setup screen in the web portal only supports editing connect.txt
and I don't think there's enough demand for this feature to warrant expanding that to multiple files.
So I added the snippet of how to do this to the Ares Extras repository, with due credit given.
The MUSH I'm writing is going to have multiple splash messages that get chosen randomly. I wrote the code for AresMUSH directly, however, instead of just doing it on my own fork exclusively.
Nothing needs to be changed. Any text files meeting the
game/text/connect*.txt
pattern, including the default one, register. So you cinan havegame/text/connect.txt
,game/text/connect1.txt
,game/text/connectstranjer.txt
, etc.There is no limit to the number of these you can add. Just adding more of these files to the directory automatically adds them upon the next reset.