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

2 questions

Comments in 'Plugin Development' started by JonsMC, Sep 2, 2016.

  1. JonsMC
    Offline

    JonsMC Active Member

    Joined:
    Jul 26, 2016
    Posts:
    107
    Minecraft User:
    JonsMC
    Um...know that already, the problem is idk how to send them to the sender :/
  2. Muqsit
    Offline

    Muqsit Active Member

    Joined:
    Sep 9, 2015
    Posts:
    175
    Minecraft User:
    Muqsit
    PHP:
    //$itemName = Item::get($itemId)->getName();
    $sender->sendMessage($itemName."(".$itemCount.") ".$itemCost." coins");
    Just *explode* the message with "." :/

Share This Page

Advertisement