Download the PHP package lukasss93/minecraft-premium-account-checker without Composer
On this page you can find all versions of the php package lukasss93/minecraft-premium-account-checker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lukasss93/minecraft-premium-account-checker
More information about lukasss93/minecraft-premium-account-checker
Files in lukasss93/minecraft-premium-account-checker
Package minecraft-premium-account-checker
Short Description PHP library to check if a Minecraft account is Premium
License MIT
Informations about the package minecraft-premium-account-checker
Minecraft Premium Account Checker
This library can be used to check if an Minecraft account is premium.
⚠ This library doesn't work with a Microsoft Accounts ⚠
⚠ Warning: making too many request in a short period of time, the webserver IP will be temporary banned (about 15min) from Mojang API.
Requirements
- PHP >= 5.6
Installation
You can install this library with composer:
composer require lukasss93/minecraft-premium-account-checker
Using
Input
The check() method has 2 parameters:
| # | Parameter | Type | Description |
|---|---|---|---|
| 1 | username | string | Minecraft account username (or email if Mojang account) |
| 2 | password | string | Minecraft account password |
Output
The check() method returns an object with the following properties:
| Property | Type | Description |
|---|---|---|
| premium | bool | Returns true if the account is premium, otherwise false |
| error | string | Returns an error message |
| username | string | Returns the entered username |
| correct_username | string | Returns the in-game username |
| uuid | string | Returns the account UUID |
| created_at | integer | Returns the creation timestamp account |
| raw | array | Returns the original response from the API |
You can use the toArray() method after check() method to get the properties as an array.
I assume no liability for any theft of Minecraft Accounts.
Changelog
All notable changes to this project will be documented here.