Sueta

RamLimitRestart ✨Async Checks ✨ Works with Pterodactyl FRE

2.1.2

Restart your server when RamLimit reaches the limit.

·Plugin

ramlimitrestart.png
With this plugin, you can measure the ram that is being used by your server, and when it reaches a limit, you can choose a list of command to execute, like restarting the server to avoid data loss. This plugin may be useful for servers that are in a budget and don't have a lot of resources, but you can also use it on a good specifications server to have more security.

This plugin works with the Pterodactyl Panel API, thats mean if you want to use it yo need to have an instalation of the panel and have the server running in the panel under wings

For developers

Maven repo:

Maven
<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<dependency>
    <groupId>com.github.Angelillo15</groupId>
    <artifactId>RamLimitRestart</artifactId>
    <version>-SNAPSHOT</version>
</dependency>

Gradle repo:

Gradle
repositories {
    maven("https://jitpack.io")
}
dependencies {
     implementation 'com.github.Angelillo15:RamLimitRestart:-SNAPSHOT'
}
Gradle Kotlin DSL
repositories {
    maven("https://jitpack.io")
}
dependencies {
     implementation("com.github.Angelillo15:RamLimitRestart:-SNAPSHOT")
}

Javadocs: https://javadocs.angelillo15.es/

Similar projects

Plugin →