#(chaps79) Adding a soft depend for Denizen

14 messages · Page 1 of 1 (latest)

pallid holly
#

I have this issue with a plugin called MineChess. I built the arena minechess in a void world that is created by a denizen prestart event. However, the minechess plugin loads before Denizen. So, the void world doesn't exist when the minechest plugin loads. It causes an error and the minechess plugin shuts down. The dev said I can add a soft depend in the .jar file by adding denizen to the softdepend section of the plugin.yml file in the .jar. So here's the problem: I'm am not a computer scientist. I read that the .jar file can be renamed .zip and then extracted. Yep, that works. I found the plugin.yml file and added Denizen to the soft depends. Ok great. Now how to I package everything back into a .jar file? I tried rezipping and renaming to .jar. It looks fine, but it doesn't load when I restart my server.

valid ivyBOT
#

(chaps79) Adding a soft depend for Denizen

valid ivyBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

lyric storm
#

Why dont you create the world after server start?

pallid holly
#

i just follow the recommendations in the meta.

#

if it's that simple, then i will change my event script to fire after server start

#

i don't think that will help though.

#

the problem is that the world doesn't exist when the minechess plugin loads on start up.

#

moving the createworld script to after start wouldn't fix that problem

dark dock
#

fork the repo, commit changes, rebuild

pallid holly
#

I appreciate the advice but I don’t know what any of that means.

cinder chasm
pallid holly
#

That fixed it. Thank you.