I want a plugin that makes Popups Scroll forvever. I don't want a config, I just want code. Also it scroll to all the players in my lobby world only. I would also like to modify simpleauth so it will spam a popup YOU NEED TO AUTHENTICATE! until you authenticate. Please someone help. Thanks!
Are you looking for something like http://forums.pocketmine.net/threads/popup-duration.7824/#post-82453
OK. So, I made the plugin, but it doesn't do anything. PHP: namespace TimedPopup;use pocketmine;//Main.phpif(blah blah){ $this->getServer()->getScheduler()->scheduleDelayedTask(new Task($this, $player), 40); //show for 2 seconds} PHP: namespace TimedPopup\Task;use pocketmine;//Task.phppublic function onRun($tick){ switch($tick){ case 1: $this->player->sendPopup(TextFormat::RED . "Welcome to SCPE!"); case 1: $this->player->sendPopup(TextFormat::GOLD . "elcome to SCPE! W"); case 2: $this->player->sendPopup(TextFormat::YELLOW . "lcome to SCPE! We"); case 3: $this->player->sendPopup(TextFormat::GREEN . "come to SCPE! Wel"); case 4: $this->player->sendPopup(TextFormat::BLUE . "ome to SCPE! Welc"); case 5: $this->player->sendPopup(TextFormat::LIGHT_PURPLE . "me to SCPE! Welco"); case 6: $this->player->sendPopup(TextFormat::RED . "e to SCPE! Welcom"); case 7: $this->player->sendPopup(TextFormat::GOLD . "to SCPE! Welcome"); case 8: $this->player->sendPopup(TextFormat::YELLOW . "o SCPE! Welcome t"); case 9: $this->player->sendPopup(TextFormat::GREEN . " SCPE! Welcome to"); case 1: $this->player->sendPopup(TextFormat::BLUE . "SCPE! Welcome to "); case 11: $this->player->sendPopup(TextFormat::LIGHT_PURPLE . "CPE! Welcome to S"); case 12: $this->player->sendPopup(TextFormat::RED . "PE! Welcome to SC"); case 13: $this->player->sendPopup(TextFormat::GOLD . "E! Welcome to SCP"); case 14: $this->player->sendPopup(TextFormat::YELLOW . "! Welcome to SCPE"); case 15: $this->player->sendPopup(TextFormat::GREEN . " Welcome to SCPE!"); case 16: $this->player->sendPopup(""); case 17: $this->player->sendPopup(""); }}
That is great. My first version of my plugins usually instead of not doing anything usually generate a lot of errors.
namespace TimePopup\Task; use pocketmine; //Task.php public function __construct(Player $player){ $this->player = $player; } public function onRun($tick){ if(!$this->player->isConnected()); switch($tick){ case 1: $this->player->sendPopup(TextFormat::RED . "Welcome to SCPE!"); case 1: $this->player->sendPopup(TextFormat::GOLD . "elcome to SCPE! W"); case 2: $this->player->sendPopup(TextFormat::YELLOW . "lcome to SCPE! We"); case 3: $this->player->sendPopup(TextFormat::GREEN . "come to SCPE! Wel"); case 4: $this->player->sendPopup(TextFormat::BLUE . "ome to SCPE! Welc"); case 5: $this->player->sendPopup(TextFormat::LIGHT_PURPLE . "me to SCPE! Welco"); case 6: $this->player->sendPopup(TextFormat::RED . "e to SCPE! Welcom"); case 7: $this->player->sendPopup(TextFormat::GOLD . "to SCPE! Welcome"); case 8: $this->player->sendPopup(TextFormat::YELLOW . "o SCPE! Welcome t"); case 9: $this->player->sendPopup(TextFormat::GREEN . " SCPE! Welcome to"); case 10: $this->player->sendPopup(TextFormat::BLUE . "SCPE! Welcome to "); case 11: $this->player->sendPopup(TextFormat::LIGHT_PURPLE . "CPE! Welcome to S"); case 12: $this->player->sendPopup(TextFormat::RED . "PE! Welcome to SC"); case 13: $this->player->sendPopup(TextFormat::GOLD . "E! Welcome to SCP"); case 14: $this->player->sendPopup(TextFormat::YELLOW . "! Welcome to SCPE"); case 15: $this->player->sendPopup(TextFormat::GREEN . " Welcome to SCPE!"); case 16: $this->player->sendPopup(""); case 17: $this->player->sendPopup(""); } } return; }
Can you make me a plugin like that with transitions that look like: "Welcome to Minin' Some Fire Creative Server!" ASAP? Thank you!
Lol just use substr to cut off letters. Check it out on my skywars server (sw.samueljh1. Net:19133) Even the motd has it lel