Are you asking for code? This is the plugin requests section. Next time, use the Plugin Development section for that. You can use array_rand or mt_rand(or rand()?). array_rand: PHP: $randomPlayer = array_rand($this->getServer()->getOnlinePlayers()); $this->getServer()->broadcastMessage($randomPlayer->getName() . " is the randomly picked player!"); mt_rand: PHP: $playerArray = $this->getServer()->getOnlinePlayers(); $chosen = mt_rand(0, count(array_keys($playerArray)) - 1); $this->getServer()->broadcastMessage($playerArray[$chosen] . " is the randomly chosen player!"); I suggest the first method due to how much easier it is.