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

Repeat PopUp

Comments in 'Plugin Development' started by xXCyrerXx, Aug 28, 2015.

  1. xXCyrerXx
    Offline

    xXCyrerXx

    Joined:
    May 31, 2015
    Posts:
    25
    Minecraft User:
    iAnonymous28
    How Do We Repeat PopUp
    this is mah code
    Code:
    public function onCommand(CommandSender $sender, Command $command, $label, array $args) {
             if($sender instanceof Player) {
                 $name = $sender->getName();
                 switch (strtolower($command->getName())){
                     case 'random':
                     $sender->sendPopup(Color::GOLD."[CyberRandom]Good Day Sire $name");
                         return;
                         break;
  2. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    Use a repeating Task

Share This Page

Advertisement