This commit is contained in:
Ad5001 2016-08-20 08:15:10 +03:00
commit c2c8901feb
4 changed files with 12 additions and 12 deletions

View file

@ -1,15 +1,15 @@
PLEASE NOTE THAT THE PLUGIN IS ***NOT*** COMPLETE YET ! SO DON4T USE THIS IN A PRODUCTION ENVIRONNEMENT!
PLEASE NOTE THAT THE PLUGIN IS ***NOT*** COMPLETE YET! SO DO NOT USE THIS IN A PRODUCTION ENVIRONNEMENT!
# UHC
The most customisable UHC plugin for Minecraft PE !
The most customisable UHC plugin for Minecraft PE!
Welcome here owner/player ! You may know what the UHC is but if not, read carfully [this](wiki/What-is-UHC).
Welcome here, owner/player! You may know what the UHC is but if not, carefully read [this](wiki/What-is-UHC).
This is a recreation of the well known UHC for Minecraft PE servers software in PHP!
### Why is this plugin better?
**This plugins allows you:**
- Creating simple but highly customisable UHC matchs
- MultiWorld Compatibility
- Scenario compatible ! [What are scenarios](wiki/scenarios)
- Scenario compatible! [What are scenarios](https://github.com/Ad5001/UHC/wiki/What-are-Scenarios%3F)
Current complete features:
[WIP] Playing UHC (damage without regen and golden apples)

View file

@ -5,7 +5,7 @@
# | | | | __ | |
# | |__| | | | | |____
# \____/|_| |_|\_____|
# The most customisable UHC plugin for Minecraft PE !
# The most customisable UHC plugin for Minecraft PE!
namespace Ad5001\UHC ;
use pocketmine\command\CommandSender;
use pocketmine\command\Command;
@ -153,7 +153,7 @@ switch($cmd->getName()){
$player = $this->getServer()->getPlayer($args[1]);
$sender->teleport(new Vector3($player->x, $player->y, $player->z), $player->yaw, $player->pitch);
} else {
$sender->sendMessage(self::PREFIX . "Player {$args[1]} does NOT exists");
$sender->sendMessage(self::PREFIX . "Player {$args[1]} does NOT exist!");
}
} else {
$sender->sendMessage(self::PREFIX . "Usage: /uhc tp <player>");
@ -186,4 +186,4 @@ switch($cmd->getName()){
}
return false;
}
}
}

View file

@ -5,7 +5,7 @@
# | | | | __ | |
# | |__| | | | | |____
# \____/|_| |_|\_____|
# The most customisable UHC plugin for Minecraft PE !
# The most customisable UHC plugin for Minecraft PE!
namespace Ad5001\UHC ;
use pocketmine\command\CommandSender;
use pocketmine\command\Command;
@ -52,7 +52,7 @@ class UHCWorld {
foreach($players as $player) {
if(!in_array($player, $this->players)){
foreach($this->players as $pl) {
$pl->sendMessage(Main::PREFIX . C::YELLOW . "{$player->getName()} leaved the game.");
$pl->sendMessage(Main::PREFIX . C::YELLOW . "{$player->getName()} left the game.");
}
}
}
@ -67,4 +67,4 @@ class UHCWorld {
$this->players = $players;
return true;
}
}
}

View file

@ -82,7 +82,7 @@ class StartGameTask extends PluginTask {
break;
case 1:
foreach($this->world->getLevel()->getPlayers() as $player) {
$player->sendMessage(Main::PREFIX . C::YELLOW . "1 seconds before the game starts");
$player->sendMessage(Main::PREFIX . C::YELLOW . "1 second before the game starts");
}
break;
case 0:
@ -94,4 +94,4 @@ class StartGameTask extends PluginTask {
$this->seconds--;
}
}
}
}