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
@salouha
It would depend on the environment. Is it your home PC? If so, just put 127.0.0.1 as the IP address. It may also be that a firewall is blocking the port. If you want the outside world to access it, you will need to port-forward the port from your router configuration page.
If you are using some sort of hosting, you will probably need to ask for permission to use the port, and they will open it for you, as all ports are closed unless specifically opened by default.
@jayfella
When i try to actually go to the site, i dont know what to do. I put the ip and port in my browser, but it didnt take me anywhere
@salouha
What do you mean "didnt work for me"? Can you not login? You need an actual minecraft account, and you use those details to login.
Hey, i was really excited to use this, but it didnt work at all for me :( Here is my config: http://imgur.com/nStmH6E
@EpicTrance
Thanks, ill fix that now.
http://pastebin.com/d64GFgJw
@therealspoljo
Apparently not very well :) I'll look at that area of code again.
It doesnt show chat colours right :/ http://i.imgur.com/zM5Fyzl.png
Ok, thanks for verifying. and its the /reload command
@craftdude01
When you say "reload" - do you mean doing a "/stop" and starting it again, or typing "/reload" ?
You are correct that you can't scroll up in the console window. I forgot to modify the javascript to fix that.
If you have not checked the "run as console" checkbox, it attempts to run or say the command as your player, but of course, if you are not logged in, it can't.
I figured it out. It was harder than I thought. Even though my server is port forwarded. It is Port Forwarded using a different IP than my computer is. I added the 9000 port to my computer's IP in the Portforwarding and it works now. So now I have 2 portforwarded things total. At least it works now! :D
EDIT: I do still have a couple questions. First, it doesnt let me scroll up in the console when connected to the server using the webpage. Second, Do I have to be on the server in order to chat on the server using the webpage?. If im not it says that I tried to issue a command while not logged in.
Even so, I love this plugin and I am going to keep it!
EDIT(again): This seems to keep happening. After a reload the plugin shows as disabled but it still works on the webpage. It also keeps saying Address already in use but I am still able to get on it.
I did and I still get the same thing. It seems to happen when I reload the server. When the server first starts nothing happens. After a reload it happens. I cant connect before or even after the reload.
@craftdude01
I guess the port is already in use, try changing it to something different, such as 9000
I host my own server on my computer and when this plugin starts up I get "Error initializing HTTP server" and then "Address already in use" so what do I do?
I've added the ability to create your own menu with links, as well as re-factored a lot of the code to make my life easier adding more abilities. These changes are in effect as of version 1.0.1
@apeklets
Maybe you are using wrong login details, you must use username / mail and password from your minecraft account
I can't login in my web browser, it says: Bad login
@jayfella
I'm on there now, just waiting for you to notice me :)
@ProFlashback
I dont use skype, but I use teamspeak mostly every day. Feel free to say hi @ voice.bitspawn.com
@froger23
The file CAN already be downloaded using a filenumber-trick, but i'm not allowed to explain this (i want to but bukkit staff wouldn't be pleased and it would get me banned).
Just wait until the file has been approved.
This looks very promising. Thanks jayfella! =) +1