This command adds in an admin access panel for easy gamemode switching, entity killing, and more. Edit: Command Fixed! Added a summon menu to summon a handfull of entities!
How to install
How to import this command into your world
First, you must give yourself a command block (If you are on a server, you must be 'OP'ed, and have access to /gamemode 1)
To get a command block, type
/give @p command_block in the chat.
Once you have a command block, right click it to open it's GUI.
Now, you must copy and paste the command from your browser into the game. Select the entire command from below, then right click and press 'copy'.
Next, go back to your minecraft world, and paste the command you just copied into the command block. There are a few different keys that may be used to do this, depending on your keyboard. The most common ones are 'CTRL + V', 'COMMAND + V', or 'STRG + V'
Finally, you can press done to exit the GUI, and execute the command block by powering it with a redstone block, a lever, or any thing you can get your grubby hands on. Just make sure you don't place it on top of the command block, or the machine will not be installed!
Show source commands
INIT:/scoreboard objectives add axeUse stat.useItem.minecraft.golden_axe
INIT:/scoreboard objectives add isOP dummy
INIT:/scoreboard objectives add summonMenu dummy
INIT:/scoreboard objectives add armorStandMenu dummy
INIT:/scoreboard players set @a isOP 0
INIT:/tellraw @p ["",{"text":"----------------------------------------------------------------------------","color":"gray"}]
INIT:/tellraw @p ["",{"text":"Admin Menu Panel","color":"dark_purple","bold":"true"}]
INIT:/tellraw @p ["",{"text":"Command Made by:","color":"blue","bold":"true"},{"text":" Zabitsu13","color":"gold","bold":"true"}]
INIT:/tellraw @p ["",{"text":"If you are an Operator, break a block with a Golden Axe to access the Menu!","color":"red","bold":"true"}]
INIT:/tellraw @p ["",{"text":"----------------------------------------------------------------------------","color":"gray"}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":"Click me if you are an Operator!","color":"blue","bold":"true","clickEvent":{"action":"run_command","value":"/scoreboard players set @p isOP 1"}}]
/execute @a[score_isOP_min=1] ~ ~ ~ tellraw @a[score_axeUse_min=1] ["",{"text":"Admin Access Panel -","color":"red","italic":"true"},{"text":" ","color":"none","italic":"false"},{"text":"Survival","color":"blue","underlined":"true","clickEvent":{"action":"run_command","value":"/gamemode 0 @p"}},{"text":" ","color":"none","underlined":"false"},{"text":"Creative","color":"green","underlined":"true","clickEvent":{"action":"run_command","value":"/gamemode 1 @p"}},{"text":" ","color":"none","underlined":"false"},{"text":"Give a Command Block","color":"dark_aqua","underlined":"true","clickEvent":{"action":"run_command","value":"/give @p command_block"}},{"text":" ","color":"none","underlined":"false"},{"text":"Kill Entities","color":"dark_red","underlined":"true","clickEvent":{"action":"run_command","value":"/kill @e[type=!Player,r=25]"}},{"text":" ","color":"none","underlined":"false"},{"text":"Summon","color":"gold","underlined":"true","clickEvent":{"action":"run_command","value":"/scoreboard players set @p summonMenu 1"}}]
/tellraw @a[score_summonMenu_min=1] ["",{"text":"Ender Dragon","color":"dark_purple","underlined":"true","clickEvent":{"action":"run_command","value":"/summon EnderDragon ~ ~ ~ "},"insertion":"/tellraw @a[score_axeUse_min=1] %s"},{"text":" ","color":"none","underlined":"false"},{"text":"Ender Crystal","color":"gray","underlined":"true","clickEvent":{"action":"run_command","value":"/summon EnderCrystal ~ ~ ~ "}},{"text":" ","color":"none","underlined":"false"},{"text":"FallingSand","color":"yellow","underlined":"true","clickEvent":{"action":"run_command","value":"/summon FallingSand ~ ~1 ~ {Block:0,Time:1,DropItem:0}"}},{"text":" ","color":"none","underlined":"false"},{"text":"Armor Stand","underlined":"true","clickEvent":{"action":"run_command","value":"/scoreboard players set @p armorStandMenu 1"},"color":"none"}]
/tellraw @a[score_armorStandMenu_min=1] ["",{"text":"With Arms","color":"blue","underlined":"true","clickEvent":{"action":"run_command","value":"/summon ArmorStand ~ ~ ~ {ShowArms:1}"}},{"text":" ","color":"none","underlined":"false"},{"text":"Without Arms","color":"red","underlined":"true","clickEvent":{"action":"run_command","value":"/summon ArmorStand ~ ~ ~ "}}]
/scoreboard players set @a[score_summonMenu_min=1] summonMenu 0
/scoreboard players set @a[score_axeUse_min=1] axeUse 0
/scoreboard players set @a[score_armorStandMenu_min=1] armorStandMenu 0
/summon FallingSand ~ ~1 ~ {Block:redstone_block,Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:fill ~ ~0 ~1 ~ ~-20 ~1 redstone_block},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:setblock ~ ~3 ~1 stone},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:setblock ~ ~4 ~ command_block 0 replace {Command:fill ~ ~2 ~ ~ ~-24 ~1 air}},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":"Click me if you are an Operator!","color":"blue","bold":"true","clickEvent":{"action":"run_command","value":"/scoreboard players set @p isOP 1"}}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":"----------------------------------------------------------------------------","color":"gray"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":"If you are an Operator, break a block with a Golden Axe to access the Menu!","color":"red","bold":"true"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":"Command Made by:","color":"blue","bold":"true"},{"text":" Zabitsu13","color":"gold","bold":"true"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":"Admin Menu Panel","color":"dark_purple","bold":"true"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":"----------------------------------------------------------------------------","color":"gray"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/scoreboard players set @a isOP 0},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/scoreboard objectives add armorStandMenu dummy},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/scoreboard objectives add summonMenu dummy},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/scoreboard objectives add isOP dummy},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/scoreboard objectives add axeUse stat.useItem.minecraft.golden_axe},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/summon FallingSand ~2 ~ ~-1 {Block:command_block,TileEntityData:{Command:/scoreboard players set @a[score_axeUse_min=1] axeUse 0},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @a[score_armorStandMenu_min=1] ["",{"text":"With Arms","color":"blue","underlined":"true","clickEvent":{"action":"run_command","value":"/summon ArmorStand ~ ~ ~ {ShowArms:1}"}},{"text":" ","color":"none","underlined":"false"},{"text":"Without Arms","color":"red","underlined":"true","clickEvent":{"action":"run_command","value":"/summon ArmorStand ~ ~ ~ "}}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/execute @a[score_isOP_min=1] ~ ~ ~ tellraw @a[score_axeUse_min=1] ["",{"text":"Admin Access Panel -","color":"red","italic":"true"},{"text":" ","color":"none","italic":"false"},{"text":"Survival","color":"blue","underlined":"true","clickEvent":{"action":"run_command","value":"/gamemode 0 @p"}},{"text":" ","color":"none","underlined":"false"},{"text":"Creative","color":"green","underlined":"true","clickEvent":{"action":"run_command","value":"/gamemode 1 @p"}},{"text":" ","color":"none","underlined":"false"},{"text":"Give a Command Block","color":"dark_aqua","underlined":"true","clickEvent":{"action":"run_command","value":"/give @p command_block"}},{"text":" ","color":"none","underlined":"false"},{"text":"Kill Entities","color":"dark_red","underlined":"true","clickEvent":{"action":"run_command","value":"/kill @e[type=!Player,r=25]"}},{"text":" ","color":"none","underlined":"false"},{"text":"Summon","color":"gold","underlined":"true","clickEvent":{"action":"run_command","value":"/scoreboard players set @p summonMenu 1"}}]},Time:1,}}}},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/summon FallingSand ~2 ~ ~1 {Block:command_block,TileEntityData:{Command:/scoreboard players set @a[score_armorStandMenu_min=1] armorStandMenu 0},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/scoreboard players set @a[score_summonMenu_min=1] summonMenu 0},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @a[score_summonMenu_min=1] ["",{"text":"Ender Dragon","color":"dark_purple","underlined":"true","clickEvent":{"action":"run_command","value":"/summon EnderDragon ~ ~ ~ "},"insertion":"/tellraw @a[score_axeUse_min=1] %s"},{"text":" ","color":"none","underlined":"false"},{"text":"Ender Crystal","color":"gray","underlined":"true","clickEvent":{"action":"run_command","value":"/summon EnderCrystal ~ ~ ~ "}},{"text":" ","color":"none","underlined":"false"},{"text":"FallingSand","color":"yellow","underlined":"true","clickEvent":{"action":"run_command","value":"/summon FallingSand ~ ~1 ~ {Block:0,Time:1,DropItem:0}"}},{"text":" ","color":"none","underlined":"false"},{"text":"Armor Stand","underlined":"true","clickEvent":{"action":"run_command","value":"/scoreboard players set @p armorStandMenu 1"},"color":"none"}]},Time:1,}}}},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:gamerule commandBlockOutput false},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:fill ~2 ~-2 ~ ~2 ~1 ~ redstone_block},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:setblock ~2 ~-1 ~-1 command_block 0 replace {Command:fill ~ ~ ~1 ~ ~3 ~1 stone 0 replace redstone_block}},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:setblock ~2 ~ ~1 command_block 0 replace {Command:fill ~ ~ ~-1 ~ ~3 ~-1 redstone_block 0 replace stone}},Time:1,Riding:{id:FallingSand,Block:stone,Time:1}}}}}}}}}}}}}}}}}}}}}}}