Inactive [ADMN/GEN/MISC] GUI Creator 1.6.6 - Make GUIs with no programming! [Spout][1.2.5-R4]

Discussion in 'Inactive/Unsupported Plugins' started by coldandtired, Oct 20, 2011.

  1. Offline

    coldandtired

    [​IMG]

    Full details on the BukkitDev page found here.

    Updated to support up to 80 custom buttons with no coding needed. Read the BukkitDev page to learn how.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  2. Offline

    Acemond

    Hmm this is quite useless numbers...
    [​IMG]

    What can i do to roud things up ?
    i'm using Essentials Eco + Vault
    i used a simple ^gc_player_money^
     
  3. Offline

    coldandtired

    I've changed this and it will be in the next release (sometime later today).

    Okay, updated!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  4. Offline

    Acemond

    What?? Where? :D
     
  5. Offline

    coldandtired

  6. Offline

    Acemond

    Awersome job dude.

    There is still a little error with text_labels
    the "align" functionnality doesn't seem to work. When i put :
    - type: text_label
    row: 1
    col: 1
    align: right
    text: 'Tell to:'

    "Tell to" stays on the Left
     
  7. Offline

    coldandtired

    I disabled this a while ago as the correct width wasn't being returned. I was just thinking today about trying to add it back.
     
  8. Offline

    Acemond

    That would be awersome!


    I read somwere else about multiple commands button. Is it on your todo list too?

    And i think the possibility of Scrolling would be great but it seems to be very tricky, what do you think?

    Last one, whould it be possible to add more space to text boxes? Cause you can expand them but never put a lot in them (only 32 characters) :/ that's pretty embarassing with some commands like /mail...


    I was thinking about starting Java coding as i already have C and C++ basics.
    Is plugin coding tricky or accessible to a java beginner?


    Once again, thank your for your plugin and your help, I really think it's good quality :)
     
  9. Is there a way to show player skin with a variable ?
    like ... texture: {playername}.png ?

    Edit: I found.
     
  10. Offline

    coldandtired

    I see you found it but I'll put this here anyway:

    You can set it up so that a texture shows the player's own skin (i.e. the player who opens the GUI) or you can have a texture connected to a slider/combo_box/text_box which will show the selected player's skin.

    For the first one, just add a texture control and the key mode: skin. For the second one, it needs to look something like this:
    Code:
      - type: texture
        row: 1
        row_span: 4
        name: tex
      - type: text_box
        row: 1
        col: 2
        skin_texture: tex
    Change the text_box to a slider or combo_box with player names (using mode: online_players, for example).
     
  11. Ok, so I add the .jar file, but it doesn't generate the config file. I'm not understanding >.<
     
  12. Offline

    coldandtired

    First, check your startup log for errors. It generates a config file and an example file but not a screen file.

    Look at the tutorials on the Bukkitdev page for info on making a screen file.
     
  13. Offline

    terrorsmiley

    How to import the user screens from omlet or ZeroX4 ? i want to use this before i create my own. but i dont know how i can import my own or other GUI's.
     
  14. Offline

    coldandtired

    Copy all the text from screens: down and save it in a YAML file.

    Put this file in the plugins\GUI Creator\Screens folder.
     
  15. Offline

    terrorsmiley

    thank you, but i had another problem: i dont use spoutcraft client. but now i have it and it works perfectly with ZeroX4's Gui :) i change something in this so its good for my server. And now i tried to make my own gui and get this error when i run my server with my own giu:

    [WARNING] Failed to handle packet: while scanning for the next token
    found character'\t' that cannot start any token
    in "<reader>", line 12, column 1:
    row: 1
    ^

    while scanning for the next token
    found character'\t' that cannot start any token
    in "<reader>", line 12, column 1:
    row: 1
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:358)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:204)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:204)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:411)
    at me.coldandtired.GUI_Creator.Main.get_screens(Main.java:232)
    at me.coldandtired.GUI_Creator.GUI_reloadbutton.onButtonClick(GUI_reloadbutton.java:21)
    at org.getspout.spoutapi.packet.PacketControlAction.run(PacketControlAction.java:115)
    at org.getspout.spout.packet.CustomPacket.handle(CustomPacket.java:141)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:172)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

    I think there is somthing wrong with my gui, becaus it works with zeros. here ist my gui, its only in the beginn and it will get some worldedit commands:

    screens:
    - text: WorldEdit
    id: 0
    num_columns: 8
    text_color: 0,255,0
    hover_color: 100,255,100
    info: Worldedit Commands
    controls:
    - type: button
    text: set
    command: //set ^blockid^
    row: 3
    col: 5
    col_span: 2
    text_color: 0,255,0
    hover_color: 255,0,0
    stay_open: yes
    - Type: text_label
    text_color: 255,255,255,255
    text: Block Id
    row: 4
    col: 6
    - type: text_box
    name: ^blockid^
    row: 4
    col: 7


    Would me nice if someone help :) And sorry for my bad englisch - Im from Germany

    That is an amazing plugin, i realy like it. its my favourit of all :)

    terrorsmiley
     
  16. Offline

    coldandtired

    It means that you've used the tab key in a file.

    YAML files can't have any tabs anywhere. Any indentation you use must be with spaces (and the same number of spaces per indentaion level.

    For example,

    grandparent
    ..parent
    ....child
    ......grandchild
    ....child2
    ......grandchild2

    Where each . is a space.
     
  17. Offline

    terrorsmiley

    Sorry that i need your help again, but i have no plan what i need to doo to fix this error. It appears when im pessing the G key to open the GUI:

    [INFO] Could not execute Key Press Delegate of plugin [GUI Creator] for action [gui_creator_open_gui]!
    2012-07-02 07:36:38 [SEVERE] java.lang.NullPointerException
    2012-07-02 07:36:38 [SEVERE]at me.coldandtired.GUI_Creator.GUI_control.<init>(GUI_control.java:88)
    2012-07-02 07:36:38 [SEVERE]at me.coldandtired.GUI_Creator.GUI_screen.<init>(GUI_screen.java:71)
    2012-07-02 07:36:38 [SEVERE]at me.coldandtired.GUI_Creator.GUI.<init>(GUI.java:522)
    2012-07-02 07:36:38 [SEVERE]at me.coldandtired.GUI_Creator.GUI_creator_listener.keyPressed(GUI_creator_listener.java:40)
    2012-07-02 07:36:38 [SEVERE]at org.getspout.spout.keyboard.SimpleKeyBindingManager.summonKey(SimpleKeyBindingManager.java:72)
    2012-07-02 07:36:38 [SEVERE]at org.getspout.spoutapi.packet.PacketKeyBinding.run(PacketKeyBinding.java:67)
    2012-07-02 07:36:38 [SEVERE]at org.getspout.spout.packet.CustomPacket.handle(CustomPacket.java:141)
    2012-07-02 07:36:38 [SEVERE]at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    2012-07-02 07:36:38 [SEVERE]at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    2012-07-02 07:36:38 [SEVERE]at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:172)
    2012-07-02 07:36:38 [SEVERE]at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    2012-07-02 07:36:38 [SEVERE]at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    2012-07-02 07:36:38 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    2012-07-02 07:36:38 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    2012-07-02 07:36:39 [INFO] Could not execute Key Press Delegate of plugin [GUI Creator] for action [gui_creator_open_gui]!
    2012-07-02 07:36:39 [SEVERE] java.lang.NullPointerException
    2012-07-02 07:36:39 [SEVERE]at me.coldandtired.GUI_Creator.GUI_control.<init>(GUI_control.java:88)
    2012-07-02 07:36:39 [SEVERE]at me.coldandtired.GUI_Creator.GUI_screen.<init>(GUI_screen.java:71)
    2012-07-02 07:36:39 [SEVERE]at me.coldandtired.GUI_Creator.GUI.<init>(GUI.java:522)
    2012-07-02 07:36:39 [SEVERE]at me.coldandtired.GUI_Creator.GUI_creator_listener.keyPressed(GUI_creator_listener.java:40)
    2012-07-02 07:36:39 [SEVERE]at org.getspout.spout.keyboard.SimpleKeyBindingManager.summonKey(SimpleKeyBindingManager.java:72)
    2012-07-02 07:36:39 [SEVERE]at org.getspout.spoutapi.packet.PacketKeyBinding.run(PacketKeyBinding.java:67)
    2012-07-02 07:36:39 [SEVERE]at org.getspout.spout.packet.CustomPacket.handle(CustomPacket.java:141)
    2012-07-02 07:36:39 [SEVERE]at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    2012-07-02 07:36:39 [SEVERE]at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    2012-07-02 07:36:39 [SEVERE]at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:172)
    2012-07-02 07:36:39 [SEVERE]at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    2012-07-02 07:36:39 [SEVERE]at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    2012-07-02 07:36:39 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    2012-07-02 07:36:39 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
     
  18. Offline

    coldandtired

    Can you paste your screen file(s) somewhere for me to see? Also, the latest version uses C and not G to open (unless you changed it, of course).
     
  19. Offline

    bro1010

    Can this also be used to change the player list (TAB)? Different colors, prefixes, etc.
     
  20. Offline

    coldandtired

    No, it doesn't touch that at all.
     
  21. 19:11:26 [SEVERE] Error occurred while enabling GUI Creator v1.6.6 (Is it up to date?)
    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:288)
    at me.coldandtired.GUI_Creator.Main.onEnable(Main.java:223)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:552)
    at org.bukkit.Bukkit.reload(Bukkit.java:182)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:475)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:612)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:581)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

    This happens every time I start the server, but if I delete the entire GUI CREATOR folder, it goes away, but then if I put the example screen in the screens folder, it comes back. It just started happening

    I figured it out: it works fine if I delete the .ds_store out of the screens folder. You should probably fix that, because .ds_store is a file mac os automatically adds to all folders that stores layout info for that directory.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  22. Offline

    terrorsmiley

    hi, here is my problem screen, i used ZeroX4s gui and this. it only works if i run only zerox4s:

    screens:
    - text: WorldEdit
    id: 0
    num_columns: 8
    text_color: 0,255,0
    hover_color: 100,255,100
    info: Worldedit Commands
    controls:
    - type: button
    text: Set
    command: //set ^blockid^
    row: 1
    col: 1
    col_span: 2
    text_color: 0,255,0
    hover_color: 255,0,0
    stay_open: no
    - Type: text_box
    row: 1
    name: ^blockid^
    col: 2
    text: 0
    info: Blockid
     
  23. how do I implement show_permission? Do I set the panel up like this:
    - text: Mod Panel
    id: 5
    num_columns: 10
    text_color: 0,255,0
    hover_color: 100,255,100
    info: Admin controls
    show_permission: moderater
    controls:

    then give moderater groups
    gui_creator.show_permission.moderator?

    ok i figured it out. Sorry to spam your forums so much

    You set the show_permission: to whatever you want (ex: panel.admin) then give the user the permission (panel.admin in this case)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  24. Offline

    coldandtired

    Grr Apple!

    I've put in a check for this but you can also stop those files being created on servers if you like: http://support.apple.com/kb/HT1629

    Thanks for telling me about this :)

    Also, that's right about show_permission. You can either set it to a previous permission (e.g. a mod or admin) or make up a new one just for that screen. It can even be used to have screens that are only shown once (rules or something). Give every new player a temporary permission, and make a screen with an 'accept' button. When the user clicks the button remove the permission and the screen won't appear again.

    Send me all your screen files (starting a ticket on the BukkitDev page is probably the easiest way) and I'll have a look.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  25. Thanks for sending me the apple support page, I never knew you could prevent these files from being created. I've just been running a terminal command to delete them every time before I /rgc.

    Also, thanks for putting in the check!

    Also, is there any way you could add my custom interface to the user created interfaces section? I've added details and a code download to compassminecraft.com

    Screenshots:
    Show Spoiler


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  26. Offline

    coldandtired

  27. Offline

    N3rdFilms

    Would it be possible to make an onscreen gui in which there is a slider and then a button? The operation of the slider is to choose from a list of spells and the button is to cast them. But using not using /os but instead a normal part of the gui like the health bar and players can walk and do everything normally with that there also, would this be possible to make?
     
  28. Offline

    coldandtired

    There's no way it can be done. The main screen traps the mouse so the player has no way to interact with any buttons, sliders, etc. on the main screen.
     
  29. However, I would recommend making a panel that includes this, then setting it to your main panel to make it fast to access. Also, your can open the panel by either typing /os OR pressing the C key
     

Share This Page