thomasleveil / b3-plugin-poweradminurt

B3 plugin that brings Urban Terror 4.1 and 4.2 admin features to B3
http://forum.bigbrotherbot.net/xlr-releases/poweradminurt-1-4-0-for-urban-terror!/
4 stars 2 forks source link

iourt42: detect B3 parser iourt41/iourt42 #1

Closed thomasleveil closed 12 years ago

thomasleveil commented 12 years ago

the plugin should be refactored to work for both UrT version 4.1 and 4.2.

Development guidelines

  1. rename class PoweradminPlugin into Poweradmin41Plugin
  2. create class Poweradmin42Plugin which inherits from Poweradmin41Plugin
  3. make the module detect the B3 parser loaded and alias one of the plugin class as PoweradminUrt

    Test guidelines

  4. make B3 start with the iourt41 parser and the poweradminurt plugin and make sure the Poweradmin41Plugin class is the one actually loaded
  5. make B3 start with the iourt42 parser and the poweradminurt plugin and make sure the Poweradmin42Plugin class is the one actually loaded