Both mods have APIs, you can make a plugin that detects when you get/drop a flag (see jCTF's thread, jctf_api.zip, there's a plugin example there) and when that happens you just use the GunXP's set_user_xp(id, get_user_xp() + whateveryouwant) (make sure you #include <gunxpmod> )