0.8.1 server (NC1.1.0)

Kris_Perry

New user
User
Aug 11, 2024
2
0
1
Hello, I've recently started my own server and your forum is a treasure trove! So far I've been alright getting a few of the plugins from here working(Great collection, thank you sm for preserving it!), but there are a few things I can't get working or do not understand the code enough to fix.

I wonder if there is a bundle of working 0.8.1 plugins?
or if anyone still cares enough about 0.8.1 to talk me through my PHP issues?


Here's an Explosion.php I modified to add mobGriefing on/off, you will also need to add the following line to your PocketMinecraftServer.php:

Line 100:
Explosion::$entityGriefing = $this->extraprops->get("enable-mob-griefing");
and don't forget to set the enable-mob-griefing switch in your server.properties!
 
Additional Information
Modified Explosion.php with Mob Griefing added.
From
Pocketmine-MP

Attachments

  • Explosion.php
    7.7 KB · Views: 18

EnirboreHemag

Administrator
Staff member
Administrator
Developer
User
Jan 10, 2023
101
58
1,393
NostalgiaCore already allows to disable mob griefing, enable-explosions in extra.properties
 

Kris_Perry

New user
User
Aug 11, 2024
2
0
1
Ahh yes that's true but then you can't use TNT either.
This differentiates Creeper Damage from TNT and only prevents the former.