Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Request] Playersonline to Flatfile(.txt)

Comments in 'Plugin Development' started by Blubbll, Mar 22, 2015.

  1. Blubbll
    Offline

    Blubbll Active Member

    Joined:
    Oct 3, 2013
    Posts:
    325
    Minecraft User:
    Blubbll
    Hi, i'm kn heavy need for a PocketMine plugin / windows script / php script / query script that gets actual amount of players and puts it into a flatfile (i prefer.txt), just the numver btw. I was using a custom program that got the PocketMine title and removed everything but the Playercount but it was too lsggy and crashed my Server every few minutes. Ty in advance!
  2. Dutok
    Offline

    Dutok Notable Member Plugin Developer

    Joined:
    Jun 20, 2014
    Posts:
    371
    Plugins:
    3
    Minecraft User:
    Dutok
    Why would you want this? :eek:
    xFlare likes this.
  3. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
    PHP:
    $players count($this->getServer()->getOnlinePlayers());
    Blubbll and xFlare like this.
  4. Blubbll
    Offline

    Blubbll Active Member

    Joined:
    Oct 3, 2013
    Posts:
    325
    Minecraft User:
    Blubbll
    Tracking the amount of players maybe?
  5. iJoshuaHD
    Offline

    iJoshuaHD Notable Member Plugin Developer

    Joined:
    Nov 7, 2013
    Posts:
    1,167
    Plugins:
    4
    Minecraft User:
    iJoshuaHD
    im just curious what happened to the old @Blubbll :/
    iksaku likes this.
  6. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    Or you could use rcon.
  7. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
    What he needs is to output the list of players to a TXT file, so RCon may not help a lot
  8. Dutok
    Offline

    Dutok Notable Member Plugin Developer

    Joined:
    Jun 20, 2014
    Posts:
    371
    Plugins:
    3
    Minecraft User:
    Dutok
    Ok, but why a text file instead of a web page or command or something?
  9. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    You may be thinking about using the file as a bridge between PocketMine and other software like web server? I thought of that too, but it's better to use PocketMine query out just your own query language.
  10. Blubbll
    Offline

    Blubbll Active Member

    Joined:
    Oct 3, 2013
    Posts:
    325
    Minecraft User:
    Blubbll
    Nevermind, went back to my Server process title grabber, since i found out the PocketMine crash isn't related to that service. Here's my output :) :
    [​IMG]
  11. Blubbll
    Offline

    Blubbll Active Member

    Joined:
    Oct 3, 2013
    Posts:
    325
    Minecraft User:
    Blubbll
    Old API ded = rip old blubbll

    And PocketMine got even more instable for me

    Edit: The new API actually is pretty cool and yes, i'm finally convinced it can do more than the old one.
    Last edited: Apr 9, 2015

Share This Page

Advertisement