Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Adds Spark Support!

Open EquipableMC opened this issue 1 year ago • 2 comments

Description

This PR simply adds features from Spark into Skript!

Target Minecraft Versions: 1.19+ Requirements: Spark plugin Related Issues: none

EquipableMC avatar Sep 03 '24 22:09 EquipableMC

I'm sure you have enough comments to work on already so I won't add anything to that.

I think this is a nice idea, but I am a little concerned by the 'weirdness' of Spark's actual statistics collection & implementation. It feels like the stats that can be provided are pretty limited and I'm not sure how much a user will be able to do with this information (aside from printing out exactly what they're given).

Do you think this might be better for an addon?

I don't think this should be done as an addon since spark is built into most server jars (other than spigot)

EquipableMC avatar Sep 06 '24 09:09 EquipableMC

Changes to pay attention to: there's now a msptstatistics classinfo with a parser for average, mean, max, min, maximum, minimum, and \d{1,2}.\d+(st|nd|rd|th) percentile This makes using the mspt syntax much easier, but it could possible cause weird conflict in the future and allows odd behavior like set {_x} to average.

sovdeeth avatar Sep 22 '24 23:09 sovdeeth

I don't think you should be resolving conflicts after you reply when it seems a discussion should be made. Rather than "I can't/won't do this" then resolve it.

Absolutionism avatar Dec 28 '24 02:12 Absolutionism

I don't think you should be resolving conflicts after you reply when it seems a discussion should be made. Rather than "I can't/won't do this" then resolve it.

I only marked them as resolved as it works fine on it's own and with my almost a year of java experience, I only know so much and figured it was fine the way it was. I left some unresolved as it requires Sovde's comment as this PR was entirely recoded by Sovde and I don't really understand his thinking/thought process in some of this even when looking at the code over and over again. Edit: I have unmarked some that I found where a discussion where be made. I forgot to mention that, oops.

EquipableMC avatar Dec 28 '24 02:12 EquipableMC

I am marking this PR as draft incase someone else wants to take this over and better improve the PR. Once that happens, I will close this PR. You can view the entire conversation here.

EquipableMC avatar Dec 28 '24 13:12 EquipableMC

Update: I am marking this PR as closed. Someone can take it over or it can be done in a seperate addon. You can view the entire conversation here.

EquipableMC avatar Jan 13 '25 02:01 EquipableMC