manaweb connectors

What is a Manaweb Connector?

The Manaweb Connector is a package of methods provided by Manaweb to allow foreign applications to access data of the running the Mana server. A common example is a list of online users that are currently connected to the server. Manaweb is able to deliver the data in different formats to be as open as possible for all kinds of applications, e.g. plain text or XML.

FAQ

How can I connect to the Connector?

There is no public installation of the Account Manager respective the connector. If you set up an installation of your own, just navigate your browser to the main page of Manaweb and add a "index.php/connector/" to the URL. The URL might look like this: http://localhost/manaweb/index.php/connector/.

This is the root URL of the connector. Now you have to extend the URL with the name of the connector function you want to execute, e.g. onlineuser which will give you this URL: http://localhost/manaweb/index.php/connector/onlineuser/

Some methods might need input parameters or support different output formats. All parameters have to be added with a "/" to the URL, like the method name.

Method Specification

List of online users (onlineuser)

This will give you a list of all users online with a character.

Parameters

Output format: * plain * (default) a plain text file with one character name per line: * name * name2 * ...

<users>
  <user name="[string]"
        gender="[number]"
        map="[number]"
        login_timestamp="[number]"
        login_date="[string]" />
  <user ...>
</users>

Usage

The output format of the onlineuser module is specified like so: connector/onlineuser/[plain|xml|csv]