Implemented a new function in all API events so you can check if the player joined for the first time.
Implemented API so you can check at any time if a player joined for the first time.
Implemented API to check and change players money saved in the database.
Implemented a new feature: New Players Commands, this will allow you to run configured commands for new players after sync is complete. This is configurable in the config.
Config changes:
Added settings for new players commands. Check sample config for details. You will need to change the default settings as new players will get the sample commands by default.
on Line 120:
#Commands that will run for players that join for the first time. Commands will be executed as console after sync is complete. #Supports multiple commands. The tag <PlayerName> will be replaced by the player name that joined for the first time. #To disable this feature just remove all commands. New-Players-Cmd: - 'tell <PlayerName> Cmd 1 sample - you should remove this from the MPDB config'
- 'tell <PlayerName> Cmd 2 sample - you should remove this from the MPDB config'