/gset - Configure worlds
With the command /gset, you can change the properties of your worlds in real time.
The big advantage: All changes are active immediately without having to reload the server or the world. At the same time, they are saved in the database/config.
The command
/gset [name] <flag> <Value>
Parameters explained
The world must be known to GWorld and managed (created/imported).
With the command For more information on all flags, see the flag page
For more information on all flags and possible values, see the flag page
All flags and their values: The flags and their possible values
Examples
1. Ban/allow a monster/animal
Prohibit a specific animal or monster, in this case the monstermonste Pillager:Pillager
/gset DISABLED_MONSTERS pillager
If the animal/monster is allowed, it will be banned and vice versa (toggle)
For an animal (cow) analogously: /gset DISABLED_ANIMALS cow
2. Disable PVP
Prohibit PVP in a Minecraft world called “MyWorld”:
/gset MyWorld PVP false
3. Set the world to “peaceful”
Set the difficulty level to “peaceful”:
/gset DIFFICULTY peaceful