MineCode-Devs / DevMine

DevMine- The MCPE Server software that does NOT use the pocketmine folder structure!
5 stars 0 forks source link

DevMine

The new mcpe software that does not use pm code base!

IMPORTANT NOTICE:

For the purpose of this Beta Program, the yml and properties files are already pasted. When it becomes stable, we will remove them.

Why is it called DevMine?

Simply because you need to understand php in order to convert PocketMine plugins into DevMine plugins!

Why would you completely change the code base?

It allows for much better organization so it is easier to edit. Also, we automatically remove unneeded code.

What is DevMine's folder structure?

DevMine's folder structure is basically the ImagicalMine project (https://github.com/Inactive-to-Reactive/ImagicalMine) with a different folder structure! Everything else is basically the same. Also, a few additional features were added in, that were originally from plugins. Have fun using it! It is expected to be in the beta stage by July 19th, 2016.

PocketMine Structure to DevMine Structure

pocketmine\block --> devmine\inventory\blocks
pocketmine\item --> devmine\inventory\items
pocketmine\inventory --> devmine\inventory\layout
pocketmine\tile --> devmine\inventory\solidentity
pocketmine\plugin --> devmine\consumer\plugin
pocketmine\resourcepacks --> devmine\consumer\resourcepacks
pocketmine\nbt--> devmine\creatures\player
player.php and iplayer.php and offlineplayer.php --> devmine\creatures\player
pocketmine\entity --> devmine\creatures\entities
pocketmine not in folder (exclude player and iplayer and offlineplayer) --> devmine\server
pocketmine\network --> devmine\server\network
pocketmine\permission --> devmine\server\perms
pocketmine\resources --> devmine\server\resources
pocketmine\scheduler --> devmine\server\tasks
pocketmine\command --> devmine\server\commands
pocketmine\metadata --> devmine\server\meta
pocketmine\math --> devmine\server\calculations
pocketmine\lang --> devmine\utilities\languages
pocketmine\wizard --> devmine\utilities\installer
pocketmine\utils --> devmine\utilities\main
pocketmine\level --> devmine\worlds
pocketmine\event --> devmine\events
raklib --> raklib
spl --> spl

Files Renamed/individual files changed

pocketmine\PocketMine.php --> devmine\server\DevMine.php
pocketmine\tile\Tile.php --> devmine\inventory\solidentity\SolidEntity.php
pocketmine\player.php --> devmine\creatures\player\Player.php
pocketmine\iplayer.php --> devmine\creatures\player\iPlayer.php
pocketmine\OfflinePlayer.php --> devmine\creatures\player\OfflinePlayer.php

THINGS TO CHANGE

remove all instances of pocketmine, rename to devmine
remove all instances of tiles, rename to solidentity
remove all instances of genysis and tesseract and pocketmine, rename to devmine
remove all instances of scheduler, rename to tasks
remove all instances of metadata, rename to meta