Wath is Scepter Boost ? Scepter boost is a fun plugin and api for scepter. When you right click with the scepter you have a custom effect.
How work the plugin ? In the config you can change the permission of the command and the use permission. And the most important, the scepter, by default it's only speed. But you can add other:
Code (Text):
<Put here the name of minecraft effect>:
cooldown: 30 ( in seconds )
level: 3
long: 5 ( in seconds )
You can add several scepters.
And finally you can get with the command /scepter <ID OF SCEPTER>
OR /scepter random
I'm developper how can use it ? First, if you want to give or get the default scepters generate with the config :
Thirdly, if you want execute a something or disable the scpeter you can do that :
Code (Text):
public class myNewScepter extends ScpetreDefault {
public myNewScepter(){
super(CUSTOM NAME WITH COLOR, Cooldown , level, long, PotionEffectType );
}
public boolean onApply(Player player) {
// do something
// RETURN FALSE IF YOU WANT DISABLE execution of effect
// TRUE this is going normally
return true;
}
}