Skip to content

Instantly share code, notes, and snippets.

@Ribesg
Created September 10, 2013 13:18
Show Gist options
  • Save Ribesg/6509276 to your computer and use it in GitHub Desktop.
Save Ribesg/6509276 to your computer and use it in GitHub Desktop.
#####################################################################
## Config file for NPlayer plugin ##
## If you don't understand something, please ask on dev.bukkit.org ##
## Ribesg ##
#####################################################################
# Maximum login attempts before punishment. Possible values: Positive integers
# Default : 3
maximumLoginAttempts: 1
# How do we punish people after too many attempts? Possible values: 0, 1, 2
# Default : 1
#
# Value | Action
# 0 : Kick
# 1 : Tempban
# 2 : Ban
#
tooManyAttemptsPunishment: 0
# The duration of the punishment, if applicable. Possible values: Positive integers
# Default : 300
#
# Here are some example values:
# Value | Description
# 30 : 30 seconds
# 60 : 1 minute
# 300 : 5 minutes
# 600 : 10 minutes
# 1800 : 30 minutes
# 1800 : 30 minutes
# 1800 : 30 minutes
# 3600 : 1 hour
# 7200 : 2 hours
# 10800 : 3 hours
# 14400 : 4 hours
# 21600 : 6 hours
# 28800 : 8 hours
# 43200 : 12 hours
# 86400 : 24 hours - 1 day
# 172800 : 48 hours - 2 days
# 604800 : 7 days
#
# You can use *any* strictly positive value you want, just be sure to convert it to seconds.
# Note: only applies to TempBan punishment for now.
#
tooManyAttemptsPunishmentDuration: 300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment