Skip to content

Minecraft Launcher for JPHP with Updates and Mojang Launcher Meta

License

Notifications You must be signed in to change notification settings

koso-group/jphp-minecraft-launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Launcher for JPHP DevelNext

jphp-minecraft-launcher

Minecraft Launcher module for parse and run classic version.json from Mojang LAUNCHERMETA

Featuers ✨Magic ✨

  • Run Minecraft
  • Spoofing META URL's
  • Download and Update resources

Getting Started ✨Magic ✨

  • add "ZIP 1.0" package to project
  • insert files to 'kosogroup/minecraft/launcher/core' to SRC root
  • copy this code
  • Enjoy!
<?php

use kosogroup\minecraft\launcher\core\TrophyLauncher;
use kosogroup\minecraft\launcher\core\TrophyVersion;

//TrophyVersion::DeployMeta("https://launchermeta.minetrophy.ru");

$launchOptions = array(
    'url' => array (
        'meta' =>       'https://launchermeta.mojang.com',
        'resource' =>   'https://resources.download.minecraft.net'
    ),
    //'javaPath' => 'javaw',
    'launcherPath' =>   './minecraft',
    'version' => array(
        //'jsonDownload' => false,
        'number' =>     '1.16.5',
        'type' =>       'release'
    ),
    'auth' => array(
        'username' =>   'meatsuko',
        'uuid' =>       'meatsuko',
        'token' =>      'shalala',
        'type' =>       'trophy',
    ),
    //'detached' => false,
    'memory' => array(
        'min' =>        '8G',
        'max' =>        '32G'
    )
);

(new TrophyLauncher())->launch($launchOptions);

About

Minecraft Launcher for JPHP with Updates and Mojang Launcher Meta

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages