CauldronJS / scripts

The base repository for all scripts needed to run Cauldron.
1 stars 0 forks source link

how i can run this on my mc server? #2

Open Tankonyako opened 4 years ago

Tankonyako commented 4 years ago

how i can run this on my mc server?

edit:

npm scripts build - not working (because in package.json "script" array dont have the build i run compile and others scripts, and this not work)

please write installing guide, i wanna support ur project i think is better as ScriptCraft. how u accept donation?

im trying to make the plugin from API and Spigot repo

ItsSpyce commented 4 years ago

Hey Tankonyako, sorry I'm extremely late to this, honestly haven't checked notifications for here because I didn't think anybody was checking it out! I'll definitely write docs this week and weekend to get you up and running. As of late the project was going through an API transformation to make compatible with ForgeModLoader and Sponge. Until the docs are up and running, here's what you need to do:

I apologize for the manual steps until I put out a release platform, steps 1-3 will soon be replaced with just downloading the JAR

  1. Clone the API repo
  2. Clone the Spigot repo
  3. Run build.sh in both repositories (if you're on Windows, you can either use git bash or run the following commands:
    • mvn clean package install for API
    • mvn clean package for Spigot
  4. Place the JAR in the plugins folder (as with every plugin)
  5. You can either run the server once to create the data directory or clone this repository in the data directory that would be created (${YOUR_SERVER_DIR}/plugins/Cauldron)
  6. Run the server

For now the start script replaces the build script until I can get async child processes running. This repo has everything running pretty fluidly, but if you run into problems, please let me know.

EDIT

The JAR file is now available in https://github.com/cauldronjs/spigot in both the artifacts and the releases tab. You can download either one to skip over steps 1-3 :)