Commit Graph

727 Commits

Author SHA1 Message Date
William Blake Galbreath
07c44e35f2 Update Tuinity patches 2020-06-22 07:02:24 -05:00
William Blake Galbreath
8e14950b49 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
e9c332dd Fix NPE on TileEntitySkull (#3598)
2020-06-22 03:44:28 -05:00
William Blake Galbreath
9db91d62a9 Drop Tident#getItemStack() patch in favor of Paper's new Arrow#getItemStack() patch 2020-06-20 21:06:37 -05:00
William Blake Galbreath
a8451af349 Detect looking around as not AFK 2020-06-20 20:45:45 -05:00
William Blake Galbreath
cebe78c1b6 Allow right click sign editor to be detected 2020-06-20 20:43:44 -05:00
William Blake Galbreath
ed7b2022b7 Bringing back Tuinity! \o/ 2020-06-20 20:40:30 -05:00
William Blake Galbreath
f4816e7ec6 Fix reloading paper.yml 2020-06-19 21:37:08 -05:00
William Blake Galbreath
8d2860c58f Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
9ffaa44a Also restrict height in the vanilla teleport command
f8609691 Add unsupported-settings section to config (piston tnt dupe config option) (#3565)
d7bb893c Document fixup commit way of modifing patches (#3423)
2020-06-19 00:04:28 -05:00
William Blake Galbreath
fdf64880d1 Add PrepareGrindstoneEvent 2020-06-18 23:31:20 -05:00
William Blake Galbreath
5c7ae7738c Fix up secret anvil controls a bit more 2020-06-15 01:47:41 -05:00
William Blake Galbreath
dd192ddd62 Piston pushable TileEntities 2020-06-14 17:20:35 -05:00
William Blake Galbreath
b8959e4416 Update leaf's exploit fixes 2020-06-14 16:34:43 -05:00
William Blake Galbreath
84d5283bab Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
83e832b4 [CI-SKIP] Rebuild patches
2020-06-14 16:15:29 -05:00
William Blake Galbreath
10ce2aff05 More leaf dupe fixes \o/ 2020-06-12 16:19:44 -05:00
William Blake Galbreath
60f6ea89f0 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
91459fe5 Fix piston physics inconsistency (fix tnt dupers) (#3544)
8c41ac1c Fix missing chunks due to integer overflow (#3527)
2020-06-12 03:21:18 -05:00
William Blake Galbreath
4e18e5d1e0 Use CraftChatMessage instead of Mojang's stuff 2020-06-12 03:20:25 -05:00
William Blake Galbreath
dc980f0950 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
cffe4c07 Scheduling an async task timer creates a non-repeating task (#3543)
e224f0bd Fix issues with SIGTERM not shutting down gracefully - Fixes #3062
c7112d06 Ensure chunk gen tasks return to main thread before completing futures
2020-06-11 21:15:42 -05:00
William Blake Galbreath
904c72028c PaperPR - Fix piston physics inconsistency 2020-06-11 21:13:36 -05:00
William Blake Galbreath
e77a7b5b01 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
a72d4bb2 Improve chunk loading speed and prioritization further - Fixes #3530
2020-06-10 11:21:20 -05:00
William Blake Galbreath
bbcde382a2 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
64666dc8 Improve Chunk Priority, Frustum Priority and Load Speed Algorithms
146b9908 Improve ChunkMapDistance.b crash fix to clean up properly
2c4499b7 Show Plugins Event Listeners under Combined Total in Timings
c5c909c9 Improve Plugin Ticket Management
b20529f3 Update to HTTPS in README (#3460)
de6dfedf Make Anti-Xray multithreaded (#3520)
531c4b3f Add PluginTickets to API Chunk Methods
b2d81e21 Improve Chunk Prioritization and Internal Scheduler
24a2e804 Improve Login to use Urgent priority - improves login chunk load times
2020-06-10 00:29:38 -05:00
William Blake Galbreath
2fbbafa299 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
9dfe1321 Delay Chunk Unloads based on Player Movement
f0409edc Drop Close region files patch, doesn't add any value.
700070c5 Fix undesirable behavior around world level changes due to priority
2020-06-08 20:04:51 -05:00
William Blake Galbreath
1564cefa74 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
34e5942b Fix timings task name generation for extreme cases - Fixes #3499
5e3bacbc Ensure ThreadDeath propagates fully - Fixes #3521
9fa6ba26 Optimize Light Engine
dfd3848e Use seed based lookup for Treasure Maps - Fixes lag from carto/sunken maps
74dcb3c9 Revert "Fix enchantment costs (#3519)"
6d72ea16 Fix enchantment costs (#3519)
68cc8d79 Maps shouldn't load chunks (#3518)
e7cf34a0 Fix villager trading demand MC-163962 (#3498)
51f9edf2 Change name and id to get from profile in AsyncPlayerPreLoginEvent (#3511)
2020-06-08 15:49:24 -05:00
William Blake Galbreath
eb7806de67 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
225484cc Fix SoundEffectType#getHitSound OBFHELPER
2020-06-07 13:17:16 -05:00
William Blake Galbreath
484b3abdc3 Do not strip colors from death messages 2020-06-07 13:16:21 -05:00
William Blake Galbreath
7f88f09dd4 Default purpur permissions to false 2020-06-06 00:13:52 -05:00
William Blake Galbreath
4d7b74e2d3 Hide sensitive server.properties data in timings reports 2020-06-05 21:43:41 -05:00
William Blake Galbreath
c0c212bf48 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
b75eeca0 Boost light task priority to ensure it doesnt hold up chunk loads
3d2bc848 Ensure VillagerTrades doesn't load async - fixes #3495
e470f1ef Add more information to Timing Reports
f4a47db6 Improve Thread Pool usage to allow single threads for single cpu servers
a4fe910f Fix sounds when using worldedit regen command
70ad51a8 Updated Upstream (Bukkit/CraftBukkit)
d7cfa4fa Improve legacy format serialization more
2020-06-05 21:42:48 -05:00
William Blake Galbreath
c2c6a6efd9 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
d6eda567 Provide a useful PluginClassLoader#toString
a3fdafbd Restore Serialization Improvements again, wasn't an issue.
0e441c79 Revert "Improve Chat Component Legacy Serialization more"
53ef67b8 Improve Chat Component Legacy Serialization more
afc1fcfc Fix serialization of colors from components
eaa76a31 Add Villager Tasks to EAR inactive tick to keep behavior
357b52fd Improve Chunk Prioritization / Load Order
a76bc402 Improve Chunk Status Transition Speed
7a2b345b Synchronize DataPaletteBlock instead of ReentrantLock
2020-05-31 18:20:17 -05:00
William Blake Galbreath
a032d548bf Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
a8ef0a93 Drop remove leaked chunk patch - causing many issues
ff4ca31f Fix premature unloading of neighbor chunks for world gen
fde81356 Fix Chunks unloading immediately for priority access - Fixes #3461
9980f427 Fix some logic on villager poi max attempts
919ab67a Fix concurrency issue in light engine (Vanilla bug)
0d5ec653 Cleanup async chunks (#3456)
c3c005c9 Updated Upstream (Bukkit/CraftBukkit) (Fixes #3443)
2020-05-29 17:42:32 -05:00
William Blake Galbreath
a2b3b33061 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
b0b54e4e Optimize Villager Pathfinding - Massive Villager Improvement
33a2134b Workaround for really evil plugins breaking sounds
b88ee11f Don't unregister the primary dimensions on world unload
21f9efa2 Improve implementation of chunk leak clean to not run as often
7ee71146 Add missing null check for structure start chunk access
b12177fb One more to seal the deal to improve unloading inactive chunks
78ee3b4e Restore a condition I accidently removed in last build
88a68829 Fix unloading inaccessible chunks too fast regressing gen speed
210a32f2 Unload leaked Cached Chunks
c9795e92 Fix Spigot bug with chunk unloading
2020-05-27 09:24:51 -05:00
William Blake Galbreath
16eea718fa Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
b6cf80ee Preload important classes such as Logger and JLine
ea1a909c Fix netty version to 50 and restore epoll native support
10502558 Workaround for some hacky environments that mess up things
8b2a437b Fix plugins calling getChunkAtAsync asynchronously
c8055836 Update Netty to 4.1.51
64cfcf3e Optimize sending packets to nearby locations (sounds/effects)
2020-05-24 18:26:13 -05:00
William Blake Galbreath
3e808f90ec Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
cf82dad3 Fix Non Full Status Chunk NBT Memory Leak
5a12515a Update Log4J Configuration file to stop truncating stack traces
7c001d64 More Improvements to Chunks
e1c45196 Fix high memory use of non ticking chunks
ee9f0d51 Fix another case of breaking blocks causing sync chunk loads
6009ba8f Drop AABB limit patch until it can be tested more
0e9c24e5 Fix log spam about Hanging entities bounding boxes
83fadad7 Fix conversion for deserializing raw nbt itemstacks - Fixes #3424
4d38ee11 Many fixes and improvements to chunk prioritization
281181c7 Use saner Entity bounding box limits
edd6b6a2 Protect the visible chunk map from plugins touching it, trim Timing Errors
18c68657 Optimize performance of object pool
7e1525ea Many improvements to chunk prioritization and bug fixes
c82b292a Fix pooled buffer leak resulting in dynmap black spots - Fixes #3386
63274472 Fix ./paper edit continue for Windows
eb5a3058 Fix path in CONTRIBUTING.md (#3406)
f6ed326d Fix a small error in CONTRIBUTING.md (#3403)
614a664b Implement Chunk Priority / Urgency System for Chunks
2020-05-23 10:21:51 -05:00
William Blake Galbreath
860c86191a Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
c8028d1c Fix data version check for ItemStack serialization (#3394)
9254a80a Fix race condition reintroduced in Prioritize class loader patch
6f196fe7 Add Raw Byte ItemStack Serialization
df43f828 Allow server startup for those poor people running <1G Xmx
3c9b65ef Fix cases where no-tick < tick view distance
72f89a07 Workaround for Client Lag Spikes (MC-162253)
3f941c0c Add option for console having all permissions
d2ae4658 Add permission for command blocks
9f8ae5cb Prioritise own classes where possible
74466412 Check portal restrictions when entering end gateways
fc9cf84d Fix NPE when temp ip bans expire (#3373)
16bd420d Add missing mob goals for API (#3367)
b5c4e2f6 Ensure no-tick view is not smaller than ticking VD
52564b1f Expand Pathfinding API with more options
dde65481 Fix usage of vanilla goals
7797aebe Drop Leads from nether portals - Fixes #3226
511b6bc2 Reduce MutableInt and Vec3d allocations, use ArrayDeque
84673141 Optimize NibbleArray to use pooled buffers
897dd2c8 Foundational work for Future Memory usage improvements
bb4002d8 Handle CraftPlayer#setSpectatorTarget better
4ae08959 Fix collision checks on spawning hanging entities and null on async chunk loads
c2f8d1ef Protect Bedrock and End Portal/Frames from being destroyed
827cc632 Updated Upstream (Bukkit/CraftBukkit/Spigot)
92f680ed Fix Pathfinding and obscure glitchy buggy 0 tick farms
7a7c4292 Optimize Pathfinder - Remove Streams / Optimized collections
fc917d16 Optimize Hoppers - Major performance improvement
14ad77c6 Fix PotionEffect API Ignoring Icon bug
eb3ce8a2 Fix EntityRaider picking up items when they shouldn't be able
1ea9ada0 Add a TELEPORT ticket when changing dimensions
8e9459ea Fix missing flag pass for isUrgent
7befec44 Potential bed api (#3339)
27945a6b Optimize WorldBorder collision checks and air
55e17a85 Wait for Async Tasks during shutdown
b5905256 Ensure Entity AABB's are never invalid
a054aa6f Properly remove Entities from current chunk
c894ddfd Fix teleporting onto a chunk line
57d6cc01 Send LOGIN protocol packets immediately - Fix disconnect during async prelogin
cd93e54d Don't use our modified chunk checks for collision in world gen
b4003ef1 Allow loading entities current chunk if needed to fix collision checks
e5f64896 Add Urgent API for Async Chunks API and use it for Async Teleport
ad8e59dc Ensure chunks loaded on respawn for suffocation check
2020-05-18 15:22:23 -05:00
William Blake Galbreath
9c87f5730d Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
b1691e7b Remove some Streams usage in Entity Collision
d454bbd5 Implement JellySquid's Entity Collision optimisations patch
8e85f841 Optimize Collision to not load chunks
ceb824db Fix ChunkCache .getXIfLoaded to use the local chunks in the cache
2020-05-09 19:58:46 -05:00
William Blake Galbreath
833bd1cc47 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
f6f9157b Don't toString block unless actually showing the message
b3f0527a Add Spawn Entity SpawnReason API
ec8d7387 MC-183249: Don't generate Carving Masks BitSet unless needed
2d401d2d Improve BlockPosition hashCode/equals
2572bd01 Fix world unload toLowercase - Fixes #3326
dda9680b Optimize brigadier child sorting performance
a71a4ec2 Fix CraftServer.unloadWorld Leak
2020-05-09 13:18:38 -05:00
William Blake Galbreath
3ce3644645 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
f6fc0d4c Don't create region files for chunk checks - mistake on upstream merge
cfed00cf Fix Light Command
2020-05-08 19:00:51 -05:00
William Blake Galbreath
42da3577bb Remove anonymous classes for horse/llama pathfinders 2020-05-07 10:12:27 -05:00
William Blake Galbreath
35ab7bfb69 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
a6ff84ad Revert Nibble patch, causing issues still
f1a8eb7f Use a finalizer for light packet instead of onPacketDone
03c9bb05 Optimize NibbleArray to use pooled buffers
d0a528b1 Move delayed init down later in tick, improve accuracy of startup time
2020-05-07 10:10:42 -05:00
Hugo Planque
a03667bdd0 Merge #26 Move some Goal from Server to Api
We move the Find Crystal and the Orbit Crystal from Purpur-Server to Purpur-API for the those who use the Mob Goal API and this can be useful to give this goal to mob
2020-05-07 09:53:52 -05:00
William Blake Galbreath
e7b1eb157b Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
cc477e6a Force Plugins that use delayed tasks for init back in their place
597263fd Don't skip full player connection tick when dead
e2c23475 Revert loaded entity list (#3304)
fa87db6b Move another NetworkManager util into the inner class (#3303)
841c7d18 Make loaded entity list logic more consistent (#3301)
36f34f01 Updated Upstream (Bukkit/CraftBukkit)
5ca5f131 Rebuild all patches using the new rebuild pattern
1ccff6fa Add villager reputation API
5c0bfffa Speed up rebuilding patches and reduce diff
f37381ea Optimize Network Manager to not need synchronization
8f9df2ed Anti Xray cleanup
878c66f1 No-Tick view distance implementation - Closes #3196
b87743c1 Stop copy-on-write operations for updating light data
97a9c972 Optimize isOutsideRange to use distance maps
b4e629a2 Use distance map to optimise entity tracker / Misc Utils
d80d1517 Optimize Entity Ticking to Loaded Chunks only
31d7686d Add item slot helper methods for various inventories (#3221)
75e1e3b3 Mob Goal API
c7bc393a Revert "Don't flush packet queue off main thread"
1abd2bd2 Don't flush packet queue off main thread
a4ed58a9 Clean up Direct Memory Region Files Fix for different Java versions
55e35019 Set cap on JDK per-thread native byte buffer cache
b5101f4f Cleanup Region Files Direct Memory on close
81e655d7 Optimize Voxel Shape Merging
ed9fc11f Sync position on teleportation
9c326fce Nanothing to see here
3e9fc24b Attempt to fix FastLogin maybe
2020-05-06 20:18:39 -05:00
William Blake Galbreath
d064334c71 Add option to disable ignored advancement warnings 2020-05-02 21:18:43 -05:00
William Blake Galbreath
b78a36de5e Rebuild patches 2020-05-02 21:03:13 -05:00
William Blake Galbreath
4d42781bdd Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
932e97f3 Rename to AsyncPlayerSendSuggestionsEvent to be consistent in naming
0dd19075 AsyncSendPlayerSuggestionsEvent Brigadier Event
a9e20e5f Fix being kicked in survival for block picking - Fixes #3277
4d20537e Expose game version (#3274)
85fb0015 Validate PickItem Packet and kick for invalid - Fixes #3256
5729bc71 Special case Keep Alive packets from Anti Xray
a76b7740 Improved oversized chunk data packet handling
a6f78170 Use Vanilla Bed Search for non players (Villagers)
68fb98b5 Fix 2 plugin specific issues with loot drop and pathfinders
6e41f7b7 Update Activation Range 2.0 with more villager controls
57dd3971 Updated Upstream (Bukkit/CraftBukkit)
2020-05-02 21:01:38 -05:00
William Blake Galbreath
be3ee18320 Player invulnerabilities 2020-05-02 21:00:49 -05:00
William Blake Galbreath
f94d5bfe59 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
a6a197b1 Bump API ASM version to follow server
5ab48ad9 Fix commodore (#3264)
87e7ee7e Improve Async Login to avoid firing in middle of Entity Ticking
2020-05-01 14:35:02 -05:00
William Blake Galbreath
2e50cb0eed Rebuild patches 2020-04-28 20:17:35 -05:00
William Blake Galbreath
a2db5eebbe Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
8ce3dd5f [CI-SKIP] Fix Mojang API Brigadier dep - THIS IS NOT A NEW BUILD
00d760a5 Fix build due to spigot changing the build timestamp process
842e040c Updated Upstream (Bukkit/CraftBukkit/Spigot)
c03260a2 Add getter and setter for villager's numberOfRestocksToday (#3231)
fe366fbe null check tracker for entity metadata update - Fixes #3070
fdf41b74 Implement Brigadier Mojang API
e0ea2e0e Entity Activation Range 2.0! Major improvements to restoring behavior
10396d28 Fix Tracking Range mismatch on Vehicle/Passenger checks
2020-04-28 20:14:57 -05:00
William Blake Galbreath
c0e748c0c1 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
68994c64 Add a config to turn off Optimized TickList #3145
d847d336 Improve blocking players from opening inventories while sleeping
ac4f6b50 Clean up Timings and Async Chunk Configs
fcf89e85 Improve mid tick chunk loading, Fix Oversleep, other improvements
ab36835c Improve random ticking behaviour - Fixes #3181
2020-04-26 16:29:21 -05:00
William Blake Galbreath
660afe73df Add enderman and creeper griefing controls 2020-04-26 16:28:48 -05:00
William Blake Galbreath
8ec7d99ec0 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
a6ac47e5 Fix numerous item duplication issues and teleport issues
b7402f11 Add phantom creative and insomniac controls (#3222)
75819fac Fix Potion#toItemStack swapping the extended and upgraded constructor values (#3216)
2020-04-25 15:48:09 -05:00