SimpleGUI

Inactive
Easily create beautify GUIs in Minecraft without the need of a client mod

Move along. Nothing to see here...

Yet...

Message me on twitter if you want to test out the new version which uses Lua to create more advanced menues. @DevGoblom

Material = luajava.bindClass("org.bukkit.Material")
--[[
    Example GUI
]]

setTitle("Example Title")
setPermission("something.somethingelse")
canOpen(
    function(who)
        return true
    end
)

--[[
    The Menu size is dynamic, meaning it will generate based on where and how many buttons you have
        but, if you want to set manually you can. This will override the dynamic sizing. So make sure
        you give it enough rows.

    Dynamic Menu size is not implemented yet. But is in working stages right now.
]]
setRows(1)

onOpen(
    function(whoOpened)
--      doSomething
    end
)

onClose(
    function(whoClosed)
--      doSomething
    end
)

local button = put(0, "Example Button") -- put(slot) || put(slot, name) || put(slot, name, lore[one line]) || create(name) || create(name, material) || create(material)
button.addClickEvent(
    function(player)
--      doSomething
        return true -- true closes menu, false keeps it open
    end
)
button.setAmount(1)
-- button.setDamage(int) -- To change color of panes and shit
button.setMaterial(Material.REDSTONE)
button.setGlowing(true)
button.setName("Example Button")
button.setLore("Some Fucking Lore", "Line 2", "Line 3")
button.setSlot(0)

--[[
    These can be used together or by themself, the result is the same.
        if either is false the button will not show
]]
button.setViewPermission("player.canviewexample")
button.canView(
    function(player)
        return true
    end
)

The SimpleGUI Team

profile avatar
  • 5
    Projects
  • 1.0M
    Downloads
Donate

More from _ForgeUser8696085View all

  • Connect project image

    Connect

    • 468
    • Bukkit Plugins

    Use texting to communicate with your server. Also allows for social network connection.

    • 468
    • August 26, 2016
    • Bukkit Plugins
    • +2
  • IMGSender project image

    IMGSender

    • 8.1K
    • Bukkit Plugins

    Send images with the chat !

    • 8.1K
    • April 8, 2014
    • Bukkit Plugins
    • +1
  • Hubber project image

    Hubber

    • 2.0K
    • Bukkit Plugins

    easily create commands that can send users to different servers on your network

    • 2.0K
    • February 20, 2014
    • Bukkit Plugins
    • +2
  • FriendZone project image

    FriendZone

    • 0
    • Bukkit Plugins

    FriendZone is the f

    • 0
    • February 18, 2014
    • Bukkit Plugins
    • +1
  • Connect project image

    Connect

    • 468
    • Bukkit Plugins

    Use texting to communicate with your server. Also allows for social network connection.

    • 468
    • August 26, 2016
    • Bukkit Plugins
    • +2
  • IMGSender project image

    IMGSender

    • 8.1K
    • Bukkit Plugins

    Send images with the chat !

    • 8.1K
    • April 8, 2014
    • Bukkit Plugins
    • +1
  • Hubber project image

    Hubber

    • 2.0K
    • Bukkit Plugins

    easily create commands that can send users to different servers on your network

    • 2.0K
    • February 20, 2014
    • Bukkit Plugins
    • +2
  • FriendZone project image

    FriendZone

    • 0
    • Bukkit Plugins

    FriendZone is the f

    • 0
    • February 18, 2014
    • Bukkit Plugins
    • +1