@@ -0,0 +1,1384 @@
+package com.skcraft.plume.module;%0A%0Aimport com.mojang.authlib.GameProfile;%0Aimport com.skcraft.plume.common.util.config.Config;%0Aimport com.skcraft.plume.common.util.config.InjectConfig;%0Aimport com.skcraft.plume.common.util.module.Module;%0Aimport cpw.mods.fml.common.eventhandler.SubscribeEvent;%0Aimport cpw.mods.fml.common.gameevent.PlayerEvent;%0Aimport net.minecraft.server.MinecraftServer;%0Aimport net.minecraft.server.management.ServerConfigurationManager;%0Aimport ninja.leaping.configurate.objectmapping.Setting;%0A%0A@Module(name = %22operator-check%22)%0Apublic class OperatorCheck %7B%0A%0A    @InjectConfig(%22operator_check%22)%0A    private Config%3CCheckConfig%3E config;%0A%0A    @SubscribeEvent%0A    public void onPlayerJoin(PlayerEvent.PlayerLoggedInEvent event) %7B%0A        if (config.get().deopOnJoin) %7B%0A            ServerConfigurationManager configManager = MinecraftServer.getServer().getConfigurationManager();%0A            GameProfile gameProfile = event.player.getGameProfile();%0A            if (configManager.func_152596_g(gameProfile)) %7B /* isOp() */%0A                // Warning: Blocks thread -- underlying map not thread-safe%0A                configManager.func_152610_b(gameProfile); /* deop() */%0A            %7D%0A        %7D%0A    %7D%0A%0A    private static class CheckConfig %7B%0A        @Setting(comment = %22Set to true to remove op status from users that join%22)%0A        public boolean deopOnJoin = false;%0A    %7D%0A%0A%7D%0A

Add module to remove operator status on join.