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

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:
    47
    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:
    53
    GitHub:
    Julooooos
    Learn php.
     
    Diduhless and GodWeedZao like this.
  3. AsponPL

    AsponPL Spider Jockey

    Messages:
    47
    :/
     
  4. TwistedFellow

    TwistedFellow Silverfish

    Messages:
    22
    GitHub:
    SilverzPlayz
    Learn Pocketmine
     
    Diduhless and GodWeedZao like this.
  5. NickteeChunky

    NickteeChunky Witch

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

    AsponPL Spider Jockey

    Messages:
    47
    it's easy = learn php










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

    AsponPL Spider Jockey

    Messages:
    47
    ;/ IT'S A PRANK???
     
  8. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    or something like that
     
  9. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    learn pmmp & php
     
    minijaham likes 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.