Welcome to PenUltima Online. Click to login or register.

Functions:

CreateAccount( acctname, password, enabled )
Parameters:
Name Type
acctname string
password string
enabled integer (0 or 1)
Explanation
Creates a new player account with the specified account name, password.
Notes: If enabled == 0, player cannot log in.
Only accepts Alphanumeric characters for account name.
Passwords cannot contain whitespace or control characters.
Return values
Account Reference for the new account on success
Errors
"Account already exists"
"Invalid parameter type"
"Attempted to create account with non-alphanumeric characters."
"Attempted to use password in account creation with non-allowed characters."
Related
Account