- Supported Minecraft Versions
- 1.15
- 1.16
- 1.17
- 1.18
- 1.19
BeeDB is discontinued. No support is given for users.
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.
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