Kit:
<game-mode>creative</game-mode>Sets the player to creative mode.
Filter:
<game-mode>survival</game-mode>Returns TRUE if the player (or game mode) queried is in survival, otherwise returns FALSE (if queried object is neither a player nor a game mode, returns ABSTAIN).
Kit:
<flying/>Sets the player to flying. Equivalent to this:
<flying>true</flying>...which also sets the player to flying. Naturally, this is also possible:
<flying>false</flying>...which sets the player to not flying.
Filter:
<flying/>Returns TRUE if the player queried is flying, otherwise returns FALSE (if queried object is not a player, returns ABSTAIN).
Kit:
<can-fly/>Allows the player to fly. Equivalent to this:
<can-fly>true</can-fly>...which also allows the player to fly. Naturally, this is also possible:
<can-fly>false</can-fly>...which disallows the player from flying.
Filter:
<can-fly/>Returns TRUE if the player queried is allowed to fly, otherwise returns FALSE (if queried object is not a player, returns ABSTAIN).