WebOp
WebOp - WebPage Moderation Interface
Description
WebOp allows server owners and optional others to view their server health real-time, search the server log, edit server properties, modify the whitelist, and use the console - all through your browser!
All users must be white-listed to access the webpage, and require OP to use the console, modify the whitelists or server properties.
Non-OP users are able to view the server health graphs and search the log. This allows staff to find out who banned someone, who muted someone, etc, direct from the source, instead of needing to talk to staff or use a plugin to log all commands. Real-Time graph data displays your current server health (TPS, Available memory, Entities loaded, Chunks loaded) giving you at-a-glance information regarding the state of your server.
Features
- Built-in whitelist to enable/disable WebOp and WebOp console view/access.
- View and/or use the console.
- Live server health history graph display how well your server is performing at-a-glance.
- Server log search function with timeframe ability - easily find out who issued commands.
- Live on-demand plugin profiling, displaying all event execution times with nanosecond/millisecond performance timings.
- LogBlock lookup addon - Provides the ability to lookup all ores broken server-wide or player-specific.
- Essentials user data addon - hover over player names for user information.
- Tried-and-tested session-based logins.
Adding custom menu links
To add a custom menu, create a text file inside the "/plugins/webop" directory, and name the file whatever you would like the menu header to say. For example, if you create a file called "My Links.txt" - the header of the menu will be "My Links". Edit the text file and add a "Name >> Value" for each line. For example:
Bukkit Plugins >> http://plugins.bukkit.org/ Google Home >> http://www.google.com Server DynMap >> http://play.myserver.com:8123
You can create as many text files as you need in the same manner.
Permissions
In order to login, you must use your minecraft login details, exactly the same as you would use to login to the game. You cannot login without a legitimate minecraft account. OP status is required to use the console. OP status is required to add users to the whitelist. A built-in whitelist gives access to the website.
Installation
Copy the plugin to your "plugins" folder and start the server to create the default config file. Edit the config file and add yourself to the whitelist. Change the port number and IP address as necessary. The default port is 1337. Restart the server and, using your browser, navigate to "http://myserver.com:1337" - substituting "myserver.com" for your server domain name or IP-address, and specifying the port number you chose to use. For example "http://127.0.0.1:6523", or "http://play.myserver.com:6546".
After installation is complete, any OP player can add and remove other players via the webpage.
Requirements
- Java 7
- A CSS3-capable browser with javascript enabled
- A legitimate Minecraft account
@jayfella
Hey i am not able to get my server info anymore. Why is that? and also you cant sign out right now.
@jayfella
Thanks! Damn, I feel a little dense here. I went to your github page, but I all I could find was your old webop project. Anyway, thanks a lot. :)
Love this plugin :) keep the updates coming :)
@tito1411
Those are information messages, not errors. I'm not sure why jetty reports them as severe.
@alexschrod
I just pushed the source: https://github.com/jayfella/WebOp3
@alexschrod
So... I did find some source code, at github, but it seems to be ancient (version 1.0.7, last committed to in July. This is really frustrating, I want to make some addition, fix some bugs, etc., at least for my own purposes, (and you could obviously pull them in too, if you like them) but I can't find the source code!
1st. Any chance we can see Prism integration as an option?
2nd. I updated from 2 to 3 and am getting this error on server start. Any ideas?
2013-09-22 12:01:41 [SEVERE] 2013-09-22 12:01:41.937:INFO:oejs.Server:Thread-17 jetty-9.0.z-SNAPSHOT
2013-09-22 12:01:41 [SEVERE] 2013-09-22 12:01:41.967:INFO:oejsh.ContextHandler:Thread-17 Started o.e.j.s.h.ContextHandler@194a6e87{/socket,null,AVAILABLE}
2013-09-22 12:01:41 [SEVERE] 2013-09-22 12:01:41.976:INFO:oejsh.ContextHandler:Thread-17 Started o.e.j.s.ServletContextHandler@a62d0d0{/,null,AVAILABLE}
2013-09-22 12:01:41 [SEVERE] 2013-09-22 12:01:41.988:INFO:oejs.ServerConnector:Thread-17 Started ServerConnector@114c0c74{HTTP/1.1}{0.0.0.0:1337}
LGPL v3, huh? Where's the source code? Also, where's the ticket/bug report system? I have several bugs to report, but I can't find where to report them.
@jayfella And here is another problem: When i try to use "Logout" it shows that 404 error again :/
Also i have a suggestion: For the next version, you should make it so we can start stop and restart our server right from the web interface. This would be extremely useful!
@jayfella
Thanks a lot for the quick response. Is there a way i can remove the "Inspect" area if it isnt needed?
@salouha
The "inspect" areas were moved to the main page, so in actual fact that menu item shoudn't even be there. A lot of the work involved in v2 to v3 were displaying the data in a way that made the most sense.
The new config file is no different. OP'ed players do not need any permission. Any other player needs permission to login to webop and view and use the console.
I have some problems. When i try to access the "Inspect" tab in the web inter face, i get this error: "Error 404 The document you requested could not be found." And also, two more things: Why is the new config file different? Do i still need to whitelist myself on there? Cuz when i use the web interface i cant even see whats going on in console. Please help.
@jayfella
Ah ok Thanks! :)
Looking forward to custom links :)
Would you mind if I suggest some features?
1. Online list (Who is online in webop)
2.Sound alerts for chat (Plays a sound when a new chat message appears in webop)
3. Join/leave messages on chat (webop join messages, not the servers)
4. Work along side with Coreprotect (another block logging plugin)
5. Optional J/L messages that get broadcasted on the server when someone logs in our out of webop (For players to see on the server)
Ill post more ideas up if I think of them
Great plugin and thanks for the fast reply! Keep up the great work :)
@damombz
Do you have any error?
@killerbyte12
Those arent errors, they are notifications. The only error I see there are unrelated to webop. It does display when websockets are opened and closed in the log. I can disable that. Its just some verbose information.
Regarding custom links, i believe i left that part of the code out, i'll re-add it. The logblock and essentials "add-ons" don't require any setup. You just need to have the plugins in your plugins folder and they will be automatically detected.
Also, I followed the steps to create a custom link but it didnt work.
Also, I see no option or setting for this logblock feature mentioned.
Hello. I love this plugin! Just started using it yesterday. However Im getting some error messages when-ever the plugin enables or disables.
Ive never got these errors until installing webop
• 2013-09-14 14:06:39 [SEVERE] [Buycraft] HTTP request failed due to timeout error. • 2013-09-14 14:06:39 [SEVERE] [Buycraft] No response/invalid key during pending players check. • 2013-09-14 15:20:06 [SEVERE] 2013-09-14 15:20:06.977:INFO:oejs.Server:Thread-33: jetty-9.0.z-SNAPSHOT • 2013-09-14 15:20:07 [SEVERE] 2013-09-14 15:20:07.112:INFO:oejsh.ContextHandler:Thread-33: Started o.e.j.s.h.ContextHandler@249b0c53{/socket,null,AVAILABLE} • 2013-09-14 15:20:07 [SEVERE] 2013-09-14 15:20:07.132:INFO:oejsh.ContextHandler:Thread-33: Started o.e.j.s.ServletContextHandler@7abefe33{/,null,AVAILABLE} • 2013-09-14 15:20:07 [SEVERE] 2013-09-14 15:20:07.163:INFO:oejs.ServerConnector:Thread-33: Started ServerConnector@13b24faa{HTTP/1.1}{0.0.0.0:1337} • 2013-09-14 16:21:46 [SEVERE] 2013-09-14 16:21:46.942:WARN:oejut.QueuedThreadPool:qtp994453333-1285: • 2013-09-15 04:00:44 [SEVERE] Error occurred (in the plugin loader) while disabling EssentialsSpawn vPre2.12.1.2 (Is it up to date?) • 2013-09-15 04:00:44 [SEVERE] org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register task while disabled • 2013-09-15 04:01:44 [SEVERE] 2013-09-15 04:01:44.149:INFO:oejs.Server:Thread-31: jetty-9.0.z-SNAPSHOT • 2013-09-15 04:01:44 [SEVERE] 2013-09-15 04:01:44.221:INFO:oejsh.ContextHandler:Thread-31: Started o.e.j.s.h.ContextHandler@738137b8{/socket,null,AVAILABLE} • 2013-09-15 04:01:44 [SEVERE] 2013-09-15 04:01:44.229:INFO:oejsh.ContextHandler:Thread-31: Started o.e.j.s.ServletContextHandler@7c2213b6{/,null,AVAILABLE} • 2013-09-15 04:01:44 [SEVERE] 2013-09-15 04:01:44.252:INFO:oejs.ServerConnector:Thread-31: Started ServerConnector@2ce70449{HTTP/1.1}{0.0.0.0:1337}
ALSO, it likes to spit out this log quite frequently
15.09 04:05:00 [Server] INFO killerbyte12's WebSocket Closed. Code: 1006, Reason: Read EOF 15.09 04:04:12 [Server] INFO killerbyte12's WebSocket Closed. Code: 1006, Reason: Read EOF
I keep getting the error "Could not load 'plugins\WebOp3.jar' in folder 'plugins'
After updating to the newest recommended build, and updating my Java.
Any help?
@tito1411
Plugin has been updated, pending approval.
Can u set it to where u can register on the webop console. and then add username to the whitelist thing. cuz I have a cracked MC account. Reply to [email protected]