JPanel - Minecraft Webpanel
JPanel - A plugin based web panel for Bukkit
What is this?
JPanel is a plugin based control panel for your minecraft server. It is viewable within a web browser, and does not require running any external web servers, or knowledge of PHP or databases. This plugin is in beta, and has a number of key features, including:
- A live view of the server console
- Live view of the server ram usage, cpu usage and ticks per second
- User permissions
- Modify player groups (requires vault)
- Easily kick or ban online players (not currently implemented in new player manager)
- Manage server files
- Passwords hashed with a salt
Before installing
THIS PLUGIN REQUIRES JAVA 8. ALSO BE AWARE IT'S STILL IN BUGS, AND THERE MIGHT BE BUGS OR INCOMPLETE FEATURES.
Installing
Since this plugin doesn't require anything else other than the Bukkit server, installation is extremely easy
- Put the plugin jar file in your plugins folder
- Restart the server
- Ensure that port 4567 are port forwarded (this can be tested with this tool here)
- In the server console, use /addlogin <username> <password> to add a user to the panel
- OPTIONAL: Stop the server and edit the config file to allow you access to the JPanel features
For developers
As of JPanel Beta 5, you can now add pages to the panel. For more information, please see the guide.
Commands
- /addlogin <username> <passsword> - allows you to add a user to a panel
- /passwd <username> <oldpassword> <newpassword> - change the password of a user
All commands can only be executed through the console, either via JPanel or a standard minecraft console.
HTTPS support
In the latest beta (Beta 6) I've added standalone https support! This requires some configuration.
-
First, you'll need to put a keystore file in the JPanel folder. You can either attempt to generate one using these instructions or download a premade keystore file from here. The pre-made keystore has an unsigned certificate that'll get you going with security warnings in most browsers, so isn't recommended unless you can't use an actual certificate.
-
Stop the server, and enter the name of the keystore file (with file extension) under keystore-name and the password for the keystore file under keystore-password in the JPanel config.yml. If you're using the premade keystore, use the password 'password' (ultra secure).
-
Restart the server, then access the panel normally except with https.
HTTPS should now be working!
Panel Permissions
- canEditFiles - allows a JPanel user to edit files
- canChangeGroups - allows a JPanel user to change the groups of a user
- canSendCommands - allows a JPanel user to send commands through the console
These are modified through the config file. Once modified, restart the server.
Non browser Clients
I'm developing a series of apps that you can use to access the panel. Currently, there is an app for windows 10.
- Windows 10 App - https://www.microsoft.com/en-us/store/apps/jpanel/9nblggh1rnm5 (source will be released later)
- Android app - coming soon!
- iPhone app - due to a lack of $99 a year, a Mac computer and a device to test on, this is unlikely to be coming any time soon
Source Code
All source code is avaliable on github, check it out!
Hey, now seems to work fine, but theres a problem. My server reboot every 24hr running... when i try to open the JPane after fell hours running the server, the JPanel try to load all the console log from started server to now, and crash: http://gyazo.com/d382696b35b013f4037d2a4ca938830d
I openned now, at 22hrs, and the site crashed, loading logs from 11:00 at day...
If you a add limiter to load only the last 3 hours, or configurable, will be fine ;)
@ThunderTNT33
It's worth trying it, it should work fine on 1.7.2 Minecraft
Can you plz make this 1.7.2?
@FabioZumbi12
That's already planned for a future update :)
@rymate1234
Now seems working, and wow, is a very good tool to admin the server from anywhere!
Can i suggest the player levels? Like an administrator, allowing all of features, and a mod level, allowing only see the console and kick/ban, dont allowing change the permissions and use the console?
Thanks!
Looks interesting :)
@FabioZumbi12
wait sorry i misread your statement
to add a user to the config file use /addlogin <username> <password>
@FabioZumbi12
you could just type list in the console to view the online players
@rymate1234
Can i generate a fake player list to make work for now? And how?
@FabioZumbi12
I think that error happens when it tries to load users from the configuration when there are.no users. It can be safely ignored and I'll patch it for the next version
@FoxyWhite2541
I'll add that in the next version!
I know is a alpha build, and heres my problem:
[01:09:48 ERROR]: Error occurred while enabling jPanel v1.0-SNAPSHOT (Is it up t o date?) java.lang.NullPointerException at net.rymate.jpanel.PanelPlugin.onEnable(PanelPlugin.java:69) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [s pigot-1.8.6.jar:git-Spigot-044d928-e8c6403] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:340) [spigot-1.8.6.jar:git-Spigot-044d928-e8c6403] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:405) [spigot-1.8.6.jar:git-Spigot-044d928-e8c6403] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.jav a:356) [spigot-1.8.6.jar:git-Spigot-044d928-e8c6403] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer. java:316) [spigot-1.8.6.jar:git-Spigot-044d928-e8c6403] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.jav a:199) [spigot-1.8.6.jar:git-Spigot-044d928-e8c6403] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java :528) [spigot-1.8.6.jar:git-Spigot-044d928-e8c6403] at java.lang.Thread.run(Unknown Source) [?:1.8.0_45]
I glad to see this plugin working fine Excelent idea ;)
I LOVE YOU! THANKS :D
Is it possible to change the ports, like i dont have pass for main router and problem is i need it(its not a default pass, just saying). I have 2 others that are opened but not used soo yeah.
@2008Choco
Thanks!
@Barrimor
It's worth a shot - currently it's not using anything that should require Minecraft 1.8. Worst that happens is that it doesn't work and you just remove it.
Hello!
Thank you for this plugin, but I have a question: Will it works on my 1.7.9 minecraft server? If not, can you make a version for 1.7.9 please?
Massive props on creating such a large project that can help a lot of new server owners. I wish you the best of luck on this plugin. I know you must be busy with bPermissions as well, so I hope you keep developing both of them :)