Merge pull request #6 from XShockinFireX/master

Changes...
This commit is contained in:
Ad5001 2016-08-20 21:12:01 +02:00 committed by GitHub
commit be870bc924
2 changed files with 7 additions and 7 deletions

View file

@ -1,15 +1,15 @@
PLEASE NOTE THAT THE PLUGIN IS ***NOT*** COMPLETE YET! SO DO NOT USE THIS IN A PRODUCTION ENVIRONNEMENT! PLEASE NOTE THAT THE PLUGIN IS ***NOT*** COMPLETE YET! DO NOT USE THIS IN A PRODUCTION ENVIRONNEMENT!
# UHC # UHC
The most customisable UHC plugin for Minecraft PE! A highly 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 UHC is but if not, read [this](wiki/What-is-UHC).
This is a recreation of the well known UHC for Minecraft PE servers software in PHP! This is a recreation of the well known UHC gamemode for Minecraft PE server softwares in PHP!
### Why is this plugin better? ### Why is this plugin better?
**This plugins allows you:** **This plugins allows:**
- Creating simple but highly customisable UHC matchs - Creating simple but highly customisable UHC matchs
- MultiWorld Compatibility - MultiWorld Compatibility
- Scenario compatible! [What are scenarios](wiki/scenarios) - Scenarios! [What are scenarios](wiki/scenarios)
Current complete features: Current complete features:
[WIP] Playing UHC (damage without regen and golden apples) [WIP] Playing UHC (damage without regen and golden apples)

View file

@ -66,7 +66,7 @@ class UHCWorld {
if(!in_array($player, $players)){ if(!in_array($player, $players)){
foreach($this->players as $pl) { foreach($this->players as $pl) {
$pl->sendMessage(Main::PREFIX . C::YELLOW . "{$player->getName()} joined the game."); $pl->sendMessage(Main::PREFIX . C::YELLOW . "{$player->getName()} joined the game.");
$this->getLevel()->addParticle($part = new FloatingTextParticle(new Vector3($this->getLevel()->getSafeSpawn()->x, $this->getLevel()->getSafeSpawn()->y, $this->getLevel()->getSafeSpawn()->z), C::GREEN . "Welcome to the UHC {$player->getName()} !\n" . C::GREEN . "To get help about the plugin , please type command /uhc howtoplay .", C::YELLOW . "-=<UHC>=-"), [$pl]); $this->getLevel()->addParticle($part = new FloatingTextParticle(new Vector3($this->getLevel()->getSafeSpawn()->x, $this->getLevel()->getSafeSpawn()->y, $this->getLevel()->getSafeSpawn()->z), C::GREEN . "Welcome to the UHC game, {$player->getName()}!\n" . C::GREEN . "Need help? Use /uhc howtoplay.", C::YELLOW . "-=<UHC>=-"), [$pl]);
} }
} }
} }