ModsJava
SpaceWarning
Warns you about low disk space. Free Minecraft Java mod — download and open it in the game.
⬇ Download on SpigotThis plugin will allow you to check and monitor your hard drive space, to attempt and try to prevent the
java.io.IOException: No space left on device exception, wiping your data on the hard drive. Not only you can view your disk space, but you can also view other information about the node. When the disk space becomes low, you can shutdown the server automatically or warn online staff members.
Commands
/ spacewarning - Views system information. Permission: spacewarning.check
/ spacewarning silent - Makes the user not see any alerts. Permission: spacewarning.silent
/ spacewarning reload - Reloads the configuration. Permission: spacewarning.reload
Keep in mind that all of these commands work in the console and in-game!
Permissions
spacewarning.notify - Allows the player to see alerts in-game.
Configuration
Here is an example of a config file,
#If the remaining space on the drive is less than or equal to this number in megabytes, the warning will fire.
space-left: 1024
#------Events------
#Shut down the server when triggered?
shutdown: false
#Send a message to everyone with the spacewarning.notify permission about the remaining space?
warn-players: true
#How many seconds between each check to check the drive space
check-interval: 60
Source
Source code is available on the github.
https://github.com/johnnywoof/SpaceWarning/
Motivated and made this plugin because of this thread.
http://www.spigotmc.org/threads/java-io-ioexception-no-space-left-on-device-wiping-data.13981/
Commands
/ spacewarning - Views system information. Permission: spacewarning.check
/ spacewarning silent - Makes the user not see any alerts. Permission: spacewarning.silent
/ spacewarning reload - Reloads the configuration. Permission: spacewarning.reload
Keep in mind that all of these commands work in the console and in-game!
Permissions
spacewarning.notify - Allows the player to see alerts in-game.
Configuration
Here is an example of a config file,
Code (Text):
#If the remaining space on the drive is less than or equal to this number in megabytes, the warning will fire.
space-left: 1024
#------Events------
#Shut down the server when triggered?
shutdown: false
#Send a message to everyone with the spacewarning.notify permission about the remaining space?
warn-players: true
#How many seconds between each check to check the drive space
check-interval: 60
Source code is available on the github.
https://github.com/johnnywoof/SpaceWarning/
Motivated and made this plugin because of this thread.
http://www.spigotmc.org/threads/java-io-ioexception-no-space-left-on-device-wiping-data.13981/
SpaceWarning is a free Minecraft Java mod. Downloaded 267 times (via Spigot). Download it and open it directly in the game.