There are several things you can configure about character logins.
Table of Contents
To configure the Connect Screen:
The connect screen can contain all the usual MUSH formatting codes (including color!), but you don’t need to put in %r for linebreaks or %b for spaces. The game will respect what’s in the file as it appears.
By default, the game will present a Terms of Service file to new users. You can disable this by setting
use_terms_of_service, as explained below.
If your TOS is long, it's recommended that you just link to a wiki/web page rather than spamming new players with a giant wall of text.
To configure the Terms of Service:
The TOS can contain all the usual MUSH formatting codes, but you don’t need to put in %r for linebreaks. The game will respect what’s in the file.
If you ever make important changes to the terms of service, you probably want to force existing characters to read them again. To do this, use the
tos/reset command in-game. Everyone will be forced to acknowledge the new terms of service the next time they log in.
To configure the rest of the Login plugin:
The default behavior allows players to create their characters right from the login screen. You might want to disable this if you have a roster-only game or require email registration or an invitation.
Allowing creation from the web portal is a different setting, `allow_web_registration`, described below.
To disable character creation from the login screen:
creation_not_allowed_message. If no message is set, players will just see a generic message.
By default, players can create characters from the Web Portal. If you wish to lock this down, you can set
false. If you allow web registration, be sure to configure Recapta to prevent bots, as explained below.
Set this to
true if you want to require people to log in before they can access the Web Portal at all. Often coupled with
allow_web_registration to require people to create a character from the game itself instead of registering on the Web Portal.
During development, maintenance, or other special times, you might want to disable player logins. You can do this by controlling which roles have the ‘login’ permission. By default, this permission is assigned to the ‘everyone’ role, meaning all characters can log in.
The system looks for characters with the role set in
guest_role when finding a guest character. If you don’t want to allow guests, set that role to blank. You can also optionally set
guest_disabled_message to explain why guests are disabled.
You can disable the terms of service completely by setting
use_terms_of_service to false.
This cron job controls when the login activity tracker is updated. By default it’s hourly. You shouldn’t change this.
This cron job controls how often the site blacklist is updated. By default it’s bi-monthly. You shouldn’t need to change this.