1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

$player->setOp(true) does not work?

Discussion in 'Development' started by Az928, Oct 21, 2017.

  1. Az928

    Az928 Baby Zombie

    Messages:
    140
    GitHub:
    theaz928
    Hi, recently I coded an ItemCommands plugin, basically it runs command by tapping certain items configured on config.yml. The problem is, when the item's command is set to "As op", the code doesn't make the player temporarily op.
    Thanks for help, the plugin can be found here , Main codes are at ItemCommands\Item.php
     
  2. VCraft

    VCraft Witch

    Messages:
    60
    GitHub:
    VCraftMCPE
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.