KickStart

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

KickStart by aciid

Kick players with a custom message until the server has finished starting up.

I developed my plugin, KickStart for our server after noticing that some plugins on 1.3 seem to take longer to start up, during this time we noticed that if parts of some plugins (for instance WorldGuard region flags) hadn't fully loaded players were able to bypass any protection they offered. KickStart can be used to combat this problem, and can also be used to optimise the startup of your server since theoretically the server should start up a little faster if it doesn't have to deal with players joining during this time.

This plugin has 2 modes, its primary mode (enabled by default) is to check the interval between each server tick at a configurable rate, checking to see if the interval meets the target threshold, this check will be carried out a configurable amount of times until all checks have passed meaning the server's ticks are stable. Players will be kicked with a custom message until that happens. All of these values are defined in the config.

The second mode is just a simple "Kick players for x amount of seconds upon server startup".
Newest plugin version: v0.7
Compatible with: [1.3.1-R2.0]+

Commands & permissions:

Quote:

- kickstart.bypass
Bypasses kickstart plugin, only if enabled in config!

### Target threshold is the percent of max tps the server needs to pass the check### Default 10 puts the threshold at 90% (100-10), equal to 18/20tps (20 - 10%)targetthreshold:10### Check interval in ticks, when the plugin should calculate tick delays.### Should not be set below 10. Default value is fine.checkinterval:40### Amount of times the target threshold has to be beaten. This will be checked### on each interval defined above.targetmatch:5### If set to true, the server must pass all tick checks cleanly without failing### in between, if one check fails the count is reset to 0! Recommended!consecutive:true### Enable this to use the feature below. If disabled then feature above will be used instead.Useseconds:false### How long players will be kicked for after server start, in seconds.Delayinseconds:30### The message that players will be kicked with when joining during server startup.Kickmessage:Serverisstartinguppleasetryagaininafewseconds!### Enable this to see tick check fails/passes as they happen in console.Extraoutput:true### Enable this to allow OP and players with permission to bypass KickStart### (NOT RECOMMENDED)Allowbypass:false

Changelog:

Quote from KickStart v0.6:

+ Added to mcstats.org's Plugin Metrics

Quote from KickStart v0.6:

+ Added option to bypass for players with OP or permissions. Disabled by default
If enabled, plugin will use PlayerLoginEvent instead of AsyncPlayerPreLoginEvent!

On line 141 of KickStart.java you have the line: KickStart.this.getServer().getScheduler().cancelAllTasks(); which kills all tasks. Fix this error as it is killing quite a few plugins in their tracks when they start up threads. The proper way of killing your tasks is this way: Bukkit.getScheduler().cancelTasks(this);

Donate Bitcoins?1Lr7prAnqYpZe2UizvPKV2Cg4KSuj2weXbIf you didn't take the time to read how my plugins work, don't expect me to take the time to diagnose your stupidity.If updates to my plugins depended on donations, they would never update. Donate!