Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

turn off pocketmine cheat protection

Comments in 'Plugin Development' started by Creeperface, Jul 21, 2015.

  1. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    how to turn off block breaking protection it is a lot buggy and overload a server -,-
    call it block BreakEvent?
  2. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    What do you mean by Block Protection?
  3. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    player mmust break a block multiple times to destroy it
  4. Calrizer
    Offline

    Calrizer Active Member

    Joined:
    Jan 17, 2015
    Posts:
    102
    Minecraft User:
    callumdrain
    I believe this is just a bug in the current version of PocketMine and is intended to be fixed in a future release.
    Legoboy0215 likes this.
  5. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    no it is because pocketmine has bad cheat protection -,- i think it would be better pocketmine without this protection, than with bad protection
  6. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Add this script plugin (in use in iMCPE):

    PHP:
    <?php

    /**
    * @name InstaBreak
    * @author PEMapModder
    * @version 1.0.0
    * @api 1.7.0
    * @main PEMapModder\InstaBreak\InstaBreakPlugin
    */

    namespace PEMapModder\InstaBreak;
    use 
    pocketmine\event as ev;

    class 
    InstaBreakPlugin extends \pocketmine\plugin\PluginBase implements ev\Listener{
        public function 
    onEnable(){
            
    $this->getServer()->getPluginManager()->registerEvents($this$this);
        }
        public function 
    onBreak(ev\block\BlockBreakEvent $e){
            
    $e->setInstaBreak(true);
        }
    }
    Last edited: Jul 21, 2015
    PixelGuy75 and Creeperface like this.
  7. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
  8. MCPEPIG
    Offline

    MCPEPIG Notable Member

    Joined:
    Jun 22, 2014
    Posts:
    349
    Minecraft User:
    MCPEPIG
    Awesome!
  9. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    and what about move protection? why pocketmine control OPs in creative too? I tried Aliuly┬┤s plugin which disable move protection but it is a lot laggy. But pocketmine soft is less laggy so how can i do it like pocketmine soft but in normal pocketmine?
  10. GreenMCPE
    Offline

    GreenMCPE New Member

    Joined:
    Apr 12, 2015
    Posts:
    27
    Minecraft User:
    Green_Slime
    How can I make this into a plugin?
  11. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Create a PHP file in your plugins folder and paste this file into it.
    jojoe77777 likes this.
  12. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    So is it possible because pocketmine soft is less laggy but players dont get damage :/

Share This Page

Advertisement