tkjn / GameTable

Online Game Table. The aims will be partially driven by the desire to use this software for gameplay similar to Warhammer Quest.
0 stars 1 forks source link

Plugin load from jar #58

Closed dezzak closed 7 years ago

dezzak commented 7 years ago

From #57, allows a user to drop a .jar file into the plugins directory and have it loaded.

I'm sure this can be made more intelligent, but will suffice for the time being.

Any jar file that is placed in the directory should be checked to see if they provide the IGametablePlugin service, and if so are loaded (see readme for slightly more info).

The start scripts have been updated because in java, you can either use -jar jarfile.jar or -cp classpath and not mix them. Doing it all from the application itself unfortunately is beyond my abilities at this time :(.