• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Minecraft 1.16.220 Update + Bug/Crash Fixes
    Added MCPE 1.16.220 version and fixed crashes for multiple plugins. You can view the full changelist here.
  • Forum Updates - 4/11/2021
    Various changes have been made to the forums and a few categories. You can view the full changelist here.

Set cape command / Cape GUI

Warning!
Hello , there have been no replies in this thread for more than 30 days.
Please make sure you have a valid reason before you reply to this thread or you may face moderation action.

Skylar

Staff Member
Community Team
#1
Here is a cape GUI I have seen people asking for something like this so here you go!
cmd add setcape %player% = %p%
cmd add setcape if varset(%args%[1]) then %player% = %args%[1]
cmd add setcape %gui%["type"] = \"form\"
cmd add setcape %gui%["title"] = \"§aCape Selection\"
cmd add setcape %gui%["content"] = \"Choose a free cape to use!\"
cmd add setcape %warp0%["text"] = \"§cCancel\"
cmd add setcape %warp1%["text"] = \"Minecon 2011 Cape\"
cmd add setcape %img1%["type"] = \"url\"
cmd add setcape %img1%["data"] = \"<insert you skin preview url here>\"
cmd add setcape %warp1%["image"] = %img1%
cmd add setcape %warp2%["text"] = \"Minecon 2012 Cape\"
cmd add setcape %img2%["type"] = \"url\"
cmd add setcape %img2%["data"] = \"<insert you skin preview url here>\"
cmd add setcape %warp2%["image"] = %img2%
cmd add setcape %warp3%["text"] = \"Minecon 2016 Cape\"
cmd add setcape %img3%["type"] = \"url\"
cmd add setcape %img3%["data"] = \"<insert you skin preview url here>\"
cmd add setcape %warp3%["image"] = %img3%
cmd add setcape %warp4%["text"] = \"§c§lRemove Cape\"
cmd add setcape %buttons%[] = %warp0%
cmd add setcape %buttons%[] = %warp1%
cmd add setcape %buttons%[] = %warp2%
cmd add setcape %buttons%[] = %warp3%
cmd add setcape %buttons%[] = %warp4%
cmd add setcape %gui%["buttons"]= %buttons%
cmd add setcape %response% = dialog(%player%, %gui%)
cmd add setcape if varset(%response%) = 0 then exit
cmd add setcape if %response% = 1 then goto 33
cmd add setcape if %response% = 2 then goto 35
cmd add setcape if %response% = 3 then goto 37
cmd add setcape if %response% = 4 then goto 39
cmd add setcape exit
cmd add setcape asop /cape set %p% 0
cmd add setcape exit
cmd add setcape asop /cape set %p% 1
cmd add setcape exit
cmd add setcape asop /cape set %p% 2
cmd add setcape exit
cmd add setcape asop /cape remove %p%
---------------
Author: Unknown