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 Feb 24, 2012@kendallf I don't make any of the controls used, only a bridge between the controls and commands.
The Spout team are aware that the combo_box is a bit buggy (various things have already been fixed in the dev builds). They're the ones who called it a combobox instead of a dropdownbox :)
Strangely, I have had it appear a couple of times as a text box so maybe its functionality isn't finished yet.
-
View User Profile
-
Send Message
Posted Feb 23, 2012@coldandtired
For multiple values, basically just used as a way to have a drop down menu or slider set multiple different commands on a single page. I don't really know how well it would even work in practice, and there is probably a better way to implement it anyways. Example would be for use on a page that handles classes in Heroes. With no limit to the number of extra values, one drop down box could modify every button on a page to be specific to the value of that selection.
I keep thinking of some way to use the hidden button value in combination with this, but I'd imagine it would take FAR more name value keys to get a page to show/hide values when selecting from the drop down, like a name key for every single form that would need to be hidden as a value for every entry in the combo box. I could probably elaborate, or make an example, but now that I've written what's the example below down, I don't see it being needed as much.
Example:
- type: combo_box
text: Combo Box
items:
- text: Rouge
selected_value: rouge & backstab & extra damage when attacking in the back & skill & skilltooltip
- text: Mage
selected_value: mage & icebolt & shoots a bolt of ice for 5 damage & skill & skilltooltip
name1: classname
name2: skill1
name3: skill1tooltip
name4: skill2
name5: skill2tooltip
- type: texture
mode: skin
name: ^classname^
- type: button
text: Set Class
command: /hero choose ^classname^;/hero confirm
confirm_command: yes
- type: button
text: Bind ^skill1^
info: ^skill1tooltip^
command: /bind ^skill1^
- type: button
text: Bind ^skill2^
info: ^skill2tooltip^
-
View User Profile
-
Send Message
Posted Feb 23, 2012This is an amazing plugin, it's so simple yet powerful. I just have two small issues. Firstly when resizing combo boxes the arrow jumps out of the edge of the box when setting the col_span to 2 or greater. Secondly I though the point of a combo box was to be able to type in text or select from the drop down list. This would be much more handy than a plain drop down menu.
Other than that I can't really think of anything I would change. Good work!
-
View User Profile
-
Send Message
Posted Feb 23, 2012@mrtankjump Separate commands with a semi-colon. E.g. /command;/command2;chat
I'll check to see if labels support multiple lines.
I can't see any use for the multiple values thing (or way of doing it). What do you want to use it for?
Hidden controls is possible but probably more trouble than they're worth. I'll think about it.
-
View User Profile
-
Send Message
Posted Feb 22, 2012Is it possible to make a new line in a text_lable ?
What, if any, is the syntax to issue multiple commands. For example
- type: button
text: Rainy Day
command: /set day /storm on
Feature request:
1. Multiple selected values and name:
Example:
- type: combo_box
text: Combo Box
items:
- text: Text1
selected_value: val1 & val2
- text: Text2
selected_value: val1 & val2
name1: namevalue1
name2: namevalue2
2. Hidden field for forms. By having 2 values defined, one could simply be off, and after selecting something, the form would appear, where it was previously hidden.
-
View User Profile
-
Send Message
Posted Feb 22, 2012I am in awe... You're like some sort of christmas coding elf that grants plugin wishes... You rule!!!
-
View User Profile
-
Send Message
Posted Feb 22, 20121.6 is up - direct link
Changes
-
View User Profile
-
Send Message
Posted Feb 22, 2012@matthieu614 It's next on my list :)
-
View User Profile
-
Send Message
Posted Feb 22, 2012@coldandtired
Have you seen my MP ?
-
View User Profile
-
Send Message
Posted Feb 22, 2012@Darkhand81 I think that could be arranged. I'll have a look at adding it tonight.
-
View User Profile
-
Send Message
Posted Feb 22, 2012I misclicked while testing today and sent 1000 currency when I meant to send 100.
Would a confirmation box option be possible? Buttons could be set to pop up a small window with configurable text (or even just 'Are you sure?') and a Yes/No or Ok/Cancel option. Yes would send the command, No would cancel it.
-
View User Profile
-
Send Message
Posted Feb 22, 2012Ho can i change screens show button? And how to translate locals?
-
View User Profile
-
Send Message
Posted Feb 21, 2012@morizuki
i think you can create your " about " screen. Just be creative
-
View User Profile
-
Send Message
Posted Feb 21, 2012@morizuki There's no real example for it - just use text_labels and textures and span multiple rows and columns to get the layout you want.
-
View User Profile
-
Send Message
Posted Feb 21, 2012@Seweiwer There isn't but I can easily add it.
The combobox thing is a known Spoutcraft bug which they're working on.
-
View User Profile
-
Send Message
Posted Feb 20, 2012@coldandtired
can you give me an example of screen config on how to make a about screen?
let say..
Title
Description blah blah blah blah
<br>
Title2
Description blah blah blah blah
-
View User Profile
-
Send Message
Posted Feb 20, 2012Is there a "mode:" for banned players or IPs? Just like "mode: banned_players".
Also: The combo boxes aren't closing themselfs.
-
View User Profile
-
Send Message
Posted Feb 20, 2012@ChupaDrahkir The first issue is a long-standing SpoutEsentials bug which has yet to be fixed. There's nothing I can do about it from my end.
Opening a browser from a plugin is currently impossible (Spout doesn't do it through the plugin). It will probably be possible when the new Spout is ready.
Scrollable text_boxes (if you mean scrolling right) is something the Spout team know about and are working on. If you mean multi-line, I think it's already possible.
Not quite sure what you mean about resizing text labels. I know a new GUI system is being written by the Spout team to more closely resemble CSS so it might naturally become possible anyway.
-
View User Profile
-
Send Message
Posted Feb 20, 2012Incredible plugin and works great except for one thing,every time I click a button (even links or opening drop down boxes but not selecting an item from a drop down box) I prints in chat the Unknown command message. All the commands work great though it just seems to print that whenever a normal button is pressed. Includes the close GUI button and the /rgc button.
Also could you add an option for re-sizing Text Labels and maybe add text boxes which are a scroll-able dialog.
One more suggestion: Link buttons that actually link to a webpage opening the players default browser, I think this is possible in Spout as it does this in the About page.
Ultimately a plugin that could show web pages with images would be incredible but that is asking way to much.
-
View User Profile
-
Send Message
Posted Feb 20, 2012@morizuki
If you mean the Chat in the GUI, that was a suggestion ^^