ForgeEssentials

ForgeEssentials

339k Downloads

[1.7.10] Upgrading scripts to new scripting

Ganjalf-Amsterdoom opened this issue ยท 4 comments

commented

Hello,

I just upgraded forge essentials for 1.7.10 from jenkins and I see the Scripting directory is not being created, I've looked trough the changelog and seen something is changing in scripting but the wiki is not updated...should I downgrade? I have some scripts I cannot leave out... please do not break it before moving to newer versions of minecraft-forge and leave it broken just to say "we won't support it anymore" like many mods are doing nowadays.

commented

It's called JScripting now.

It's been rewritten, but if you have the latest builds there should be an auto-converter so your scripts will work just fine.

I'm not LexManos, I'm a reasonable guy. FE for 1.7.10 still has a pretty long way to go...

commented

I'm a reasonable guy. FE for 1.7.10 still has a pretty long way to go...

Thank you, thank you so much. I'm going to copy over the Scripting/ directory in the ForgeEssentials dir and check how it works.
Is the "scripts" directory in the world/map directory the new place to put scripts?

commented

@Ganjalf-Amsterdoom: @Techjar and I have added a complete new scripting feature based on Javascript.
This basically allows you to do pretty much ANYTHING. Setting blocks, creating explosions, etc etc etc.

This is still a little bit WIP but will be stable one of the next days.

There is a command /fescript upgrade which you can run to convert your old scripts to some degree to the new system (do NOT just copy the files over - this would do nothing at all).
After that check each generated .js file. If you see some comments in them, it probably the converter couldn't handle these cases yet. Then please just send me the commented lines and I will quickly adjust the converter to be able to handle these cases.

If you want help on the new system I advise you to drop by in our IRC.
The wiki still needs some time to be updated as right now we are still investing all our time finishing this new feature.

commented

Old engine is no longer supported. Converter is no longer part of FE so I'll close this one.