GUI Creator
Anyone who has been active on the main forums in the last few days must surely have already heard the news.
I'm not going to comment on why and how, but the short version is that Bukkit is almost certainly not getting passed this.
Consequently, the future of BukkitDev is very uncertain. Even if the legal matters were resolved tomorrow there isn't really anybody left to deal with file submissions anyway. There's no indication about how long the site will stay up and what will happen to the files.
Anyway, while I will continue updating and developing my plugins you will need to look for updates somewhere else, namely the wiki. I will be updating this wiki in the next few days to facilitate better communication (forums, email, etc.) and adding any documentation that's missing.
I will also, of course, be looking into porting the plugins over to whichever API emerges from the ashes!
GUI Creator
This is the successor to Admin GUI, featuring a simpler config but offering more powerful customisation!
How it works
Each screen is divided into ten rows, each having four columns (by default). Controls can be placed into any of these cells, and can span multiple rows and columns. It's also possible to set the exact x, y, width, and height values if needed. See the tutorial for more information.
Video overview
Tutorial
Available controls
- buttons
- text boxes
- checkboxes
- radio buttons
- textures (for images)
- sliders
- gradients
- labels
- spacers
- link buttons
Requirements
- SpoutPlugin
- Spoutcraft
Both of these can be downloaded here
Config
- open_screen
- set this to the id of a screen to have that screen automatically open when the GUI does
- make_player_skins
- set this to no to stop the plugin creating skins when players join the server
The rest of the config is used to change the default colours of things. Each value must be a string in the format r,g,b or r,g,b,a. Note that you can override these colours on any particular control.
Commands
- /reload_gui_creator or /rgc
- this will refresh the layout files if they have been changed since the plugin was started. The new screens will be visible the next time the GUI is opened
- /open_screen or /os
- this is an alternative to pressing the C key
- use on its own to open the GUI like normal
- use with a screen id to open the GUI directly to that screen
Permissions
- gui_creator.can_open_gui - controls whether the user can access the GUI. Default is false.
- gui_creator.can_reload_screens - controls whether the user can reload the screen files. Default is false.
Mac users
I've been informed that Macs have a very unfriendly behaviour of treating remote folders like local folders and creating hidden files on them. This has been causing the problems that I've seen come up a few times where the plugin is trying to read this hidden file.
I've fixed this from 1.6.7 but it you don't want to update, or you're seeing problems with other plugins, there are a couple of things you can do. One is to delete the file .DS_Store from any remote folders that are giving you trouble. Second is to follow the instructions here and stop the behaviour altogether.
Issues
- there are a couple of controls that are hard-coded in Spout so resizing them won't work as intended (mainly check_box and radio_button)
- this plugin is intended to be run full-screen, with GUI scale set to auto (see the previous point)
Like this and want to show appreciation? Send any unwanted TF2 items my way! id: coldandtired
Updated the description. Please read.
@coldandtired ohhh awesome :), I should have tried it first hehe
@MRVDOG It already works exactly like that (assuming 2 is the id of a screen) :)
could you possibly make it so you can use the command "/os 2", to open screen 2, bypassing the default, I am using Citizens2 & Denizen with this and it would be awesome to have GUI's for accepting quests etc..., i.e. could create a GUI confirmation prompt, and have a Denizen script call the "/os 2" command which would open the prompt, then have buttons in that that would say "/yes" or "/no"
@ReevoXF Doesn't it work any more? As far as I know Spoutplugin hasn't changed the protocol for a while so everything should still work as it used to.
Please update! ;o3
@xH3LLRAIZ3Rx
spoutcraft client is now part of the technic client. also the spoutcraft plugin did a pretty good job allowing plugins like this do things that were previously impossible without modding
@Eliijah
By the time that happens spoutserver will probably have been completed, and server owners will be able to add anything they want.
custom gui, blocks, food, monsters, music (all without needing to mod, if your server has it your players can see/use/kill it) will really allow servers to be more unique.
@Eliijah I'm not sure anyone's holding their breath for the Official API :)
On top of that, almost all of the controls (drop down boxes, etc.) available are not found in Minecraft and were added by the Spout team.
The day that open Minecraft gui becomes available and we don't have to use spout or any another client is the day Minecraft takes a HUGE leap forward to a hole new ball game. ( please be soon! )
the spout plugin, no offense is the worst API I have ever seen, but the spout client is ok
<<reply 1688812="">>
In order to add anything visual to Minecraft you will always need a client mod. The server doesn't really send mobs and blocks to the client, only ids, names, positions, etc. so the client has to have its own version of everything so it can use the ids from the server to draw the world.
The server plugin (SpoutPlugin) sends instruction to the client, like "Show this GUI" (in this case). The Minecraft client won't understand that instruction so will ignore it. The client mod (Spoutcraft) does understand and will show the GUI.
In the case of GUI Creator, users can still join the server with the normal client, but only users with Spoutcraft will be able to see the GUIs.
@coldandtired
So spoutcraft is something that anyone joining the server needs?
Such as the mo creatures server? everyone needs mo creatures installed?
Edit: I'm really confused on this subject. Explain like I'm five? hah
<<reply 1676820="">>
Spout change to SpoutPlugin (shows how old this plugin is! I'll update it now.) and is a Bukkit plugin. It has no relation to the new Spout, which is an engine for servers/clients.
Spoutcraft is a Minecraft client mod.
Both can be downloaded here.
Requires Spoutcraft and spout? Are these plugins?? I thought spout was a type of server. Someone help explain please? I'm confused.
If they are plugins, provide links to download please? :D Thanks
<<reply 1665911="">>
There's nothing to update. GUI Creator relies on SpoutPlugin and SpoutCraft so it was always necessary to wait for the Spout team to update before I could. Most of the time nothing changed in the API so an update wasn't needed anyway.
However, the Spout team have just announced that there will be no 1.6.2+ versions of Spout(Craft), which means that plugins like this one will need to remain on 1.5.2. That doesn't mean that I can't add new features though.
You can read more here.
Uppdate! Pls!
@coldandtired
Thank you very much
@cowsralsome Yes. You have two choices, either
or
So like this "temp_permissions: - essentials.fly"
@cowsralsome temp_permissions should still work, but it has to be a list (even if only one permission).
So temp_permissions: - perm.1 (- perm.2, etc.)