Closed Pub4Game closed 9 years ago
switch($result){
case -2: // CANCELLED
$output .= "Your request have been cancelled";
break;
case -1: // NOT_FOUND
$output .= $this->getPlugin()->getMessage("player-never-connected", $sender->getName(), array($player, "%2", "%3", "%4"));
break;
// INVALID is already checked
case 1: // SUCCESS
$output .= $this->getPlugin()->getMessage("givemoney-gave-money", $sender->getName(), array($amount, $player, "%3", "%4"));
$server->getLogger()->info("Player ".$sender->getName()." give player $player $amount$");
if($p instanceof Player){
$p->sendMessage($this->getPlugin()->getMessage("givemoney-money-given", $sender->getName(), array($amount, "%2", "%3", "%4")));
}
break;
}
I wanted it displayed in the console
Yes
Sent from my iPad
On Sep 3, 2015, at 10:07 AM, Pub4Game notifications@github.com wrote:
Can make the output messages in the console when you use the /givemoney,/setmoney [Steve gave out 1200$ player - Steve2]
I already created a similar request.....
— Reply to this email directly or view it on GitHub.
Can make the output messages in the console when you use the /givemoney,/setmoney [Steve gave out 1200$ player - Steve2]
I already created a similar request.....