Player Stats
-----------------------------------------------------------------------------------------------------
Skript Version: Skript-2.8.5
Used Addons:
Skript Reflect: skript-reflect v2.4
-----------------------------------------------------------------------------------------------------
With TLaPS you can sort your stats from top to bottom and bottom to top!
If you are new to Skript or dont know how to use this ressource, i will give you a quick explanation. For this ressource to work, you need to download the addon called Skript-Reflect from the download link above. It is reccomendet to use the newest version of both Skript and Skript-Reflect. After you dragged Skript and Skript-Reflect to the Server/plugins/ folder, you need to start and stop the server. After that you will find the Server/plugins/Skript/scripts/ path. There you will need to place the playerstatsAPI.sk file. After that you can use the syntax below to edit the stats of a player from any skript of your choice.
Happy Skripting
Example Usage:
Code (Text):
on break:
add 1 to stat "breaks" of player
command /getBreaks:
trigger:
send stat "breaks" of player
command /testAdd <offline player> <number>:
trigger:
set stat "breaks" of ("%arg-1%" parsed as offline player) to arg-2
command /topBreaks:
trigger:
set {_toplist::*} to "top" sorted stat list "breaks" formatted as "&e##<place>: &a<player>: &b<value>"
loop {_toplist::*}:
send loop-value
Sorting types:
stat-api "top" sorted stat list
stat-api "bottom" sorted stat listClick to expand...
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Top List and Player Stats is a free Minecraft Java mod. Compatible with Minecraft 1.20. Downloaded 654 times (via Spigot). Download it and open it directly in the game.