• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Minecraft 1.16.220 Update + Bug/Crash Fixes
    Added MCPE 1.16.220 version and fixed crashes for multiple plugins. You can view the full changelist here.
  • Forum Updates - 4/11/2021
    Various changes have been made to the forums and a few categories. You can view the full changelist here.

simple stats command (simple use)

Warning!
Hello , there have been no replies in this thread for more than 30 days.
Please make sure you have a valid reason before you reply to this thread or you may face moderation action.
#1
This command can be used by everyone
code:

cmd create stats Stats of you or of another player
cmd add stats let %player2% = onlineplayers(%args%[1])
cmd add stats if varset(%args%[1]) = %true% then goto 100
cmd add stats #let %leben1% = %health%
cmd add stats #let %leben2% = int(1)
cmd add stats #let %leben1% = %leben1%[%leben2%]
cmd add stats let %money% = playerbalance(%p%)
cmd add stats message %p% §aYour stats: §rx: %x%, y: %y%, z: %z%, world: %level%, health: %health%, money: %money%$, gamemode: %gm%
cmd edit stats 99 exit
cmd add stats let %player% = join(%player2%, \" \")
cmd add stats if %player% notin onlineplayers() then message %p% player does not exists
cmd add stats if %player% notin onlineplayers() then exit
cmd add stats let %status% = playerstatus(%player%)
cmd add stats let %px% = %status%["x"]
cmd add stats let %py% = %status%["y"]
cmd add stats let %pz% = %status%["z"]
cmd add stats let %pl% = %status%["level"]
cmd add stats let %phealth% = %status%["health"]
cmd add stats let %pgm% = %status%["gm"]
cmd add stats let %pmoney% = playerbalance(%player%)
cmd add stats message %p% §astats of §6%player%§a: §rx: %px%, y: %py%, z: %pz%, world: %pl%, health: %phealth%, money: %pmoney%, gamemode: %pgm%

of course you can add other things like kd or saturation