TheDialgaTeam-Project-Zomboid-Mods / PZ-Discord-Patch

Patch Project Zomboid old discord module (javacord) to newest version.
2 stars 0 forks source link

What is classpath #1

Open ExpertNugget opened 2 hours ago

ExpertNugget commented 2 hours ago

I know nothing about java, what is the "classpath" mentioned in installation?

jianmingyong commented 2 hours ago

I know nothing about java, what is the "classpath" mentioned in installation?

Inside the bat/sh file (which you use to launch the server), there is a line called classpath that includes a list of java files to load in the order it was specified.

You need to manually add the location where you have placed the new java file to load this mod. It must be placed first followed by the original list of java files that it comes with.

If you use the executable rather than bat/sh file, you should edit the corresponding json file instead.