Commit Graph

1648 Commits

Author SHA1 Message Date
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
Xephi
1d83b398f0 Rework Converter + Add CrazyLogin flat converter 2014-06-14 01:53:46 +02:00
Xephi
b403374c2a Fix Teleport issues 2014-06-13 18:17:23 +02:00
Xephi
2638007ada AuthMe 3.4 2014-06-13 05:56:59 +02:00
Xephi
ff9ec22041 uuid fix 2014-04-01 17:57:46 +02:00
Xephi
864661c797 Update 3.3.6 - Emergency Fix
//Changes 3.3.6://
* **Emergency fix: Email recovery method are now fixed and safety to
use**
* Support all craftbukkit builds
* Now Support our sponsor ipClean feature ( Get player real ip through
their servers )
* Now Cache correctly Item Custom Names and Lores
* Fix FlatToSQL converter
* Add /authme getip <playername> command, perm : authme.admin.getip
* Implement correctly XenForo Support
* Fix maxregperip
* Fix maxloginperip
* Add ForceCommandsAsConsole config
* Preparation for next features, coming soon !
2014-04-01 17:10:33 +02:00
Xephi
8c3dc12658 Update 3.3.5
//Changes 3.3.5://
* Now Support our sponsor ipClean feature ( Get player real ip through
their servers )
* Now Cache correctly Item Custom Names and Lores
* Fix FlatToSQL converter
* Add /authme getip <playername> command, perm : authme.admin.getip
* Implement correctly XenForo Support
* Fix maxregperip
* Fix maxloginperip
* Preparation for next features, coming soon !
2014-04-01 10:32:27 +02:00
Xephi
b659d8968e Update 3.3.4
//Changes 3.3.4://
* Add an isLogged column in mySQL
* Add a maxLoginPerIp
* Add a maxJoinPerIp
* Add a way to force kick after register
* Add a way to force login after register
* Update session correctly
* Fix Change Email command
* Fix some perm problems
* Fix some problems with email sending
* Remove some dead code
* Add a way to control spawn priority, by default , in order, it is :
authme,essentials,multiverse,default
2014-03-08 00:16:14 +01:00
Xephi
4e7e9e6cb4 Update 3.3.3 2014-02-20 12:54:10 +01:00
Xephi
46acf9d74b Update 3.3.2
//Changes 3.3.2://
* Fix Vault support
* Fix Group permission problems
* Rewrite /register and /login command, would be much faster
* Fix useWelcomeMessage
* Add a way to broadcast welcome message
* Remove Join/Quit message only if enableProtection is true
* Fix /login and /register requested at the same time
* Some other fixes
2014-02-10 02:46:51 +01:00
Xephi
fec466dd29 Fix useWelcomeMessage + implement broadcast conf 2014-01-31 17:56:36 +01:00
Xephi
2e5da58aca Update 3.3 + fix permission error 2014-01-27 20:33:34 +01:00
Xephi
90ae238c15 Fix Purge Wipe Data 2014-01-10 04:42:31 +01:00
Xephi
d926d9ac83 Fix Exception 2014-01-10 01:38:46 +01:00
Xephi
5127d5e70a Update 3.2
//Changes 3.2://
* Fix Password showed in console ( support for Log4J )
* Quit Location will be more precise ( now double instead of int )
* Force command after the /register too
* Close inventory when player try to open one unlogged
* Fix old password supports
* Remove some Magic Values ( 1.7.2+ )
* Fix threads not start correctly
* Add a recall email adding message
* Fix catpcha messages
* Add multilines messages ( add &n )
* Fix some inventory problem
* Fix some events problem
* Call login event after /register
2014-01-07 02:59:08 +01:00
Xephi
93a320c8ae Dev - 3.1.2-DEV-3
Developpement status actually
Some Fixes for the 1.7.2
Remove some Magic Values
Fix threads not start correctly
Add a recall email adding message
Fix catpcha messages
Add multilines messages ( add &n )
Fix some inventory problem
Fix some events problem
Call login event after /register
2014-01-06 17:54:50 +01:00
Xephi
aaeceae5d2 Correctly get the event inventory ! 2013-12-16 04:07:09 +01:00
Xephi
84e1f26484 forgot maxmind lib 2013-12-12 05:35:35 +01:00
Xephi
bc8d11ebd6 Update 3.1.1
//Changes 3.1.1://
* Do /login correctly in the correct thread
* Add a way to force some commands after /login
* Try a fix for bungeecord , let's see ...
* Fix Logout command ( pos + inventory )
* Fix PHPBB support + random salt
* Add a bypass antibot perm : authme.bypassantibot
* Translation file will automatically update now
* Some other fixes
2013-12-12 05:34:44 +01:00
Xephi
10b4eaeca7 AuthMe 3.0
//Changes 3.0://
* Repackaging from uk.org.whoami.authme to fr.xephi.authme, please
developpers, update!
* Rewrite some of parts of the plugin
* Some code was already perfect , also did not change it :p
* Full support for phpbb3
* Add full support for WordPress + passwordHash: WORDPRESS
* Completely rewrite Management system for inventories and tp issues,
Thanks to : [[http://dev.bukkit.org/profiles/Possible/|Possible]]
* Rework on /passpartu command
* Completely rewrite the password encryption method
* Add a way for developers to add their own Password Encryption Method
on AuthMe via event way (please see
fr.xephi.authme.events.PasswordEncryptionEvent)
* Add an auto purge with players.dat removing method and essentials
files removing ( if you want authme to hook with an another plugin let
me know )
* Complete Hook with BungeeCord by removing the /server command before
login
* message_lang.yml will never be overwritten with English Strings , but
correctly update the message_lang.yml when needed to
* Fix a lot of issues mentioned in tickets , commants , or by mp, Thanks
for all your reports!
2013-10-17 05:14:46 +02:00
Xephi
10584ff054 Update 2.9.4
//Changes 2.9.4://
* Fix AssertionError
* AuthMe automatically reconnect to MySQL if session timeout
* Optimize threads
* AuthMe now caching flying status
* AuthMe now apply a fake creative flying status temporary while the
player is not loging in ( force them to do not shake in the air ;) )
* You can now apply the survivalforce only after loging in
* You can now convert FlatFile to SQLite ( /authme flattosqlite )
* Fix Some inventories issues
* Fix some problems with Multiverse-Inventories and MultiInv
* Fix NullPointerExceptions reported
* Fix SaveQuitLocation do not send you to the right pos
* Fix Sessions for multi-servers
* Fix Sessions globally
* Fix maxRegistering
* Fix register API
* Fix DJANGO passwordhashing method ( PBKDF2 )
* Fix do not force registration method
* Add a config to display auto the /motd command from essentials before
the /login ( some bug with some servers )
2013-09-15 04:27:23 +02:00
Xephi
7e7afcbfd6 Update 2.9.3
* Fix BungeeCord again
* Remove useless part of api
* Fix register api method
* Always store cache with lowercase players name
* Remove some useless asynchronous part
* Fix some thread problems
* Add PBKDF2 method
* Fix SQLite problem (world duplicate column)
* Fix cannot measure distance between two different world
2013-08-26 18:35:28 +02:00
Xephi
2522357982 Update 2.9.2
* Add Register API
* Fix Captcha message
* Translate email commands
* Fix 'cannot measure distance' problem
* Fix some problem with connection manager
* Add DOUBLEMD5 password hashing md5(md5(password))
* Add pt_PT translate
* Add Korean translate
2013-08-10 13:50:05 +02:00
Xephi
7ab34de211 move script file 2013-08-07 22:02:22 +02:00
Xephi
83c4bee94b remove that 2013-08-07 21:48:44 +02:00
Xephi
d06a5f4e53 Update 2.9.1
* Fix some problem with re-register
* Add directly mail.jar in AuthMe Builds
we also do not need the mail.jar in the lib folder
2013-08-07 21:21:58 +02:00
Xephi
f585d1012a sync this T.T 2013-08-05 18:48:42 +02:00
Xephi
84d362196c Update 2.9
* Add a better MultiThreading support for database
* Fix some problem with assertion error
* Add WBB3 support
* Add SH512 support
* Add reg_email_msg in all messages.yml for diff visibility
* Fix Problem with DeOped players
* FIX BungeeCord support - Thanks to games647
2013-08-05 15:28:48 +02:00
Xephi
bca506b2d5 Fix BCRYPT, Add WBB3 crypt, FIX CombatTag 2013-07-10 16:10:17 +02:00
Xephi
d699f86cc7 Update 2.8
* Update to CB 1.5.2-R1.0
* Add multi-world support in databases
* Add multi-plugins spawns support : in this order :
BukkitWorldSpawn(default) < Multiverse-Core < EssentialsSpawn <
Authme(/authme setspawn)
* Add BCRYPT passwordhashing method
* Set the Email method to HTML ! you can now send html email correctly
:)
* Some fix with BungeeCord
* Some fix with inventory security ( i recommend you to disable
ProtectInventoryBeforeLogin if you encounter issues , all inventory
click method are now cancelled )
* Add a separate thread for /login command (enable multi-threading in
config file)
* Add a separate thead for /register command (enable multi-threading in
config file)
* Add isRegistered(String playerName) in the API
* Some other code reworks
* Some other debugs
* Re-Indent code
2013-06-20 02:15:27 +02:00
Xephi
0d47578323 BungeeCord fix ... again ... and again... 2013-05-29 23:07:56 +02:00
Xephi
d7f76c8cdf fix double email check - Add Italian Translate 2013-05-14 01:45:50 +02:00
Xephi
447d6633b2 Hook with SocialSpy(Essentials) - Fix OP removed 2013-05-14 01:28:45 +02:00
Xephi
bad44f3af7 Update 2.7.16 2013-05-06 03:49:32 +02:00
Xephi
6c8ba0d7ef Sync this 2013-04-14 15:42:39 +02:00
Xephi
2350a9e6d2 Resynchronize custom event 2013-04-14 15:34:01 +02:00
Xephi
1c2b585a6f Emergency Fix 2013-04-14 00:29:04 +02:00
Xephi
73c97a39e6 Update 2.7.14
* Add Slot Reservation system ( permission : authme.vip )
* Add ConsoleLogging in authme.log file ( disabled by default, check
config )
* Save the main thread by different database access and saves
* Perform login more quickly
* CleanUp the code entirely
* BungeeCord should be fixed :'(
* Fix the Flat To MySQL converter
* Teleport players correctly
2013-04-13 01:27:23 +02:00
Xephi
468aaa18a3 Add VIP Slots method 2013-04-03 03:21:33 +02:00
Xephi
6485acca53 Add SimplifiedChinese (zhcn) 2013-04-02 13:03:14 +02:00
Xephi
5dcfd31cc6 Update 2.7.13 2013-04-02 03:20:16 +02:00
Xephi
c18131408d Again Change BungeeCord hook with latest method 2013-03-25 13:11:44 +01:00
Xephi
96907d5a24 Forgot to Settings.bungee - Add TradChinese 2013-03-22 18:27:21 +01:00
Xephi
def5821e5c Fix BungeeCord player real IP - 2.7.12b1 2013-03-21 00:03:34 +01:00
Xephi
cedafe52a8 fix SessionExpireOnIpChange
Note for myself : Refresh Code T.T
2013-03-13 23:11:00 +01:00
Xephi
5462508357 2.7.11b2 2013-03-13 18:06:04 +01:00
Xephi
0dd048774e Update 2.7.11b1 2013-03-12 17:20:33 +01:00
Alexandre V.
1caab050b6 remove the old and useless plugin.yml 2013-03-10 20:36:57 +01:00
Alexandre V.
6a3dc273ed 2.7.10b2 2013-03-10 01:29:07 +01:00
Alexandre V.
ba82d946c4 First Commit - 2.7.10b1 2013-03-09 03:42:17 +01:00