Stats: Difference between revisions

From Blockate Wiki
Content added Content deleted
(Created page with "== Overview == The stat command(s) are very good combined with teles they can serve many purposes too help you pick people out of a big group. <br /> ===...")
 
m (Megamonsta2 moved page Commands/Stats to Stats without leaving a redirect)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command Infobox
|title=Stats
|image=Placeholder.png
|caption=Image required
|function=Adds, removes, modifies and utilises stats
|amount=13
|permission=Visitor-Admin
}}
__TOC__
== Overview ==
== Overview ==
The stat commands & stats in general are a complicated thing. Each stat has a name, display name, id & weight. A stats name is well, the name of the stat. You will use that for any commands. The display name is what it is displayed as in the leaderboard for players to see. The ids of a stat are data that are stored in the stat (for each player with the id), each with a default weight of 1. Stat weights are the amount of numerical value each id has, stat weights added together make up the numerical value of that certain stat & is what is displayed on the leaderboard. For example, if you have a stat called "test" with the user having 2 ids for that stat, "test1" and "test2" with each having a stat weight of 2, in the leaderboard the user will have a numerical value of 4 for that stat with the 2 ids listed above.
The stat command(s) are very good combined with [[Commands/Tele|teles]] they can serve many purposes too help you pick people out of a big group.


== Command Types ==
===!stat show===
The command !stat show is what everyone can use and it shows you the ids a player has for a certain stat. It uses the syntax !stat show (stat) (plr).


===!stat clear===
The command stat clear is used for removing every single stat from the world builders can use them so let trusted people have builder! It uses the syntax !stat clear. It requires you to be Builder+.


===!stat weight===
<br />
This command changes the weight of the specified id for the stat. The weight of the stat affects how much it affects the numerical value of the stat, which is the number that appears on the leaderboard and what stattele checks for. To sum it up it changes the number of the id for a certain stat for everyone. It uses the syntax !stat weight (stat) (id) (weight). It requires you to be Builder+.


=== 1.0.0 Commands ===
===!statgiver===
Turns the block your cursor is over into a statgiver block that will add the id into the stat you have listed for all players that make contact with the statgiver. It uses the syntax !statgiver (stat) (id). It requires you to be Builder+.
<br />


=== 1.1.0 Visitor+ ===
===!statremover===
Turns the block your cursor is over into a statremover block that will remove the id from the listed stat for all players that make contact with the statremover. It uses the syntax !statremover (stat) (id). It requires you to be Builder+.


==== 1.1.1 Stat show ====
===!statreseter===
Removes all ids for the stat listed when a player makes contact with the block. It uses the syntax !statreseter (stat). It requires you to be Builder+.
The command '''Stat Show''' is what everyone can use and it shows you what the amount of stat that player has for a certain stat.


===!stat add===
'''Syntax'''
This adds a new stat that will appear on the leaderboard with the name you put in the stat name slot. It uses the syntax !stat add (stat name). It requires you to be Admin+.


===!stat display===
!statshow (stat) (plr)
Changes the display name of the stat you put in stat name slot to the one in the new one slot. It can also hide the stat from the leaderboard. It uses the syntax !stat display (stat name) (new name). To show or hide the stat from the leaderboard the syntax is !stat display (stat name) <on/off/get>. It requires you to be Admin+.
<br />


=== 1.2.0 Builder+ ===
===!stat remove===
This removes a stat. Replace all stat to all to remove all stats in the world. It uses the syntax !stat remove (stat). It requires you to be Admin+.


==== 1.2.1 Stat clear ====
===!stat reset===
Resets all the ids of a stat for the player listed. It uses the syntax !stat reset (player) (stat). It requires you to be Admin+.
The command '''Stat clear''' is used for removing every single stat from the world builders can use them so let trusted people have builder!


===!stat show===
'''Syntax'''
It shows all the stats in the game. It uses the syntax !stat show. It requires you to be Admin+.


{{CommandNav}}
!stat clear

==== 1.2.2 stat weight ====
This command changes the weight of the specified stat for the stat. The weight of the stat affects how much it affects the value of the stat, which is the number that appears on the leaderboard and what stattele checks for. To sum it up it changes then number of the stat for everyone.

'''Syntax'''

!stat weight (stat) (statid) (weight) '''(The statid affects who has the certain amount you put there and changes the number with what the weight would be)'''

==== 1.2.3 statgiver ====
Turns the block your cursor is over into a statgiver block that will add the amount you put as the ID too the stat you said.

'''Syntax'''

!statgiver (stat) (id)

==== 1.2.4 statremover ====
Turns the block your cursor is over into a stat-remover block that will remove how much numbers you put in the ID slot from the stat that you put in the stat slot. Much like statgiver.

'''Syntax'''

!statremover (stat) (id)

==== 1.2.5 statreseter ====
When stepped on it will reset all the stats the player has for the the stat you put in the stat slot.

'''Syntax'''

!statrester (stat)

=== 1.3.0 Admin+ ===

==== 1.3.1 stat add ====
This adds a new stat that will appear on the leaderboard with the name you put in the stat name slot.

'''Syntax'''

!stat add (stat name)

==== 1.3.2 stat display ====
Changes the display name of the stat you put in stat name slot too the one in the new one slot.

'''Syntax'''

!stat display (stat name) (new name)

==== 1.3.3 stat display ====
Not to be confused with the other one. Whether the value of the specified stat will show on the leaderboard

'''Syntax'''

!stat display (stat name) <on/off/get>

==== 1.3.4 stat remove ====
This removes a stat with a name. Put all for stat name to remove all the stats in the world

'''Syntax'''

!stat remove (stat)

==== 1.3.5 stat reset ====
Resets the stat called in the stat slot from the player you put in the player slot.

'''Syntax'''

!stat reset (player) (stat)

==== 1.3.6 stat show ====
Not too be confused with the visitor+ one. Shows all the stats in the game

'''Syntax'''

!stat show

If you're still wondering about anything or have questions add a '''comment''', or DM me at '''kaiserandaxl#0173''' Thanks for reading this took me a while!

Latest revision as of 22:13, 7 November 2022

Stats
Image required
Function Adds, removes, modifies and utilises stats
Amount of Commands 13
Minimum Permission Level Visitor-Admin


Overview[edit source]

The stat commands & stats in general are a complicated thing. Each stat has a name, display name, id & weight. A stats name is well, the name of the stat. You will use that for any commands. The display name is what it is displayed as in the leaderboard for players to see. The ids of a stat are data that are stored in the stat (for each player with the id), each with a default weight of 1. Stat weights are the amount of numerical value each id has, stat weights added together make up the numerical value of that certain stat & is what is displayed on the leaderboard. For example, if you have a stat called "test" with the user having 2 ids for that stat, "test1" and "test2" with each having a stat weight of 2, in the leaderboard the user will have a numerical value of 4 for that stat with the 2 ids listed above.

Command Types[edit source]

!stat show[edit source]

The command !stat show is what everyone can use and it shows you the ids a player has for a certain stat. It uses the syntax !stat show (stat) (plr).

!stat clear[edit source]

The command stat clear is used for removing every single stat from the world builders can use them so let trusted people have builder! It uses the syntax !stat clear. It requires you to be Builder+.

!stat weight[edit source]

This command changes the weight of the specified id for the stat. The weight of the stat affects how much it affects the numerical value of the stat, which is the number that appears on the leaderboard and what stattele checks for. To sum it up it changes the number of the id for a certain stat for everyone. It uses the syntax !stat weight (stat) (id) (weight). It requires you to be Builder+.

!statgiver[edit source]

Turns the block your cursor is over into a statgiver block that will add the id into the stat you have listed for all players that make contact with the statgiver. It uses the syntax !statgiver (stat) (id). It requires you to be Builder+.

!statremover[edit source]

Turns the block your cursor is over into a statremover block that will remove the id from the listed stat for all players that make contact with the statremover. It uses the syntax !statremover (stat) (id). It requires you to be Builder+.

!statreseter[edit source]

Removes all ids for the stat listed when a player makes contact with the block. It uses the syntax !statreseter (stat). It requires you to be Builder+.

!stat add[edit source]

This adds a new stat that will appear on the leaderboard with the name you put in the stat name slot. It uses the syntax !stat add (stat name). It requires you to be Admin+.

!stat display[edit source]

Changes the display name of the stat you put in stat name slot to the one in the new one slot. It can also hide the stat from the leaderboard. It uses the syntax !stat display (stat name) (new name). To show or hide the stat from the leaderboard the syntax is !stat display (stat name) <on/off/get>. It requires you to be Admin+.

!stat remove[edit source]

This removes a stat. Replace all stat to all to remove all stats in the world. It uses the syntax !stat remove (stat). It requires you to be Admin+.

!stat reset[edit source]

Resets all the ids of a stat for the player listed. It uses the syntax !stat reset (player) (stat). It requires you to be Admin+.

!stat show[edit source]

It shows all the stats in the game. It uses the syntax !stat show. It requires you to be Admin+.


Commands
Cannon - Conga - Decals - Effects - Ez - Fly - Grid - Infection - Portal - Powerup
Sign - Soundblock - Tele - Tripper - Warp