Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlayerSensor improvement #169

Open
mburger82 opened this issue Nov 16, 2016 · 1 comment
Open

PlayerSensor improvement #169

mburger82 opened this issue Nov 16, 2016 · 1 comment

Comments

@mburger82
Copy link

Suggestion:

Description

The PlayerSensor is a really handy tool for command-computers aswell.
So it would be ideal, if you also could give back the player coordinates.
And really important would be the dimension, the player is in.

Expected behavior:
new Method:

getPlayerData(playerName)
{
    x
    y
    z
    dimension
}
@DevL0rd
Copy link

DevL0rd commented May 10, 2017

I agree, if you could pull x y z coordinates and get if the player is crouching or is on the ground and an is player like in openccsensors player sensor. it is sometimes unreliable and just removing openccsensors would be great.
however, keep the x y z relative to the sensor unless passed otherwise.
and lastly the ability to filter names of entity's or their entity id
function getPlayerData(playerName, posIsRelative, nameOrEntityID)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants