[Tutorial] [MadCommands] Faction GUI

Here is a GUI I made. This is good for Faction servers!
It’s a easier way to run commands in factions. Hope you like it!

/cmd add fgui %player% = %p%

/cmd add fgui %gui%["type"]    = \"form\"

/cmd add fgui %gui%["title"]   = \"Faction Menu"

/cmd add fgui %gui%["content"] = \"Select an option\"

/cmd add fgui %button0%["text"]  = \"§cCancel\"

/cmd add fgui %button1%["text"]  = \"§2Set Faction Home\"

/cmd add fgui %button2%["text"]  = \"§cUnset Faction Home\"

/cmd add fgui %button3%["text"]  = \"§2Claim Land\"

/cmd add fgui %button4%["text"]  = \"§cUnclaim Land\"

/cmd add fgui %button5%["text"]  = \"Teleport to Faction Home\"

/cmd add fgui %button6%["text"]  = \"§cLeave Faction\"

/cmd add fgui %button7%["text"]  = \"§cDelete Faction\"

/cmd add fgui %buttons%[]      = %button0%

/cmd add fgui %buttons%[]      = %button1%

/cmd add fgui %buttons%[]      = %button2%

/cmd add fgui %buttons%[]      = %button3%

/cmd add fgui %buttons%[]      = %button4%

/cmd add fgui %buttons%[]      = %button5%

/cmd add fgui %buttons%[]      = %button6%

/cmd add fgui %buttons%[]      = %button7%

/cmd add fgui %gui%["buttons"] = %buttons%

/cmd add fgui %response%       = dialog(%player%, %gui%)

/cmd add fgui if %response%    = 0 then exit

/cmd add fgui if %response%    = 1  then /f sethome

/cmd add fgui if %response%    = 2 then /f unsethome

/cmd add fgui if %response%    = 3 then /f claim

/cmd add fgui if %response%    = 4 then /f unclaim

/cmd add fgui if %response%    = 5 then /f home

/cmd add fgui if %response%    = 6 then /f leave

/cmd add fgui if %response%    = 7 then /f del

Join My Leet Server
IP:pixelcraftmcpe.us.to
Port:17544

About Me
I own the Pixel Craft server
YouTube Channel: ProMasterBoy - Minecraft
Xbox Live Gamertag: ProMasterBoyYT
Discord: ProMasterBoy#4804

@promasterboy This is very good tutorial and I hope this is going to be usefull for LEET faction servers.
Anyways, just keep going with those tutorials because they’re awesome!

iDaxy
Creator of GoldenRealms

Twitter - iDaxy

Does anybody know what " I should use for the things like “text”? If I just use the normal ", the type gets tiny on my iPad or iPhone.

Making no sense since 2002™

IGN/Gamertag: JaxThePerson
Discord: JaxThePerson#8819

Thx
I try it already and seem to be working bery good
Players can use it for something alse
But really good

Nice tutorial!
Keep going with making tutorials👍🏻

Twitter: @datalion_
Instagram: @datalion



Any problems?
Feel free to contact us on: http://support.leet.cc

Thanks but somehow this is too long

@promasterboy
Really nice
I just going to change the names colors and add more options
alt text
alt text

@warcraftmcpe There is no shorter way to do this. I have GUI’s that are 100 Lines long

Twitter: @datalion_
Instagram: @datalion



Any problems?
Feel free to contact us on: http://support.leet.cc

Nice tutorial! I may use them

>GenetiCraft - Moderator
>NetherBoss - Manager
>NitroNetwork - Manager
>Lifeboat - Moderator
CEO | Founder of Pulse Network

LEET Customer Support

Hey why
When I run the command and the menus popup
And if I don’t press any button
Just simple goin back
Then comes and error at line 23
Error undefined variable response
Help me pls

Log in to reply

Looks like your connection to LEET Forums was lost, please wait while we try to reconnect.