Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WorldGM 9.0

Set different gamemodes for different worlds

  1. Exxarion
    Offline

    Exxarion Active Member Plugin Developer

    Joined:
    Jan 5, 2014
    Posts:
    242
    Plugins:
    1
    Minecraft User:
    Notch
    I have not tested the plugin on 0.11.0 yet, so I do not know what will happen. I will experiment further and see what the culprit is.
  2. dxm_hippie
    Offline

    dxm_hippie Active Member Plugin Developer

    Joined:
    Feb 1, 2015
    Posts:
    413
    Plugins:
    1
    Minecraft User:
    XxDXM_hippiexX
    Will this force gamemode in worlds? I have a problem with some admins thinking its ok to give out blocks and build in cmode it my survival world -_-
  3. Exxarion
    Offline

    Exxarion Active Member Plugin Developer

    Joined:
    Jan 5, 2014
    Posts:
    242
    Plugins:
    1
    Minecraft User:
    Notch
    Exxarion updated WorldGM with a new update entry:

    WorldGM v7.0

    Read the rest of this update entry...
  4. minebuilder0110
    Offline

    minebuilder0110 Notable Member

    Joined:
    Dec 8, 2014
    Posts:
    485
    Minecraft User:
    Apparitional
    It doesnt seem to change the gamemode properly. When I tried it, I have set world gateway 0, creative 1 and flatcreative 1. In the world gateway, I got gamemode 1 and gamemode 0 in others. Please try with more than three worlds, it doesnt work properly.
  5. Exxarion
    Offline

    Exxarion Active Member Plugin Developer

    Joined:
    Jan 5, 2014
    Posts:
    242
    Plugins:
    1
    Minecraft User:
    Notch
    I have tested it, and it worked fine for me. Probably you are using it on PM 1.5, where it has little support.

    Try running /stop, and be sure to exclude/include yourself. Also try running /wgm check.
  6. minebuilder0110
    Offline

    minebuilder0110 Notable Member

    Joined:
    Dec 8, 2014
    Posts:
    485
    Minecraft User:
    Apparitional
    Damn shame. Please make it support 1.5, gamemode change doesnt crash.
  7. Exxarion
    Offline

    Exxarion Active Member Plugin Developer

    Joined:
    Jan 5, 2014
    Posts:
    242
    Plugins:
    1
    Minecraft User:
    Notch
    Yes. On all players except to those who are excluded.
    dxm_hippie likes this.
  8. Exxarion
    Offline

    Exxarion Active Member Plugin Developer

    Joined:
    Jan 5, 2014
    Posts:
    242
    Plugins:
    1
    Minecraft User:
    Notch
    Im working on it :p
  9. LloydCool
    Offline

    LloydCool New Member

    Joined:
    Dec 24, 2014
    Posts:
    33
    Minecraft User:
    LloydCool
    update this please fix survival and creative changed
  10. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    umm...
    will this work with latest PM?
  11. Mat
    Offline

    Mat Active Member Plugin Developer

    Joined:
    Jun 15, 2014
    Posts:
    179
    Plugins:
    1
    Minecraft User:
    matcracker
    Yes, it works
  12. ToNeX
    Offline

    ToNeX New Member

    Joined:
    Jan 19, 2015
    Posts:
    39
    Minecraft User:
    AryToNeX
    hub: 0
    creative: 1
    survival: 0
    slegacy: 0

    Result:
    hub
    --> gamemode survival
    tp in creative
    --> gamemode survival
    return to hub
    --> now I'm in creative
    return to creative
    --> gamemode survival... WTF
    tp in survival
    --> gamemode creative... WTF!!!!
    tp in slegacy
    --> gamemode survival... the only right gamemode in the right world
  13. ToNeX
    Offline

    ToNeX New Member

    Joined:
    Jan 19, 2015
    Posts:
    39
    Minecraft User:
    AryToNeX
  14. Exxarion
    Offline

    Exxarion Active Member Plugin Developer

    Joined:
    Jan 5, 2014
    Posts:
    242
    Plugins:
    1
    Minecraft User:
    Notch
    I have not found the time to work some more on this, but when I get around to it, I will.

    Its probably because PocketMine does not support numbered gamemodes (0/1/2), but I may be wrong.
  15. TheDeibo
    Offline

    TheDeibo Notable Member Plugin Developer

    Joined:
    Sep 8, 2014
    Posts:
    692
    Plugins:
    1
    Minecraft User:
    TheDeibo
    I haven't tested it yet, but here is a small idea

    Instead of using 0 or 1
    Use letters, as in c or s
  16. Exxarion
    Offline

    Exxarion Active Member Plugin Developer

    Joined:
    Jan 5, 2014
    Posts:
    242
    Plugins:
    1
    Minecraft User:
    Notch
    Exxarion updated WorldGM with a new update entry:

    WorldGM v8.0

    Read the rest of this update entry...
  17. HotFireyDeath
    Offline

    HotFireyDeath Notable Member Plugin Developer

    Joined:
    Mar 19, 2015
    Posts:
    328
    Plugins:
    1
    Minecraft User:
    HotFireyDeath
    This plugin works fine... only problem is that it is reversed.
    If you do /wgm set 1 in one world and /wgm set 0 in another, it will swap so that the first world is survival while the second is in creative :p
  18. Exxarion
    Offline

    Exxarion Active Member Plugin Developer

    Joined:
    Jan 5, 2014
    Posts:
    242
    Plugins:
    1
    Minecraft User:
    Notch
    As long as you know about that bug, it should not be a problem :p

    I can attempt to get it fixed.
    HotFireyDeath likes this.
  19. minebuilder0110
    Offline

    minebuilder0110 Notable Member

    Joined:
    Dec 8, 2014
    Posts:
    485
    Minecraft User:
    Apparitional
    I had a different bug. The plugin sets the gamemode to the previous world they were in.

    For example, I have joined the server in the world A and it has wgm set to gamemode 0 with the gamemode 0.
    There are two other worlds, named world B and C with wgm set to gamemode 1 and 2 respectively.
    If I go to world B, I would be in gamemode 0. Going to C after this sets my gamemode to 1.
  20. mariusbjornor
    Offline

    mariusbjornor Active Member

    Joined:
    Jan 6, 2015
    Posts:
    109
    Minecraft User:
    MariusB
    [17:49:28] [Server thread/CRITICAL]: "Could not pass event 'pocketmine\event\player\PlayerRespawnEvent' to 'WorldGM v8': Undefined index: minigames on WorldGM\PlayerEventListener
    [17:49:28] [Server thread/NOTICE]: ArrayOutOfBoundsException: "Undefined index: minigames" (E_NOTICE) in "/WorldGM_v8.phar/src/WorldGM/Utilities" at line 28

    This happens every time a player joins server...

Share This Page

Advertisement