Plugins and code for LuckyKingdom