Full confession: I'm just making this thread because I'm jealous of bilenmc's thread for his plugins.
Edit: I made him jealous! mission accomplished.
I made these plugins for the latest version of Shoghicp's PocketMine server, which features multiworld. When it was released, it didn't have a way to add or delete worlds, so I wrote these to test the feature.
Hexdro has taken over the NPC plugin: go get it on his thread!
MultiWorld: The simplest multiworld loader ever! Loads all worlds found under the worlds/ folder of a PocketMine dev installation.
Just copy a world into worlds/, shutdown the server, and reload.
Need a new world generated? Just create a blank folder.
I didn't make multiworld; Shoghicp added the feature. I just wrote like 5 lines of code to turn it on in his dev release.
(Edit: and yes, I just released these crappy plugins because I'm jealous of bilenmc's thread.)
I didn't make multiworld; Shoghicp added the feature. I just wrote like 5 lines of code to turn it on in his dev release.
(Edit: and yes, I just released these crappy plugins because I'm jealous of bilenmc's thread.)
They don't really work - right now, they just stand still. If you punch them a few times, they die and respawn.
Any ideas on what I should make them do? I think I'll make them stare at and/or punch the nearest player tomorrow. I don't know how to make them move properly, as I don't know pathfinding yet.
They don't really work - right now, they just stand still. If you punch them a few times, they die and respawn.
Any ideas on what I should make them do? I think I'll make them stare at and/or punch the nearest player tomorrow. I don't know how to make them move properly, as I don't know pathfinding yet.
Edit: I made him jealous! mission accomplished.
I made these plugins for the latest version of Shoghicp's PocketMine server, which features multiworld. When it was released, it didn't have a way to add or delete worlds, so I wrote these to test the feature.
Hexdro has taken over the NPC plugin: go get it on his thread!
Download all <- use if you can't download from the other links.
For all versions
Trampoline: Make the player bounce 4 blocks high when the player steps on a magenta wool block.
Works with both 1.2.2 stable and 1.3 dev!
Download: (right-click and choose "Save As") https://raw.github.com/zhuowei/PocketMine-Plugins/master/trampoline.php
For Alpha_1.3.2dev and maybe 1.3.1
MultiWorld: The simplest multiworld loader ever! Loads all worlds found under the worlds/ folder of a PocketMine dev installation.
Just copy a world into worlds/, shutdown the server, and reload.
Need a new world generated? Just create a blank folder.
Source: https://gist.github.com/zhuowei/5596202
Download: (right-click and choose "Save As") https://gist.github.com/zhuowei/5596202/raw/multiworld.php
NetherQuick: A very lame plugin that teleports the player from/to a world named "nether" when the user taps a piece of obsidian.
This depends on an actual world named "nether", perhaps loaded by MultiWorld.
Source: https://gist.github.com/zhuowei/5596536
Download: (right-click and choose "Save As") https://gist.github.com/zhuowei/5596536/raw/netherquick.php
NPCTest: spawns an NPC. Currently, they do nothing, but behaviours will be added in the next release. (Feel free to contribute ideas!)
Also, in this release, they do not persist after a server shutdown, but that will be added in the next release.
Commands:
/spawnnpc NPCName playername
to spawn an NPC at the position of playername or
/spawnnpc NPCName x y z
to spawn at specified coordinates.
Configuration:
allstatic: set whether spawned NPCs move. Set to true to disable movement.
Download: (right-click and choose "Save As") https://raw.github.com/zhuowei/PocketMine-Plugins/master/npctest.php
I didn't make multiworld; Shoghicp added the feature. I just wrote like 5 lines of code to turn it on in his dev release.
(Edit: and yes, I just released these crappy plugins because I'm jealous of bilenmc's thread.)
Sure, why not? I'm interested in what you can come up with!
(Also, in related news, I broke http://stats.pocketmine.net/)
And nice, haha
Yes please.
(Whispers "I'm not actually dead, I'm just in hiding and watching you all...)
Wow, NPC
They don't really work - right now, they just stand still. If you punch them a few times, they die and respawn.
Any ideas on what I should make them do? I think I'll make them stare at and/or punch the nearest player tomorrow. I don't know how to make them move properly, as I don't know pathfinding yet.
Of course! Have fun!
Hold on while I rename mine to "SimplestWorlds".
These are pocketmine plugins and should be saved as .php files. Rename them if you need to.
Here's a link:here
(Whispers "I'm not actually dead, I'm just in hiding and watching you all...)