MyPosition

Expand and mod your server.
Post Reply
User avatar
Zehra
Private First Class
Private First Class
Posts: 618
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

MyPosition

Post by Zehra » Fri Jul 06, 2018 5:55 pm

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
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~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.

R3laX
Private First Class
Private First Class
Posts: 98
Joined: Wed Jun 28, 2006 2:26 pm
Location: .bzw

Re: MyPosition

Post by R3laX » Fri Jul 06, 2018 6:10 pm

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: 4741
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: MyPosition

Post by blast » Fri Jul 06, 2018 9:02 pm

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: 762
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: MyPosition

Post by allejo » 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.
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

User avatar
Zehra
Private First Class
Private First Class
Posts: 618
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

Re: MyPosition

Post by Zehra » Sun Jul 08, 2018 2:18 am

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
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~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.

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

Re: MyPosition

Post by allejo » Sun Jul 08, 2018 2:50 am

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
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

Re: MyPosition

Post by JeffM » Sun Jul 08, 2018 3:17 am

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.

User avatar
Zehra
Private First Class
Private First Class
Posts: 618
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

Re: MyPosition

Post by Zehra » Sun Jul 08, 2018 3:47 am

@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
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~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.

User avatar
blast
General
General
Posts: 4741
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: MyPosition

Post by blast » Sun Jul 08, 2018 11:11 am

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