• 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.

Stats Command

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
#Setup

cmd install title

MUST HAVE KILLRATE

MUST HAVE ECONOMY

#The Command

cmd create stats Shows a person or players stats!

cmd add stats %player% = %args%[1]

cmd add stats if %args%[1] = "" then let %player% = %p%

cmd add stats let %phand% = playerhand(%player%)

cmd add stats let %bal% = playerbalance(%player%)

cmd add stats let %r% = playergroup(%player%)

cmd add stats title %p% "[STATS]\nLoading Stats....."

cmd stats add message %p% %player%'s Stats!

cmd add stats message %p% Rank: %r%

cmd add stats message %p% Money: %bal%$

cmd add stats message %p% Hand: %phand%

cmd add stats /killrate stats %player%

cmd add stats message %p% ___________________________

cmd add stats #Made By PinkachuGaming

cmd add stats #If you get a error, thats because player is not online. Little Online/Offline unique way of showing :D

Made it the best i could :D
 

CosmG

Coal Miner
#2
You can prevent the offline error by doing:
if %player% notin onlineplayers() then exit

Or make a dropdown gui showing all onlineplayers.

Otherwise this is a good start :D