Open literally1984 opened 10 months ago
useless do it in plugin
useless do it in plugin
Right now I am using a BukkitRunnable, but I think that an actual event would be better.
useless do it in plugin
Right now I am using a BukkitRunnable, but I think that an actual event would be better.
There's A LOT of better ways to do it without using a Runnable
or there's something called: do it yourself
What are you trying to achieve?
or there's something called: do it yourself
You could say that every event Pandaspigot has backported is useless then, because one could do it themself.
or there's something called: do it yourself
You could say that every event Pandaspigot has backported is useless then, because one could do it themself.
Will you say what do you want to achieve or not
or there's something called: do it yourself
You could say that every event Pandaspigot has backported is useless then, because one could do it themself.
Will you say what do you want to achieve or not
What do you mean?
What do you need that feature for?
What do you need that feature for?
I would like to have the feature to cancel anybody save a few whitelisted players from getting op. I'm already accomplishing this by using a BukkitRunnable and checking the op list every few seconds, but I feel as though an actual event would be better.
You can modify setting op using reflection and add whitelist check there.
I'm sure I could do that, but it seems messy and an event would be much cleaner.
I'm sure I could do that, but it seems messy and an event would be much cleaner.
DUDE you buggin w your damn event, create it, put it in place and do a pull request
What do you need that feature for?
I would like to have the feature to cancel anybody save a few whitelisted players from getting op. I'm already accomplishing this by using a BukkitRunnable and checking the op list every few seconds, but I feel as though an actual event would be better.
PlayerPreLoginEvent or some like that should be fine for what you've described
This is more of a suggestion than an issue but it would be nice if there was an event which was fired whenever a player is opped (whether that be from using /op or a plugin doing player.setOp().