Suggestions

Back

Plugin - yaml



flip86gto flip86gto: over 3 years ago

After a long time of research I found there is no way to really use yaml for storing player data right now in player servers, something that would be VERY useful for literally everything I want to do right now.

Please add "Skript-yaml" or "skUtilities"

ty (the only other thing right now that claims to have yaml on the server is skellett and there is no documentation on how to use it anywhere)


1
1

Comments

Jeroeno_Boy Jeroeno_Boy: over 3 years ago

Its pointless to store playerdata in yaml... there is no real need for skript-yaml; and don’t forget all the security issues it adds to the server.

flip86gto flip86gto: over 3 years ago

well how do you suggest I store player data? Because I want to store many values and I'm not doing this in scoreboards because you cant compare players that aren't online that way. Or having to store text values as numbers and then retrieving the numbers and exporting from the numbers? Because that is slow and laggy when there are a bunch of them happening at once.

IDuckz_ IDuckz_: over 3 years ago

You can use another alternatives like skript-json or even skript-db.

CombatMC CombatMC: over 3 years ago

Using vanilla Skript storage is enough for most things, and skript-json is broken for server version 1.12.*. In my opinion there are two ways that could be used in this situation, one is just like what you said, storing multiple values in a single variable and the other is by using skript-db which requires some setup in order for it to work. As you said that storing multiple values in a single variable has performance issue, from my previous experience I suggest you use something as "cache" which loads the variables into temporary variables for frequent updates and saves it back to the system after the variable is no longer needed.

Jeroeno_Boy Jeroeno_Boy: over 3 years ago

Skript-json is pog wym and works perfectly fine

CombatMC CombatMC: over 3 years ago

As I have shown you before, skript-json is broken for the encoding part where it causes internal error for both skript effect command and written script file.

Jeroeno_Boy Jeroeno_Boy: over 3 years ago

Works fine for me though

CombatMC CombatMC: over 3 years ago

Would you like to test with me together in PS_TestPlace to confirm it's actually working or not? I always wanted it to be working so... if it actually does that's good for me.

Search Keyword


Suggestion

Views
1410
Likes
1
Dislikes
1
Category
PlayerServers
Status
Open