2017 © Pedro Peláez
 

library mas

Auth server for minecraft client

image

exitialis/mas

Auth server for minecraft client

  • Monday, March 6, 2017
  • by Exitialis
  • Repository
  • 2 Watchers
  • 0 Stars
  • 67 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

Minecraft auth service

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads, (*1)

The package designed for your site integration with your minecraft client. The package includes the following features:, (*2)

  • Authenticate users from your site, which can work on engines, like WordPress or DLE.
  • Skins and cloaks system for users.
  • Default skins and cloaks for all users on your server, that don't have their own.

Required

  • Install Laravel.
  • Configure connection to MySQL in Laravel.

Installation

Add the mas package to your composer.json file., (*3)

``` json { "require": { "exitialis/mas": "1.0.*" } }, (*4)


Or via the command line in the root of your Laravel installation. DON'T USING ROOT USER! ``` bash $ composer require "exitialis/mas"

Add to your config/app.php file in Laravel., (*5)

'providers' => [
        .....
         /*
         * Package Service Providers...
         */
        Exitialis\Mas\MasServiceProvider::class,
        .....
]

Via the command line in the root of your Laravel installation., (*6)

``` bash $ php artisan migrate $ php artisan vendor:publish, (*7)


PROFIT :) Usage ----- Edit your file `config/mas.php` under CMS DLE or WordPress. DLE:
/**
 * Available hashes:
 * wp, dle
 */
'hash' => 'dle', 

'repositories' => [
    'user' => [
        'login_column' => 'name',
        'password_column' => 'password',
        'table_name' => 'dle_users',
        'key' => 'user_id',
    ],
],
WP:
/**
 * Available hashes:
 * wp, dle
 */
'hash' => 'wp',

'repositories' => [
    'user' => [
        'login_column' => 'user_login',
        'password_column' => 'user_pass',
        'table_name' => 'bjsvyp8zhw_users',
        'key' => 'ID',
    ],
],
Create folders in the folder `public` of your Laravel installation:

- textures/cloak
- textures/skin
- cache
- clients/hash
- clients/{NAME_CLIENTS} (HiTech, Sandbox, Assets, Java, Etc)

Testing
-------

``` bash
$ phpunit

The Versions

06/03 2017

dev-master

9999999-dev https://github.com/exitialis/mas

Auth server for minecraft client

  Sources   Download

GNU GPL V3

The Requires

 

The Development Requires

by Avatar Exitialis

06/03 2017
23/01 2017
01/09 2016
31/08 2016
30/08 2016
29/08 2016
28/08 2016
28/08 2016
25/08 2016

0.1.1

0.1.1.0 https://github.com/exitialis/mas

Auth server for minecraft client

  Sources   Download

GNU GPL V3

The Requires

 

by Avatar Exitialis

25/08 2016

0.1.0

0.1.0.0 https://github.com/exitialis/mas

Auth server for minecraft client

  Sources   Download

GNU GPL V3

The Requires

 

by Avatar Exitialis