GUI Controller
About
Warning
Through finally testing it on an actual server and not on my local host server I found out that it doesn't work if you aren't running the server on your computer. Because of this I have decided to stop developing this until I have found a practical solution for this. Until then this will remain a good admin device for people who don't have their hosted away from their computer.
Description:
This is made so that the Admins/Ops can have easy control over the players in the server. This allows the Admins and Ops to have an easy to use external GUI that gives them a list of all the currently online players and many actions to choose from with the selected player (eg.Kick,Ban,Op,De-Op,etc...)
It also has customizable Kick,Ban,Op, and De-Op Messages in the config file.
To Do:
- Add more features (eg. Give, Heal, Teleport, etc...)
- Make It look nicer
- Suggestions for anything about this accepted
Screen Shots
Common Errors:
- There has been a report that it doesn't work on a "Redhat OS 5.3 headless server"
To Use:
- type /controller
- click on the players name to select them.
- Click on the button that you want executed
Problems or suggestions:
Please submit any problems or suggestions in the form of tickets. this ensures that I look at them as so as I can
-
View User Profile
-
Send Message
Posted Apr 20, 2012@Njolbrim
The last time I worked on this was October of 2011. I decided to stop working on it because a problem arose where in order to receive the GUI you have to be running the server on your computer. If I ever figure a way around that I will remake the layout so that it looks a lot nicer and it functions better. Thanks for the input though.
-
View User Profile
-
Send Message
Posted Apr 20, 2012@Jogy34
Read some layout tutorials. I found Sun's official guide very useful for creating my first Java GUI: http://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html
-
View User Profile
-
Send Message
Posted Apr 19, 2012to do
-
View User Profile
-
Send Message
Posted Apr 19, 2012-
View User Profile
-
Send Message
Posted Apr 19, 2012post 11
-
View User Profile
-
Send Message
Posted Apr 19, 2012aw
-
View User Profile
-
Send Message
Posted Apr 19, 2012hey man! make it!
-
View User Profile
-
Send Message
Posted Apr 19, 2012hey please make it!
-
View User Profile
-
Send Message
Posted Apr 19, 2012i really need it !
-
View User Profile
-
Send Message
Posted Apr 19, 2012because i dont know much about permissions
-
View User Profile
-
Send Message
Posted Apr 19, 2012can i suggest another plugin? a permission plugin that is like a gui
-
View User Profile
-
Send Message
Posted Apr 19, 2012it works good
-
View User Profile
-
Send Message
Posted Apr 19, 2012nice!
-
View User Profile
-
Send Message
Posted Oct 23, 2011@steaks4uce
I don't want to combine the windows because when I start adding a lot more I don't want it to be one giant window. The background is black because it is easier on the eyes but I'll take into consideration it being white. Currently I am just using basic JFrame objects. Nothing more advanced than making shapes and drawing text (besides reading mouse clicks). I don't use more advanced JFrame objects like actual buttons, labels. or textfields because I don't know how to make it so that they are precise dimensions at precise locations (aka. they always try to completely fill up the window and it looks really ugly). If that isn't what you were talking about in the last part of your post please expand on what you said.
-
View User Profile
-
Send Message
Posted Oct 22, 2011Design suggestions, combine the windows, make the background white, text black (no blue, red, yellow, etc.) And make selected player a label, not a textbox.
-
View User Profile
-
Send Message
Posted Oct 18, 2011@Jogy34 @Phigmeta
When I looked at the crash trace it's complaining there is no X11 variable set. Since this is probably a remote connection that means that X11 isn't being forwarded and/or there is no local X11 server. Unfortunately setting up X11 forwarding or a local X11 server is beyond my scope though.
-
View User Profile
-
Send Message
Posted Oct 5, 2011@Phigmeta
I don't know what to tell you about the error. It works fine on my server but that is only running plugins that I have made or that I'm developing
-
View User Profile
-
Send Message
Posted Oct 4, 2011uhmm its a headless Redhat Server ..... what kind of screenshot are you hoping for? My putty terminal?
-
View User Profile
-
Send Message
Posted Oct 4, 2011Screenshot?
-
View User Profile
-
Send Message
Posted Oct 2, 2011I get and error in my client when i try to run "/controller"
the error is "An internal error occured while attempting to perfomr this command"
It should be noted that this server is running Redhat OS 5.3 on a headless server.
the console spits out: (left the startup so you would know what plugins are running)
23:24:31 [INFO] Spout 1.0.6.403 has been initialized
23:24:31 [INFO] SpoutEssentials v3.6.1 is enabled!
23:24:31 [INFO] SpoutEssentials: WorldGuard Module disabled
23:24:31 [INFO] SpoutEssentials: MobDisguise module disabled
23:24:31 [INFO] [SpoutEssentials] Initiating auto-update...
23:24:32 [INFO] [SpoutEssentials] You already have the latest version of SpoutEssentials.
23:24:32 [INFO] Permission system not detected, defaulting to OP
23:24:32 [INFO] GUI Controller Version 0.4 is up and running
23:24:32 [INFO] [TotallyOrbSome] v1.1 final Enabled!
23:24:32 [INFO] [NoLagg] Auto-save field bound to 'u'!
23:24:32 [INFO] NoLagg version 1.24 is enabled!
23:24:32 [INFO] [NoLagg] chunk handler add-on version 1.01 is enabled!
23:24:32 [INFO] [NoLagg] 1 chunk packets will be sent every 5 ticks.
23:24:32 [INFO] Server permissions file permissions.yml is empty, ignoring it
23:24:32 [INFO] Reload complete.
23:24:32 [INFO] Reading data
23:24:32 [INFO] [Spout] Successfully authenticated phigmeta's Spoutcraft client. Running client version: 1.0.6.449
23:25:07 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'controller' in plugin BukkitAdminGUIController v0.4
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at javax.swing.JFrame.<init>(Unknown Source)
at me.Jogy34.GUIControl.GUIControllerSetup.main(GUIControllerSetup.java:86)
at me.Jogy34.GUIControl.GUIControllerSetup.onCommand(GUIControllerSetup.java:126)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
... 13 more