Added CPU & RAM information to /co status
This commit is contained in:
parent
e093970992
commit
dbd8723752
7 changed files with 77 additions and 2 deletions
|
|
@ -19,6 +19,7 @@ import org.bukkit.entity.Player;
|
|||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.bukkit.plugin.PluginManager;
|
||||
import org.jutils.jhardware.model.ProcessorInfo;
|
||||
|
||||
import com.zaxxer.hikari.HikariConfig;
|
||||
import com.zaxxer.hikari.HikariDataSource;
|
||||
|
|
@ -55,6 +56,7 @@ public class ConfigHandler extends Queue {
|
|||
public static int maximumPoolSize = 10;
|
||||
|
||||
public static HikariDataSource hikariDataSource = null;
|
||||
public static final ProcessorInfo processorInfo = Util.getProcessorInfo();
|
||||
public static final boolean isSpigot = Util.isSpigot();
|
||||
public static final boolean isPaper = Util.isPaper();
|
||||
public static final boolean isFolia = Util.isFolia();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue