Commit Graph

399 Commits

Author SHA1 Message Date
Xephi59
5fe8ece0b3 Forgot a change 2015-07-09 01:00:48 +02:00
Xephi59
d6e0ef4553 Drop Spout/Notification support, they are not updated anymore 2015-07-09 00:59:23 +02:00
Xephi59
5364678931 Move this function here :') 2015-07-09 00:42:52 +02:00
Xephi59
88eb1048f6 Allowing head rotation 2015-07-09 00:38:35 +02:00
Xephi59
57d81a7f6a Again a change in email 2015-07-08 18:15:56 +02:00
Xephi59
32f0ce00df Fix Email ! 2015-07-08 17:56:49 +02:00
Xephi59
af5d8d17f0 Remove the old SessionEvent, unused in new system 2015-07-08 17:26:33 +02:00
Xephi59
b5dcc64ce8 Fix email recovery 2015-07-08 16:39:54 +02:00
Xephi59
30e9610053 IN DEVELOPPEMENT : Change how session work 2015-07-07 01:40:37 +02:00
Xephi59
d22607e8bd IMPORTANT : Change how API works ! 2015-07-07 00:21:27 +02:00
Xephi59
627a57615a Change to Metrics 2015-07-06 23:09:35 +02:00
Alexandre Vanhecke
702d2be8b9 Merge pull request #103 from sgdc3/master
Added Metrics + CircleCi support
2015-07-06 21:51:35 +02:00
Xephi59
ec7e1f5f13 Change from unvalid to invalid 2015-07-06 21:46:19 +02:00
Xephi59
ea2530aea9 Change catch 2015-07-06 19:45:31 +02:00
Alexandre Vanhecke
e3ce5b30df Merge pull request #104 from Maxetto/master
Language updates
2015-07-06 18:40:55 +02:00
Xephi59
6aad66b731 Change how authme reload works, but don't forget ... 2015-07-06 18:02:44 +02:00
Maxetto
cbb3aef7b4 Consistency Update
Just to uniform with the other messages.
2015-07-06 16:36:20 +02:00
Maxetto
feac009e28 Was I sleeping? 2015-07-06 16:26:14 +02:00
Maxetto
8fae0d8698 Englishish
Better? Better!
2015-07-06 16:25:31 +02:00
Gabriele C
256336979a Fixed metrics 2015-07-06 16:09:56 +02:00
Gabriele C.
354c62358b Update AuthMe.java 2015-07-06 15:52:36 +02:00
Xephi59
e021a32f1f also change message 2015-07-06 02:43:51 +02:00
Xephi59
53590cf029 Change from flatfile to sqlite by default 2015-07-06 02:43:12 +02:00
Xephi59
6234f55b96 Fix it ? :/ 2015-07-06 00:47:05 +02:00
Alexandre Vanhecke
6bb4788769 Merge pull request #98 from sgdc3/master
Add more password error messages
2015-07-06 00:44:34 +02:00
Gabriele C
79dde2caf3 Fixed languages
Update messages_br.yml

Update messages_cz.yml

Update messages_de.yml

Update messages_es.yml

Update messages_fi.yml

Update messages_fr.yml

Update messages_gl.yml

Update messages_hu.yml

Update messages_it.yml

Update messages_ko.yml

Update messages_lt.yml

Update messages_nl.yml

Update messages_pl.yml

Update messages_pt.yml

Update messages_ru.yml

Update messages_sk.yml

Update messages_uk.yml

Update messages_zhcn.yml

Update messages_zhtw.yml

Update messages_zhtw.yml

Update messages_zhhk.yml
2015-07-05 19:06:15 +02:00
Xephi59
1beab7b40b Change password regex here too 2015-07-05 18:18:20 +02:00
Alexandre Vanhecke
8fffb8c489 Merge pull request #89 from Maxetto/master
Enhanced Password Regex
2015-07-05 18:16:04 +02:00
Xephi59
4ca92dda59 Do mail full async 2015-07-05 17:48:40 +02:00
Xephi59
017a55ae13 email fix 2015-07-05 17:03:05 +02:00
Gabriele C
3367f175d4 Fix syntax 2015-07-05 14:56:32 +02:00
Gabriele C.
60f4bd0ce1 Update AsyncronousRegister.java 2015-07-05 14:39:08 +02:00
Gabriele C.
d222b2cbd4 Update ChangePasswordCommand.java 2015-07-05 14:33:40 +02:00
Gabriele C.
729e74b155 Update messages_en.yml 2015-07-05 14:26:40 +02:00
Gabriele C.
b5ccc34412 Update messages_it.yml 2015-07-05 11:57:20 +02:00
Gabriele C.
58ac4e4d4a Update messages_it.yml 2015-07-05 11:50:07 +02:00
Gabriele C.
2d8fc73e98 Update messages_zhhk.yml 2015-07-05 11:31:06 +02:00
Maxetto
a5952de237 Enhanced Password Regex
We are now allowing every ASCII character except for space (0x20 - 32). Those are the characters allowed in passwords.
2015-07-05 03:50:41 +02:00
Xephi59
618a5efe87 authme.admin.forcelogin and authme.canbeforced 2015-07-05 03:38:30 +02:00
Xephi59
a44481c33b Add a permission to disable some people to be forced 2015-07-05 03:35:32 +02:00
Xephi59
723ca59bb5 Change forcelogin only be performed by console 2015-07-05 03:29:19 +02:00
Xephi59
52c023b1f2 Add forcelogin command 2015-07-05 03:12:39 +02:00
Xephi59
1668cd191b Simplify how passpartu works 2015-07-05 02:58:45 +02:00
Alexandre Vanhecke
e47dfb6184 Merge pull request #86 from Maxetto/master
Email recall at login, typo fix and ChangePassword Enhancements
2015-07-05 02:57:40 +02:00
Maxetto
ac919d8314 Forgot AuthMe >=3.5 has a cache
There's no need to redefine name and email, then.
2015-07-04 23:11:02 +02:00
Maxetto
0b1490bd65 PW lenght and unsafe PW check to ChangePassword
I told you, you missed it! Also, unified "lowpass.equalsIgnoreCase(name)" to the previous group of checks.
This, however, still provides "Password doesn't match" error, instead of one proper error.
2015-07-04 22:57:43 +02:00
Maxetto
f3c2967e83 Merge pull request #1 from Xephi/master
Syncing
2015-07-04 20:45:48 +02:00
Gabriele C.
9d378379f5 Update messages_it.yml 2015-07-03 13:16:18 +02:00
Xephi59
a63087b8fc Change Mail Sending 2015-07-01 14:31:27 +02:00
Gabriele C.
ba32537670 Update plugin.yml 2015-06-30 14:39:44 +02:00
Xephi59
f4f1f76e25 Fix and performances improvements 2015-06-30 00:47:25 +02:00
Maxetto
6d1e75a731 Recall email at login if RecallEmail is active.
For somewhat reason email recalls didn't start from login and every 5 minutes.
2015-06-29 18:02:42 +02:00
Maxetto
6b70f32afb Typo fix + change to REGEX (matches)
This will deny also IP coming from the default IP 192.168.1.1
2015-06-29 17:29:52 +02:00
Xephi59
761b1feadb What the fuck was that shit 2015-06-29 03:25:23 +02:00
Xephi59
d84cd6549b HashMaps need to be Concurrent 2015-06-29 03:02:07 +02:00
Xephi59
108bb5c357 Surround with try/catch 2015-06-29 02:51:39 +02:00
Xephi59
487c91136c IN DEVELOPPEMENT !!!! Begin to increase performances 2015-06-29 01:35:08 +02:00
Xephi59
ac543df216 Duplicate Regexp check removed, and now we check if password different
from username
2015-06-28 02:06:51 +02:00
Xephi59
8e010d467c Enable Regexp in registration too 2015-06-28 01:59:10 +02:00
Xephi59
2aab1d67bb Check password regexp on change password... sorry for that old bug T.T 2015-06-28 01:50:27 +02:00
Xephi59
030e9b599e Dramastically increase performance
Maybe fix low tps :O
2015-06-27 04:19:59 +02:00
Xephi59
34a87689ed Temporary re-set to PlayerLoginEvent 2015-06-27 01:54:31 +02:00
Alexandre Vanhecke
0f6466d767 Merge pull request #75 from sgdc3/master
Fixed some maven issues + enabled Travis cache
2015-06-26 22:02:55 +02:00
Gabriele C.
a9c03b686f Update plugin.yml 2015-06-26 16:06:56 +02:00
Xephi59
4e75fb76d0 Add reflection to support old version of Bukkit/Spigot 2015-06-23 01:02:00 +02:00
Xephi59
70a6506d6e Fix SQL Syntax 2015-06-23 00:34:59 +02:00
Xephi59
e564453df7 Change how Exception is thrown on failed to send mail 2015-06-21 13:45:26 +02:00
Xephi59
98f10b6967 Change world to default one 2015-06-21 13:01:10 +02:00
Xephi59
6d84cdabe7 Fix Attribute problem 2015-06-17 21:48:38 +02:00
Gabriele C
b91ca908ec Maven Optimizations + Fixes 2015-06-17 18:54:32 +02:00
Gabriele C
17e81aada3 xAuth 2.6 compatibility 2015-06-17 18:32:41 +02:00
Gabriele C
26fff61bb9 Added version variable in plugin.yml 2015-06-17 14:15:27 +02:00
Xephi59
0691236826 Correctly call these methods Async ! 2015-06-11 01:41:22 +02:00
Xephi59
bfc2fbd546 Next for https://github.com/Xephi/AuthMeReloaded/issues/54 2015-06-11 01:16:58 +02:00
Xephi59
de2961b754 Check password strengh in ChangePasswordCommand too 2015-06-11 01:13:53 +02:00
Xephi59
aa957cc7c9 Fix Movement problem 2015-06-11 01:05:44 +02:00
Xephi59
a1c09aecfc Add a better check to cancel a non existing task...
#AutoInHacks T.T
2015-06-11 00:55:46 +02:00
Xephi59
4bb9dc53f1 Fix inventory growth 2015-06-11 00:22:59 +02:00
Xephi59
5168a5d9e9 Fix some problem with countries lists 2015-06-10 23:59:09 +02:00
Xephi59
483c9219a0 Fix https://github.com/Xephi/AuthMeReloaded/issues/53 2015-06-10 23:28:17 +02:00
Xephi
8d8ce1c4eb Remove some warnings 2015-06-03 02:07:54 +02:00
Xephi
140a807a59 u_U 2015-06-03 01:41:43 +02:00
Alexandre Vanhecke
b75adf6a98 Update CacheDataSource.java 2015-05-28 22:28:52 +02:00
Xephi
5f2feedebb PseudoRandom 2015-05-28 20:09:14 +02:00
Xephi
2514ae9852 Add Purge.removePermissions through Vault system 2015-05-28 19:21:24 +02:00
Xephi
dc3a8c1f06 Change from HashMap to ConcurrentHashMap, need to be available from
other threads !
2015-05-28 18:56:57 +02:00
Xephi
96925a580a Fix a NullPointerException on getting multi-lined Messages 2015-05-28 18:47:20 +02:00
Xephi
514d5bfe6e Fix Item unstacking, disable customAttributes by default 2015-05-26 13:11:10 +02:00
Xephi
9ba90bfb97 Replace m._ by a method call m.send, Java 8 in comming ... 2015-05-26 13:03:45 +02:00
Xephi
5585db221f Add a security in case config fail to load 2015-05-26 12:42:03 +02:00
Xephi
7f844ec946 remove dead code 2015-05-04 20:52:48 +02:00
Xephi
1f1df4baea typo 2015-05-04 20:49:30 +02:00
Xephi
c12643a138 Do not put a null world at respawn 2015-05-04 16:41:50 +02:00
Xephi
db27341832 Thread the cache 2015-05-04 16:07:05 +02:00
Xephi
2968308a8d Fix 2015-05-04 16:01:38 +02:00
Xephi
2fe76a4f8a Need to check if forceRegstration is enabled 2015-05-04 15:59:18 +02:00
Alexandre Vanhecke
176fda47ec Merge pull request #32 from Sudzzy/master
Provide support for CombatTagPlus
2015-05-02 01:26:07 +02:00
Trojaner
fd5202748c Fix NPE when onPlayerJoins occurs
When #addLimboPlayer(Player player) is called, the player is put into the list with his real name, but when #getLimboPlayer(String name) is called, its looking for the lowercased name, causing a NullPointerException
2015-05-02 01:59:08 +03:00
Sudzzy
7dfe213fd0 Provide support for CombatTagPlus 2015-05-01 21:36:09 +01:00
Xephi
a80792d947 LowerCase expected 2015-04-27 12:52:06 +02:00
Xephi
26f63ba908 FileCache ... as always 2015-04-23 16:56:15 +02:00
Xephi
a8795abc23 Try to synchronise these task to avoid some problems 2015-04-23 16:10:09 +02:00
Xephi
6d90be5e58 oh.. don't want to compile? Ok ... BEEM ! Initialised ! 2015-04-23 10:41:56 +02:00
Xephi
a5e6a8fa12 We need to catch some rares exceptions ! 2015-04-22 23:36:20 +02:00
Xephi
ea85ec25b9 Remove these olds calls 2015-04-22 19:04:01 +02:00
Xephi
ebe71c5790 Need to check everywhere :) 2015-04-22 00:18:50 +02:00
Xephi
c65fe5822f Let the data be corrupted ! 2015-04-21 21:08:46 +02:00
Xephi
427fe9fb4f Change from PlayerLoginEvent to AsyncPlayerPreLoginEvent 2015-04-21 20:58:46 +02:00
Xephi
5548004fd0 Some Fix on FileCache 2015-04-21 17:41:46 +02:00
Xephi
44bbd30fd2 Let's ignore 4.0 branch, it's time to begin AuthMe 5.0 guys !
Full rework in coming!
2015-04-21 16:45:48 +02:00
Xephi
0e93d502ef Optimize the cache, it will slow the server starting, but will be much
easier to get auths
2015-04-21 16:43:49 +02:00
Xephi
41b6c093bb Ooooooops :') 2015-04-21 16:23:12 +02:00
Xephi
84cf1a6627 Re-ignore case for name, Security issues T.T 2015-04-21 16:22:12 +02:00
evernife
cc4575492d Update messages_br.yml
Fixing a lot of gramatical errors and atualizating the file.
2015-04-03 22:02:47 -03:00
Alexandre Vanhecke
faabe0e315 Add Bulgarian Language 2015-01-27 03:07:13 +01:00
Alexandre Vanhecke
bd20c7a383 Merge pull request #2 from JunkyBulgaria/PR_Only
Bulgarian Language.. yeei
2015-01-27 03:06:08 +01:00
Alexandre Vanhecke
8a89ac939c Merge pull request #7 from wolfwork/patch-2
Update messages_ko.yml
2015-01-27 03:04:55 +01:00
Alexandre Vanhecke
6deb174f9e Merge pull request #10 from Joriom/patch-2
Fix for phpBB3 support + bonus
2015-01-27 03:04:37 +01:00
orkun1675
6dcfc33c19 Cancel damage if unlogged-in player is attacking other entities
Right now players can hit other players before logging in, causing serious issues with plugins like CombatTag, PvPManager etc.
We should cancel this in a simple EntityDamageByEntity listener.

Did not test the code.
2015-01-26 02:55:32 +02:00
Xephi59
d0234c182c Try to fix a problem with attribute ? 2015-01-08 20:07:05 +01:00
Xephi59
1a499150c8 Push ! 2015-01-08 18:31:29 +01:00
vanhec_a
fba07fa7e5 Some fixs 2015-01-03 23:40:45 +01:00
vanhec_a
7a19a1ce78 Add Logout Event 2014-10-23 10:56:40 +02:00
Xephi
9437efb08d Push Changes 2014-10-23 10:50:28 +02:00
Xephi
9644b41f7c Kick fraudeurs 2014-10-09 23:31:30 +02:00
Xephi
59273ab1c1 Add a check 2014-10-09 23:21:33 +02:00
Xephi
8fecbe3f3c Merge branch 'master' of https://github.com/Xephi/AuthMeReloaded.git 2014-10-09 23:14:49 +02:00
Xephi
c5fbdb96b7 Fix Logout fly error 2014-10-09 23:09:36 +02:00
wolfwork
bb418be409 Update messages_ko.yml 2014-10-04 12:29:45 +09:00
Joriom
542dc7a800 Fix for phpBB3 support + bonus
username_clean
PhpBB3 requires second column (username_clen) with username as table primary key. Yet, config value "mySQLOtherUsernameColumns" is not an option as this value needs to be formated with phpBB custom utf8_clean_string() function which brings letters to lower case, merges nearby spaces and removes invalid UTF8 chatacters.
Due to characters already being limited both in config and in minecraft itself I believe toLowerCaste() will suffice for now.

num_users
Increment users count not to loose those nice statistics!
2014-09-30 20:43:00 +02:00
Xephi
3f89304aed Fix Cache 2014-09-24 18:55:11 +02:00
Xephi
c88b2be3a3 Catch some exceptions can occured here 2014-09-21 04:14:48 +02:00
Xephi
78cecb27d7 Fix Converter command 2014-09-21 00:04:22 +02:00
Xephi
312410c9de let the database be cached ... 2014-09-19 02:18:04 +02:00
Xephi
2b02f130af Fix npe with dataManager 2014-09-19 02:15:59 +02:00
Xephi
7ba37d75c9 Prevent some NPE on (auto)purge 2014-09-19 00:52:09 +02:00
Xephi
35a4e6508c Fix autopurge npe 2014-09-18 05:09:02 +02:00
Xephi
1815e428f6 Catch Error on join for outdated Essentials ... 2014-09-14 23:27:35 +02:00
Xephi
25d125e483 Remove possibility to hide chat, waiting for a fix 2014-09-14 23:20:03 +02:00
Xephi
1fc6cdd40b Fix some exception/errors 2014-09-14 23:18:05 +02:00
Xephi
7e16be7f9e lower ... not lowest... need to sleep T.T 2014-09-05 19:41:20 +02:00
Xephi
38b3197356 Apply Case insentitive while getting a player through database only to
disable multi-accounts
2014-09-05 19:36:38 +02:00
Xephi
53437ed33c Do not display chat to unlogged/unregistered player 2014-09-05 05:02:44 +02:00
Xephi
7dc9238288 Remove unused imports 2014-09-04 16:27:52 +02:00
Xephi
7596266d7c Fix NPE on startup with flatfile 2014-08-30 04:20:17 +02:00
Xephi
6e17b540f5 Fix the Cache 2014-08-30 04:05:22 +02:00
Xephi
907d70d60d Fix AuthMe not compiling 2014-08-30 03:28:33 +02:00
Xephi
28001db6bf Material.AIR create a bug ? 2014-08-28 17:31:03 +02:00
wolfwork
69a564d046 Update messages_ko.yml 2014-08-28 15:46:55 +09:00
Xephi
23128b9c02 Fix LT trad 2014-08-28 08:33:35 +02:00
Xephi
c12735d2f4 Add sqltoflat converter type 2014-08-28 06:24:47 +02:00
Xephi
922df85a65 Fix IO with cache 2014-08-28 05:42:09 +02:00
Xephi
3a2e58d18a Need to verify auth exist before get it 2014-08-27 19:24:09 +02:00
Xephi
469a56258d Security for the previous commit 2014-08-27 07:28:47 +02:00
Xephi
6cfd3f0a0b Remove Case dependance, auto-update name on join into database (care
forums users!)
2014-08-27 07:03:11 +02:00
Xephi
0d8ce9e3d8 Add forceRegisterCommand to force a command after a /register (passwords
only)
2014-08-27 06:14:49 +02:00
Xephi
e869eae036 Do not apply these register caracteristic when it's an email
registration !
2014-08-27 06:13:53 +02:00
Xephi
a947198c8e /logout now reset timestamp in case session, to enable the /login after
a d/c
2014-08-27 06:03:45 +02:00
Xephi
655a6a1a71 Correctly de-op on /logout 2014-08-25 04:34:06 +02:00
Xephi
48d16ed7b9 Fix NPE with VeryGames API 2014-08-25 03:46:34 +02:00
Xephi
10878ff8f4 VeryGames ipclean api fix 2014-08-25 03:45:42 +02:00
Xephi
6664b1c58f I really will survive ! 2014-08-25 03:42:59 +02:00
Xephi
47d6a4a9bf Add Sponsorship Message, I WILL SURVIVE 2014-08-25 03:40:41 +02:00
Xephi
0b1b6617eb Fix ArrayOutOfBoundsException in getSpawn 2014-08-25 03:31:55 +02:00
Xephi
3f58dd54dd it's essentialsSpawn ! 2014-08-25 03:28:07 +02:00
Xephi
d7cb60c1fe Replace all '/' in path to File.separator - Code Refactor 2014-08-25 03:12:28 +02:00
Xephi
12795436a0 Add Custom Attributes support ( Thanks Comphenix API ) 2014-08-23 03:48:22 +02:00
Xephi
9090f37cf8 Update Events Javadoc 2014-08-22 07:23:33 +02:00
Xephi
e5189283ed Rework cache system - Add Javadoc for AuthMe 2014-08-22 06:51:56 +02:00
Xephi
e9032d1739 Begin rework of Cache 2014-08-20 06:05:35 +02:00
Xephi
4193806c82 Merge branch 'master' of https://github.com/Xephi/AuthMeReloaded.git 2014-08-19 06:26:46 +02:00
Xephi
6a0dc0300f Add a message to prevent lower performance with File 2014-08-19 06:24:53 +02:00
wolfwork
807e2d9787 Update messages_ko.yml 2014-08-16 14:12:57 +09:00
Xephi
9704abc386 Do not send error if player do not exist while unregister 2014-08-14 17:49:14 +02:00
Xephi
2029b5e8e5 Fix NPE with isEmailCorrect 2014-08-14 00:10:33 +02:00
Xephi
7ae951c4ab Fix EmailRegistration bypass session
Update to 3.5-SNAPSHOT
2014-08-13 22:21:25 +02:00
Xephi
55c7c4f9e1 Add email Whitelist (override Blacklist if no empty) 2014-08-13 12:48:50 +02:00
Xephi
afc1ea9111 Code Refactor - Whitespace Refactor 2014-08-08 23:14:56 +02:00
Xephi
ec7ac60340 MultiThreading test finished, use them as default 2014-08-08 21:40:32 +02:00
Xephi
b8fbd30bfe Add Support to 1.7.9/1.7.10 (remove lag spikes) 2014-08-08 21:24:17 +02:00
Xephi
0b55e48b85 Add /authme resetposition <playername> 2014-08-08 15:54:26 +02:00
Xephi
7e9bde1d7a Fix for emailBlackList domain 2014-08-06 18:07:25 +02:00
Xephi
5c3f97f6c7 Add emailBlackList domain 2014-08-06 18:03:32 +02:00
Xephi
aa7415a151 Fix ArrayOutOfBoundsException with spawn priority 2014-08-06 17:35:47 +02:00
Xephi
9001cd4ebc Add Converter command 2014-07-28 16:46:31 +02:00
EmiliyanKurtseliyanski
160f5a56d8 Bulgarian Language.. yeei 2014-07-27 12:10:06 +03:00
Xephi
535c96738d Add Blindness effect (configurable) 2014-07-25 02:06:56 +02:00
Xephi
fd9010dc59 Revert latest commit 2014-07-25 01:46:39 +02:00
Xephi
420fff72ca Set this false by default 2014-07-25 01:45:32 +02:00
Xephi
2092ad31e2 fix doc 2014-07-25 01:32:21 +02:00
Xephi
a409c23679 Add Password Regex 2014-07-25 01:30:52 +02:00
Xephi
a55e99a2c5 Update messages + Fix MaxJoin/LoginPerIP 2014-07-23 20:20:39 +02:00
Xephi
964e66a370 need to convert name lowercase 2014-06-17 21:46:08 +02:00
Xephi
800ecb16a0 Fix for XenForo 2014-06-16 01:11:22 +02:00
Xephi
630271dfe8 Finally need player lowcase crazycrypt 2014-06-15 17:34:06 +02:00
Xephi
1c77a1d0d9 CrazyCrypt fix - UTF-8 ! 2014-06-15 00:16:05 +02:00
Xephi
2c480738ef Get/Set XenForo password correctly 2014-06-14 23:50:44 +02:00
Xephi
f6791c35ec Fix logout npe 2014-06-14 23:25:47 +02:00
Xephi
4de55d9efa Fix CrazyCrypt1 need player real case 2014-06-14 02:59:44 +02:00
Xephi
8db9c69ed0 Fix RoyalAuth Command 2014-06-14 02:13:12 +02:00