
Player Stats
-----------------------------------------------------------------------------------------------------
Skript Version: Skript-2.8.5
Used Addons:
Skript Reflect: skript-reflect v2.4
-----------------------------------------------------------------------------------------------------
Top List and Player Stats offers the ability to manage the stats of your players easily. You can choose between a yaml config or the default skript variables as storage.
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:
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
Available Parameters:
Sorting types:
stat-api "top" sorted stat list
stat-api "bottom" sorted stat list
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta