KickStart

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

KickStart by aciid

Kick players with a custom message until the server has finished starting up.
http://mcstats.org/signature/kickstart.png

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!

/ks or /kickstart toggle
- Reload config and toggle plugin on/off (player only)
- Requires kickstart.toggle or OP permission!

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%)

target threshold: 10

### Check interval in ticks, when the plugin should calculate tick delays.

### Should not be set below 10. Default value is fine.

check interval: 40

### Amount of times the target threshold has to be beaten. This will be checked

### on each interval defined above.

target match: 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.

Use seconds: false

### How long players will be kicked for after server start, in seconds.

Delay in seconds: 30

### The message that players will be kicked with when joining during server startup.

Kick message: Server is starting up please try again in a few seconds!

### Enable this to see tick check fails/passes as they happen in console.

Extra output: true

### Enable this to allow OP and players with permission to bypass KickStart

### (NOT RECOMMENDED)

Allow bypass: 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!

Quote from KickStart v0.5:

+ Added custom target threshold for TPS feature
+ Added log extra TPS output option
+ Added consecutive option (reset count if a single check fails)
- Removed unused onPlayerJoin listener

Quote from KickStart v0.3:

+ Added new default TPS feature;
+ Configurable check interval & amount of times to reach threshold (-10%)

Quote from KickStart v0.2:

+ Added custom kick message (set in config)
+ Added custom delay (set in config)
+ Added more tries/catches to avoid errors.

Quote from KickStart v0.1:

Created plugin! Feature: Kick players for 20 seconds on start up!


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    44385
  • Created
    Sep 4, 2012
  • Last Released File
    Sep 4, 2012
  • Total Downloads
    1,636
  • License

Categories

Members

Recent Files