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
I'm really sry for all these questions but does temp_permissions still work with buttons because I can't seem to get it to work. By the way this plugin is great good work.
@cowsralsome At the moment no.
I mean for everyone.
@cowsralsome Go to the Spoutcraft settings> controls screen and you can change the key or remove it.
Is it possible to make it so c doesn't open up the gui.
I have a suggestion, or rather request.
It would be possible to create or add an option so that when hitting a sign, open a "screen"?.
The idea is that the player does not have permission to open this screen, which also can see it in the GUI, you can access it only if it hits the sign.
For example, would create a screen with an ID (for example 8). To open this screen, add an option to scree settings (the screen.yml such as:
only sign visible: true
Thus, create a sign that put this:
[Gui_Admin]
ID: 8
* 2 lines for
add text
* For example: "Choose a job" or "Choose a Class" ...
It would be possible to do this?.
@Mr_Wired It's really pretty simple. Each screen is divided into columns and rows, and you define in the screen file which controls should be placed in which col/row.
Have a look at the user-created ones to see some examples.
Like maybe just a video tutorial or something =/
So confused by this plugin, could you please make a tutorial taking me through how to use this? Reading the tutorial made me even more confused than I was before lol
@coldandtired Just for one block I need it so when you left click this one block the screen pops up.
@cowsralsome Ah, you didn't mention that. Do you want different screens for different blocks?
@coldandtired
Ok but how do you set to a certain block so that it opens up when you right click that certain block.
@cowsralsome All you have to do is put it in the folder and have a GUI Creator screen prepared.
By default the plugin will open the main GUI, but if you want it to open to a specific screen change the command in the config to point to that screen id.
command: /os
command: /os 1
command: /os 2
etc.
Can you explain to me how to use GuiCreatorClick so that when you right click a block it opens up the gui? Sry about all these questions.
@cowsralsome Sorry, this one has it - https://dl.dropboxusercontent.com/u/23854992/GuiCreatorClick.jar
when i loaded the plugin the config was blank
@coldandtired
Thank you for your quick and very good responses your plugin is great also.
@cowsralsome Here you go - https://dl.dropboxusercontent.com/u/23854992/GuiCreatorClick.jar
After it runs the first time it will create the config. Change the command setting to specify a screen if you like (e.g. command: /os 1)
@coldandtired
Do you know of a plugin that does that.
@cowsralsome Not natively, but you can easily knock up a plugin to run the command when the block is clicked.