Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

258 Commits

Repository files navigation



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

👍 1.5.2 Update:

  • Bug fixes
  • New biomes in Custom world generator
  • Custom generator added to Form world manager

⬇️ Downloads:

VersionPhar DownloadZip DownloadAPIStablePre release
1.5.2Poggit releasesGitHub3.x.x✔️
1.5.1Poggit releasesGitHub3.x.x✔️
1.5.0Poggit releasesGitHub3.0.0, 3.1.0✔️
1.5.0-beta2GitHubGitHub3.0.0, 3.1.0✔️✔️
1.5.0-beta1GitHubGitHub3.0.0, 3.1.0✔️
1.4.3Poggit ReleasesGitHub3.0.0-ALPHA7 - 3.0.0✔️
1.4.2Poggit ReleasesGitHub3.0.0-ALPHA7 - 3.0.0-ALPHA12✔️
1.4.1Poggit-CI DownloadsGitHub3.0.0-ALPHA7 - 3.0.0-ALPHA12✔️
1.4.0Poggit ReleasesGitHub3.0.0-ALPHA7 - 3.0.0-ALPHA11✔️
1.3.2Poggit-CI DownloadsGitHub3.0.0-ALPHA7
1.3.1GitHubGitHub3.0.0-ALPHA7✔️
1.3.0Poggit-CI DownloadsGitHub3.0.0-ALPHA7

Download latest version here

All released versions hereAll development builds on PoggitLatest released version on PoggitOther plugins by CzechPMDevs here


📁 Supported software:

This plugin works only on PocketMine-MP. You can download MultiWorld by Creeperface for Nukkit or MultiWorld by ferrybig for Bukkit. PMMP Spoons are NOT supported.

🔧 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:

CommandDescription
/mw helpDisplays list of all MultiWorld commands

Alias: /mw ?
Usage: /mw help <page: 0-1>
/mw createGenerate 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 teleportTeleports 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 listDisplays list of all levels

Alias: /mw ls
Usage: /mw list
/mw infoDisplays level information

Alias: /mw i
Usage: /mw info

This command can be used only in game
/mw deleteRemove level

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

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

Aliases: /mw ue
Usage: `/mw update <spawn
/mw loadLoads level

Aliases: /mw ld
Usage: /mw load <level>
/mw unloadUnloads level

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

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

Aliases: /mw rnm, /mw re
Usage: /mw rename <levelName> <newName>

This command changes name of the folder and of nbt too.
/mw manageOpens world form manager

Aliases: /mw mng, /mw mg
Usage: /mw manage

The form manager just dispatches command as a player, so player needs also permission for the command.

📃 Premissions:

  • You can use permission mw.cmd for all commands

All MultiWorlds Permissions:

PermissionCommandOpertor
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✔️
mw.cmd.rename/mw rename✔️
mw.cmd.manage/mw manage✔️

⛰️ Generators

Custom World Generator:

Nether World Generator:

End World Generator:

SkyBlock Generator:

🗺️ 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  */publicfunctionreloadWorld(string$levelName): bool { if(!WorldManagementAPI::isLevelGenerated($levelName)) { returnfalse; }
if(!WorldManagementAPI::isLevelLoaded($levelName)) { WorldManagementAPI::loadLevel($levelName); }
WorldManagementAPI::removeLevel($levelName); WorldManagementAPI::generateLevel($levelName, rand(0, 100), WorldManagementAPI::GENERATOR_SKYBLOCK); returntrue; }

🖊️ 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:

<?phpdeclare(strict_types=1); namespacexyz; usemultiworld\api\WorldGameRulesAPI; usepocketmine\command\Command; usepocketmine\command\CommandSender; usepocketmine\event\level\LevelLoadEvent; usepocketmine\event\Listener; usepocketmine\plugin\PluginBase; /**  * Class XYZPlugin * @package xyz  */class XYZPlugin extends PluginBase implements Listener {
/** @var bool $enabled */private$enabled = false; publicfunctiononEnable() { $this->getServer()->getPluginManager()->registerEvents($this, $this); $this->update(); }
/**  * @param CommandSender $sender  * @param Command $command  * @param string $label  * @param array $args *  * @return bool  */publicfunctiononCommand(CommandSender$sender, Command$command, string$label, array$args): bool {
if($command->getName() !== "xyz") {
returnfalse;
}
$bool = $this->enabled ? "off" : "on";
$sender->sendMessage("§a> Coordinates turned $bool!");
$this->enabled = !$this->enabled;
$this->update();
returntrue;
} /**  * @param LevelLoadEvent $event  */publicfunctiononLevelLoad(LevelLoadEvent$event) {
WorldGameRulesAPI::updateLevelGameRule($event->getLevel(), "showcoordinates", $this->enabled); }
privatefunctionupdate() {
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.

About

Ported MultiWorld to PocketMine-MP

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages