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

Player count on slapper

Discussion in 'Help' started by A354-PH, Dec 23, 2018.

  1. TwistedAsylumMC

    TwistedAsylumMC Slime

    Messages:
    96
    GitHub:
    twistedasylummc
    You need to put the name of a loaded world, the reason you're getting errors is because your world is not loaded
     
  2. princeace

    princeace Slime

    Messages:
    78
    GitHub:
    PrincessSeah
    its work but not count

    my code :
    PHP:
    "{CreativePlot}" => count($player->getServer()->getLevelByName("CreativePlot")->getPlayers()),
     

    Attached Files:

  3. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
    upload_2020-3-2_19-12-22.png

    :facepalm::facepalm::facepalm:
     
  4. NTT

    NTT Zombie

    Messages:
    311
    GitHub:
    NTT1906
    Just make a task for it or use entitytick? :D?
     
  5. NTT

    NTT Zombie

    Messages:
    311
    GitHub:
    NTT1906
    Do you want to have target level's name in the name tag?
     
  6. princeace

    princeace Slime

    Messages:
    78
    GitHub:
    PrincessSeah

    Attached Files:

  7. NTT

    NTT Zombie

    Messages:
    311
    GitHub:
    NTT1906
    Just add a new value for target level then use entitytick
     
  8. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Could you send us the whole file?
     
  9. princeace

    princeace Slime

    Messages:
    78
    GitHub:
    PrincessSeah
    what value code and what entitytick?
     
  10. princeace

    princeace Slime

    Messages:
    78
    GitHub:
    PrincessSeah
    yes can you help me?
     
  11. NTT

    NTT Zombie

    Messages:
    311
    GitHub:
    NTT1906
    Sorry, now i can
     
  12. David Flash

    David Flash Spider Jockey

    Messages:
    26
    GitHub:
    davidflashcz
    I would appreciate if you send the whole code please..
     
  13. Khaled

    Khaled Slime

    Messages:
    81
    GitHub:
    xXKHaLeD098Xx
    HimbeersaftLP 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.