- Supported Minecraft Versions
- 1.15
- 1.16
- 1.17
- 1.18
- 1.19
What is BeeDB?
BeeDB is a database for Skript that uses NBT data. If you didn't know, NBT is how Minecraft stores data. The playerdata folder also uses NBT data.
How do I use BeeDB?
BeeDB is very easy to use. All you have to do is rename your variables to start with bee.db::%uuid% and BeeDB will handle data saving and loading for you.
If you don't like the bee.db prefix, you can change it in the config inside.
All data is saved inside "plugins/Skript/scripts/BeeDB". You can read the data by using NBT Explorer, using a VSC addon and lots of other ways.
Pros of BeeDB
- Very easy to use
- Better than variables.csv (performance and size-wise)
- Lightweight
- Data file can be edited unlike vanilla Skript where it is not recommended.
Cons of BeeDB
- Data isn't available when it is not loaded, meaning you can't make stuff like leaderboards.
- Might break with non-NBT types.
- You can't have a value and a list at the same time. For example:
Using this code, the "b" value would be deleted when the data is saved.
Getting Support
You can find me (erenkarakal) in SkUnity discord or by joining my discord server.
BeeDB is a database for Skript that uses NBT data. If you didn't know, NBT is how Minecraft stores data. The playerdata folder also uses NBT data.
How do I use BeeDB?
BeeDB is very easy to use. All you have to do is rename your variables to start with bee.db::%uuid% and BeeDB will handle data saving and loading for you.
Code:
set {bee.db::%player's uuid%::rank} to "admin"
add 1 to {bee.db::%player's uuid%::kills}
All data is saved inside "plugins/Skript/scripts/BeeDB". You can read the data by using NBT Explorer, using a VSC addon and lots of other ways.
Pros of BeeDB
- Very easy to use
- Better than variables.csv (performance and size-wise)
- Lightweight
- Data file can be edited unlike vanilla Skript where it is not recommended.
Cons of BeeDB
- Data isn't available when it is not loaded, meaning you can't make stuff like leaderboards.
- Might break with non-NBT types.
- You can't have a value and a list at the same time. For example:
Code:
set {bee.db::%player's uuid%::a} to "b"
set {bee.db::%player's uuid%::a::*} to 1, 2 and 3
Getting Support
You can find me (erenkarakal) in SkUnity discord or by joining my discord server.