Yeah, I tried a way to to have buttons we could press, which triggered command blocks that would teleport us inside the spawn for the night.
Unfortunately, on command blocks, a name must be specified when you use the /tp command, and I didn't want to have a command block for every person who ever played on the server.
When we have ender pearls after defeating the Ender Dragon, this will not be too much of a problem though.
Because enough people (4/4) liked the idea of a nightly rewards system, I'm going to implement it.
Every morning, when the night is over, 1 item will be dispensed in the center of the spawn platform. It will be a relatively powerful item, with low durability. It might also be a small number of good food, etc. I'll probably have like a 1/36 (because there are going to be 4 dispensers, randomly chosen) chance of it being something kinda worthless like a half-durability wooden sword, or leather boots with 1 hit left.
Minecraft server?
- Lord_P
- Officer [Platinum Rank]
- Posts: 604
- Joined: February 15th, 2012, 7:59 am
- Location: Back in the Land of the Finns
Re: Minecraft server?
If you replace the name with @p, it teleports the player nearest to the command block.Vroqren wrote:Unfortunately, on command blocks, a name must be specified when you use the /tp command, and I didn't want to have a command block for every person who ever played on the server.
Re: Minecraft server?
Okay, I thought I had tried this, but quickly went into a creative testing world to try again. It works, and I found my problem.
I had been trying /tp @p r=5 [x y z]
Oddly enough, it doesn't work if you specify a search radius, but it does if you don't. So, pressure plates will shortly be added that teleport the player into the spawn area. I assume you guys would also like some to teleport back out (don't bother responding to that alst question, I already added them )
I had been trying /tp @p r=5 [x y z]
Oddly enough, it doesn't work if you specify a search radius, but it does if you don't. So, pressure plates will shortly be added that teleport the player into the spawn area. I assume you guys would also like some to teleport back out (don't bother responding to that alst question, I already added them )