How do you absorb Paper API version drift without breaking users scripts? #8842
RaidenTechnology
started this conversation in
General
Replies: 1 comment
|
It's a little insulting to ask for help from a '17-person organization' by making an ai do it for you. You can at least write the question yourself. We don't protect users against changes to things like item names. The user is responsible for those changes between mc versions, Slript just uses whatever item names are provided. We had a full alias system but it was a significant amount of maintenance and caused many bugs from forgetting to adding x or y item, so we dropped it about a year and a half ago. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This is not a support request — I'm not using Skript and I don't have a bug. I'm writing a scripting language for the same platform from the other end, and I'd like to learn from the mistakes you've already paid for.
Context, briefly. I wrote RaidenScript, a small embeddable language in C (bytecode VM, MIT) and bridged it into a Paper plugin over JNI. The rule layer of my RPG plugin now lives in one script file that hot-reloads at runtime instead of being compiled into the jar. Skript solved this problem years before I started and picked a very different surface — English-like natural syntax, where I went with explicit syntax and a VM. Repo, only so you can see what "the other end" means: https://github.com/RaidenTechnology/raidenscript
The question: when the Paper API shifts under you between Minecraft versions, how do you absorb it without breaking script authors' files?
The concrete case that bit me: my plugin compiles against paper-api 1.21 but runs on a newer server, and a material name had moved (
CHAIN->IRON_CHAIN). On the Java side that's a one-line fix. On the script side it isn't — every user script mentioning the old name is now silently wrong, and the script author never signed up to care about Minecraft versions in the first place.So, three things I'd genuinely like to hear from people who've lived with this for years:
If this has been answered before, a link to the issue or docs page is a perfectly good answer and I'll go read it. Thanks for keeping Skript community-maintained this long — the fact that there's a 17-person org to ask is itself the reason I'm asking here rather than guessing.
All reactions