Alt File - Workinq/Alt-Logging GitHub Wiki
To use the alt logging script, you're going to need to create a file which the script can read alts from. How my script works is it reads a file line by line and executes the code in that line, this means you could use the script for more than just alt logging but, for now I'm just going to show you how to set up the file so it reads your alts.
Throughout this tutorial, my alt file is going to be called alts.txt
. To create the file, you can use a text editor on your PC such as Notepad++, use WinSCP or just create the text file on your server using a text editor such as nano.
This is the format you should adopt when adding alts:
mono MinecraftClient.exe email password server
mono
- this is a dependency which the script installs, it allows .exe applications to be executed in Linux.MinecraftClient.exe
- this is the console client which is also downloaded by the script.email
- this needs to be the email (or username) for the account which you want to add.password
- this is the password for the account you want to add.server
- this is the IP for the server you want to add, make sure it's valid!
Since my application reads the alts file line by line, all you have to do to add more accounts is to add a new line and then repeat the line of code above. Here is an example:
mono MinecraftClient.exe [email protected] myPassword1.123 my.server.com
mono MinecraftClient.exe [email protected] myPassword2.123 my.server.com
mono MinecraftClient.exe [email protected] myPassword3.123 my.server.com
mono MinecraftClient.exe [email protected] myPassword4.123 my.server.com
And that's it for creating the alts file, now when launching the application make sure to pass this file as an argument.