Difference between revisions of "API"
Jump to navigation
Jump to search
(No difference)
|
Revision as of 17:42, 16 December 2005
Basics
- XML-RPC
- HTTP Basic authentication
- Sessions are supported
Information
- struct playerlist()
- Returns an associative array containing the list of players.
- struct characterlist()
- Returns an associative array containing the list of characters.
Management
- bool newplayer(Name,EMail,passhash,adminhash)
- Creates a new player account. Note that both password and adminpassword are md5 hashes, the actual passwords should never be sent over the network. Returns true/false for success/failure.
- bool deleteplayer(adminhash)
- Deletes player account. Returns true/false for success/failure.