Fixed errors from last hotfix
Updated support for new bLogs
Fixed issue with data loss
Added a function to config to copy existing jobrank tables for other jobs:
JBR_CopyRankTable(JobToCopy, Job)
JobToCopy - This is the jobs ranktable it will copy and use
Job - The job that should use the ranktable
Example: JBR_CopyRankTable(TEAM_CHIEF, TEAM_POLICE)
This would give TEAM_POLICE the same ranks as TEAM_CHIEF
However this only COPY the table, the progression is still unique for each job
NOTE: THIS FUNCTION HAS TO BE CALLED AT THE END OF THE CONFIG
Added command to convert all data from SQLite to MySQL (This overwrites MySQL data, use player command if you wish to convert a specific player)
Restart server once this command has been used as it doesn't update current players
"jobranks_convertsql_all"
Added Mysqloo support
Added support for new bLogs
To convert a playersdata from the old system to MySQL, you can use console command:
jobranks_convertsql PLAYERNAME
Config changes:
Added .MYSQLOO - true/false
Fixed icon error if no icon found
Quick fix for being able to purchase shipments and entities even though you can't afford it
Fixed issue with not getting jobname properly
Redone data structured, system should now be more stable and reliable
You can now setup custom lua function to be run at spawn for ranks
Fixed issue with system attempting to grant non-loaded players progress
Fixed lua error when trying to demote non-existing player
Config changes:
Added JBR_SetupRankSpawnFunc(RankID, Function)
Added .ShowJobType
Fixed config mistake
THIS UPDATE REQUIRES YOU TO COMPLETELY REDO YOUR CONFIG FILE
Redone the whole config, should not be a lot easier to modify the config without causing errors
Make sure to look over the new config file it explains everything
You can now allow jobs that don't have jobrank tables to promote/demote jobs
Added support for DConfig
Fixed demotion issue setting to maxrank due to no specific permissions being set Fixed issue with ezjobs