MyPosition

Expand and mod your server.
Post Reply
User avatar
Zehra
Private First Class
Private First Class
Posts: 915
Joined: Sun Oct 18, 2015 3:36 pm
Location: Within the BZFS API and Beyond it
Contact:

MyPosition

Post by Zehra »

Day 6 of the week of plug-ins:

Summary:
Tired of not knowing where you are in a map?
Wish there was an easy way to find out precisely where you are?
Type in '/mypos' to gain insight on your position on the map.(Just while not observer.)

License: LGPL 2.1

Link to plug-in: MyPosition

-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.

Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
User avatar
R3laX
Private First Class
Private First Class
Posts: 112
Joined: Wed Jun 28, 2006 2:26 pm
Location: .bzw

Re: MyPosition

Post by R3laX »

You dont need a plugin to do that.
Add this to your bz config file: bind X down "toggle showCoordinates 0 1"
Press X in game.
OG
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: MyPosition

Post by blast »

You don't need to add a keybinding manually for that. Just do: /localset showCoordinates 1
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: MyPosition

Post by allejo »

There's also /roampos which you can use to see your current location or even move to a new location.
User avatar
Zehra
Private First Class
Private First Class
Posts: 915
Joined: Sun Oct 18, 2015 3:36 pm
Location: Within the BZFS API and Beyond it
Contact:

Re: MyPosition

Post by Zehra »

allejo wrote: Sun Jul 08, 2018 12:15 am There's also /roampos which you can use to see your current location or even move to a new location.
This gives me an idea for a plug-in to permit choosing where you spawn next.
Sadly it is a bit limiting with the fact of not being able to teleport, but the effect can be simulated a bit.
I guess this will be my next project in the near future.

-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.

Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: MyPosition

Post by allejo »

Zehra wrote: Sun Jul 08, 2018 2:18 am This gives me an idea for a plug-in to permit choosing where you spawn next.
Sadly it is a bit limiting with the fact of not being able to teleport, but the effect can be simulated a bit.
I guess this will be my next project in the near future.
Instead of trying to reinvent the wheel or updating an outdated square wheel, contribute and improve a more recent wheel. A wheel made by someone who's still around the community... https://github.com/allejo/matchTrainerAssistant
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: MyPosition

Post by JeffM »

1) the api lets the plugin pick spawns already.
2) stop using the word teleport in the wrong context.
3) the api already allows forcibly moving a player to a new location.
ImageJeffM
User avatar
Zehra
Private First Class
Private First Class
Posts: 915
Joined: Sun Oct 18, 2015 3:36 pm
Location: Within the BZFS API and Beyond it
Contact:

Re: MyPosition

Post by Zehra »

@allejo
I'm willing to help, but the dependency on bzTookKit prevents me from using all the features of it.
Also your plug-in appears more geared for leagues vs a map makers tool, which is would have been my goal for such a plug-in (map making tool).
Still, even so, I'm willing to help contribute towards its development.
There will be a few features I won't be able to test out as there is some dependencies outside of the API which do not work on Windows.
But overall, I think I can run it on Windows, minus a few features of course.

@JeffM
My bad, I seem to every once in a while use the incorrect technical terms.
I'm not sure, but I do not think forcibly moving a player is possible via the API in 2.4.x
From 2.6, I know this has been added to the API, but this is still some time off from my understanding.

-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.

Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: MyPosition

Post by blast »

Zehra, you're missing the point. In 2.5, bypassing the API for the two or so things in bzToolkit won't be necessary, so it would work on Windows. So your contribution could be upgrading bzToolkit and (possibly that plugin) to work on 2.5's API. And 2.6 isn't really that far off. I'd say we're about a year away from release at most.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
Post Reply