Im making a kinda vanilla server and am making a bank, i want it so that when you click a button it will find the nearest player and take 50 coins away from it. The command i am using is:
"essentials:economy take @p 50"
which would take away 50 coins however the @p argument is not supported on essentials command. Anyone know how to find the closest player on essentials commands?
Question
Underatedz
Im making a kinda vanilla server and am making a bank, i want it so that when you click a button it will find the nearest player and take 50 coins away from it. The command i am using is:
"essentials:economy take @p 50"
which would take away 50 coins however the @p argument is not supported on essentials command. Anyone know how to find the closest player on essentials commands?
Thank you in advance
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now