Suggestions

Back

3rd official skript-yaml suggestion (third time's the charm) [Don't Ignore]



Strwbun Strwbun: over 3 years ago

So everyone here already knows what this plugin is and what it does (https://www.spigotmc.org/resources/skript-yaml.49829/), and here I am asking as the 3rd person to add the plugin. I do not know if it is unsafe, all I know is that it works and that it would help everyone on here who uses Skript by a TON, allowing us to finally not have to store the entire universe in 10 MB of memory.

Can someone from the staff team please confirm if this plugin is ABLE to be added or if it is not safe for use on the CubedCraft network, so if it is we can finally stop asking (Also I don't think it's unsafe myself)

Extra 1: There ARE other ways to read/load files, but they are highly INEFFICIENT and don't have the same optimization of skript-YAML.
Extra 2: Please actually respond, I know it takes a lot of time to add plugins and such, but this plugin this very important to the skripting community, and many things aren't possible without a proper way to store variables in a place other than our small amount of memory.
^ ! It will also have the server take up less memory which is better for CubedCraft in general !

thanks,
LegitMeme


2
1

Comments

Jeroeno_Boy Jeroeno_Boy: over 3 years ago

skript-yaml should absolutely NOT be used to store data, its much slower than skript variables.

If you want to have multiple files to where you store your variables, you might want to take a look in the skript config 😉 (or dm me in discord)

You can also use skript-json to increase the loading speed of your server, i highly reccomend doing this.

response to Extra 1:
- someone did a test, skript .csv variables are the fastest way of loading them. skript-yaml doesn't even come close.
response to Extra 2:
- The plugin is not important at all. You can easily do without it. if you would use YAML for what its intended for (config) you can also just make a config.sk in your scripts folder and set variables on load.
- I would like to know what things would become possible by introducing skript-yaml.
- Skript-yaml is litterly a horrible way to store variables, like i said earlier.

I hope you understand,
Jeroeno_Boy

Strwbun Strwbun: over 3 years ago

@Jeroeno_Boy
If you want to have multiple files to where you store your variables, you might want to take a look in the skript config 😉 (or dm me in discord)
1. This is not what I need, I need to store a lot of files in multiple files you can load and un-load.

- someone did a test, skript .csv variables are the fastest way of loading them. skript-yaml doesn't even come close.
2. This is irrelevant because what I told you is that I need it stored as a file you can un-load, you can't unload the csv files.

- The plugin is not important at all. You can easily do without it. if you would use YAML for what its intended for (config) you can
3. You can't load/unload variables from memory with base skript, if you need to store a lot of data, there is no way to do this in base skript without using the memory.

- Skript-yaml is literally a horrible way to store variables like I said earlier.
4. Files in skript-yaml format can also be easily edited outside of skript, and would actually help some people achieve what they need, for example when you need to store formatted data or 'player logs' etc. etc.

Sacrificing speed IS THE POINT of storing in files, but what you get in return in optimization, clearer results, and more readable variables. You could also edit files you load and unload while the server is running, which is not possible in normal skripts, as it only unloads them when the server stops.

PondWader PondWader: over 3 years ago

You could look at skript-db as an alternative to storing your data. It allows you to store data in a MySQL database and could provide exactly what you need. Obviously, this does require you to be able to get a MySQL database.

I'm not saying this is a bad suggestion, as quite frankly, I don't know enough about skript-yaml to comment but you could look at skript-db.

Strwbun Strwbun: over 3 years ago

@PondWader
I need to store them as files, as I mentioned before. So this wouldn't work for me, as this would still use memory.

Thanks anyways,
LegitMeme

PondWader PondWader: over 3 years ago

skript-db does not use memory on your server as it uses a remote MySQL database. From my understanding you want this to reduce RAM usage so skript-db would do this fine.

Strwbun Strwbun: over 3 years ago

@PondWader
But you see, we need an EASY way to do this, this is playerservers not real servers. You are suggesting everyone who wants to use this to make a whole MySQL database. Anyways, storing it in files also has other benefits. If you are confused why you would need this you can ask on the SkUnity discord or DM me anytime.

Thanks,
LegitMeme

Search Keyword


Suggestion

Views
1816
Likes
2
Dislikes
1
Category
PlayerServers
Status
Open