Custom plugin for ModernMC