Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Wenxuan Zhao
    @vizv
    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
    really????
    Wenxuan Zhao
    @vizv
    onyone?
    @walterhiggins
    Wenxuan Zhao
    @vizv
    Is this project deprecated?
    Egoscio
    @Egoscio
    Uh no
    I've never used sponge so idk
    I gotta production server on the latest version of spigot using ScriptCraft
    Totally works fine
    Wenxuan Zhao
    @vizv
    Well, that's why I'm trying to port to sponge :D
    Wenxuan Zhao
    @vizv
    I think I shall try reflect, that may works
    Tony Gravagno
    @TonyGravagno
    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
    Tony Gravagno
    @TonyGravagno
    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.
    demipixel
    @demipixel
    @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!
    Arky
    @arky
    Hi, I have minecraft server running according to the instructions here https://github.com/walterhiggins/ScriptCraft/blob/master/README.md
    How do I start the client to connect to my local server
    My default client 'java -jar ~/.minecraft/launcher.jar ' takes me to register page.
    Thanks!
    Arky
    @arky
    Sorry 'java -jar Minecraft.jar' makes get a account registration step. I don't have an account, is there any other way to connect to local server
    MiniDigger
    @MiniDigger
    you don't launch minecraft like that, use Mojangs launcher to launch it. you need to pass the jar way more options, like the Auth token. the launcher handles that for you.
    Arky
    @arky
    @MiniDigger Ah!
    MiniDigger
    @MiniDigger
    the client does not handle Auth and stuff
    Arky
    @arky
    @MiniDigger I am looking for more information but there isn't anything in the scriptcraft docs about.
    MiniDigger
    @MiniDigger
    iirc, script craft is just a plugin for spigot, right? you launch minecraft like normal
    Arky
    @arky
    I never used Minecraft, just trying out a new way to teach kids programming
    MiniDigger
    @MiniDigger
    I see
    you want to download the minecraft launcher for minecraft.net and launch minecraft
    then you can connect to your server where you installed script craft
    Arky
    @arky
    @MiniDigger Thanks for your help :) I downloaded the linux 'Minecraft.jar' from the minecraft.net site. I launch it on command line with 'java -jar Minecraft.jar'
    @MiniDigger I think I need to pass the correct server : port information. However I don't know what's the correct parameters for doing so.
    MiniDigger
    @MiniDigger
    gimme a sec, ima look what they ship for linux nowadays
    ah, ok, they ship the old launcher
    but it should still work
    what do you see in console when you run the Minecraft.jar?
    it should print some system properties, download the launcher.jar and start the launcher gui
    (doesn't matter that I am on windows, the linux version is portable to every platform since its just a jar=
    Arky
    @arky
    MiniDigger
    @MiniDigger
    that right, that where you enter your account info
    s/that/that's
    Arky
    @arky
    @MiniDigger I don't have a minecraft account. I want the client to connect the offline server that is running on localhost.
    MiniDigger
    @MiniDigger
    I see. mojang officially doesn't support that
    there are 3rd party offline mode launchers tho
    Arky
    @arky
    @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
    MiniDigger
    @MiniDigger
    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
    Arky
    @arky
    @MiniDigger Will do that. Thanks so much!