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

REQUEST: Get owner username in pocket computer #584

Open
Sharku2011 opened this issue Jan 17, 2019 · 4 comments
Open

REQUEST: Get owner username in pocket computer #584

Sharku2011 opened this issue Jan 17, 2019 · 4 comments

Comments

@Sharku2011
Copy link

I just wanna make shop system in my server, but there is no way to get EntityPlayer.getName() directly.

My design is setup command computer as main shop, and players can access shop via wireless pocket computer.

Send messages "USERNAME,seed,3" from pocket computer, then command computer receive it and exec "clear USERNAME seed 3" "wallet USERNAME add (3*price of seed)"

I know that cannot be implemented in block based computer because it can be interacted by multiple user. But pocket computer just can be interacted by just only one user at same time. So now, additional api that can access owner EntityPlayer info is needed.

@Lupus590
Copy link
Contributor

plethora may be able to provide what you need

@Sharku2011
Copy link
Author

Well, thx to your advise, but i need wireless modem function(rednet) and entity sensor funtion(get name) at same time and does not occupy armor slot(neural connector)...its very useful but over spec to me. If any other way to get specified player's information in that mod?

@SquidDev
Copy link
Contributor

does not occupy armor slot ... any other way to get specified player's information in that mod?

If you've got baubles installed, (it's required by Botania and Thaumcraft, so quite possibly), you can put the neural connector in a baubles slot. Otherwise, no - sorry!

@Sharku2011
Copy link
Author

Sharku2011 commented Jan 18, 2019

If you've got baubles installed, (it's required by Botania and Thaumcraft, so quite possibly), you can put the neural connector in a baubles slot. Otherwise, no - sorry!

Baubles works very well! Thanks so much. The last thing to do is just scan only one entity player who equips and owns that neural connector.

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

3 participants