View Full Version : [SOLVED] Register player event SAVE event

04-14-2016, 01:48 PM
Hello guys.

Well I wondering how exacly does PLAYER_EVENT_ON_SAVE = 25, // (event, player) work ?
When server save how offen this event start and so on.

Would be glad for a bit of description here.

Thank you EmuDevs.

Greetings Marko

04-14-2016, 02:57 PM
The event triggers every time the core calls SaveToDB on the player.
That happens usually on logout and with some interval, like 15 minutes or something - that interval is configurable in the configs of your server.
Additionally some other core code might call the save function.