03-15-2016, 07:28 PM
Hi again,
Im working on a Protection Plugin that should be used by players not only admins
It works like this, you build an area with a fence and a fence_gate, place a sign in front of the fence_gate with [garden] on top line. My Plugin follows the fence and protects it for the Player who placed the sign.
I want this Plugin to be without database so I have to read every Sign in the World to know if it is a "Garden". currently im using the generating chunk hook to read every block and see if there is a sign. but that doesn't work for the spawn area or on reloads. so does someone has a idea how to archieve that?
current code -> https://github.com/danny9484/Gardens
Im working on a Protection Plugin that should be used by players not only admins
It works like this, you build an area with a fence and a fence_gate, place a sign in front of the fence_gate with [garden] on top line. My Plugin follows the fence and protects it for the Player who placed the sign.
I want this Plugin to be without database so I have to read every Sign in the World to know if it is a "Garden". currently im using the generating chunk hook to read every block and see if there is a sign. but that doesn't work for the spawn area or on reloads. so does someone has a idea how to archieve that?
current code -> https://github.com/danny9484/Gardens