How would I set an infinite effect on a player that would not run out. Sort of like how LBSG has infinite speed.
PHP: $effect = Effect::getEffect(1); // Random Effect, dunno their IDs atm$effect->setDurability(999999); // This will set it to *:*/unlimited$player->addEffect($effect);
@CraftYourBukkit You are wrong. The effect will run out, but the client will show it with **:** when over 99m 59s (100m). You can set the duration to 0x7fffffff ticks, or 107374182 seconds, which is around 3.4 years. if this is not enough for you, just set it each time they join. I'm sure they won't be logged in for that time.