OkGlass
OkGlass
OkGlass is a highly configurable performance monitor that uses a scoreboards to display a system information: memory usage, ticks-per-second (TPS), ping result of pinging a host, etc.

Features
- Display a window that contains a system information
- Disable any unnecessary "gadget" (just edit gadgets.yml)
- Allows to use custom gadgets created by me or by anyone who want to create a OkGlass gadget.
Why do I want it?
If you need to see a system information without typing additional command you need OkGlass!
How to use it?
- Install plugin and gadgets
- Type /okglass and.... it's all!
Gadgets
You can find more information about OkGlass gadgets here: http://dev.bukkit.org/bukkit-mods/okglass/pages/gadgets/
Warning! One of included gadgets - gadget PlayerPing (GadgetPlayerPing.jar) requires a FakePlayersOnline plugin installed. If FakerPlayersOnline is not installed at your server this gadget will be disabled
Commands:
- /okglass show — show OkGlass dispaly
- /okglass hide — hide OkGlass display
- /okglass cfg — display configuration and list of available (enabled) gadgets
- /okglass reload — reload plugin configuration and restart gadgets
Permissions:
- okglass.showhide — allows to show and hide OkGlass display
- okglass.config — allows to use /okglass help, /okglass cfg and /okglass reload command and receive a version update notifications
Configuration
To configure plugin, you must edit config.yml and gadgets.yml and type /okg reload command (or restart server).
config.yml:
general: check-updates: true # Check plugin updates at dev.bukkit.org language: english # Language, Russian is included. language-save: false # Save the translation file OkGlass: display-refresh-delay: 10 # Delay between OkGlass display refreshes. title: '&6OK''GLASS' # Title of OkGlass window default-color: a # Default color of gadget's title debug: false # debug-mode
gadgets.yml
Chunks: # Gadget name enabled: true # Enable gadget, every gadget could be disabled Entities: enabled: true Memory: enabled: true gigabytes: false Ping: enabled: true delay-time: 30 number-of-repeats: 5 host: google.com show-host-name: true use-java-ping: false PlayerPing: enabled: true TPS: enabled: true tps-update-delay: 10
Metrics and update checker
OkGlass includes two features that use your server internet connection. First one is Metrics, using to collect information about plugin (versions of plugin, of Java.. etc.) and second is update checker (required to find newer version of OkGlass at dev.bukkit.org). If you don't like this features you can easy disable it. To disable update checker you need to set parameter "version-check" to "false" in config.yml. Obtain more information about Metrics and learn how to switch off it, you can read here.
-
View User Profile
-
Send Message
Posted Jun 9, 2013It was only a matter of time before someone did this...
-
View User Profile
-
Send Message
Posted Jun 8, 2013v0.2.0
-
View User Profile
-
Send Message
Posted Jun 6, 2013@vivosims
I have no any idea what could be a reason of changing your blockbreaking. OkGlass did not handle block breaking event and will not effect on the block breaking and interacting...
-
View User Profile
-
Send Message
Posted Jun 6, 2013@Hdom
Player information are in plan. It's a reason why I'm not post a "how to made" a gadgets: I will change Gadget class format.
-
View User Profile
-
Send Message
Posted Jun 5, 2013@vivosims
Creative always has had instant block breaking, and from reading the source code of this plugin I can say that it has no effect on block breaking at all.
-
View User Profile
-
Send Message
Posted Jun 5, 2013Just a ps, your plugin disables scoreboard, my server uses scoreboard for rank status, this can be a big problem.
Also block breaking seems to be instant with your plugin installed in creative, this was not so before i installed your plugin, please fix!!! :)
hope to see your plugin improve as it grows. -Vivo
-
View User Profile
-
Send Message
Posted Jun 5, 2013I find this to be a great idea, but i would like to see a greater selection of gadgets. I attempted to make a few but I failed at acquiring individual player information for the player being displayed. I have a couple Gadget Ideas:
-
View User Profile
-
Send Message
Posted Jun 5, 2013@WizardCM
Thank you for suggestions! It think all of them could be implemented (and I have now "todo" for weekend :))
-
View User Profile
-
Send Message
Posted Jun 5, 2013@fr333n3rgy
ooh... oh... I will recheck permissions.
-
View User Profile
-
Send Message
Posted Jun 5, 2013@fromgate
Also, would it be possible to have a config option to change the heading from "OK'GLASS"? It'd be nice to be able to change it to something like "Server Status"
Finally, a list of gadget ideas
-
View User Profile
-
Send Message
Posted Jun 5, 2013beautiful, just beautiful ... only one tiny thing. adding the okglass.showhide was not enough to enable the plugin for my users (it accepted the command /okglass show without errors but no display...), i had to allow okglass.* to make it work... seems like some switches must need to be adjusted in your plugin :) .. still, great plugin! thank you.
-
View User Profile
-
Send Message
Posted Jun 4, 2013Привет, fromgate, плагин супер, 5+
-
View User Profile
-
Send Message
Posted Jun 4, 2013Amazing idea, helpfull to everybody. ty !
-
View User Profile
-
Send Message
Posted Jun 4, 2013New version uploaded:
v0.1.1
-
View User Profile
-
Send Message
Posted Jun 4, 2013@WizardCM
Thank you for your message and suggestions.
-
View User Profile
-
Send Message
Posted Jun 4, 2013@m0m0lepr0 Hello, you can remove PlayerPing gadget it uses plugin FakePlayerOnline that was not installed at your server.
-
View User Profile
-
Send Message
Posted Jun 3, 2013So every time it 'refreshes' it seems to just delete all the entries and set them again. Couldn't it just update the values?
Secondly, for memory it shows me "Mem -2513Mb /" which should be 2366MB and not a negative number.
Thirdly, /gadget show shouldn't be a toggle, it should only show if it's not already.
Fourthly, the okglass.show permission does nothing (at least on Privileges).
Anyway, I think this plugin is an awesome idea and plan to use it in future!
-
View User Profile
-
Send Message
Posted Jun 3, 2013Managed to get the plugin (As always standard disclaimer about malware and so Download at your own risk : http://dev.bukkit.org/bukkit-mods/okglass/files/1-okglass-v0-1-0/)
Get that error when doing /okglass
And it goes on at each refresh
Whoops nevermind got what was wrong, I needed a dependencie :) The memory widget is acting a bit weirdly
Another error
Causing chunks and entities to be removed. Backed after refresh
-
View User Profile
-
Send Message
Posted Jun 3, 2013@Sothatsit
Sure! Source of plugin: http://github.com/fromgate/OkGlass And source of the gadgets: http://github.com/fromgate/OkGlassGadgets
-
View User Profile
-
Send Message
Posted Jun 3, 2013is there an available source code i could look at?