By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Ported MultiWorld to pocketmine.
version 1.5.0
Approved
Direct Download How to install?
Switch version
819 Downloads / 4604 Total
7 Reviews
Plugin Description §



✔️ Simple world management commands
✔️New generators (Ender, Nether, Void, SkyBlock)
✔️ Fast, without lags
✔️ Supports last PocketMine API version
✔️ Multi language sytem
✔️ Implemented Game Rules
✔️ Simple API for other plugins

🔧 How to install MultiWorld?

  1. Download latest stable released version from poggit
  2. Move dowloaded file to your server /plugins/ folder
  3. Restart the server

🌎 World management commands:

  • All MultiWorld commands starts with /mw (/multiworld) except for the /gamerule command that was added as an alias to change game rules from settings.
  • In game, you can get list of all commands using commands /mw help

All MultiWorld Commands:

Command Description
/mw help Displays list of all MultiWorld commands

Alias: /mw ?
Usage: /mw help <page: 0-1>
/mw create Generate new world using seed and generator

Aliases: /mw new, /mw generate
Usage: /mw create <levelName> [seed] [generator]

Seed is value seed is the initial value by which the world is generated, when you set it empty, world will be generated by random number. You can use 6 generators (Normal, Nether, End, Void, SkyBock and Nether_Old = Nether generator without glowstone and quartz ore)
/mw teleport Teleports you or seleced player to world spawn

Aliases: /mw tp, /tp move
Usage: /mw tp <levelName> [player]

If you are using Slapper plugin and after you click on the npc you want to move the player to another world, you can use /slapper edit <id> addcommand mw tp <world> {player} command
/mw list Displays list of all levels

Alias: /mw ls
Usage: /mw list
/mw info Displays level information

Alias: /mw i
Usage: /mw info

This command can be used only in game
/mw delete Remove level

Aliases: /mw del, /mw dl, /mw remove, /mw rm
Usage: /mw remove <level>

Default level can not be deleted
/mw update Change spawn, lobby or default level

Aliases: /mw ue
Usage: `/mw update <spawn
/mw load Loads level

Aliases: /mw ld
Usage: /mw load <level>
/mw unload Unloads level

Aliases: /mw unld
Usage: /mw unload <level>
/mw gamerule Manage with level game rules

Aliases: /gamerule, /mw gr, /mw gamer, /mw grule
Usage: `/gamerule <list

📃 Premissions:

  • You can use permission mw.cmd for all commands

All MultiWorlds Permissions:

Permission Command Opertor
mw.cmd.help /mw help ✔️
mw.cmd.create /mw create ✔️
mw.cmd.teleport /mw teleport ✔️
mw.cmd.list /mw list ✔️
mw.cmd.info /mw info ✔️
mw.cmd.delete /mw delete ✔️
mw.cmd.update /mw update ✔️
mw.cmd.load /mw load ✔️
mw.cmd.unload /mw unload ✔️
mw.cmd.gamerule /mw gamerule ✔️

🗺️ World Management API

  • World management api was added in MultiWorld v1.5.0, you can download stubs on release page, there are all WorldManagementAPI methods

Some example:

/**  
 * @param string $levelName  
 *
 * @return bool  
 */
 public function reloadWorld(string $levelName): bool {  
   if(!WorldManagementAPI::isLevelGenerated($levelName)) {  
     return false;  
   }

   if(!WorldManagementAPI::isLevelLoaded($levelName)) {  
     WorldManagementAPI::loadLevel($levelName);  
   }

   WorldManagementAPI::removeLevel($levelName);  
   WorldManagementAPI::generateLevel($levelName, rand(0, 100), WorldManagementAPI::GENERATOR_SKYBLOCK);  
   return true;  
}

🖊️ World Game Rules API

  • World game rules api was added in MultiWorld v1.5.0, you can download stubs on release page, there are all WorldGameRulesAPI methods

  • All implemented GameRules: doDaylightCycle, doMobLoot, doTileDrops, keepInventory, naturalRegeneration, pvp, showcoordinatesand tntexplodes

  • GameRules are stored in level.dat in CompoundTag GameRules, you can look at it using NBTEditor.

Some example:

<?php  
  
declare(strict_types=1);  
  
namespace xyz;  
  
use multiworld\api\WorldGameRulesAPI;  
use pocketmine\command\Command;  
use pocketmine\command\CommandSender;  
use pocketmine\event\level\LevelLoadEvent;  
use pocketmine\event\Listener;  
use pocketmine\plugin\PluginBase;  
  
/**  
 * Class XYZPlugin
 * @package xyz  
 */
class XYZPlugin extends PluginBase implements Listener {
 
  /** @var bool $enabled */  
  private $enabled = false;  
  
  public function onEnable() {  
    $this->getServer()->getPluginManager()->registerEvents($this, $this);  
    $this->update();  
  }
    
  /**  
    * @param CommandSender $sender  
    * @param Command $command  
    * @param string $label  
    * @param array $args
    *   
    * @return bool  
    */
   public function onCommand(CommandSender $sender, Command $command, string $label, array $args): bool {
     if($command->getName() !== "xyz") {
       return false;
     }
     $bool = $this->enabled ? "off" : "on";
     $sender->sendMessage("§a> Coordinates turned $bool!");
     $this->enabled = !$this->enabled;
     $this->update();
     return true;
   }  
   
 /**  
   * @param LevelLoadEvent $event  
   */
  public function onLevelLoad(LevelLoadEvent $event) {
    WorldGameRulesAPI::updateLevelGameRule($event->getLevel(), "showcoordinates", $this->enabled);  
  }
  
  private function update() {
    foreach ($this->getServer()->getLevels() as $level) {  
      WorldGameRulesAPI::updateLevelGameRule($level, "showcoordinates", $this->enabled);  
    }
  }
}  

🌐Add your language!

  • Do you want to help with the development of MultiWorld? Add your native language!
  1. Open lanuage resource file
  2. Click create new file
  3. Transalte e.g. language from English file https://github.com/CzechPMDevs/MultiWorld/blob/PocketMine-MP/MultiWorld/resources/languages/en_US.yml
  4. Click Propose new file

💰 Credits

💡 License

MultiWorld - PocketMine plugin that manages worlds.
Copyright (C) 2018 CzechPMDevs

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.

Full license here.

What's new §
  • Added Game Rules (/gamerule and /mw gr commands)
  • New language system (MultiWorld select your Minecraft language)
  • World Management API
  • World GameRules API
  • Removed support for PMMP with api 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11, 3.0.0-ALPHA12
  • better documentation
  • Fixed some messsage
  • Added new nether generator with glowstone and quartz (old renamed to 'nether_old'), fixed #20
  • Fixed /mw create command
  • Fixed #15
  • Added /mw gamerule command
  • Fixed /mw teleport command
  • Denied use of PMMP spoons
  • New config updater
  • Fixed #18
  • Added support for api 3.0.0

1.4.1 news:

  • Updated to API 3.0.0-ALPHA12
  • Fixed throwing players from server while removing default level
  • Added Japanese Language (by @fuyutsuki)

1.4.2 news:

  • Fixed text formats
  • New poggit icon
  • Added Japanese
  • Added api 3.0.0-ALPHA12
  • Fixed player throwing from the server while removing the world.
  • Added api 3.0.0-ALPHA11
  • New SkyBlock generator
  • Fixed /mw delete commands
  • New /mw info command
  • Added support for API 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
  • Better MultiLanguage support
  • Updated namespace
  • Bug fixes
  • Added Void and End generators
  • New command /mw update
  • Added German and Russian language support
  • Fixed /mw delete command
  • Fixed plugin icon

OwnerSCIFahrul
using v1.5.0
29 Nov 18
why cant not file download World management api, the page not found? What happened? why isn't there a command /mw gamerule please repair it as soon as possible, please add the gamerule function, so that I can manage my world server !
GamakCZ
02 Dec 18
You are probably using older version of MultiWorld
Fishingehd
using v1.4.2
11 Jun 18
I like the plugin but when I teleport to a world it crashes my server. Any Fix for it?
GamakCZ
16 Jun 18
Submit issue here -> https://github.com/CzechPMDevs/MultiWorld/issues
HonorGamerHD
using v1.4.2
01 May 18
Works fine! Also on altay (turanic pro) good job!
fuyutsuki
using v1.4.0
10 Mar 18
https://github.com/CzechPMDevs/MultiWorld/issues/9 Created an issue. Except the pointed out is awesome! :)
HypiiePlayz
using v1.3.3
14 Jan 18
Bro this plugin is fantastic but when i want to delete a world it says something like this error world cannot be deleted
GamakCZ
03 Mar 18
In 1.4 fixed
KnightRaidMC
using v1.3.3
11 Jan 18
I had download this plugin and when i loaded into my server. It doesn't work.
mrpwes
using v1.3.1
22 Mar 18
UPDATE ALPHA10 - 3.0.0 Thanks !!

Reply to review by :

Supported API versions
3.0.0
->
3.5.0
Producers §
  • Collaborators:
    • @GamakCZ
  • Translators:
    • @fuyutsuki
License §
Categories:
World Generators
General
Admin Tools
Teleportation
Mechanics
World Editing and Management
Developer Tools
Permissions
Manage worlds
Manage permissions
Manage world generators
Other files
Permissions
Commands
Edit world

You can leave one review per plugin release, and delete or update your review at any time

Loading...