1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Harry Potter Plugin

Discussion in 'Requests' started by hexmor, Aug 24, 2018.

  1. hexmor

    hexmor Baby Zombie

    Messages:
    110
    GitHub:
    h3xmor
    hi guys
    i need a harry potter plugin for mcpe
    for add magic in mcpe for server or any think for harry potter fan server
    it's not importand if it was using old API
    sry for ban eng
     
  2. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Please provide more details. What is "add magic"? "Harry Potter" is a very broad area. If you are so lazy that you can't suggest ideas for what is in a Harry Potter plugin, nobody will make one for you either.

    Otherwise the plugin will be as simple as this:
    PHP:
    public function e_join(PlayerJoinEvent $event){
        
    $event->sendMessage("You are Harry Potter");
    }
    public function 
    e_hold(PlayerItemHeldEvent $event){
        
    $item $event->getItem();
        
    $item->setCustomName("Magic");
        
    $event->setItem($item);
    }
    So much magic! Wonderful!
     
    SkySeven, RumDaDuMCPE, lucyyd and 3 others like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.