Posted February 25, 20187 yr I can check if a player is OP, but how to OP and DEOP in code? I've checked the minecraft class, the entity class, entitiyplayer and entityPlayerMP class. Any suggestions?
February 25, 20187 yr I would see if I could find the code for the op and deop commands and find out if I can call similar routines from my own code.
February 26, 20187 yr Author Thanks for the reply Ugdhar. I found the command in net.minecraft.command.server for anyone that needs the same information. Edited February 26, 20187 yr by CraftySailor
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.