Hi Hexdro, I am Glitchmaster_PE, I have made several PocketMine plugins (link) and I am interested in getting a little better at ModPE Scripts. If you ever need any developement help or stuff like that. Give me a shout
I updated the NetherQuick plugin, and now it also automatically loads a world named nether that looks like the nether. Here is the code:
<?php
/*
__PocketMine Plugin__
name=NetherQuick
description=Tap on Nether Reactor to go to the second world loaded or to the
default world if already in second world
version=2.0
author=Glitchmaster_PE
class=NetherQuick
apiversion=10
*/
class NetherQuick implements Plugin{
private $api;
public function __construct(ServerAPI $api, $server = false){
$this->api = $api;
}
public function init(){
$this->api->addHandler("player.block.touch", array($this,"touchHandler"));
if(!file_exists('./worlds/Nether/')){
$file = file_get_contents("http://forums.pocketmine.net/index.php?attachments/nether-zip.359/");
file_put_contents('./worlds/netherzip.zip', $file);
$zip = new ZipArchive;
$result = $zip->open('./worlds/netherzip.zip');
$zip->extractTo('./worlds/');
$zip->close();
unlink('./worlds/netherzip.zip');
}
$this->path = $this->api->plugin->configPath($this);
$this -> item = new Config($this->path . "Item.yml", CONFIG_YAML, array("ItemID" => "247"));
$this -> item = $this -> api -> plugin ->readYAML($this -> path . "Item.yml");
$this->api->level->loadLevel("Nether");
}
public function touchHandler($data, $event){
if($data["target"]->getID() === $this -> item["ItemID"]){
if ($data["player"]->level !== $this->api->level->getDefault()){
$data["player"]->teleport($this->api->level->getDefault()->getSpawn());
}else{
$data["player"]->teleport($this->api->level->get("Nether")->getSpawn());
}
return false;
}
}
public function __destruct(){}
}
?>
Hey 500ISE, a couple people on the PocketMine forums have been talking about how the NetherQuick plugin hasn't been updated for api 10. I was wondering if you minded me taking over development of it?
Thanks,Glitch
TrollPro allows you to annoy your friends by throwing them high in the air and letting them fall to their deaths! I plan on adding more to this plugin, just wait!
This is a simple ModPE Script that turns the Wooden Sword into a one-hit killing machine! It is very simple but I plan on adding more/better ModPE Scripts later!
0
0
0
1
0
Thanks,Glitch
0
0
0
0
0
0
1
yes No they do not, but they are easier and quicker to write than plugins or mods
0
0
1
Plugins:
ChatPro:
ChatPro adds more commands to let you take better control of your chat! Here is some of what it does:
Non-OP
/stafflist - Gives a configurable staff list
/announce - Gives configurable announcements
/afk - Tells the server you are afk
/afkoff - Tells the server you are no longer afk
/rules - Gives a configurable rules to the issuer
//cphelp - Gives all non-OP ChatPro commands
OP
/prefix - Set a user's prefix (by default [Player])
/griefwarn - Sends a message to a user who is griefing telling them to stop
/trollwarn - Sends a message to a user who is trolling telling them to stop
/swearwarn - Sends a message to a user who is swearing telling them to stop
/addpost - Add an automatically posting message
/removepost - Remove an automatically posting message
//opcphelp - Gives all OP ChatPro commands
Download
Hope you like this plugin
TrollPro:
TrollPro allows you to annoy your friends by throwing them high in the air and letting them fall to their deaths! I plan on adding more to this plugin, just wait!
Only command:
/troll - Throws them high in the air
Download
RecipePro:
RecipePro gives all the crafting recipes and id numbers for all MCPE items!
Only command:
/recipe - Will give crafting recipe and id number of the item
Download
KitPro:
KitPro let's you have customizable kits that users can get only once, unless they die, in which case they can choose a new one. The kits are:
Normal-
//basic
//chef
//warrior
OP-
//pyro
//aqua
//gladiator
Download
ModPE Scripts:
SuperSword:
This is a simple ModPE Script that turns the Wooden Sword into a one-hit killing machine! It is very simple but I plan on adding more/better ModPE Scripts later!
Download
Follow my Github for all my stuff plus the stuff I have in development
Enjoy and keep an eye out for what I have in store!