Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

IN-PLUGIN command help!

Comments in 'Plugin Development' started by duke, Nov 5, 2013.

  1. duke
    Offline

    duke New Member

    Joined:
    Oct 4, 2013
    Posts:
    35
    This is how the /give command would be in a plugin
    $this->api->console->run("give ".$data["player"]->username." 298 1", "console", false);

    what would it be like if it was the /gamemode command
  2. Glitchmaster_PE
    Offline

    Glitchmaster_PE Notable Member Plugin Developer

    Joined:
    Aug 31, 2013
    Posts:
    834
    Plugins:
    8
    Minecraft User:
    Glitchmaster_PE
    I posted on the other one

Share This Page

Advertisement