Page 1 of 1

/ztp zonename

Posted: September 4th, 2011, 4:18 pm
by BobKare
Hi!

I just came on an idea here playing on a server, that it might be a benefit to have the ability to tp to zones!

It's not a need, but it might be a good feature in my opinion ;)

It might be under Teleport permission.

Thanks looking into it,

-BobKare

Re: /ztp zonename

Posted: September 4th, 2011, 4:36 pm
by barrowboyjames
Good idea that, seems complex though

Re: /ztp zonename

Posted: September 4th, 2011, 4:48 pm
by Sanjar Khan
Not really, fCraft already lists the center of each zone in it's /zinfo. I recall many requests for this function in the past

Re: /ztp zonename

Posted: September 4th, 2011, 4:59 pm
by Jonty800
you can /zinfo and then /tp x y z
x y z are the co-ordinates listed in /zinfo

Re: /ztp zonename

Posted: September 4th, 2011, 5:26 pm
by Sanjar Khan
Yes, and he wants to streamline this process.

Re: /ztp zonename

Posted: September 4th, 2011, 6:15 pm
by BobKare
it's to make it easier....

Re: /ztp zonename

Posted: September 4th, 2011, 9:00 pm
by barrowboyjames
Seems complex to me... I struggle downloading WoM

Re: /ztp zonename

Posted: September 4th, 2011, 11:37 pm
by Bloody_Llama
barrowboyjames wrote:Seems complex to me... I struggle downloading WoM
LMAO. I feel sorry for you. Downloading WoM is about as easy as it gets. I mean, what does it involve, clicking 3 buttons?

Re: /ztp zonename

Posted: September 5th, 2011, 12:27 am
by boblol0909
One possible problem could be if the spot where you teleported to had a block there, but this seems like a cool idea.

Re: /ztp zonename

Posted: September 5th, 2011, 12:43 am
by Bloody_Llama
Eh, you can /tp to players or xyz locations that are inside other blocks too. It's not any more of a problem than those other circumstances.

Re: /ztp zonename

Posted: September 5th, 2011, 7:06 am
by Ollieboy
That really just makes players have a whole bunch of unnecessary zones set up.

Re: /ztp zonename

Posted: September 6th, 2011, 3:56 pm
by BobKare
It's not to make tp spots. It's to tp to zones if you want to see where they are etc.

NB: Yes, I know about /tp x y z

Re: /ztp zonename

Posted: September 8th, 2011, 10:28 pm
by maintrain97
I like the suggestion!!!

Re: /ztp zonename

Posted: September 16th, 2011, 5:38 pm
by BobKare
?

Re: /ztp zonename

Posted: September 18th, 2011, 2:42 pm
by Jonty800
I have a code for /ztp. If anyone would like it, just message me.

Also I found out that (zone.Bounds.ZMin + zone.Bounds.ZMax) / 2) is inaccurate for things like /zinfo and is more accurate when using (((zone.Bounds.ZMin + zone.Bounds.ZMax) / 2)+2)

Re: /ztp zonename

Posted: September 18th, 2011, 5:11 pm
by fragmer
Jonty800 wrote:Also I found out that (zone.Bounds.ZMin + zone.Bounds.ZMax) / 2) is inaccurate for things like /zinfo and is more accurate when using (((zone.Bounds.ZMin + zone.Bounds.ZMax) / 2)+2)
Note that coordinates are 0-based (first block is at 0,0,0 and not at 1,1,1). Plus, dividing integers in C# always rounds down.