Closed Buggitt closed 6 years ago
Please provide your source code as it would probably be easier & faster for one to help you with this.
All I’m trying to do is use the example code.
const ScriptServer = require('scriptserver');
const server = new ScriptServer({
core: {
jar: 'minecraft_server.jar',
args: ['-Xmx2G'],
rcon: {
port: '25575',
password: 'password'
}
}
});
server.start();
Which is in my “ServerScript.js” which I’m running.
And you have the server jar in the same directory as your server?
@ImBaedin Yep, they are in the same directory. I downloaded a vanilla 1.12.2 server jar and started it on its own (to generate the Eula file and server.properties) added the necessary lines to the server properties. And standalone the Minecraft server runs fine.
Booted up my computer today and it seems to work fine now. I know I had to install java so might have needed a reboot in order for this to work correctly.
Sat down to play with this today but can't seem to get the core to start. Using the basic example and get this error: