SkLevels - ✅ Manage custom levels ✅ Easy API

API SkLevels - ✅ Manage custom levels ✅ Easy API 1.2

  • 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 comminuty!

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

overall this a good skript and nice support but please consider the Nixter's suggestion to use nbt tag instead of variable. Lot of users especially me afraid of many usage of csv
Palgia
Palgia
I'm using CSV for what it was made for. If you're not running a server with +500 players there's literally no reason to be afraid. I've used some skripts with +10 variables for every players on servers with 50 players and even 100 players. No issues.
This is quite a good script, just from reading it. Adding custom events increases functionality and ease of use.

That being said, I'm worried about over usage of variables. You're giving every new player 3 variables when they join. Public servers (which this api seems designed for), especially on hosts like minehut, get hundreds to thousands of joins, even without many consistent players.


This could cause huge problems with overflowing of varabies.csv, so I recommend you instead use a byte tag, which is an nbt tag that stores an integer between -128 and 127. I also feel that you can do the entire config.yml as options, as having a config.yml does 2 things:

1. Force a download of an addon a good amount of people don't use

2. Complicate the download process by requiring things put in different folders.
Palgia
Palgia
Thanks for your review!

The csv format can handle several thousand values without problem even if it is true that this format is one of the least efficient.

It is true that this system can be improved. The advantage of variables is that it facilitates interaction with other skripts, without asking users to download an addon like SkBee.

And I like to use skript-yaml because editing yaml files is easier for users, it is closer to using a plugin, it is more "usual".

I take note of your comments, and I would certainly make an update in the future with an option to let the user choose the storage method.