Minecraft Plugin Place Block?

Gu
- in Worlds
9

I've written a plugin that when you press on a coal that opens an inventory and then you should start the game, stop and kill all players. For the game to start, a Redstone Block must be placed at this position: X: 189 Y: 49 Z -53. And I do not manage to kill all the players in this world.

The problems are in the following lines:

Redstone Block: 73

All kill: 81

I would be happy for help.

Here is the code:

Ap

I can help you with that.

If you have Skype or TS, that would definitely make it easier.

La

You have to set Kill through all players of the server Loopen and Life to 0.

And then you have to first query the location with the coordinates and cast this to a block.

If you still need help, get in touch.

Gu

Yes I have TS

Which one are you on?

Gu

Do not you understand it completely could you write it to me what you mean?

Ap

I have my own TS:
TS.L1nd.de

Gu

Hmm. Do not come on the TS

Ap

For sure? Would have to work eig, I'm also on it xD
maybe when typing prescribed, yes can copy the IP?
Otherwise you send me an IP on which I should come

La

Do you have basic knowledge of Java? I do not think so right now. We'll fix that better with PM.

Dr

You can kill all players like this:

for (Player allp: Bukkit.getOnlinePlayers ()) {
allp.setHealth (0);
}

That's how it should be