Commit Graph

331 Commits

Author SHA1 Message Date
Ivan Pekov
8fbaee0090
Updated Upstream and Sidestream(s) (Tuinity/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
adfab32 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.4
1d4c8fc Updated Upstream (Paper)
48ccd32 Do not retain playerchunkmap instance in light thread factory

Purpur Changes:
4a95a55 Updated Upstream (Paper & Tuinity)
4ba69a2 Add tablist suffix option for afk
28437fe Merge branch 'ver/1.16.4' of github.com:pl3xgaming/Purpur into ver/1.16.4
5796ff9 Updated Upstream (Paper)
d98da39 Update README
b85092b Disable doclint on javadoc generation
ef45666 Updated Upstream (Paper)
2020-11-13 10:32:37 +02:00
Ivan Pekov
ca7aabbb2f
Updated Upstream and Sidestream(s) (Tuinity/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
ee5df4c Updated Upstream (Paper)

Purpur Changes:
a295636 Updated Upstream (Paper)
ec6e3b3 Updated Upstream (Paper)
2020-11-10 13:26:44 +02:00
Ivan Pekov
0874b8bdeb
Update branch so version fetcher works properly 2020-11-09 17:53:54 +02:00
l_MrBoom_l
608fe60aac
GH-278: Configurable movement checks 2020-11-08 19:11:25 +02:00
Ivan Pekov
830bb6b70d
Updated Upstream and Sidestream(s) (Tuinity/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
f559558 Updated Upstream (Paper)

Purpur Changes:
1eaac71 Updated Upstream (Paper & Tuinity)
137523f Fix allowing color codes in signs
2020-11-08 18:59:56 +02:00
ishland
a01d4013d8 Fix Velocity Repo 2020-11-07 15:33:53 +08:00
ishland
2b6de0fa5d Misc fixup 2020-11-07 15:16:33 +08:00
ishland
0ee1f14d69 Updated Upstream and Sidestream(s) (Tuinity/EMC/Purpur) (FIRST 1.16.4)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
d7f2b6e Updated Upstream (Paper)
0850468 Properly ignite entities that stand in fire
4ff2d15 More cleanup to delay chunk unloads
52f4d08 Cleanup post dev branch merge
f2eef4a Fixup dev branch patches and store reverted patches in revert folder
85aba13 Merge branch 'dev/some-opts'
c3a9e41 Remove deprecated function usage in github actions (#200)
dde7028 Merge branch 'master' into dev/some-opts
083e162 Updated Upstream (Paper) - Update to 1.16.4
576e2cc Rate limit incoming packets
7f251e0 Updated Upstream (Paper)
7d45836 Updated Upstream (Paper)
cff9ec0 Updated Upstream (Paper)
c3d5d24 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.3
c12d582 Merge branch 'master' into dev/some-opts
cbffdcc Do not mark entities in unloaded chunks as being in blocks
988e550 Updated Upstream (Paper)
84aecdb Merge https://github.com/Spottedleaf/Tuinity into ver/1.16.3
f7b8e25 Split dev branch
3200930 Merge branch 'master' into dev/some-opts
82e5dfb Updated Upstream (Paper)
d41103d Updated Upstream (Paper)
1d73f6c Updated Upstream (Paper)
8ba1bab Updated Upstream (Paper)
ac6b72e Updated Upstream (Paper)
8d982c4 Updated Upstream (Paper)
2c7bad9 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.3
903f580 Merge remote-tracking branch 'origin/dev/some-opts' into dev/some-opts
0179ea8 Re-Add region manager and notify patch
6886867 Merge branch 'master' into dev/some-opts
fb292c1 Updated Upstream (Paper)
442890b Fix decompression with Velocity natives (#191)
57fed71 Fix decompression with Velocity natives
102d60b Rebuild patches
968512b Add Velocity natives for encryption and compression (#188)
e2dcdd1 Correct return value for ChunkCache#getCubes
4a99f3e Updated Upstream (Paper)
f5d537e Merge https://github.com/Spottedleaf/Tuinity into ver/1.16.3
784b838 Some fixes
be0b91f Merge branch 'master' into dev/some-opts
2cb36ca Optimise non-flush packet sending
be68938 Hey git, may I know what happened here?
1cac0a2 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.3
d72e062 Merge branch 'master' into dev/some-opts
76777f0 Updated Upstream (Paper)
6465aba Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.3
d82174a Merge branch 'master' into dev/some-opts
460581d Fix getClosestEntity not working
d39cda0 Updated Upstream (Paper)
2110847 Rewrite getClosestEntity
3e45700 Do not return complex parts for entity by class lookup
c9cfdba Updated Upstream (Paper)
5994cb0 Updated Upstream (Paper)
7dfe18c Merge https://github.com/Spottedleaf/Tuinity into ver/1.16.3
363973d Merge branch 'master' into dev/some-opts
1c05858 Updated Upstream (Paper)
adaafb4 Git merge doesn't update submodules
ab71ded Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.3
54db338 Merge branch 'master' into dev/some-opts
483289c Updated Upstream (Paper)
e36359e Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.2
ef8cd34 Fix NPE
b770af9 Merge branch 'master' into dev/some-opts
d479e12 Merge https://github.com/Spottedleaf/Tuinity into ver/1.16.2
a1b90f8 Merge branch 'master' into dev/some-opts
30c5ca5 Merge branch 'master' into dev/some-opts
e59b60b Updated Upstream (Paper)
09f62a7 Rebuild patches
b041d11 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.2
27fca2d Merge branch 'master' into dev/some-opts
a218f5d Updated Upstream (Paper)
f7c5428 Updated Upstream (Paper)
a17dc2c Attempt to fix incorrect nearest village distance tracker updating
8830cef Remove streams for poi searching in some zombie pathfinding
89276ac Fix villagers aggressively looking at people
db64f14 Make sure to despawn entities if they are outside the player general area range
ba0bfda Updated Upstream (Paper)
200f825 Actually unload POI data
3dc7b9e Updated Upstream (Paper)
30f6ca0 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into 1.16.2tmp
3b008f5 Optimisations
c628aa4 Updated Upstream (Paper)
1ed41fc Updated Upstream (Paper)
193d9bf Updated Upstream (Paper)
f2ac649 Updated Upstream (Paper)
a63298f Upstream
a12e1f6 Merge branch 'ver/1.16.2' of https://github.com/Spottedleaf/Tuinity into 1.16.2tmp
9eed723 Rebuild patches
d03dbcc Updated paper
c1002c5 Merge branch 'ver/1.16.2' of https://github.com/Spottedleaf/Tuinity into 1.16.2tmp
27084eb Updated paper
bfb0ded Merge branch 'ver/1.16.2' of https://github.com/Spottedleaf/Tuinity into 1.16.2tmp
763aa6c Updated Upstream (Paper)
49898d0 Merge branch 'ver/1.16.2' of https://github.com/Spottedleaf/Tuinity into 1.16.2tmp
199edf5 Merge branch 'ver/1.16.2' of https://github.com/Spottedleaf/Tuinity into 1.16.2tmp
78bfcfb Update everything
bbbe82e change upstream

EMC Changes:
4da58340 clear more entity tasks with reloads
2f3d567f Improve temp meta reloading
efd7ea89 Updated Paper
25426b02 Updated Paper
35099319 Fix blockbreaknaturally event not always having the loc stored

Purpur Changes:
306e9ac Add missing repos for deps
67be68c Updated Upstream (Tuinity)
cf3e3e7 Fix last patch :3
a43bb36 Arrows should not reset despawn counter
f0b8bd7 Updated Upstream (Paper)
f15d3f0 Updated Upstream (Tuinity)
39ce110 Fix missed obf method rename in Tuinity patches
bae5baa Updated Upstream (Paper)
5569d02 Updated Upstream (Paper)
72c4c5e Updated Upstream (Paper)
7fa8baf Update readme
03654a6 Update to 1.16.4 ^_^
0fa478d Updated Upstream (Paper & Tuinity)
3fec5da Rebuild patches
2f7a0a0 Fix client lag on advancement loading
3f325b8 Fix #86 Move pathfinders into NMS package to satisfy Paper's AI API
7cfd3d7 Updated Upstream (Paper)
cc6c167 Updated Upstream (Paper)
2020-11-07 15:03:31 +08:00
Ivan Pekov
feb1bdfa24
Mention that 54 is under gplv3
Fixes #276
2020-10-31 11:28:14 +02:00
Ivan Pekov
94afff957c
Make sure aabbs don't contain already 2020-10-30 09:32:12 +02:00
Ivan Pekov
76d8a3a029
Update some stuff in EntitySlice 2020-10-29 15:33:46 +02:00
Ivan Pekov
02d19077cb
GH-272: Server crash on Non-Stable Build 130+
Fixes #272
2020-10-29 09:35:17 +02:00
Ivan Pekov
e3b33539ad
Updated Upstream and Sidestream(s) (Tuinity/EMC)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
7f251e0 Updated Upstream (Paper)

EMC Changes:
ef2f460b Updated Paper
2020-10-27 21:34:46 +02:00
budgidiere
c09ee99f7e
Hydrinity optimizations & Lithium generation patches & more
Closes #257 

Ports 2 patches from Purpur: Infinity-bow-settings & Allow-infinite-and-mending-enchantments-together
Added an option for infinity with no arrows too.

Option for custom locale has come! You can put a locale.json file in your server folder to change it. 

We've got the finest patches from Hydrinity ( Mykyta approved & allowed ) too.

We have some amazing new options in yatopia.yml, we're gonna have documentation for them soon so stay tuned!
Last but not least, chunk generation patches. We've tested them extensively so no weirdness happens.

Thanks for using Yatopia as your production server software.

Co-authored-by: Ivan Pekov <ivan@mrivanplays.com>
2020-10-27 21:15:13 +02:00
Ivan Pekov
ab975588e5
Some patch organisation
Also dropped a patch that I think was kinda unnecessary.
2020-10-22 14:37:58 +03:00
Ivan Pekov
39b0702e92
Optimize advancement loading even more 2020-10-21 18:08:52 +03:00
Ivan Pekov
516720bd24
Some patches 2020-10-19 17:42:19 +03:00
Ivan Pekov
22da8648e3
Ensure Chunk.getEntitySlices is not used in code
Use Chunk.getAsSlices instead to save some cpu time.
getEntitySlices needs to be kept like that to ensure some plugins working properly, otherwise we'd have server owners crying
2020-10-18 19:30:29 +03:00
Ivan Pekov
ab272cc991
Updated Upstream and Sidestream(s) (Tuinity/Origami/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
cff9ec0 Updated Upstream (Paper)
c3d5d24 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.3
5df4a4f Reset the minimum ticket level for delaying unloads (#196)

Origami Changes:
23fe2d3 Remove unnecessary map patch. Fixed in Paper
faef256 Remove unused stream removal change
3f68c85 Update Paper

Purpur Changes:
1720664 Updated Upstream (Tuinity)
6b2b137 Updated Upstream (Paper)
afed247 Updated Upstream (Paper)
a8a4826 Updated Upstream (Paper)
ca4c502 Updated Upstream (Paper)
686ac09 Updated Upstream (Paper)
49dc495 Allow infinite and mending enchantments together
2020-10-18 15:19:38 +03:00
Ivan Pekov
9aa38226e4
Updated Upstream and Sidestream(s) (Tuinity/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
988e550 Updated Upstream (Paper)

Purpur Changes:
ea7a301 Fix lag
424607f Updated Upstream (Paper)
2020-10-13 14:15:28 +03:00
Ivan Pekov
0a2b8932ca
Fix despawn counter ticking 2020-10-12 19:16:14 +03:00
Ivan Pekov
97657983a7
Populate all recipes cache when addRecipe is called by bukkit 2020-10-12 18:56:34 +03:00
Ivan Pekov
98b47c81e9
Updated Upstream and Sidestream(s) (Tuinity/EMC/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
84aecdb Merge https://github.com/Spottedleaf/Tuinity into ver/1.16.3
de1983b Updated Upstream (Paper)

EMC Changes:
1499c3fb Un-Merge PlayerInteractEntity and PlayerInteractAtEntity
17184238 Updated Paper
d0715d42 Updated Paper

Purpur Changes:
32b7926 Fix #77 and credit correct author
42d9e8f Updated Upstream (Paper)
5026a31 Controllable minecarts fall damage option and slow down in air fix
d9c0631 Updated Upstream (Paper)
d40fd41 Fix broken /time command
d652384 Updated Upstream (Paper)
86a0769 Configurable daylight cycle
2020-10-11 20:37:55 +03:00
Mykyta Komarnytskyy
0883fb0aec Improve all recipe fetching
Every recipe (of every recipe type) is now cached in an ArrayList, which will makes accessing all available recipes a ton faster.

This speeds up player joining by ~223843 ns (0.2 ms) since all recipes have already been cached and the stream that would have normally created a Set of all recipes has now been replaced. An ArrayList was chosen for its fast size() method, which makes serialization in PacketPlayOutRecipeUpdate as fast as possible.
2020-10-10 13:55:14 -07:00
Mykyta Komarnytskyy
2e894832ed Remove unstable/unnecessary patches
- Removed async entity tracking, as this is not a good implementation and has caused issues numerous times
- Removed "0037-Load-also-the-chunk-that-you-re-teleporting-to" as it does not fix the core problem
- Removed "0048-Fix-villager-dupe" as it was deemed unnecessary
2020-10-10 13:09:06 -07:00
Ivan Pekov
eb3576178e
Git is driving me nuts 2020-10-09 14:13:24 +03:00
Ivan Pekov
0e517a7994
For some reason this didnt wanna apply
Shrugs internally
2020-10-09 14:03:00 +03:00
Ivan Pekov
d1350246d5
Bandaid NPE from CraftPlayer#registerPlayer 2020-10-09 13:58:15 +03:00
Ivan Pekov
2ad8efe6ae
Make async entity tracking more thread-safe
Fixes GH-247
2020-10-09 06:25:18 +03:00
Ivan Pekov
252bf7e437
Updated Upstream and Sidestream(s) (Tuinity/Origami/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
82e5dfb Updated Upstream (Paper)

Origami Changes:
7e2a3f6 Update Paper

Purpur Changes:
5cc7709 Make mobs avoid stonecutter blocks
129484a Stonecutter damage
8295d22 Updated Upstream (Paper)
d23a158 Infinity bow settings
5c0a270 Make infinite lava number of required sources configurable
ef17322 Update readme
70e2ec0 Cleanup codebase
81ca45c Flying squids! Oh my!
2020-10-08 14:24:41 +03:00
Ivan Pekov
0a19056af0
Drop akarin's stream replacements
Fixes bad performance out of the box for production. 
Apparently there's another issue which is thinkering our minds up, it is that after certain amount of time the gc just can't keep up. We're investigating into this, but until it is fixed - this is gonna be a stable build 

Co-authored-by: Mykyta Komarn <nkomarn@hotmail.com>
2020-10-08 14:04:22 +03:00
Mykyta Komarn
5431509f72 Greatly improve recipe and furnace performance
Remove more fucked up stream conversions. Also use cached recipe in furnaces when possible, and only lookup when absolutely necessary.

On a server with 8.8K furnaces, the average tick rate was ~0.3-1ms higher when furnaces were burning vs idle furnaces, as compared to ~10ms difference in earlier revisions of these patches.
2020-10-06 18:36:00 -07:00
Ivan Pekov
2eaa32ff53
Avoid at least 3 ops when creating aList
Should reduce BehaviorFindPosition load more
2020-10-06 20:04:03 +03:00
Ivan Pekov
407939c26d
Some small fixes here and there
Improved some stream replacements
Fixes GH-243
2020-10-06 18:59:16 +03:00
ishland
c8b5db96a6
Bandaid fix for recursive awaitTasks call 2020-10-06 17:47:23 +03:00
Ivan Pekov
1039afef5d
Advancement optimizations
This drops rainforest's async advancements patch, which was very unsafe, and replaces it with our own optimization patch, which isn't async, but it is enough to lower the pressure upon join.
2020-10-06 17:26:45 +03:00
Mykyta
c8320920b0
Entity tracker optimizations (#232)
* Async entity tracking

This is very basic, and I plan to commit the full entity tracker optimizations in the near future.

* Fix compatibility with Citizens

This also simplifies the patch quite a bit

* Make the patch much more safer

* Current progress

Maybe most of those \"ensureMain\" calls are unnecessary, but it has to be tested.
the only problems now are that entities are teleporting instead of normally moving

* Fix entities "teleporting"

* Fixup some of the diff

* Add some notes

Co-authored-by: Ivan Pekov <ivan@mrivanplays.com>
2020-10-05 22:05:57 -05:00
Mykyta Komarn
2019524096 [CI-SKIP] Change Glue List patch names for licensing 2020-10-05 18:53:27 -07:00
Mykyta Komarn
d62c2f7cca Remove Tic-TACS threading fix from WeightedList patch 2020-10-05 18:24:35 -07:00
Mykyta Komarn
9d72c63586 Remove faulty stream replacements
We had some old, faulty stream replacements in place before, which caused a lot of tick lag compared to just using Mojang's streams in vanilla.

Removing these stream replacements lowered average tick from 12ms w/ 1 player online to 3.5ms with 3 players online.

References and benchmarks:
Performance impact in ms: https://imgur.com/a/yuZs5Il
MSPT comparison: https://imgur.com/a/X4hqZ2P
Old, faulty stream replacement flow: https://imgur.com/a/meSXmaJ
Mojang's vanilla streams flow: https://imgur.com/a/9Yf6yQc
2020-10-05 17:40:09 -07:00
Ivan Pekov
2c55264dba
Ensure pools create daemon threads 2020-10-05 17:53:08 +03:00
Mykyta
93580df5f2
Better appearance to the TPS command
Use Purpur's isLagging() API and combine mspt + nspt into one line.

Pretty sexy.
2020-10-05 13:48:12 +03:00
Ivan Pekov
d12a716ef7
Where did this go?
This is a very important piece of minecraft ticking. How did I miss this? Maybe I need new glasses...
2020-10-04 18:57:55 +03:00
Ivan Pekov
755f429c32
Patch port changes
Dropped some patches from purpur, added 2 patches from purpur.
Readded hopper optimizations from origami.
2020-10-04 18:43:50 +03:00
ishland
82a792e786
Improve task performance (#233)
* Improve task performance

* Yatopia comments

* Remove unnecessary diff

* Rebuild patches

* Fixes

* Polish things up

* Minimize diff and Yatopia comments

* Update PATCHES.md

* Made suggested changes
2020-10-04 10:25:36 -05:00
Ivan Pekov
62a4ea74fd
Your local dumbass did it again 2020-10-04 12:10:31 +03:00
Ivan Pekov
9e9a295053
Updated Upstream and Sidestream(s) (Tuinity/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
d41103d Updated Upstream (Paper)

Purpur Changes:
4984bb7 Updated Upstream (Paper)
a16a79c Updated Upstream (Paper)
bd83a6b Add predicate to recipe's ExactChoice ingredient (missing NMS side)
d469979 Rebuild patches
802a659 Persistent TileEntity Lore & DisplayName
2020-10-04 12:00:34 +03:00
Ivan Pekov
8a67951956
Updated Upstream and Sidestream(s) (Tuinity/EMC/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
1d73f6c Updated Upstream (Paper)

EMC Changes:
81f5e1fa Updated Paper
faf92d5c Updated Paper
7e1e4bad Update patch name to reflect what actually is being changed
019ceb9f Update patch name for fishing hook api
647b2063 Separate out a patch for using getType in the ItemStack isSimilar method
38734f9b Updated Paper
ac260ccd Update to 1.16.3
4977edff Updated Paper

Purpur Changes:
debedee Add predicate to recipe's ExactChoice ingredient
2459033 Rebuild patches
17d8ee8 Add option to disable zombies pathfinding to villagers only when lagging
1e25c2f Fix typo/error in a purpur world setting
da9953a Updated Upstream (Paper)
2020-10-03 10:16:41 +03:00
Ivan Pekov
f33511fdd2
Replace asynchronous json list save with json list save timings
so we see if this patch is necessary first. then we will reimplement it properly, as the current patch
is not race condition safe.
2020-10-02 17:54:16 +03:00
Ivan Pekov
d065d41c0e
Drop this unsafe shit
Apparently caused issues we werent aware of.
Unfortunately there's no way to improve it without blocking the main thread.
2020-10-02 17:00:13 +03:00