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
-
View User Profile
-
Send Message
Posted Jan 18, 2012I have one issue. The close button (X) only closes the entire gui if you click it on the first screen opened. If I change screens with a link_button and then try to close the GUI only the current screen closes but the X still remains at the bottom and will not close. ESC does close everything though.
I also have a question. Is it possible to get the Skin: key to work with custom skins, like with the Spout Skin Selector plugin or does it only download the skin assigned to your user name?
Thank you.
-
View User Profile
-
Send Message
Posted Jan 15, 2012I did what MinecraftJackson has recommended. I went to my windows session, I opened with a text editor on Windows, I saved the file under another name, but the console keeps telling me the same error.
-
View User Profile
-
Send Message
Posted Jan 15, 2012@FredZaros The file worked fine except for one thing. You can't have show_funds: no. The key show_funds is used to specify the minimum money a player must have to see the screen, so it must be an integer. show_funds: 500, for example.
Regarding the YAML error, the users chevota and MinecraftJackson had problems a few pages back. Here was what MinecraftJackson recommended.
-
View User Profile
-
Send Message
Posted Jan 15, 2012Here is my screen.yml. I did it on windows with notepad and then I transferred to my mac. If you do not understand some words is because I am French.
http://pastebin.com/u347Cagh
-
View User Profile
-
Send Message
Posted Jan 15, 2012@Stephano It's far easier for you to add the gui_creator.can_open_gui permission to the default group of your permissions manager.
If you aren't using one (you should be) try bPermissions. Setting it up will take 10 seconds.
-
View User Profile
-
Send Message
Posted Jan 15, 2012@FredZaros Your screen file has characters that aren't allowed in YAML. Post it here or make sure there are no spaces in it.
If you're using a Mac they have shitty YAML editors which don't output proper YAML (there were a few other cases in the comments). Try using a different text editor to write the file.
-
View User Profile
-
Send Message
Posted Jan 15, 2012@Adri308 It's not updated yet. There isn't a stable version of CraftBukkit or Spout for 1.1 yet (although it looks like they will be coming soon).
If you mean when you type reload in the console you can't do this with Spout. You have to restart the server for Spout to reload. If you mean the command /rgc you most likely have an error in a screen file. Post your screen file (or a link to it) here and your console log.
-
View User Profile
-
Send Message
Posted Jan 15, 2012can you add so the plugin is defaulting to op. so every OP can use the gui without the permissions
-
View User Profile
-
Send Message
Posted Jan 15, 2012Hello, is anyone could help me? I get this error with the plugin:
10:00:23 [SEVERE] Error occurred while enabling GUI Creator v1.4 (Is it up to date?): special characters are not allowed unacceptable character '' (0x0) special characters are not allowed in "<reader>", position 0 at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:98) at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:191) at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:63) at org.yaml.snakeyaml.Yaml.load(Yaml.java:411) at me.coldandtired.GUI_Creator.Main.get_screens(Main.java:220) at me.coldandtired.GUI_Creator.Main.onEnable(Main.java:158) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
-
View User Profile
-
Send Message
Posted Jan 15, 2012Hi! I have 2 questions Its updated to 1.1?? i have at my server and it sometimes when i reload says (It is up to date?) and then alot of error And the 2 question How to open the GUI the Gui Id is 1 so i type /os 1 and don't opeennn open a button writed /rgc and other X only please help
-
View User Profile
-
Send Message
Posted Jan 13, 2012A real Fantastic Job, got to be my all time Favourite GUI.
Now in process of doing our MEGA menu, Thanks a bunch.
This is Awesome :D
-
View User Profile
-
Send Message
Posted Jan 13, 20121.4 is up - direct link
Changes
^^notation to get a value from another control^^notationThose are all pretty obvious, I think. The last one needs Vault and an economy plugin installed to work.
-
View User Profile
-
Send Message
Posted Jan 12, 2012@coldandtired
Thanks, I just figured out what I was doing all wrong when I gave myself the rgc permission and I checked the log to see why it kicked me off the server :) *facepalm*
-
View User Profile
-
Send Message
Posted Jan 12, 2012@WaferMouse You have a colon in line 34. YAML uses the colon as a special character so if you want to use it in a string you have to enclose it with quotes - "Player worlds:"
Or just remove the colon. Other than that it's fine.
-
View User Profile
-
Send Message
Posted Jan 12, 2012Hi! Love the idea for this plugin, and the documentation and formatting is superb. I've just tried loading up the first screen I've put together, but when I /os all I get is the close button in the bottom-right corner. Here's my file for it, if it helps: http://pastebin.mozilla.org/1447379
Edit: Ugh, nevermind. Fixed it. Removed the errant colon and added col values. That'll teach me to do things this late at night.
-
View User Profile
-
Send Message
Posted Jan 12, 2012@burtthaman It's pretty simple code. Just make sure he puts softdepend: [GUI Creator] in his plugin.yml to make sure his plugin loads after this one.
-
View User Profile
-
Send Message
Posted Jan 12, 2012I'm pretty sure he can figure it out. Pretty simple. Everything you said makes sense. I'll go for the second method. I dont like zips. Too much room for error heh.
-
View User Profile
-
Send Message
Posted Jan 12, 2012@burtthaman Ah, I understand now.
It's not possible from my end but it is from his. I don't know how much programming knowledge he has so I'll show two methods.
The first is simply to put your screen file in a zip file along with his plugin. The screen files always go in ..\GUI Creator\Screens\ so if you create that directory structure, add the screens file to the folder and then zip it into an archive it will extract the the right place.
The disadvantage of this is that even if GUI Creator isn't installed the server will still have the folder and file added.
A cleaner way is to do it in code. On enable, check whether GUI Creator is installed (add a softdepend to the plugin.yml as well) and if so either download the file into the right place or create it line by line in code.
Whichever of these you choose make sure to give the file a unique name to avoid overwriting someone else's file by accident.
If the other plugin creator doesn't know how to do the above have him PM me for a code example.
-
View User Profile
-
Send Message
Posted Jan 12, 2012@coldandtired
No I definately want to use the plugin. What I'm asking is if I make a screen GUI using this mod for a different plugin and give it to that creator. Can he include it in his plugin somehow so that if a server has GUI Creator installed it will automatically work and add a page for that plugin. This eliminates the need for server owners to have to come here for scripts and ensures that the GUI is installed with said plugin on every server and ensures continuity. Every servers GUI would be the same for that plugin and easier for the plugin owner to update GUI page as needed.
I ask all this because the coder working on the plugin doesn't use spout and I don't know how to code java or code spout. But I can figure this out and make a GUI for him.
-
View User Profile
-
Send Message
Posted Jan 12, 2012@Heartless49 I seem to spend all my time messing with plugins instead of playing Minecraft!
I've updated the documentation a bit to include these new keys.