-
Notifications
You must be signed in to change notification settings - Fork 13
How to use Hydrazine
You can download the the binary file directly by clicking here (1.8.8). Or by visiting the releases page.
If you have 'git' installed, you can simply download the source code by executing the following command:
git clone https://github.com/xTACTIXzZ/Hydrazine
On Linux, you can download the binary files directly by using 'wget':
wget https://github.com/xTACTIXzZ/Hydrazine/releases/download/1.8.8/Hydrazine.jar
In order to run the program, you have to start the terminal (on Linux and Mac OS) or the command prompt (on Windows). Once you have the command line on screen, navigate to the folder where you have previously downloaded the project. You can do this with the cd
command.
Example: cd C:\Users\<user>\Downloads\hydrazine
Now that you are in the programs directory, you have to navigate to the bin folder, which contains the binary files. Obviously, in order to start the program, you need the Java Runtime Environment (JRE). You can download it from the official website (here).
To start the program, type the following command:
java -jar Hydrazine.jar
You may have noticed that the program doesn't do anything except output some text when running the command above. This is because you haven't passed any options, also called switches. A switch is basically a dash (-) followed by one or more characters. Some switches require an additional argument, which has to be written behind the switch and needs to be separated from it by a space. When running the command above, you see a list of available switches and a description of what they actually do.
Here is an example:
java -jar Hydrazine.jar -h 127.0.0.1 -m info
Explanation: This command starts the program and sets the host (-h) to the value '127.0.0.1' and the module (-m) to 'info'. The program is going to execute the module 'info' after connecting to the server '127.0.0.1'.