Commit Graph

194 Commits

Author SHA1 Message Date
Sotr
17e0e3edca Improve performance for isOp and more 2019-04-09 15:09:18 +08:00
Sotr
0d05c57c04 Overhaul user cache to fix op losing issue 2019-04-09 14:50:03 +08:00
Sotr
fcf97fa61e Oops 2019-04-08 19:54:40 +08:00
Sotr
0deb4ca743 Improved mob spawn mechanics for PSPE w/ misc cleanup 2019-04-08 19:52:02 +08:00
Sotr
f3a6ec65cc Better handle offline servers 2019-04-07 13:29:56 +08:00
Sotr
073dc1430d [ci skip] Fixes typo 2019-04-07 02:28:02 +08:00
Sotr
3a76f86a95 Upstream Paper 2019-04-07 02:25:49 +08:00
Sotr
62ce9910f2 Upstream Paper 2019-04-07 02:20:40 +08:00
Sotr
4011d37d99 Fixes PSPE by add option to configure ray trace 2019-04-07 02:14:56 +08:00
Sotr
90db58cbb3 Fixes PSPE by add option to configure excessive signs 2019-04-07 01:19:29 +08:00
Sotr
4de56af786 Fixes a NPE 2019-04-03 01:28:50 +08:00
Sotr
fc19a9cfce Resolve user system for offline servers 2019-04-01 17:33:38 +08:00
Sotr
e616f1b1ed Make argument profile use our usercache 2019-04-01 15:40:00 +08:00
Sotr
eda69152f0 Fixes LuckPerms compatibility - GH-81 2019-04-01 15:23:06 +08:00
Sotr
9c9f07f750 Oops 2019-04-01 15:16:40 +08:00
Sotr
1ec22529a0 Add option to allow disconnect player before PlayerLoginEvent 2019-04-01 14:17:19 +08:00
cakoyo
2dd8f6fc25 Fix typo 2019-03-31 14:37:51 +08:00
Sotr
be47051b23 Ensures thread safety, hopefully fixes GH-80 2019-03-31 15:31:25 +08:00
Sotr
d59d3a3c2f Fixes odd launch error 2019-03-30 23:18:03 +08:00
Sotr
96a5d7a702 Fixes double data saving w/ incorrect filter 2019-03-30 14:44:08 +08:00
Sotr
39a09cba91 Fixes unknown import 2019-03-30 14:27:28 +08:00
Sotr
0dfc3962cc Add koloboke to API 2019-03-30 14:22:30 +08:00
Sotr
4a59fbbc02 Ensures permission safety 2019-03-30 14:09:31 +08:00
Sotr
338bc56ceb Synchronized permission subscriptions 2019-03-30 14:05:02 +08:00
Sotr
97af50debc Optimize SimplePluginManager map & copy on write permission 2019-03-30 13:57:25 +08:00
Sotr
483809bf69 Dev import, I hate NotNull 2019-03-30 13:25:49 +08:00
Sotr
536e4edc4a Fixes compile error 2019-03-30 01:12:38 +08:00
Sotr
71f37176b6 Remove 10000+ unnecessary object creation 2019-03-30 01:06:38 +08:00
Sotr
dfaa7c2ab8 Revert bleeding commits 2019-03-29 22:58:44 +08:00
Sotr
a0256c7a5b Revert "Optimize physics"
This reverts commit b83eb29260.
2019-03-29 22:58:31 +08:00
Sotr
48d3ceef61 Revert "@Sotr think is a thread-safe issue, so i use ConcurrentSkipListSet to replace TreeSet."
This reverts commit c1f585fc61.
2019-03-29 22:58:14 +08:00
Ghost_chu
c2bd2f03ed Merge remote-tracking branch 'origin/master' 2019-03-29 19:43:06 +08:00
Ghost_chu
c1f585fc61 @Sotr think is a thread-safe issue, so i use ConcurrentSkipListSet to replace TreeSet.
This commit without test, cause the issue #79 's issue i can't reproduce.
2019-03-29 19:42:12 +08:00
Sotr
b83eb29260 Optimize physics 2019-03-29 01:36:39 +08:00
Sotr
8210d0edd8 Merge branch 'master' of github.com:Akarin-project/Akarin 2019-03-29 01:16:00 +08:00
Sotr
839fb7f257 Make get more safe 2019-03-29 01:14:18 +08:00
Sotr
0346f1e26e Optimize rand performance 2019-03-29 01:13:34 +08:00
Sotr
332a8c8d95 Move random light update to off-main thread 2019-03-29 01:13:01 +08:00
Sotr
a32ca321d5 Move sleep weather cycle to off-main thread 2019-03-29 01:10:21 +08:00
Sotr
71899f9fa3 Move difficulty lock w/ sleep time to off-main thread 2019-03-29 01:08:32 +08:00
Sotr
5147c73e6b Automatic post async command 2019-03-28 23:22:21 +08:00
Ghost_chu
2a0f5f618e Allow user custom yggdrasil server url. 2019-03-28 22:53:18 +08:00
Ghost_chu
58a1084a88 Merge branch 'master' of https://github.com/Akarin-project/Akarin 2019-03-28 22:52:11 +08:00
Ghost_chu
e7da0d0837 Easter egg :) 2019-03-28 22:23:21 +08:00
Ghost_chu
f4887873e1 fix ci again 2019-03-28 22:03:30 +08:00
Ghost_chu
7755f7404f Improve #77ffdd0 commit code. 2019-03-28 21:59:50 +08:00
Ghost_chu
77ffdd0475 Fix java.lang.IllegalArgumentException crash issue.
This bug will cause server crash, and these lines will shown in crash-report.

```
Description: Exception in server tick loop

java.lang.ExceptionInInitializerError
	at net.minecraft.server.v1_13_R2.PlayerList.sendAll(PlayerList.java:1099)
	at net.minecraft.server.v1_13_R2.World$2.a(World.java:226)
	at net.minecraft.server.v1_13_R2.WorldBorder.setCenter(WorldBorder.java:94)
	at net.minecraft.server.v1_13_R2.WorldServer.i_(WorldServer.java:112)
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:367)
	at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:316)
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:789)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException
	at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1314)
	at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1237)
	at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:151)
	at io.akarin.server.core.AkarinAsyncExecutor.<clinit>(AkarinAsyncExecutor.java:12)
	... 8 more

```
2019-03-28 21:35:47 +08:00
Ghost_chu
94ba1bb082 Add chmod in CI script 2019-03-28 21:05:26 +08:00
Ghost_chu
461a379758 fix travis-ci 2019-03-28 20:53:11 +08:00
Sotr
e02706acb7 Oops 2019-03-28 16:13:12 +08:00