- x86_64-unknown-linux-gnu
- Can download & update MC Server Software
- Can compile software (Spigot, PlotSquared etc)
- Can backup your Minecraft Server
- Can search in logs for specific text
- --help
Shows the help menu
- --version
Shows the version of Limonium
- --self-update
Updates limonium if there is a new version available
- --nb
Doesn't show the banner when running the program
Download function uses platform specific download APIs(Paper, Purpur) or Jenkins(Pufferfish) to download the software.
It will download the software and check the hash of the file to make sure it downloaded correctly, before it moves it to the directory you specified.
It will overwrite the file if it already exists.
- Paper ->
./limonium download paper 1.21.3
- Purpur ->
./limonium download purpur 1.21.3
- Pufferfish ->
./limonium download pufferfish 1.21.3
- Geyser ->
./limonium download geyser 2.1.0
(default is geyser-standalone)
- Velocity ->
./limonium download velocity 3.2.0-SNAPSHOT
- Waterfall ->
./limonium download waterfall 1.20
- BungeeCord ->
./limonium download bungeecord latest
- Floodgate ->
./limonium download floodgate latest
- ViaVersion ->
./limonium download viaversion latest
(Available channels: dev, compatibility) - ViaBackwards ->
./limonium download viabackwards latest
(Available channels: dev, compatibility)
Limonium is not affiliated with any of the projects listed.
- --o
The path of where the jar should go Example: --o /mc-servers/hub/Paper.jar
- --c
The channel so for geyser the default channel is "standalone" but can be changed to (spigot, bungeecord, velocity, fabric, sponge)
- --latest-use-at-your-own-risk
(Warning: Don't use this is bad (you don't want your Minecraft Server randomly getting upgraded to a new Minecraft version, without you knowing)) Using this argument with the latest version, It will find the latest version of the software for you (really used for something like Geyser or Velocity)
- --no-snapshot-version
When searching for the latest version, it will not include snapshot versions
- --run-jvmdowngrader
Runs JvmDowngrader to downgrade the JAR file to a Java Version Example: --run-jvmdowngrader 52 (Java 8) --run-jvmdowngrader 60 (Java 16) ETC
https://github.com/unimined/JvmDowngrader
Usage: <software> <version>
./limonium download paper 1.21.3
./limonium download paper 1.21.3 --o Paper.jar
./limonium download paper 1.21.3 --o ./mc-servers/hub/Paper.jar
The compile function will compile the software you specify, and put it in the directory you specify.
All the software will be downloaded & compiled in the ./limonium-compile directory you can delete at any time.
- Spigot ->
./limonium compile spigot server.jar --version 1.21.3
(Not recommended to use) - PlotSquared ->
./limonium compile plotsquared PlotSquared.jar
- mcMMO ->
./limonium compile mcmmo mcMMO.jar
- --branch
The branch to use (If you don't specify a branch, it will use the default branch)
- --version
The version to use (used only for Spigot for now)
Usage: <software> <output>
./limonium compile spigot server.jar --version 1.21.3
./limonium compile plotsquared PlotSquared.jar
The backup function will back up the folders you specify, and compress them and put them in the backup directory. By default, it will use tar.gz, unless specified otherwise.
- --format
The format to use (tar.gz, tar.zst, zip)
- --level
The compression level to use (tar.gz 0-9) (tar.zst 1-22) (zip 0-9)
- --exclude
Excludes files from the backup
- --sftp
Uploads the backup to a SFTP server. Example 1: --sftp user@host:22 /remote/path Example 2: --sftp "user@host:22 path/to/key /remote/path"
(Password Authentication is not supported.) - --delete-after-upload
Deletes the local backup after uploading it to the SFTP server.
- --ask-before-uploading
Asks before uploading the backup to the SFTP server.
- --local-delete-after-time
Deletes backups locally after a certain amount of time. Example: --local-delete-after-time 1m (1 month) --local-delete-after-time 1w (1 week) --local-delete-after-time 1d (1 day)
- --local-always-keep
Always keep a certain number of backups locally when using --local-delete-after-time.
- --remote-delete-after-time
Deletes backups remotely after a certain amount of time. Example: --remote-delete-after-time 1m (1 month) --remote-delete-after-time 1w (1 week) --remote-delete-after-time 1d (1 day)
Debug Arguments
- --verbose
Shows more information
- --I
Overides the -I argument for tar. Example: --I "zstd -T0 -19 -v""
Usage: <name> <folder/s> <backup_directory>
./limonium backup survival . ../survival-backups/
./limonium backup survival world ../survival-backups/
./limonium backup survival world:world_nether:world_the_end:plugins ../survival-backups/ --exclude plugins/dynmap/
The log function will search the logs for the text you specify, and will open up nano with the results.
- --path
The path to the logs.
(default is ./logs/)
Usage: <days-back> <to-search> <lines-before> <lines-after>
./limonium log 10 "andrew121410"
./limonium log 10 "andrew121410" --path /mc-servers/hub/logs/
./limonium log 10 "andrew121410" 5 6
./limonium log 10 "andrew121410" 5 6 --path /mc-servers/hub/logs/
The above examples will search the logs for "andrew121410" in the last 10 days. The 5 and 6 are the lines before and after the text you are searching for. So it will show 5 lines before and 6 lines after. So you will be able to see more context.
cargo build -r