Login System

This login system works by sending the relevant information to php scripts on your server, which then send it to the MySQL database.

Installation

You can download and import Login System through the Module Manager. Please check the Changelog and Dependencies for version specific installation requirements.

MySQL Databases allow you to store lots of information in an easy to access manner. The databases themselves are not easily read by humans. To use a database, you’ll need to create it. Only MySQL Users that have privileges to access a database can read from or write to that database.

You should follow the instructions from your hosting provider on how to create a database, because it can vary. After you created the database and have setuped a user granded with previleges, you can start to import the .sql script that is included in the php folder. Most hosting provider have a tool called phpMyAdmin. This tool allows you to easily import tables to your database. In the top menu there is a button “Import”, clicking on it will give you all information that are required to import the sql script.

The next step is to upload the php scripts and the crossdomain.xml file. Please note that the crossdomain.xml file needs to be in the root folder. Before you can run your game, you should fill out the config.php file with the created database information and setup the paths in the editor.

Core Concepts

Windows
The Login, Registration and Recover Password windows serve as a communication interface between user and server. Think about them like a form, where the user has to enter his data and get back a response displayed from server.

Login Manager
The Login Manager has all information about your configurations and handles the actual communication to php scripts.

Editor

The Login System Editor can be accessed through Tools > Devion Games > Login System > Configurations.

  • (A) Configuration Toolbar
    The configurations are devided into Default, Server, UI and Notifications.
  • (B) Coniguration Settings
    Here you can enter the information about your server and preferences/settings for unity.