Closed kabluinc closed 7 years ago
Hmmm.... Any message in the console?
Nope. Nothing in console. Just none of the commands created can ever be run. Just shows unknown command. Worked fine in 0.15
It's probably something with 0.16 then.
Looks like PlayerCommandPreprocessEvent is no longer fired.
I did one thing as a test. I added one of the functions I create (lobby) to the plugin.yml like this
name: Functions author: Ad5001 version: "1.0" api:
After doing this the command /warp lobby that was added to the function "lobby" worked and I was able to run /lobby fine.
Adding all the functions created to the plugin.yml makes them work if not it just says unknown command
I see... It's command registering for 0.16.
Can this be fixed?
it could, but rn, I have some IRL things that makes me reaaaalllyyy buzy so coding & bug fixing is not my current priority.
Fixed.
So I did /function create lobby Then did /function ac lobby warp lobby I set perms for func.use.lobby and func.use.default
Still says unknown command when doing /lobby or ./lobby