01-01-2015, 12:59 PM
I'm thinking of writing my own plots plugin. In my plugin, I want to write my own terrain generator that basically makes a grid like layout for the plots, with something like a 10x10 thing in the center, isles between the plots that are 5 blocks wide, and plots that are 2x2 chunks (32x32). Is this possible to do from lua? If not, what would I need to do to get it to do this?
My second question is how would I detect if a player is right clicking a sign? Is it the OnPlayerRightClickingEntity hook? (not sure if i make my own function w/ that name of if I use cPluginManager:AddHook to get it, this is my first plugin)
Lastly, how would I keep things like creepers or endermen from destroying the terrain (kind of like the mob griefing gamerule in vanilla/spigot/etc)?
My second question is how would I detect if a player is right clicking a sign? Is it the OnPlayerRightClickingEntity hook? (not sure if i make my own function w/ that name of if I use cPluginManager:AddHook to get it, this is my first plugin)
Lastly, how would I keep things like creepers or endermen from destroying the terrain (kind of like the mob griefing gamerule in vanilla/spigot/etc)?