Set server as obsolete when kicked.
Nullcheck getServer on failed reconnect handler to account for failings on first connect
Remove any scores before updating - see #238
Update PermissionCheckEvent.java
added permission in constructor
set displayName in function setDisplayName
Merge pull request #245 from weaondara/master

add permission to check in PermissionCheckEvent
check the player's server before really connecting

otherwise the player will be kicked with the message "Logged in from another location" if the target server is the current server
setDisplayName bug fix

first remove
then change and add again
send message to player if target is current server
Merge pull request #250 from weaondara/master

check the player's server before connecting
Fix the crash with teams not being cleared

You forgot to actually add the team to the list of teams...
Merge pull request #258 from roblabla/patch-2

Fix the crash with teams not being cleared
Add new Team instances to the list of teams.
Fix two small typos.
Merge pull request #259 from roblabla/patch-2

Fix Crash with Teams. For real this time.
Fix LoginEvent not being called.

If the server is in offline mode, the LoginEvent should be called.
Merge pull request #261 from roblabla/patch-2

Fix LoginEvent not being called.
Implement support for plugin hard dependencies.
Initialize depends set to an empty set to prevent a NPE when no depends given.