A complete template to create your minecraft launcher
Inspired from Litarvan
Clone the project simply in your IDE (I used IntelliJ IDEA) Then modify some constants found in the class file 'Config.java'. Finally, replace the textures with your own.
AuthMineweb : Allows you to use the login system of your site using the MineWeb CMS
Jasypt : Allow you to encrypt texts
Java Discord RPC : Allows you to activate the rich presence discord in your launcher
OpenAuth : Allows you to use the mojang login system
Swinger, Supdate, OpenlauncherLib : Allow you to create your launcher
You must use S-Update server.
You can get it there : https://github.com/Litarvan/S-Update-Server
By default, the source code use the Mojang login
You can find a nice tutorial there : AuthMineweb documentation
You have to edit the auth method (into LauncherManager:92) to :
public static void auth(String username, String password) {
authInfos = new AuthInfos(username, "", "");
}and remove the try/catch exception (into LauncherPanel:184) :
LauncherManager.auth(usernameField.getText(), null);Don't forget to remove the password field !
You can get help there : YouTube (FR)
You can use and redistribute this code as you wish