wwwLag
wwwLag
wwwLag inserts important performance data into your mySQL-DB to display them in the www. The chart can be included anywhere (php-include, iFrame or via source code)
What does wwwLag display and what features?
- Players online
- Average TPS
- (new) Loaded chunks
- (new) Loaded entities
- Free memory (can be disabled)
- IP-Filter and password-protection for inserting the data
- Configurable width and height of the chart
- (new) Manual update ingame possible
Commands and permissions
- /wwwlag update
- Updates the performance data ingame (interval not affected)
- Permission: wwwlag.update
Example
Running example: http://www.membersofday.eu/wwwlag/wwwlag.php
Download
Releases
dev.bukkit.org/server-mods/wwwlag/files/
Latest Beta-Build
Plugin: Link removed Frontend: Link removed
Moin Jobsti, in der PHP kannst du im Config-Bereich $display_entities und $display_chunks wahlweise auf true oder false setzen. Der Zoom sollte via Mausrad funktionieren. Oder habe ich dich grad falsch verstanden?
Yeehaaa great Plugin! Big thanks, works 100% for me.
A request, because (new) Loaded chunks and (new) Loaded entities: A Zoom would be nice, or online Buttons to hide chunks and entities, for better TPS-overview.
@remdul Hi remdul, should be fixed now. Please update from here: https://github.com/WideCraft/wwwLag/blob/master/web/wwwlag.php (Download) and update your config in the upper lines again :-)
I love the concept! However, I am receiving a few errors on trying to get it set up for my server. You can see them visually at http://play.undergroundminer.com/wwwlag.php.
( ! ) Notice: Undefined index: install in C:\wamp\www\wwwlag.php on line 35 Call Stack
( ! ) Notice: Undefined index: token in C:\wamp\www\wwwlag.php on line 63 Call Stack
Any ideas for me on how to fix these? Thank you for your help!
Now everything is working fine :)
thanks
@dudekkris3 Holly sh... how could that happened? oO Please take a look on https://github.com/WideCraft/wwwLag/blob/master/web/wwwlag.php#L20 (updated) or delete the line "primary key (id) Sorry about that, will update files now.
yeah i know , but when i manually update table i have :
SQL query:
CREATE TABLE `performance` (
`zeitstempel` INT( 11 ) NOT NULL , `tps` INT( 11 ) NOT NULL , `players` INT( 11 ) NOT NULL , `memory` FLOAT NOT NULL , PRIMARY KEY ( `id` ) ) ENGINE = MYISAM DEFAULT CHARSET = latin1;
MySQL said:
@dudekkris3 Just take a look on the wwwlag.php-file, line 20 (source) You have to create the table with the sql by yourself in this version. Will fix it in the next version.
@Baffu Thanks :) Yes, XrayInformer was my plugin, too ;-)
This does not work for me, mysql table is not created automatically
http://tnij.org/t3sp
how to fix that ?
Ah yes, very nice.
I will be running this on my server later tonight. Thanks for another useful plugin (I use the plugin with /xcheck)
@ThisUsernameIsMine Oh, nice. Haven't heard about it yet. Thanks! :-)
@Relicum Great ideas! Will work on it after some sleep.
@lawliet555 I don't know how to get those informations from the bukkit-api - I don't even think it's possible, and if so, you should consider to take a plugin which only does this. But who knows where wwwLag goes :-) 1.0.1 is just the beginning.
Would it be possible to get it to show what plugins are using what portion of the server's resources. This would help for servers to track down where the lag is coming from instead of just knowing that when more players get on the server the TPS goes down.
Great plugin.
Can I request a feature, include the number of plugins that are running at the time, . Not a break down of memory per plugin as I know that isn't possible in Bukkit. But it would help owners know the servers capabilities when X number of plugins are running they can see the effect on TPS. Also a server owner could remove or add a single plugin and watch the effect it has on TPS and any differences in the total memory usage. This would be easy to spot if you added a plugin and suddenly the free memory decreased at an alarming rate.
Thanks Regards relicum
@sourcemaker
Unapproved files CAN be downloaded: http://dev.bukkit.org/server-mods/wwwlag/files/2
@toffose Yes, waiting for approval... seems the bukkit guys have a lot work to do.
Update: Until it waits for approval, there are the current builds available on github. The sourcecode is included in the jar and on github. See: http://dev.bukkit.org/server-mods/wwwlag/#w-latest-beta-build
Are you really going to just tease us? WHERE'S THE DOWNLOAD? :O hehe.. I guess it's waiting for Bukkit approval, but I can't wait, seems like a really useful plugin!
Good work! :)