Thanks. Works for me.I just updated the map to remove the leaves, I also added a mini-castle and a parkour challenge to make the wait a bit more interesting. Now, I'll deal with the death kick acting so strangely.
Hey Dude...
At first... awesome Server
I love it and yes... the hackers are stupid because without cheating, they couldn`t win 1 game anylonger, but thats only a sign for theire Inability!! Sorry for my bad english... I come from Austria So by the while... I have a "offer" for you because I just make a Server Map with MCPE The Walls, minigames like Spleef or Reactor fight and so on... So i think with a few plugins, it would be the first real MCPE Allround server all over the world. Now.. if you got interested, please reply here and I will give you a link to the map ok? (The work is in progress, but The Walls and 2 Minigames are already did) Between, I also plan to put hunger games into the map and a farm world, where players can farm all resources like in survival. But this must wait until the new Pocketmine alpha 1.3 update with multiworld support is out
Your asking William for his plugins?!? He has worked over 300 hours on them (if I remember correctly). If you like the plugins, you should learn php and try to reconstruct them your way.
Rollback Post to RevisionRollBack
I'm lost in my own mind while reality keeps moving.
Hey can you take out people who gets diamond when 1 second and kick them since theirs of diamond armor but you can make a diamond sword cuz their is 4 diamonds in chest. Ik where all of them are
The Meaning of Life, the Universe, and Everything.
Location:
Bloomington
Join Date:
6/5/2012
Posts:
52
Minecraft:
williamtdr
Member Details
Darn. Can someone take a second look at this:
case "player.death": // called when a player dies
$deadplayer = $data['name']; // retrieves the player's username
$this->api->console->run("kick $deadplayer You have died!", "console"); // kicks player through command
$this->api->ban->kick($deadplayer, "You have died! Reconnect to a different server."); // kick player through API for good measure
$playersremaining = 0; // reset player remaining value
$onlineplayers = $this->api->player->online(); // get online players
foreach ($onlineplayers as $onlineplayer) {
$playersremaining++; // for each online player, increase count by one
}
$playersremaining = $playersremaining - 2; // -1 for default and -1 for the last player
if($playersremaining > 1) { // gramatical stuff:
$this->say("{$playersremaining} players remaining.");
}
if($playersremaining == 1) {
$this->say("One player remaining.");
}
if($playersremaining == 0) {
$this->say("No players remaining. Congratulations on your victory!");
}
break;Sorry, indenting was removed through paste.
case "player.death": // called when a player dies
$deadplayer = $data['name']; // retrieves the player's username
$this->api->console->run("kick $deadplayer You have died!", "console"); // kicks player through command
$this->api->ban->kick($deadplayer, "You have died! Reconnect to ay different server."); // kick player through API for good measure
$playersremaining = 0; // reset player remaining value
$onlineplayers = $this->api->player->online(); // get online players
foreach ($onlineplayers as $onlineplayer) {
$playersremaining++; // for each online player, increase count by one
}
$playersremaining = $playersremaining - 2; // -1 for default and -1 for the last player
if($playersremaining > 1) { // gramatical stuff:
$this->say("{$playersremaining} players remaining.");
}
if($playersremaining == 1) {
$this->say("One player remaining.");
}
if($playersremaining == 0) {
$this->say("No players remaining. Congratulations on your victory!");
}
break;
case "player.death": // called when a player dies
$deadplayer = $data['name']; // retrieves the player's username
$this->api->console->run("kick $deadplayer You have died!", "console"); // kicks player through command
$this->api->ban->kick($deadplayer, "You have died! Reconnect to a different server."); // kick player through API for good measure
$playersremaining = 0; // reset player remaining value
$onlineplayers = $this->api->player->online(); // get online players
foreach ($onlineplayers as $onlineplayer) {
$playersremaining++; // for each online player, increase count by one
}
$playersremaining = $playersremaining - 2; // -1 for default and -1 for the last player
if($playersremaining > 1) { // gramatical stuff:
$this->say("{$playersremaining} players remaining.");
}
if($playersremaining == 1) {
$this->say("One player remaining.");
}
if($playersremaining == 0) {
$this->say("No players remaining. Congratulations on your victory!");
}
break;
Sorry, indenting was removed through paste.
What are you trying to fix exactly and what is wrong? Then I can help a little
Rollback Post to RevisionRollBack
Want to make a Map with me??? Just PM me!!!! Follow @llombardo007 Follow Me On Twitter!!!
Btw i hope you will be healthy soon
Thanks. Works for me.I just updated the map to remove the leaves, I also added a mini-castle and a parkour challenge to make the wait a bit more interesting. Now, I'll deal with the death kick acting so strangely.
Follow @williamtdr
Your asking William for his plugins?!? He has worked over 300 hours on them (if I remember correctly). If you like the plugins, you should learn php and try to reconstruct them your way.
Follow @williamtdr
You also have to get MCPELauncher.
Follow @williamtdr
Same here... It says locating server, then outdated client...
Yup. It's online.I blocked diamond swords because they were too much of an advantage for hackers.
Follow @williamtdr
case "player.death": // called when a player dies
$deadplayer = $data['name']; // retrieves the player's username
$this->api->console->run("kick $deadplayer You have died!", "console"); // kicks player through command
$this->api->ban->kick($deadplayer, "You have died! Reconnect to a different server."); // kick player through API for good measure
$playersremaining = 0; // reset player remaining value
$onlineplayers = $this->api->player->online(); // get online players
foreach ($onlineplayers as $onlineplayer) {
$playersremaining++; // for each online player, increase count by one
}
$playersremaining = $playersremaining - 2; // -1 for default and -1 for the last player
if($playersremaining > 1) { // gramatical stuff:
$this->say("{$playersremaining} players remaining.");
}
if($playersremaining == 1) {
$this->say("One player remaining.");
}
if($playersremaining == 0) {
$this->say("No players remaining. Congratulations on your victory!");
}
break;Sorry, indenting was removed through paste.
Follow @williamtdr
What are you trying to fix exactly and what is wrong? Then I can help a little