Plugin category: [FUN] [GEN] [ADMN] Suggested name: Simply Take-Off What I want: I want the plugin to be able to fly with certain commands. I also want the plugin to have 5 speeds, SSlow, Slow, Normal, Fast, HSpeed. And I want the effects to be off when you join the game and not have the command on. Ideas for commands: - /fly (Toggles on and off) - /fly toggle <player> - /fly set speed <speed>(SSlow, Slow, Normal, Fast, HSpeed) - /fly goto <player> - /fly toggle effect <effect> (Speed) Ideas for permissions: - fly.toggle - fly.setspeed - fly.toggle.others - fly.goto.others - fly.toggle.effects When I'd like it by: I would like this plugin in 1-2 weeks if possible. This is a plugin I would very much like to see get built. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Yesh i agree with ^^ because i need a good speed toggling for fly and i dont always want creative when flying
one problem that I for see is that if someone was moving at HSpeed, because the server kicks people if they move to fast. So you would have to know the max-speed in which someone could move without the server kicking them.
Code: player.addPotionEffect(new PotionEffect(PotionEffectType.SPEED Duration, Multiplier); /fly setspeed <speed> <speed> would change the multiplier. For example: /fly setspeed fast Code: player.addPotionEffect(new PotionEffect(PotionEffectType.SPEED 300, 4); This would give speed 5 for 300 ticks.