If I put ['sendMessage(org.spongepowered.api.text.TextTemplate)'](org.spongepowered.api.text.TextTemplate.of()); it gives Cannot cast org.spongepowered.api.text.TextTemplate to org.spongepowered.api.text.TextTemplate
Is this project deprecated?
I've never used sponge so idk
I gotta production server on the latest version of spigot using ScriptCraft
Totally works fine
Well, that's why I'm trying to port to sponge :D
I think I shall try reflect, that may works
The project certainly isn't deprecated. This one channel isn't actively watched by many people. For this project, at the moment, IM isn't the main comms method, we're using asynchronous media like the Google Group, Facebook, Twitter, and now a YouTube channel. (Please Like+Subscribe). At some point more people will be here. For now I suggest the question on casting isn't specific to this project, it's a question that is answered in Rhino/Nashorn docs/forums. HTH
And a new website is being built with a LOT of features, for educators, parents, people learning JS, plugin developers, and ScriptCraftJS core contributors. This project is definitely moving forward. Stick with it.
@TonyGravagno Also I'd really look forward to a more serious aspect of ScriptCraft. I'm plenty familiar was JS and Java, but I feel like JS really makes coding go faster. Anyway, I'm trying to work on a server written purely in SC and it's been going well... just wish more people were able to use it seriously in addition to being an education tool!
that right, that where you enter your account info
@MiniDigger I don't have a minecraft account. I want the client to connect the offline server that is running on localhost.
I see. mojang officially doesn't support that
there are 3rd party offline mode launchers tho
@MiniDigger Which 3rd party launcher would you recommend? I want something to be offline (as this will be running on raspberrypi) in a school in Africa
idk, never used one. I wrote one for myself, but that requires the official launcher to run at least once to download the files and stuff. there are plenty of offline or cracked launchers available, just Google around a bit