MattW Posted November 12 Report Posted November 12 (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 November 12 by MattW Quote
Administrators ProAvia Posted November 13 Administrators Report Posted November 13 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
DisposableHero Posted November 13 Report Posted November 13 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
MattW Posted November 14 Author Report Posted November 14 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
MattW Posted November 17 Author Report Posted November 17 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
DisposableHero Posted November 17 Report Posted November 17 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
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.