SysInfo
Also available in Polski Page in preparation, come back later
SysInfo - Get info about server machine
This plugin allows you to fetch technical information about your server machine. Version 2.2.1 with ram clearing is available to download!
If you have any questions or suggestions, PM me or leave a comment
Adding locales
Tutorial on adding locales
Issues
Threads crash sometimes. Will be fixed in next version.
Usage
- /sysinfo - Gives information about system (see image)
- /sysinfo help - Prints help
- /sysinfo alarm - shows alarm state
- /sysinfo alarm [val] - sets alarm value to [val]
- /sysinfo gc - performs RAM recovery.
Metrics and stats
This plugin send anonymous data to mcstats.org. The following data is sent: Players, Servers, JVM Version, OS, System CPU arch, System CPU cores, Server Location (probably with GeoIP but i'm not sure) , Server software, Version changes and Version demograpics.
to disable it you need to set opt-out to true in /PluginMetrics/Updater.yml file Current stats
Features
Information on:
- System CPU architecture
- Operating System
- Bukkit version
- External MOTD
- Server IP
- Server RAM usage
- Server temperature (Only Linux machines with ACPI support)
And also:
- RAM cleaning command, freeing up to 60% of RAM
- RAM logging
Permission Nodes
Permission | Default | Description |
---|---|---|
sysinfo.sysinfo | op | Access the /sysinfo command |
sysinfo.alarm-recv | op | Enables receiving alarm messages to user given |
sysinfo.alarm-set | op | Allows setting the alarm level |
sysinfo.exec-gc | op | Allows manually execute ram clearing sequence |
To Do
- Add following
- CPU Usage (Unix/Linux only)
- Ram usage chart generating /sysinfo chart ram [hours] will generate a chart in plugins directory.
- More to come!
Development versions
Dev versions can be built from source code (see Sources section). They may be unstable, but in most cases they would just have partly added features.
Translations
Here are links to single translation files:
By DupstePain
By Nzkiwi313
Thanks
Special thanks to:
- DubstePain - for answering my questions and translation
Sources
Available at GitHub: https://github.com/TheKiwi5000/SysInfo
Follow me on Twitter: @Nzkiwi5000
I am NOT responsible for any attacks done on your server because somebody got technical info about your system. This is in most cases done by giving access to /sysinfo to players. Read Permission Nodes Section to get to know about configuring permissions
Howdy, thought i'd give this a run only to be met with an unexpected exception when executing the sysinfo command. All other commands work, just not this one. Was hoping to get the infos of my server since it's a paid host.
[23:54:21] [Server thread/WARN]: Unexpected exception while parsing console command "sysinfo" org.bukkit.command.CommandException: Unhandled exception executing command 'sysinfo' in plugin Sysinfo v2.2.4-patched
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[custom.jar:git-Bukkit-a552117] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) ~[custom.jar:git-Bukkit-a552117]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:629) ~[custom.jar:git-Bukkit-a552117]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchServerCommand(CraftServer.java:615) [custom.jar:git-Bukkit-a552117]
at net.minecraft.server.v1_11_R1.DedicatedServer.aM(DedicatedServer.java:397) [custom.jar:git-Bukkit-a552117]
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:361) [custom.jar:git-Bukkit-a552117]
at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:650) [custom.jar:git-Bukkit-a552117]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:554) [custom.jar:git-Bukkit-a552117]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;
at pl.website.bcsn.sysinfo.InfoGatherer.getInfo(InfoGatherer.java:38) ~[?:?]
at pl.website.bcsn.sysinfo.Sysinfo.msgSysinfo(Sysinfo.java:276) ~[?:?]
at pl.website.bcsn.sysinfo.Sysinfo.onCommand(Sysinfo.java:165) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[custom.jar:git-Bukkit-a552117]
... 8 more
I give a look on 2.2 and
Just need to delete sysinfo config :)
All is good and alarm is good idea !
@NizarZa123
That's great, a lot of people use a JD-GUI.
i know code for this plugin !
@Layania
Thanks for finding a bug :) I'll fix it soon. I'm planning to add alarms, so admins will receive messages when ram usage is too high.
Ram usage provide free ram not ram used !
Your plugin say me i use 5802/8177 , i use 2375 only :)
Your plugin is interesting :) I think i use it on my server :)
@nik5PL
Pracuje nad tym - dodam obsługe locale i może być nawet po starocerkiewnosłowiańsku :P
Spoko plugin :) Dodaj wersje po polsku :D
@timgeel
I know, but i like clear code. And it's faster :)