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

Item Count

Discussion in 'Plugin Help' started by Pqoster, Sep 5, 2020.

  1. Pqoster

    Pqoster Spider Jockey

    Messages:
    25
    How do I get how many pots were left when the player died?
     
  2. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    1 step is foreach through the player's inventory contents using foreach($player->getContents() as $item){}
     
  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.