Commit Graph

14 Commits

Author SHA1 Message Date
Phoenix616 d52c329618
Make compatible with Folia by using own ExecutorService
Our async tasks were already pretty world-independent (update checker as
 well as some logging so this should work pretty well)

For the rest the ORMLite library should already be able to handle access from
 different threads and whether economy plugins are compatible with Folia is
 up to them, not us...
2023-03-23 23:50:43 +01:00
Phoenix616 1f8fd09dd2 Only update player name on join, don't create new accounts 2020-06-19 20:57:22 +01:00
Phoenix616 dd4177e7cb Query server's player cache for missing players
This uses a cache for players that we haven't found before so to not check the cache too often and also checks if the online mode of the queried OfflinePlayer matches the server's mode (gotten from the first logged-in player in order to be compatible with BungeeCord requiring the server to be in offline-mode.
2018-08-29 21:29:27 +01:00
Dan Mulloy e186635484 Try to fix a few more errors
Fixes #7
2016-09-20 15:45:18 -04:00
mibby 8c7594be51 Revert PlayerKick Behavior
Partial revert of 'Do not let people with already used usernames connect to the server' commit. 

See comments here b0369d8e69 (commitcomment-14185778) and here. 
c169df2265 (commitcomment-12846919)

I personally believe ChestShops should not dictate whether a player is allowed to connect to the server or not. I personally have had issues with ChestShops kicking legitimate players from the server in online mode.
2016-08-27 20:09:09 -07:00
Andrzej Pomirski 5f7d6776c2 kickPlayer() should be called asynchronously 2015-08-15 19:38:30 +02:00
Andrzej Pomirski b0369d8e69 Do not let people with already used usernames connect to the server 2015-08-06 15:19:46 +02:00
Andrzej Pomirski 7bc452e203 Switch to thread-safe DTOs 2015-07-05 21:56:42 +02:00
Andrzej Pomirski cd3781c26c Should fix the lag, hopefully 2015-05-22 13:26:20 +02:00
Andrzej Pomirski 4d5f568e1f Removed the admin shop message, since it is no longer necessary 2014-05-24 11:23:43 +02:00
Andrzej Pomirski 4107b10f4b More UUID changes 2014-04-12 13:57:39 +02:00
Andrzej Pomirski 0328374951 Clean up the imports 2014-04-11 17:37:53 +02:00
Andrzej Pomirski da7e236c0e Use ORMlite for the UUID->name mapping 2014-04-10 21:52:05 +02:00
Acrobot a5bfa86bca Mavenized the project
Switched the project to Maven - you're now able to easily build
ChestShop.
2013-03-08 20:31:15 +01:00