This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
Development on this plugin has stopped, and all further development is on the much better GUI Creator
I created a GUI, but while typing a param for any command, the mouse will reset to the center of the screen and the text box will be deselected. Because of this, I can only type one or two characters at a time.
to a screen element to hide the whole screen from anyone without that permission. Add it to a button element to hide the button. If all the buttons on a screen need permissions that the user doesn't have the whole screen will be automatically hidden.
Add
stay_open="true"
to a button element to keep the GUI open after pressing it.
Number 3 is probably not possible because there is no list of offline players, and if I tracked all players who have ever been on the server the list would be huge. You could do
<buttonlabel="Unban"command="/unban %param%"/>
to make a button with a text box where the player name could be typed and the button clicked to unban the player.
amazing! i use this ALL THE TIME!
just a couple things that might IMPROVE it:
i use this for administrating and wish to let others use it without having access to all MY Commands. could you make it so theres seperate permissions for each screen?
so for example: admin presses ~ and he gets:
Admin screen, moderator screen,and player screen.
Moderator presses ~ and he/she gets: Player screen AND moderator screen buttons ONLY
player presses ~ and he/she gets: Player screen ONLY
seccond: could you make it so you dont have to re-open the GUI every time you push a button?
and last: could you make it so you can select players who are OFFLINE so you can
un-ban them?
Command Buttons can now function as Link Buttons (which I will probably phase out). Add a target="other_screen_name" to a Command Button (doesn't need a command, obviously :) ).
Added a new attribute for Command Buttons, new_row="true". Normally the command buttons are placed four to a row but using this will force the button to start its own row, and the previous row will be centered on the screen.
Use this with no label attribute to make a blank row (like in the screenshot).
Made it so that typing in a Text Box will update the tooltip for its Command Button. This way you can see exactly what command(s) will be executed before you click the button. See the screenshot above for an example.
The screens folder now comes with the screen that creates the screenshot above in an attempt to lessen the amount of complaints about the plugin doing nothing I get :) Just delete it (screenshot.xml) if you don't need it.
At the moment, due to the Spoutcraft bug
Command Buttons used as links look the same as normal (the tooltip is different though) but will have a different text colour (if you want) when it's fixed.
Changing text in the Text Box still has to close and re-open the GUI to update the tooltips so the Text Box loses focus. It's possible to type quickly (the event is called after about half a second of no typing) to lessen this.
Because of this the download for 1.6.4 will stay there as this behaviour might be too annoying at the moment. Try it and see.
There is now a command to reload the screens without reloading the plugin.
/reload_screens or /rs. Of course, it's possible to add a command button to a screen that calls this command for you. This will reload the screens for all users and will show up the next time the GUI is opened. Needs permission Admin_GUI.can_reload.
Text boxes can now have multiple values in them (separated with semi-colons) so a Command Button that has multiple commands can have a different parameter for each command. If the number of parameters is less than the number of commands the last parameter will be used for all further commands.
I've added a workaround for the Spoutcraft bug.
The effects of the bug are:
colours are ignored on pretty much everything except the hover colour. This means the selected button doesn't change text colour. The command button tooltip will tell you which player is selected though.
The GUI is now closed and reopened to show the changes. This makes it a little jerky but at least it works
Resizing the screen while the GUI is open (or changing to/from fullscreen) won't correctly resize the buttons. Opening the GUI after a resize is okay.
Hopefully this bug gets fixed soon and I can revert the code back to the old stuff.
@RustyDagger
Ah, I see. That's no problem, I'll add it tomorrow.
Spout has to take a while to update due to having to hook into Minecraft itself. I imagine that once MC leaves Beta the code should become more stable and the Spout team will be able to update more quickly.
Spoutcraft installs next to Minecraft so the original can easily be played at any time without changing any settings.
Currently there's a bug in Spoutcraft (which should get fixed tomorrow) which means that my plugin is almost unusable at the moment.
@coldandtired yes a way to reload the screen config. using the servers /reload command causes a small memory leak that can stack also of late chunk loading issues have been caused by the /reload command.
I would try the plugin but I'm just unsure about spout and weather its the right thing to do. It has very large amounts of down time every time Minecraft updates.
can someone give me a config.yml file plz
My config file is fully blank
I created a GUI, but while typing a param for any command, the mouse will reset to the center of the screen and the text box will be deselected. Because of this, I can only type one or two characters at a time.
Is there a way to fix this?
Sure. Add
to the config.yml file. Choose one of these to replace the O key.
thanks!
and another thing...
my friend has a MAC and theres no ~ key
is there a way to change it?
Version 1.6.6dev is up. The Spout team fixed one of the bugs in the dev builds so I removed some of the workarounds.
The main change is that the tooltips are now updated smoothly (the GUI doesn't have to re-open and the param boxes don't lose focus).
Also added more examples to match the tutorial webpages.
Not recommended if you're running Spout RB (510) though.
1 and 2 are already there.
Add
to a screen element to hide the whole screen from anyone without that permission. Add it to a button element to hide the button. If all the buttons on a screen need permissions that the user doesn't have the whole screen will be automatically hidden.
Add
to a button element to keep the GUI open after pressing it.
Number 3 is probably not possible because there is no list of offline players, and if I tracked all players who have ever been on the server the list would be huge. You could do
to make a button with a text box where the player name could be typed and the button clicked to unban the player.
amazing! i use this ALL THE TIME!
just a couple things that might IMPROVE it:
i use this for administrating and wish to let others use it without having access to all MY Commands. could you make it so theres seperate permissions for each screen?
so for example: admin presses ~ and he gets:
Admin screen, moderator screen,and player screen.
Moderator presses ~ and he/she gets: Player screen AND moderator screen buttons ONLY
player presses ~ and he/she gets: Player screen ONLY
seccond: could you make it so you dont have to re-open the GUI every time you push a button?
and last: could you make it so you can select players who are OFFLINE so you can
un-ban them?
thanks!
- mutination17
Thanks for such a cool plugin, I'm using this on my server. :)
Updated to 1.6.6.
New config setting param_panel: true will generate a set of Text Boxes for the whole screen to share instead of per button.
Fixed a bug in the new_row attribute handling.
Updated to 1.6.5.
New stuff
At the moment, due to the Spoutcraft bug
Because of this the download for 1.6.4 will stay there as this behaviour might be too annoying at the moment. Try it and see.
@bearbear12345
Default is KEY_GRAVE () to open the GUI but you can change it:
to open it with "F4" you must add
to your config.yml which can be found inside the "Admin GUI" folder
How Do I open the GUI?
Updated to 1.6.4 due to some test code affecting 1.6.3. You need to update if you use any command buttons with %player% in the command.
New stuff:
I've added a workaround for the Spoutcraft bug.
The effects of the bug are:
Hopefully this bug gets fixed soon and I can revert the code back to the old stuff.
Amazing addon, can't see how I lived without it.
Any update for the new Spoutcraft? Would love to see this working correctly... Been a few days now :)
@RustyDagger Ah, I see. That's no problem, I'll add it tomorrow.
Spout has to take a while to update due to having to hook into Minecraft itself. I imagine that once MC leaves Beta the code should become more stable and the Spout team will be able to update more quickly.
Spoutcraft installs next to Minecraft so the original can easily be played at any time without changing any settings.
Currently there's a bug in Spoutcraft (which should get fixed tomorrow) which means that my plugin is almost unusable at the moment.
@coldandtired yes a way to reload the screen config. using the servers /reload command causes a small memory leak that can stack also of late chunk loading issues have been caused by the /reload command.
I would try the plugin but I'm just unsure about spout and weather its the right thing to do. It has very large amounts of down time every time Minecraft updates.
Thanks!
A reload command to do what, reload the plugin?
You implemented my idea! Awesome. This will come in very handy, thanks.
EDIT: The only thing it needs now is a reload command. Then it will be perfect!
You need to be a bit more precise than that.