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 6, 2012@Seweiwer and as i said you can copy 1 screen and translate it to many languages and than just give it ids
so like look lets say you got 3 screens in english
userscreen
opscreen
adminscreen
with ids
1
2
3
than lets say you just translate them to other language and change ids on translate screens to lets say
10
20
30
and than on main screen you just place link buttos to that ids got it ?
-
View User Profile
-
Send Message
Posted Jan 6, 2012@ZeroX4
The screens are all translated, so that's no problem. I mean that you choose in the first screen the language and then are redirected to the screens with the chosen language, without seeing the screens of the other language. But the thing with the languages is only as example.
Admin GUI had such a feature, I think. The first layout I think: http://dev.bukkit.org/server-mods/admin-gui/pages/main/layouts/
-
View User Profile
-
Send Message
Posted Jan 6, 2012@Seweiwer
if you mean language options on gui screen than why dont you copy 1 and translate it
lets say for example you have screen called AdminScreen
just copy it and call it for example AdminScreenGerman and translate on it all text and here you have it
and when AdminScreen would have ID: 1 than AdminScreenGerman would have ID: 2
and than on main screen you just make 2 link buttons and like 1 button to ID: 1st and than 2nd button to ID: 2
-
View User Profile
-
Send Message
Posted Jan 6, 2012Here I have a little idea:
I want to create a screen where you only see the screen that I created, in my case a language selection screen, and when you click, let's say on the link button "English", you are directed to the english screens (that are chosen by me) and you are only able to see the english screens, but not the german screen.
screens:
- text:
id: 1
group: group1 (Defines the group that the screen belongs to)
group_hidden: yes (Here you can say if the group is visible or not, but if you are in one screen of the group you can see the other screens in the group too)
controls:
Hope you understand what I mean ^^
-
View User Profile
-
Send Message
Posted Jan 6, 2012@kripts If you use Spoutcraft, yes.
-
View User Profile
-
Send Message
Posted Jan 6, 2012@coldandtired
So i will still be able to use this plugin just with a lack of some features intended for spout?
-
View User Profile
-
Send Message
Posted Jan 6, 2012@kripts It's far too much work to do that when the new Spout is already coming. When it's ready, the plugin will be moved into a client-centred one, running on Spoutcraft with Spout features optional.
-
View User Profile
-
Send Message
Posted Jan 6, 2012@kripts your idea is great i didnt think of it and its so obvious but i think that mod gui would close or possibility of configuring our own custom screen
-
View User Profile
-
Send Message
Posted Jan 6, 2012Hello, Cant you guys make this into a Minecraft Mod for people that want to use this but not use spout? a client side version, I have been looking for one for ages, I thought this was it, untill I read you need spout :(
-
View User Profile
-
Send Message
Posted Jan 6, 2012@coldandtired
k i just updated tutorial so it fits new plugin features just replaced % with ^ everywhere
anyway i was thinking would you consider adding reload button to the screen as default just as you added close button cause than you could suggest users to edit 1 line at a time and than use reload button so they know does that what they just edited gives error or will it work properly
and i dont mean like reload button i added to my screens but i mean like hard coded reload button which they cant remove and which will always be there
that could save allot of trouble
-
View User Profile
-
Send Message
Posted Jan 6, 2012Version 1.1 is up - direct link
Changes
Slider example:
The two defaults are the same.
-
View User Profile
-
Send Message
Posted Jan 6, 2012@ZeroX4 The first thing was how it used to work, but it seems that when you let the button be set by Spoutcraft, it only works on the main screen. I'll let them know and see if it can be changed.
The second was how I originally planned to do it but decided to get the numbers working first. I'll add it to the next release.
-
View User Profile
-
Send Message
Posted Jan 6, 2012i have 1 idea and 1 question
questin
would it be possible to make openscreen key to close it too ? so it no only opens but also close gui screen ? so when i press it while screen is open GUI close ?
and idea
with slider if you can add custom option for modes or something like that i explain now how it would work
for now sliders works for amount and for offline or online players
but if i have command like /spawnmob MOBTYPE AMOUNT
than would be cool if i can set slider like this
type: slider
name: mob
mode: custom
custom: creeper,zombie,spider,enderman,pig,cow,chicken and so go on....
so it works with
type: button
text: spawn mob
command: /spawnmob %mob% %amount%
for essentials spawn mob
or
type: button
text: change to
command: /md %mob%
for mob disguise
so slider select between values i choose for it and than it would open way for many more commands
so like i have this plugin called mob disguise which allow me to transform my self to any mob and i can use slider to choose in which 1 i can transform
basically so i am able to manually set all possible options slider can select
-
View User Profile
-
Send Message
Posted Jan 5, 2012You can also paste it here and it will tell you where the tab is.
-
View User Profile
-
Send Message
Posted Jan 5, 2012@J15t98J It was definitely a tab, that's what the \t character is.
-
View User Profile
-
Send Message
Posted Jan 5, 2012@J15t98J here you have link to my default screen
http://forums.bukkit.org/attachments/test-txt.7916/
just copy 1 by 1 each text from your screen to my but copy only text dont copy spaces or line breaks
and do it while you are in game so you can use GUI creator reload and see does it crush or no after you copy to that screen some text
-
View User Profile
-
Send Message
Posted Jan 5, 2012@coldandtired I didn't use any tabs, they are all spaces! And I knew not to use them before.
-
View User Profile
-
Send Message
Posted Jan 5, 2012Thanks, works great. But only with unchecked_value: "" ; The other caused an error.
-
View User Profile
-
Send Message
Posted Jan 5, 2012@Seweiwer Just use unchecked_value:, or if that doesn't work, unchecked_value: ""
-
View User Profile
-
Send Message
Posted Jan 5, 2012Also can you setup check boxes that have, when unchecked, no value?
Again I use my old example:
- type: check_box
text: Delete complete inventory?
checked_value: -a
unchecked_value: -/-
name: param0
So that when unchecked only the inventory, but not the hotkeys, is going to be deleted and when checked the complete inventory with hotkeys is going to be deleted.