Players list at LevelInit

Please post any questions about developing your plugin here. Please use the search function before posting!
Hedgehog
Member
Posts: 62
Joined: Sun Nov 03, 2013 8:54 pm

Players list at LevelInit

Postby Hedgehog » Sat Nov 08, 2014 5:34 pm

Is it possible to retrieve a list of players (or at least their userids) in LevelInit or/and LevelShutdown listeners?

It seams that none of the conversions and PlayerGenerator (PlayerIter) see any players.
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Sun Nov 09, 2014 1:06 am

I could be wrong, but I don't believe players are "on" the server during those times. You might try using a prehook for level shutdown and see if players are on at that time. Otherwise, you will need to find something else to fit your needs.
Image

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 43 guests