mb.PlayerSave

by Ebonshadow
Add a customizable startup screen to your MUD with a saving/loading system as well. [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Ebonshadow.mb.PlayerSave##version=3

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Ebonshadow.mb.PlayerSave##version=3

1784 downloads
Version 3
Date added: Jul 13 2002
Last updated: Jul 29 2009
2 fans
This library is used to create a start screen for your MUD as well as create a player saving system. Players will be saved when they logout or whenever mob.mb_Save() is called. You can use mb_Save() to save and mb_Load() to load. The startup screen is stored in MOTD.txt, so just edit that to change the startup. If you want other stuff to happen after the user logs in, override this proc: mob.mb_loggedin() After a player first creates his character, mob.mb_createcharacter() is called. Override this proc with your character creation code.

Version 3:
Fixed a bug which cause the program to go into a loop when a player responded "no" to "Is that really your character's name?"
Added mob.mb_checkname(), which allows you to prevent players from using certain names.