Add support for setting gamemode, based on a third party worldmanager's gamemode setting for the world.