2

Say there was a scoreboard objective called money, and say they had 1 money. How do I see if a player has at least 1 money? as in /testfor @a[score_money_min=1], except using /execute or something in 1.13.1? I am currently trying to make a Vanilla Server for fun. I am currently making a custom command.

1 Answer 1

0

Edit: I understand what you want now. Thank you for clarifying in your question. It is rather tricky since /testfor is removed in 1.13. The command for checking the minimum count for objective "money" in 1.13.1 would be:

/execute if entity @a[scores={money=1..}]

The two dots after the 1 are correct, they mean "greater than". See the following wiki page for more information of selecting targets by score:

https://minecraft.wiki/w/Commands#Target_selector_arguments

Hope that helps.

4
  • sorry, wrong kind of seeing i guess. thanks for trying to help though! I appreciate it. Commented Nov 10, 2018 at 18:35
  • I updated the answer. Is this what you're looking for?
    – Andrew
    Commented Nov 10, 2018 at 21:14
  • Thank you so much. you are highly appreciated.i hope i can answer some of your questions. Commented Nov 10, 2018 at 22:27
  • The two dots means "greater than or equal to," from my experience.
    – swinn
    Commented Jan 28, 2019 at 5:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .