#Hey, Im trying to make gamemode command

1 messages · Page 1 of 1 (latest)

cyan basin
#
Command /gmc:
  Permission: permission.gmc
  Permission message: &cu no hav pemrision
    Trigger:
    Ban player no
earnest hatch
#

if anyone sees this, ignore the thread maker, they ignored all forms of help and just said “no” and going on to be highly rude and toxic

cyan basin
#

^

weak sable
#

@rich pendant this is quite complicated, I understand why you need help. Head over to https://docs.skunity.com/ and search for the elements you need. You should also probably make a /gamemode command that changes your gamemode to survival/creative. You can do this by:

  • creating a command
  • setting a variable to the player that executed the command
  • loop all players
  • check if the looped player is the variable (the one that sent the command)
  • then change their gamemode.

Here is an example:command changemygamemodeplease: code: set {buffoon} to "%player%" loop all players: if size of all players >= 1: if loop-player is {buffoon}: cycle the gamemode of loop-player-buffoon to (next gamemode)

rich pendant
#

dont listen to mintii, he is giving you false advice

rich pendant
weak sable