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
This is super easy to use.I'm really impressed. Are there any plans to make a client app for creating screen yml files? It sure would cut down on screen creation time.
I did this inside of two hours today for the first time.
http://i.imgur.com/qIQRmy5.png
thanks for the quick help, bug has gone
@czyngischan You have an id set to the string 'alfheimonline' when it should be a number.
im ask, wtf? http://img827.imageshack.us/img827/4960/guicreator.png everything works but if I click the button to open the gui, console show mi this, but everything working, gui etc, if I use command "/os" console dont show me bug,
@Darth_Buddha Sounds doable. You can already do this in a hacky way by adding the open screen command to the end of the real command so the GUI opens itself again.
As for stay_open and confirm, they should be usable together.
I would like to be able to fire a command and clear a text_box when i click on a button. another idea, allowing the enter key when pressed in a text_box to stimulate a button being pressed?
It would allow a much better pm chat type interface...
I really like this plugin...
stay_open: yes confirm_command: yes
any way i can use both of them on the same button?
j arrive pas a mettre un Skin quelqu’un peu faire un exemple simple mais efficace parcque sa fait 3 jour que je cherche a faire
@coldandtired
dude, you're the best
1.4.7 b3 is up - direct link
Textures can now bind to other controls (see below). Here's an example to test it out.
@brentg14 All done, uploading now.
@coldandtired
anything yet?
thanks, that would be nice, i can't figure it out for the life of me :P
@brentg14 I'll have a look at this today. I don't play Minecraft myself so I have to figure out what to do with the plugin first!
k.......but how? can you give me an example of how it might work please
@brentg14 It might already do this.
I know I added the possibility to use values from one control in another, so it might already work.
is there any way i can use a radio_box to when clicked, show a texture, and when unclicked, hide the texture.
http://i.imgur.com/j2fqu9c.png like i want the texture selected to appear where the current texture is.
@vert642 Should do. From 1.4.7 b2 the example file is created inside the screens folder already.
If I copy the exemple.yml in the screens folder is it gonna work?
@EpicKnarvik97 Does it stop working after you change worlds?