Plugin category: Mechanics Suggested name: SmokeyWorld What I want: I am looking for a plugin for whenever you are outside you will have the blindness effect, but when you go under something, you won't. Ideas for commands: No commands needed for this plugin. Ideas for permissions: No permissions. When I'd like it by: ASAP
How would it have massive lag? It would definitely have a little bit of lag, but not massiveā¦. Just check if they are above ground every 30 seconds maybe and if they are, apply the blindness effect.
i gues u could do that... but is there an event for checking if your above ground .. i cant remember?
That's not an event... All you have to do is get the player's y location and compare it to sea level (64). EDIT: Reading the OP, it seems like you have to check if there is a block above the player's head that's not air.