Exxarion / WorldGM

A PocketMine-MP plugin that allows you to set different gamemodes for certain worlds
GNU General Public License v3.0
6 stars 4 forks source link

Gamemode set to survival in creative world #16

Open frankblob opened 8 years ago

frankblob commented 8 years ago

I have four worlds on my server. One is set to survival. The remaining three are creative.

When a player teleports to the world with GM = 0, nothing happens, gamemode-wise. a /wgm check reveals that the player is still doing "creative mode" in the world in question. So, WorldGM registers correctly, what is going on. But doesn't change the GM, as configured. When the player teleports back or to any other creative world, the gamemode changes to survival. Respawning clears the gamemode back to creative in the creative world.

This happens with gamemode set to 2 (adventure), as well. No gamemode change in the intended world, but a change to survival (even when gamemode was set to 2) when teleporting back to a creative world.

The config.yml is correctly updated with the intended gamemodes for the respective worlds. Have tried setting force-gamemode in server-properties to both true and false, respectively. But with no effect/difference.

This happens across ClearSky_v1.1-dev392 and Genisys_v1.1-dev331. Using ManyWorlds and MagicTelePortal plugins (plus AntiCheat, WorldEdit and iProtector). Running on Ubuntu 14.04.4 server.

EnderKenji commented 8 years ago

Same.

dsclassen commented 8 years ago

I have three survival worlds and three creative worlds.

cat config.yml 
---
excluded: []
worlds:
  lobby: 1
  s1: 0
  s2: 0
  s3: 0
  c1: 1
  c2: 1
  c3: 1

When a user teleports from the lobby to s1 their gamemode remians Creative, even if the gamemode of the world is set to Survival.

OS: CentOS 7 PHP: 7 PocketMine: PocketMine-MP 1.6dev Unleashed implementing API version 2.0.0 for Minecraft: PE v0.15.10.0 alpha (protocol version 84)

Atoman03 commented 7 years ago

Same