Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console only responds with "/js Javascript code" #461

Open
Rhodes-E-O opened this issue Sep 16, 2021 · 2 comments
Open

Console only responds with "/js Javascript code" #461

Rhodes-E-O opened this issue Sep 16, 2021 · 2 comments

Comments

@Rhodes-E-O
Copy link

This is my first time using javascript so explain to me like I'm five, please.
When I use the console I tested it out by using the command /js 2+2 it then responded with "/js Javascript code" so I tried /js (2+2) and /js (2+2); thinking the syntax was incorrect, I still got the same response. After that was unsuccessful I spent around 3 hours trying by installing different versions of Spigot, Java, and ScriptCraft but to no avail. If anybody knows what's going on I'll accept any help.
2021-09-15_21-03-46

@tiredoftry
Copy link

It has been a while since I used ScriptCraft, but the first thing to do is to validate the install. Open your MineCraft server installation folder and then open the 'Plugins' folder. You should see the ScriptCraft.jar file in this folder. Now go back up one level to the main server folder and you should see a folder named 'scriptcraft'. If you open this folder, it should have several subfolders and files.

The main step here is the ScriptCraft.jar file being in the plugins folder. Once in place, starting the server will run the file and it will create the other folder. If the ScriptCraft.jar is in the plugins folder, but the 'scriptcraft' folder doesn't exist it is generally one of two issues.

  1. The file was put in the folder while the server was running. Close the server and start it back up and it should install the files.

  2. There were errors when the server started. If this is the case, post the errors here. There should be a 'log' folder with information in it. Example - I have a server with a 'logs' folder and inside that folder is a file named 'latest.log'. It contains information for the last start.

@carlosble
Copy link

The plugin is not working with Java versions 16 and 17, check out this workaround by ediloren: #458

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants