How To Change Gamemodes In Minecraft Java Edition
Melee is bound to noclip You can only change it by changing noclip It might eventually change when we rewrite the special weapons system, but I doubt it will be bindable set argument 1's gamemode to creative message "&6Set game mode &ccreative &6for %player's display name%&6" to sender else message "&cYou do not have permission for this command!" to sender and for some reason "permission message &cYou do not have permission for this command!" is not colored the example is on a screenshot
/gamemode creative not working