Reminder! This plugin is for bungeecord.
This 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.
/bungeespacewarning - Views system information. Permission: bungeespacewarning.check
/bungeespacewarning silent - Makes the user not see any alerts. Permission: bungeespacewarning.silent
/bungeespacewarning reload - Reloads the configuration. Permission: bungeespacewarning.reload
Keep in mind that all of these commands work in the console and in-game, and that the user must have the base permission bungeespacewarning.usage to use any!
bungeespacewarning.notify - Allows the player to see alerts in-game.
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.
#Shut down the server when triggered?
#Send a message to everyone with the bungeespacewarning.notify permission about the remaining space?
#How many seconds between each check to check the drive space
Source code is available on the github.