Removing players from the online player (command /list)

Discussion in 'Development' started by sup, Dec 27, 2019.

  1. sup

    sup Spider

    Messages:
    12
    Hi, does someone know if pocketmine have api function to remove player from the online status
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,384
    GitHub:
    HimbeersaftLP
  3. sup

    sup Spider

    Messages:
    12
    no this is the player list I want to remove the number of online player on a hub for exemple and when you only remove the player on the online player list the hub still count the player who is removed from the online player list
     
  4. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,492
    GitHub:
    jasonwynn10
    listen for queryRegenerateEvent then set the value to what you want
     
    HimbeersaftLP likes this.

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.