How To Give Money In Minecraft Server, Essentials Money Give Command

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 3 years ago.

Đang xem: How to give money in minecraft

I don”t know how to give a player money whenever they kill someone else with commands. I want it for my server. How can I do this?

*

First you would need to create a scoreboard to keep track of when a player kills another player. Run this command once to create a scoreboard that goes up by one every time a player kills another player.

Read more: Where Is The Oculus In Wow “, How To Leave The Oculus In Wow

/scoreboard objectives add pvpKill playerKillCountThen on a clock run these two commands to give a player a diamond when they have a kill, and then reset their player kill score

/give
a pvpKill 1If you”re creating a virtual currency you would need to run this command once too

/scoreboard objectives add money dummyRun this once for each player to give them a starting score of 0 (assuming they”re not all online at the same time)

/scoreboard players add
a money 0Then instead of the earlier two commands on a clock, run these two commands on a clock. This will give them 1 virtual dollar for every player they kill, but you could easily change the first command below from 1 to 100 or whatever you want to add.

Read more: Vanilla Wow How To Get To Hinterlands And Horde Flight Path, How Are You Supposed To Get There

/scoreboard players add

*

I have a suspicion that you”re thinking of the money that you check with the /balance command, which is NOT part of vanilla minecraft, and CANNOT be done with commands. If this is what you mean by “money”, the way to do this is by using a spigot/bukkit server with the Vault plugin and a Mob Kill counting plugin installed. If you don”t have spigot, you can try what the other answers are suggesting, but I”m not sure if you”ll get what you”re looking for.

Not the answer you're looking for? Browse other questions tagged minecraft-java-edition minecraft-commands or ask your own question.

*

*

site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.3.26.38924

Leave a Comment