MattW Posted Tuesday at 04:53 PM Report Share Posted Tuesday at 04:53 PM (edited) Another very small plugin, just a starting point: IfaAwards issuing awards based on statistical achievements beyond what phpvms currently offers (hours, number of flights etc.). Currently I've implemented accumulated flown distance (or planned, depending on which sum is greater). Problem is that ACARS not always records the correct value for real flown distance. Anybody welcome to use it if they find value in it. Just configure any number of awards with the class "Pilot Flight Distance" with an according value in nautical miles and next time a PIREP is being accepted, the system checks for accumulated nm for the pilot and will automatically issue the configured award. More to come as time goes by... suggestions welcome. https://github.com/FnordLord/IfaAwards Edited Tuesday at 05:01 PM by MattW Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted Wednesday at 01:55 AM Administrators Report Share Posted Wednesday at 01:55 AM I split your Awards module off into its own thread. Each module should have its own thread. Makes updating and tracking any issues/questions much easier. Quote Link to comment Share on other sites More sharing options...
MattW Posted Wednesday at 07:33 AM Author Report Share Posted Wednesday at 07:33 AM excellent idea. thank you! Quote Link to comment Share on other sites More sharing options...
DisposableHero Posted Wednesday at 06:12 PM Report Share Posted Wednesday at 06:12 PM Don't get this wrong or as a negative review please, but I need to ask this Why do you (or we) need to have a module for awards ? We can define our awards classes and use them, there is nothing stopping us to the that and everything we do will run in an award class, so a module is technically not needed for creating (or having additional) awards. You (or anybody else) can create award classes and share them, just document the needs, share it here in files/addons section PS : I would never award a pilot based on "planned" distance (or anything "planned"), they can extend their route for planning purposes just to fake it slightly on each flight to beat the competition. Just go for the reported/accepted distance Safe flights Quote Link to comment Share on other sites More sharing options...
MattW Posted Thursday at 02:59 PM Author Report Share Posted Thursday at 02:59 PM Valid questions/remarks, also on github - thanks a lot for this. I'll declutter the entire thing and reduce it to an awards class. Quote Link to comment Share on other sites More sharing options...
MattW Posted yesterday at 09:00 AM Author Report Share Posted yesterday at 09:00 AM i decided to delete the repo, makes no sense to me to keep one just for the single class. we could actually delete this thread. there's one good learning for me: enums for the pireps-state, which will find its way into the tours module. thanks for this, dispo Quote Link to comment Share on other sites More sharing options...
DisposableHero Posted 19 hours ago Report Share Posted 19 hours ago You can keep the repo, to share your possible future awards classes if you wish to. There are endless possibilities for awards and with good classes, that repo can be a good community place to participate maybe. My pleasure Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.