Nokorbis / ar-command-signs

Minecraft (Spigot) plugin that allows to transform some blocks (Signs, plates and buttons) into a Commands executor
https://www.spigotmc.org/resources/command-signs.10512/
Apache License 2.0
13 stars 10 forks source link

Disabling auto-removal ? #39

Closed mareksipos93 closed 5 years ago

mareksipos93 commented 5 years ago

Hello,

is there any way how to disable automatic command sign removal?

I have custom world which gets loaded on first try to access it (to save resources) and I want to use command signs in that world. But on every restart all command signs get removed, because that world is not loaded at the time.

Thank you

Nokorbis commented 5 years ago

You mean the configuration files are deleted ?

mareksipos93 commented 5 years ago

No, command sign gets deleted.

Its not in /cmds list anymore.

Nokorbis commented 5 years ago

Once the world is loaded, what happens when you do /cmds reload ?

mareksipos93 commented 5 years ago

Once the world is loaded, what happens when you do /cmds reload ?

Wow that works! Signs are in list now.

So maybe I would suggest listening to world loading event and loading signs for them :)

Nokorbis commented 5 years ago

Yeah, that's what I thought :) Just wanted to be sure

Nokorbis commented 5 years ago

I have attempted a fix in the alpha version for 2.1.3 https://github.com/Nokorbis/ar-command-signs/releases/tag/2.1.3.Alpha