• Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

Supported Skript Version
  1. 2.14
  2. 2.15
  3. 2.16
  4. 2.17
Supported Minecraft Versions
  1. 1.21
  2. 26.1
  3. 26.2
  4. 26.3
SkLeaderboards

A Skript addon designed to provide efficient, lag-free leaderboards with direct Skript variable and player stats support, all without placeholders.

Why SkLeaderboards?

In Skript, holographic leaderboards are very inefficient and laggy. Scripts typically rely on console commands that directly update a hologram. Constantly updating these holograms, especially many at a time can cause large amounts of lag on a server.

SkLeaderboards is built to solve this problem. The plugin allows for simple configuration of leaderboards directly in Skript, with updating the holograms fully left to the plugin. Furthermore, the plugin only updates the hologram when a displayed value needs an update, removing useless updates that make no change and further improving efficiency.

SkLeaderboard directly reads Skript variables, player statistics from data files and economy data directly from EssentialsX.

With SkLeaderboards, the host of the holograms can also be easily edited by one line and can be different for every single leaderboard.

Supported Holgram Hosts:
- Text Displays (Vanilla)
- FancyHolograms
- DecentHolograms

Requirements

- Paper 1.21.x - 26.x
- Skript 2.14.x - 2.17.x
- Java 21+

Installation

1. Download the latest release from [Modrinth](https://modrinth.com/plugin/skleaderboards).
2. Download the latest [Skript](https://github.com/SkriptLang/Skript/releases) release.
3. Download your preferred optional dependancies: [FancyHolograms](https://modrinth.com/plugin/fancyholograms), [DecentHolograms](https://modrinth.com/plugin/decentholograms), [EssentialsX](https://modrinth.com/plugin/essentialsx).
4. Drag all downloaded `.jars` into your server's `\plugins` folder and restart the server.
5. Create a script and register a leaderboard (Example snippets below).
6. Create the leaderboard hologram using `/lb create <id>`.

Usage
https://github.com/skTanky/SkLeaderboards

Snippets


Code:
register a new leaderboard with id "balanceLB":
    title: "&a&lBALANCE LEADERBOARD"
    value: balance
    host: fancy holograms
    size: 10
    refresh: 10 minutes
    format: "&7#%position% &f%name% &8- <#4FF522>$%value%"
    1st format: "&e#%position% &f%name% &8- <#4FF522>$%value%"
    2nd format: "&f#%position% &f%name% &8- <#4FF522>$%value%"
    3rd format: "&6#%position% &f%name% &8- <#4FF522>$%value%"
    footer: "&7Updates every %refresh%"
    shadow: false
    billboard: vertical
    background: none
    sort: descending
    view distance: 20



Code:
register a new leaderboard with id "testLB":
    title: "&c&lTEST LEADERBOARD&r"
    value: {variable::*}
    host: text display
    size: 10
    refresh: 60 seconds
    format: "&7#%position% &f%name% &8- <#4FF522>%value%"
    1st format: "&e#%position% &f%name% &8- <#4FF522>%value%"
    2nd format: "&f#%position% &f%name% &8- <#4FF522>%value%"
    3rd format: "&6#%position% &f%name% &8- <#4FF522>%value%"
    footer: "&7Updates every %refresh%"


Support
- Discord
Author
skTank
Downloads
3
Views
3
First release
Last update
Rating
0.00 star(s) 0 ratings