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 8, 2012@MinecraftJackson
Sorry about the dodgy paste:P
The paste bin link is:
http://pastebin.com/WXUJwJLX
-
View User Profile
-
Send Message
Posted Jan 8, 2012@coldandtired Thanks For Your Help!
its:
screens: - text: Test id: 3 num_columns: 8 text_color: 0,255,0 hover_color: 100,255,100 info: Test screen controls: - type: button text: Morning Sun command: /time day row: 1 col: 1 col_span: 2 stay_open: yes - type: button text: Horrible Night command: /time night row: 1 col: 3 col_span: 2 stay_open: yes - type: button text: Sunny Day command: /weather sun row: 1 col: 5 col_span: 2 stay_open: yes - type: button text: Rain Storm command: /weather storm row: 1 col: 7 col_span: 2 stay_open: yes - type: button text: Read Mail command: /mail read row: 2 col: 1 col_span: 2 stay_open: yes - type: button row: 2 col: 3 col_span: 2 text: Go To SPAWN stay_open: yes command: /spawn - type: button text: Away From Keyboard command: /afk row: 2 col: 5 col_span: 2 stay_open: yes - type: button text: Home Sweet Home command: /home row: 2 col: 7 col_span: 2 stay_open: yes - type: button text: GUI Creator Reload command: /rgc row: 4 col: 1 col_span: 2 text_color: 0,255,0 hover_color: 255,0,0 stay_open: yes - type: button text: Essentials Reload command: /essentials reload row: 4 col: 3 col_span: 2 text_color: 0,255,0 hover_color: 255,0,0 stay_open: yes - type: button text: PEX Reload command: /pex reload row: 4 col: 5 col_span: 2 text_color: 0,255,0 hover_color: 255,0,0 stay_open: yes - type: button text: I AM THE GOD command: /god row: 4 col: 7 col_span: 2 text_color: 0,255,0 hover_color: 255,0,0 stay_open: yes - type: button text: Give Item command: /give %on_p% %item_id%%item_data% %amount% row: 5 col: 1 col_span: 2 - type: text_box name: item_id text: ID row: 5 col: 3 - type: text_box name: item_data text: :Data row: 5 col: 4 - type: slider name: amount text: How Many ? = row: 5 col: 5 col_span: 4 max: 64 default: 32 - type: button text: GameMode Switch command: /gm %on_p% row: 7 col: 1 col_span: 2 stay_open: yes - type: button text: Heal Noob command: /heal %on_p% row: 7 col: 3 col_span: 2 stay_open: yes - type: button text: Teleport Me To... command: /tp %on_p% row: 7 col: 5 col_span: 2 stay_open: yes - type: button text: Summon... command: /tphere %on_p% row: 7 col: 7 col_span: 2 stay_open: yes - type: button text: Kick Noob command: /kick %on_p% row: 8 col: 1 col_span: 2 stay_open: yes - type: button text: Ban Noob command: /ban %off_p% row: 8 col: 3 col_span: 2 stay_open: yes - type: button text: Promote Noob command: /op %off_p% row: 8 col: 5 col_span: 2 stay_open: yes - type: button text: Demote Admin command: /deop %off_p% row: 8 col: 7 col_span: 2 stay_open: yes - type: slider text: Choose Online Player = name: on_p mode: online_players row: 10 col: 1 col_span: 4 - type: slider text: Choose Offline Player = name: off_p mode: offline_players row: 10 col: 5 col_span: 4
-George
-
View User Profile
-
Send Message
Posted Jan 8, 2012@MinecraftJackson Post your screen file here. You have a character in there that isn't allowed in YAML.
-
View User Profile
-
Send Message
Posted Jan 8, 2012@coldandtired
Hey can anyone help? i keep getting this error, i have tried everything! :
13:24:55 [SEVERE] Error occurred while enabling GUI Creator v1.2 (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:156) at me.coldandtired.GUI_Creator.Main.onEnable(Main.java:107) 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)
Any help will be greatly appreciated!
-George
-
View User Profile
-
Send Message
Posted Jan 8, 2012@coldandtired
sorry sorry false alarm my pc was bugged yesterday now it works properly
-
View User Profile
-
Send Message
Posted Jan 8, 20121.2 is up - direct link
Changes
-
View User Profile
-
Send Message
Posted Jan 8, 2012@ZeroX4 Works for me. Have you got different permissions set up for the nether?
-
View User Profile
-
Send Message
Posted Jan 7, 2012@chevota http://forums.bukkit.org/attachments/test-txt.7916/
put this in screen folder and in config set open screen to 3 and say here did it work
-
View User Profile
-
Send Message
Posted Jan 7, 2012Still can't get the Screen to show? running MineOS CRUX in my esxi5 host. Created a new Bukkit server, added Spout, Spoutcraft, PermissionsEx, and your GUI creator. setup my PermissionsEx, I type /rgc in minecraft and it shows[GUI Creator] screen files reloaded! I type /os nothing happens. I put the example.yml file in the screens folder after my custom file didn't work, still nothing? So what am I doing wrong? this is driving me crazy... hope some one can help
-
View User Profile
-
Send Message
Posted Jan 7, 2012when i change world
for example i go to nether open screen key dont work i need to reconnect than it works again
problem is i dont get any error in console or anything
-
View User Profile
-
Send Message
Posted Jan 7, 2012@coldandtired
oops - thx :D
-
View User Profile
-
Send Message
Posted Jan 6, 2012@lf94 You need to use ^ now, not % (and start reading release notes ;) )
-
View User Profile
-
Send Message
Posted Jan 6, 2012@lf94
Same here. None of my variables are replace with the proper values.
-
View User Profile
-
Send Message
Posted Jan 6, 2012Hello,
the command key syntax doesn't work for me :( Can you help me please?
Here is my screen-config: http://dev.bukkit.org/paste/4525/
%cg_user% isn't replaced with the selected value :(
Greetings, LF94
-
View User Profile
-
Send Message
Posted Jan 6, 2012@Seweiwer Not temporary, but normal permissions. Screens will be hidden from users without those permissions, so create two new permissions (name them what you want) and give them to players to be able to see permissions with those screens.
If you want to get really complicated, you can give all users a permission called, for example, has.not.chosen.language, and give the choose language screen this permission.
When the user clicks the language button, as well as giving him the right language permission, take away has.not.chosen.language from him. This way he won't see the choose language screen every time.
-
View User Profile
-
Send Message
Posted Jan 6, 2012@coldandtired
You mean temporary permissions? Good idea, thank you ^^
-
View User Profile
-
Send Message
Posted Jan 6, 2012@Seweiwer Yes, I know.
Player has neither german nor english permission - sees only main screen.
Player clicks english button - command: /player setperm is.english (or whatever) - now he sees the english buttons.
-
View User Profile
-
Send Message
Posted Jan 6, 2012@coldandtired The problem is that I don't know what language they speak. They are all talking English, but some are better in German. So I want that the user decide for himself.
@ZeroX4 Yeah, sorry I can't explain me very good ^^
-
View User Profile
-
Send Message
Posted Jan 6, 2012omfg i didnt understand you correctly :D
-
View User Profile
-
Send Message
Posted Jan 6, 2012@Seweiwer You can do that now by adding all the screens to the GUI, and giving half of them the English permission, and half the German permission.
Then, in your main screen, when the user clicks the English button, give him/her the English permission, and vice versa.