forked from TuxCoding/FastLogin
Add changelog and travis integration for automatic tests
This commit is contained in:
15
.travis.yml
Normal file
15
.travis.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Use https://travis-ci.org/ for automatic tests
|
||||||
|
|
||||||
|
# speed up testing http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
# This is a java project
|
||||||
|
language: java
|
||||||
|
|
||||||
|
script: mvn compile test
|
||||||
|
|
||||||
|
# We run on 7+
|
||||||
|
jdk:
|
||||||
|
- openjdk7
|
||||||
|
- oraclejdk7
|
||||||
|
- oraclejdk8
|
27
CHANGELOG.md
Normal file
27
CHANGELOG.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
######0.2.3
|
||||||
|
|
||||||
|
* Remove useless AuthMe forcelogin code
|
||||||
|
* Send a kick message to the client instead of just "Disconnect"
|
||||||
|
* Reformat source code
|
||||||
|
* Fix thread safety for fake start packets (Bukkit.getOfflinePlayer doesn't look like to be thread-safe)
|
||||||
|
* Added more documentation
|
||||||
|
|
||||||
|
######0.2.2
|
||||||
|
|
||||||
|
* Compile project with Java 7 :(
|
||||||
|
|
||||||
|
######0.2.1
|
||||||
|
* A couple of security fixes (premium players cannot longer steal the account of a cracked account)
|
||||||
|
* Added a /premium command to mark you as premium player
|
||||||
|
|
||||||
|
#####0.2
|
||||||
|
|
||||||
|
* Added support for CrazyLogin and LoginSecurity
|
||||||
|
* Now minecraft version independent
|
||||||
|
* Added debug logging
|
||||||
|
* Code clean up
|
||||||
|
* More state validation
|
||||||
|
* Added better error handling
|
||||||
|
|
||||||
|
#####0.1
|
||||||
|
* First release
|
@ -117,8 +117,7 @@ public class StartPacketListener extends PacketAdapter {
|
|||||||
* key=public server key
|
* key=public server key
|
||||||
* verifyToken=random 4 byte array
|
* verifyToken=random 4 byte array
|
||||||
*/
|
*/
|
||||||
PacketContainer newPacket = protocolManager
|
PacketContainer newPacket = protocolManager.createPacket(PacketType.Login.Server.ENCRYPTION_BEGIN, true);
|
||||||
.createPacket(PacketType.Login.Server.ENCRYPTION_BEGIN, true);
|
|
||||||
|
|
||||||
newPacket.getSpecificModifier(PublicKey.class).write(0, plugin.getServerKey().getPublic());
|
newPacket.getSpecificModifier(PublicKey.class).write(0, plugin.getServerKey().getPublic());
|
||||||
//generate a random token which should be the same when we receive it from the client
|
//generate a random token which should be the same when we receive it from the client
|
||||||
|
@ -11,7 +11,9 @@ description: |
|
|||||||
website: ${project.url}
|
website: ${project.url}
|
||||||
dev-url: ${project.url}
|
dev-url: ${project.url}
|
||||||
|
|
||||||
|
# Without Protocollib the plugin does not work at all
|
||||||
depend: [ProtocolLib]
|
depend: [ProtocolLib]
|
||||||
|
# Auth plugins
|
||||||
softdepend:
|
softdepend:
|
||||||
- xAuth
|
- xAuth
|
||||||
- AuthMe
|
- AuthMe
|
||||||
@ -20,14 +22,14 @@ softdepend:
|
|||||||
|
|
||||||
commands:
|
commands:
|
||||||
${project.artifactId}.:
|
${project.artifactId}.:
|
||||||
description: 'Marks the invoker or the player specified as premium'
|
description: 'Label the invoker or the player specified as premium'
|
||||||
aliases: [prem, premium, loginfast]
|
aliases: [prem, premium, loginfast]
|
||||||
usage: /<command> [player]
|
usage: /<command> [player]
|
||||||
permission: ${project.artifactId}.command.premium
|
permission: ${project.artifactId}.command.premium
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
${project.artifactId}.command.premium:
|
${project.artifactId}.command.premium:
|
||||||
description: 'Mark themselves as premium using a command'
|
description: 'Label themselves as premium using a command'
|
||||||
default: true
|
default: true
|
||||||
${project.artifactId}.command.premium.others:
|
${project.artifactId}.command.premium.others:
|
||||||
description: 'Mark other people as premium'
|
description: 'Label other people as premium'
|
Reference in New Issue
Block a user