Solved How to get an item with custom name SOLVED SOLVED SOLVED ETC...

Discussion in 'Plugin Help' started by AsponPL, Jul 31, 2019.

  1. AsponPL

    AsponPL Spider Jockey

    Messages:
    27
    Hello, i have a problem with my plugin i want to item have custom name but i don't know how to do this
    please help it's my code

    PHP:
    if($block->getId() == 146)->setCustomName("GoodCase");
    please don't say = learn php, learn pocketmine, or something like that

    thanks.
     
  2. Jules

    Jules Witch

    Messages:
    50
    GitHub:
    Julooooos
    Learn php.
     
  3. AsponPL

    AsponPL Spider Jockey

    Messages:
    27
    :/
     
  4. TwistedFellow

    TwistedFellow Silverfish

    Messages:
    16
    GitHub:
    SilverzPlayz
    Learn Pocketmine
     
  5. NickteeChunky

    NickteeChunky Spider

    Messages:
    13
    GitHub:
    nickteechunky
    PHP:
    if($block->getId() == 146) }
       
    $block->setCustomName("IAmABlock");
    }
     
  6. AsponPL

    AsponPL Spider Jockey

    Messages:
    27
    it's easy = learn php










    thank you !!!!!!!!!!!!!!!!!!!!!!!!!
     
  7. AsponPL

    AsponPL Spider Jockey

    Messages:
    27
    ;/ IT'S A PRANK???
     

Share This Page

  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.