aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-10-29Fix resource pack api (Fixes #1634)downloadsShane Freeder
2018-10-28Log system info and remove paperclip java 9 warnZach Brown
Removes the paperclip Java 9+ warning and replaces it with general JVM and Host OS information that will be more useful in finding issues for end users and ourselves. Also removes the "for development only" 1.13 warning that everyone has been ignoring completely anyway.
2018-10-28Update upstream B/CB/SZach Brown
2018-10-28Process chunks blocking main urgently (#1627)Shane Freeder
A chunk load on the main thread will be added to the high priority queue, however, due to existing work on this queue, there was no guarantee that the load would occur within a reasonable amount of time, potentially causing a server to crash while waiting for a chunk in the queue In order to counteract this, a new urgent priority has been added, allowing us to prioritize these tasks over standard chunk gen/loading (#1625 #1615 #1575 #1558 (and probably more))
2018-10-27Update upstream B/CB/SZach Brown
2018-10-26[CI-SKIP] Stop trying to standardize commit hashesZach Brown
This appears to be creating more problems than its actually solving. Oh and put my echo back in here just because I want it there.
2018-10-26[Auto] Updated Upstream (Bukkit/CraftBukkit)Aikar
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: e6583aca SPIGOT-4443: Scoreboard RenderType API CraftBukkit Changes: a835b035 SPIGOT-4443: Scoreboard RenderType API
2018-10-25give EAR immunity to piston pushed entitiesAikar
helps keep vanilla behavior with piston elevators
2018-10-25fix "avoid hopper searches" and make it use an obfhelperShane Freeder
2018-10-25Revert field order changes in AxisAlignedBBShane Freeder
2018-10-25Fix javadoc issuesShane Freeder
2018-10-25[Auto] Updated Upstream (Bukkit)Aikar
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 162807b3 Remove some draft API designations
2018-10-25[Auto] Updated Upstream (Bukkit)Aikar
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: bc9c12c0 SPIGOT-4439: Allow minecraft:brand channel for use by plugins.
2018-10-24[CI-SKIP] Have travis ensure openjdk11 builds runZach Brown
2018-10-24Use EntityTypes for living entities (#1533)BillyGalbreath
2018-10-24[CI-SKIP] Don't run animal sniffer by defaultShane Freeder
Changes upstream moved this to a profile a while back, however, when updating (for some unknown reason) I kept it enabled by default, however, leaving this enabled breaks building the server in newer versions of java, which while this wasn't a concern before, is now an issue for users.
2018-10-24\u0020Zach Brown
2018-10-24Add version to watchdog early warning systemZach Brown
BECAUSE VERSIONING INFO
2018-10-24Always write dimension NBT, even if we ignore itZach Brown
DataPacks can use the dimension field for various things, so we should still write this field to NBT, even if we ignore reading it ourselves.
2018-10-24Try and make zsh complain lessZach Brown
My turn to make "this cant possibly break" changes to the scripts.
2018-10-24[CI-SKIP] Fix "grep: repetition-operator operand invalid" (#1612)Mark Vainomaa
Some flavours of grep don't like '?' in their expressions (also `.*?` means "match zero or more times or maybe do not match at all" as far as I know).
2018-10-24Fix unloaded chunks movement settingAikar
2018-10-24[CI-SKIP] use cross platform strategy for sed -iAikar
BSD sed can DIAF.
2018-10-24[CI-SKIP] make rebuildPatches support BSD sedAikar
because the world can't be a nice place where all seds are equal
2018-10-23Improve default thread counts for DataFix BootStrapAikar
Spigot capped it to 2 threads. This bumps it back up to do maxcores -2 with a max cap of 6. A typical 4C8T system can use 6 threads and be done in 6 seconds. Server owners can use system property to override, but this improves the default.
2018-10-23Use Last Access Cache for isLoaded callsAikar
this should provide a pretty good across-the-board performance improvement for the entire server, as it's very common for code to check if (isLoaded(x, z)) { then do something on that chunk } Previously, containsKey would not read or set the last access cache By making it do get() != null, we gain the benefits of last access and also improves thread safey for async isLoaded checks This exact usage scenario is used in Entity movement, so that alone saves us up to 5%~ of CPU time for Entity movement.
2018-10-23Don't sleep after profile lookups if not neededAikar
Mojang was sleeping even if we had no more requests to go after the current one finished, resulting in 100ms lost per profile lookup
2018-10-23Fix "prevent players from moving into unloaded chunks"Aikar
it used public method instead of private, and moved to world config also improved the implementation to not use obfuscated stuff Also removed the Fix Double chest conversion patch since its fixed in other ways in vanilla
2018-10-23Strip private area unicode characters from signsZach Brown
It is not immediately clear how these characters ended up on signs in previous versions. It is clear, however, that they now render as empty unicode boxes in 1.13, whereas previously they rendered as invisible characters. When these signs are loaded in versions after this commit, these characters from the private use area of the Unicode block will be stripped. The sign will then be marked to ensure this conversion only runs once. There is a flag -DPaper.keepInvalidUnicode=true that can be used if you do not want us to strip these characters from your signs, though I can think of no reason to use it. Fixes GH-1571
2018-10-23[Auto] Updated Upstream (CraftBukkit)Aikar
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing CraftBukkit Changes: 3359cb19 MC-137353: Don't go crazy on amount of bootstrap threads needed
2018-10-23Update for Minecraft 1.13.2Shane Freeder
2018-10-22Reset players remainingAir on respawn (#1598)GreenMeanie
As mentioned in #1597, your air level did not reset if you drown. Now you get a full breath during respawn.
2018-10-22Add option to prevent players from moving into unloaded chunks (#1608)Gabriele C
Resolves #1551
2018-10-22[Auto] Updated Upstream (CraftBukkit)Aikar
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing CraftBukkit Changes: a639ae44 Remove outdated build delay.
2018-10-21Remove debug textAikar
resolves #1606
2018-10-21Fix #1604 (#1605)BillyGalbreath
2018-10-21[CI-SKIP] [Auto] Rebuild PatchesAikar
A recent commit has been made that caused patches to be out of order, rebuilding
2018-10-21Fix NPE when setting a player's spectator target (#1596)Caleb Bassham
Fix NPE when setting a player's spectator target
2018-10-20Don't modify item tag if interaction is canceled (#1589)Brokkonaut
The item tag is stored before executing the interaction and restored before handling the resulting events. If the event was not canceled and the ItemStack is not modified in the event, the new tag is set back to the new one afterwards. This is similar to the handling of the item amount. This fixes a bug where tools lose durability when the interaction is canceled and another bug where tools become completely repaired when they should break but the interaction was canceled.
2018-10-19Merge pull request #1588 from BillyGalbreath/MC93764kashike
Fix MC-93764
2018-10-19Fix MC-93764BillyGalbreath
2018-10-19[Auto] Updated Upstream (CraftBukkit)Aikar
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing CraftBukkit Changes: db10914a Improve minecart spawners
2018-10-18Add more Witch API (#1564)BillyGalbreath
2018-10-18Remove MOST Synchronization from Chunk MapAikar
This will provide quite a major performance boost by avoiding synchronizing on EVERY chunk lookup. Synchronize, even without contention, incurs processor cache flushes. Considering this is the 2nd hottest method in the code base, lets avoid doing that... Additionally, chunk conversion operations were occuring while under synchronization which lead to deadlocks. Now the conversion will occur outside of the lock, and fix that issue, resolving #1586 Note, that the chunk map is still thread safe for get operations! The chunk map was never intended to be modified async with our changes, as we post to main to modify the map, however we do still synchronize for write operations (put, remove) We also synchronize for async get operations, ensuring that async gets are safe. We do not need to synchronize main thread gets as the processor cache will be insync since the map is only updated on the main thread. However, if someone does try to delete or put concurrently, we will force their operation back to the main thread.
2018-10-18Remove useless hashes from patchesAikar
This avoids annoying conflicts as well as gets rid of diff noise from clients preferring different hash lengths
2018-10-18Add Velocity IP forwarding support (#1557)Andrew Steinborn
While Velocity supports BungeeCord-style IP forwarding, it is not secure. Users have a lot of problems setting up firewalls or setting up plugins like IPWhitelist. Further, the BungeeCord IP forwarding protocol still retains essentially its original form, when there is brand new support for custom login plugin messages in 1.13. Velocity's modern IP forwarding uses an HMAC-SHA256 code to ensure authenticity of messages, is packed into a binary format that is smaller than BungeeCord's forwarding, and is integrated into the Minecraft login process by using the 1.13 login plugin message packet.
2018-10-18Add events for player changing spectator target (#1498)Caleb Bassham
* Add events for player changing spectator target - Add PlayerStartSpectatingEntityEvent - Add PlayerStopSpectatingEntityEvent
2018-10-17[CI-SKIP] [Auto] Rebuild PatchesAikar
A recent commit has been made that caused patches to be out of order, rebuilding
2018-10-17Fire EntityCombustEvent for phantoms (#1573)Brokkonaut
2018-10-17Ensure chunk neighbor counts do not get desyncedAikar
Mojang was not checking that the chunk did not overwrite, or was successfully removed. We're seeing odd reports in #1561 that indicates issues around this are having problems.