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
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!
MiniDigger
@MiniDigger
do you plan on running the client or the server on a pi? a client will not be fun to play with, a server will only be able to handle a hand full of players.
@MiniDigger Kids could connect to RaspberryPi by downloading the client from the server. The clients could either LAN computers in a computer lab or any mobile tablets/mobile phones
MiniDigger
@MiniDigger
ah ok, I see. the rasperry as repo for the client files and running the mc servers while the clients run on real clients. just note that minecraft pocket editon can't connect to a pc edition server
Arky
@arky
@MiniDigger Yes, I didn't know that. Will learn more about this.
Arky
@arky
Does anyone have experience using 'Forge launcher' here? Thanks!
now you can use visual studio code for autocomplate
and use es6 in scriptcraft
Egoscio
@Egoscio
Nice
Oh it just transpiles?
oboingo
@oboingo
Hey all. Got 1.11.2 (Spigot). Runs fine, has for ages. Installed ScriptCraft. It installed fine. the "js 1 + 1" test works fine. Trying to get the ScratchMC (https://github.com/mpatrascu/ScratchMC/) to work for the kids. I started it with node and node seems to be responding. I put the scratch.js file in plugins/scriptcraft directory. But whenever I run command from ScratchMC, I get something like: [13:50:25 ERROR]: [scriptcraft] Error while trying to evaluate javascript: scratch("reset_all","192.168.2.245"), Error: javax.script.ScriptException: ReferenceError: "scratch" is not defined in <eval> at line number 1. The "reset_all" could be any function. I opened scratch.js and it looks like scratch() is defined. What am I missing? What can I try?
oboingo
@oboingo
I also created the greet.js file that was specified in the docs and I get the same error, "greet() not defined". So, for some reason, the js files in the directory aren't being loaded.
I gave that whole folder 777 and even tried running everything as root. Still no good.
oboingo
@oboingo
Ok, nevermind.... it was pathing problem. Personally, and maybe I am just dumb, the phrase "This is a simple mod in a file called greet.js in the scriptcraft/plugins directory" in the docs, made me think the <server_dir>/plugins/scriptcraft/plugins directory, as most plugins are contained in their own directory. But is is a new, top level directory, so that threw me off. Maybe a small change to the docs to clarify?
Anyway, thanks for the great mod.
Carringto Chandler
@Deerhunter229
I have been trying to place a dispenser facing up. I can get it to face all directions but up using the Documentation in the index.js file.
I change the "drone.dir + 2" and get every direction but up???
Egoscio
@Egoscio
@oboingo I believe the plugin warns you in console not to put files in the plugins/scriptcraft folder, because that's deprecated.
Tony Gravagno
@TonyGravagno
Hey everyone, just posting a ping here. The new ScriptCraftJS site was looking great but I had to take some time off from development. There are a lot of features on the site, requiring a lot of testing, and I ran out of time. I've recently updated the site and will be testing again soon. Info will be posted here and in the Google Group to invite people to beat up the site development environment before it's proposed to replace Walter's site.