Project “Premium System” has been updated to version 1.1.0. If you want to use this update, you will need to download file again from e-mail.
1. TIP: If you want to move Premium players after project update, just transfer data from old table with premium data (player->premium_list) to new table with premium data (player->premium_data). After Premium player log in, he will get Premium and it will be set in player table. (You need to activate define ENABLE_PREMIUM_DATA_TABLE_READ)
2. TIP: If you want to remove old project (it is recommended), download attached file where are all modified files from Premium System version 1.0.0. Premium System 1.0.0 – Things to delete
Changelog
- Removed feature of Premium box giving.
- Removed function for refreshing premium (not needed, it refreshes automatically).
- Removed unused quest functions.
- Fixed enabling or disabling Premium effect above head.
- Fixed showing premium effect above head when player is invisible.
- Fixed chat prefix.
- Fixed enabling or disabling Premium’s empire effect above head.
- Added day limit for premium set. Core was crashing with more than 999 999 days.
- Added new IsPremium getting method.
- Added timer that checks Premium expiration.
- Added option for endless premium.
- Added more database logging.
- Added debug mode.
- Added new argument to command.
- Added real-time refresh of kingdom flag when setting Premium.
- Cleaned and edited control command.
- Added basic API.