Browse Source

Merge pull request #6 from XShockinFireX/master

Changes...
pull/8/head
Ad5001 3 years ago
parent
commit
be870bc924
2 changed files with 7 additions and 7 deletions
  1. 6
    6
      README.md
  2. 1
    1
      src/Ad5001/UHC/UHCWorld.php

+ 6
- 6
README.md 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
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).
This is a recreation of the well known UHC for Minecraft PE servers software in PHP!
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 gamemode for Minecraft PE server softwares in PHP!
### Why is this plugin better?
**This plugins allows you:**
**This plugins allows:**
- Creating simple but highly customisable UHC matchs
- MultiWorld Compatibility
- Scenario compatible! [What are scenarios](wiki/scenarios)
- Scenarios! [What are scenarios](wiki/scenarios)
Current complete features:
[WIP] Playing UHC (damage without regen and golden apples)

+ 1
- 1
src/Ad5001/UHC/UHCWorld.php View File

@@ -66,7 +66,7 @@ class UHCWorld {
if(!in_array($player, $players)){
foreach($this->players as $pl) {
$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]);
}
}
}

Loading…
Cancel
Save