Commit Graph
100 Commits
Author SHA1 Message Date
Zach Brown 7c577df97d Update upstream B/CB 2018-03-04 18:32:38 -05:00
Zach Brown 3d54d86de2 Merge pull request #1016 from ShelLuser/master
Allowing Paper to be build on FreeBSD
2018-02-22 10:47:58 -05:00
Zach Brown d793872ffd Update parent pom
Switch repos to use HTTPS (@demonwav)
Add destroystokyo public
Add note that screwing with this file sucks
Remove outdated parent
2018-02-18 19:37:12 -05:00
Zach Brown 963ddeb6ed Properly flag profile events as async as needed 2018-02-01 23:24:27 -05:00
Zach Brown 5ea311d92f Fix ArmorStand Item serialization
Broken in 690c955207
2018-02-01 22:24:37 -05:00
Zach Brown 690c955207 Add ArmorStand Item Meta
This is adds basic item meta for armor stands. It does not add all
possible metadata however.

There are armor, hand, and equipment types, as well as position data
that can also be added here. This initial implementation should serve as
a starting point for future additions in this area.

Fixes GH-559
2018-01-27 20:40:42 -05:00
Zach Brown 07af79adb4 Make push based hoppers imitate vanilla bounds
This is vanilla behavior https://i.imgur.com/zMIpRcQ.png
So we have to allow that sort of thing.

Fixes GH-993
2018-01-26 21:28:34 -05:00
Zach Brown bf11c1fabb Add file import and patch notes to CONTRIBUTING.md
Also does some minor cleanup for broken formatting
2018-01-24 22:47:00 -05:00
Zach Brown 4303c3b48d Re-add config option for max squid spawn height
Apparently not only do people actually use it, but upstream missed it.
2018-01-11 16:50:27 -06:00
Zach Brown c93e1ee068 Update upstream B/CB/S 2018-01-10 23:31:19 -06:00
Zach Brown 5513c9377d Update upstream B/CB 2018-01-08 15:22:44 -06:00
Zach Brown cea113cb77 Update README badge for CI URL change 2018-01-06 02:08:23 -06:00
Zach Brown a088a9fa51 Update patches that slipped through last 2018-01-05 01:30:03 -06:00
Zach Brown 03ce426ddf Update upstream CB/S 2018-01-05 00:46:00 -06:00
Zach Brown ef505a9a32 Update upstream B/CB/S 2018-01-04 02:04:31 -06:00
Zach Brown fa8db475d6 Update upstream B/CB/S 2017-12-27 22:45:33 -06:00
Zach Brown 9ba62bc998 Restructure lighting queue runnable handling
Instead of overriding add within the queue, never add runnables to the
queue if the light queue is disabled.

This change is made to make timings reports and stacktraces less
confusing for administrators, who prior to this change, would have seen
the lighting queue referenced in both, regardless of whether or not it
was enabled.

This change should not affect performance, nor is it made with the
intent to.
2017-12-22 15:25:01 -06:00
Zach Brown efc08694d8 Update upstream CB 2017-12-12 21:34:50 -05:00
Zach Brown 4966489929 Fix view distance API handling on negative values
Prior to this change, if a player was ever set to have a negative view
distance, an attempt to set them back to the default would fail, leading
to them appearing to be stuck in that state.

Now we just interpret that negative value as a "reset" to default.
2017-11-18 21:45:22 -05:00
Zach Brown 0c011b87c5 Merge pull request #935 from avatarmc/prevent-disconnected-logins
Prevent logins from being processed when the player has disconnected
2017-11-15 22:36:56 -05:00
Zach Brown dfab59dfc7 Fix logic for unconditional xp orb merging
Fixes GH-936
2017-11-13 20:30:45 -05:00
Zach Brown 9650c9dddc Add Obfuscation helper for armor change impl
Also alphabetize the importmcdev script... heathens, all of you
2017-11-11 00:07:45 -05:00
Zach Brown f141bae102 Update B/CB/S 2017-11-10 17:31:39 -05:00
Zach Brown 7cbc4cd377 Merge pull request #918 from Zbob750/port/entity-list-command
Add command for listing entities in a world
2017-10-15 19:07:03 -04:00
Zach Brown 689fdea2c7 Add command for listing entities in a world
Port of https://github.com/MinecraftForge/MinecraftForge/commit/303a775fc34f104b2374c750ef0672f0495c995e

Will display a list of all entities in a world, as well as which chunks
they are in. Hopefully, this will make tracking down chunks with lots of
entities easier.

Only real change from the forge version is that instead of dimension
IDs, we accept world names in the form of a string.

/paper entity list - Lists all entities in the player's current world
/paper entity list minecraft:zombie - Lists all zombies in the player's
current world

/paper entity list * world_nether - Lists all entities in the nether
/paper entity list minecraft:ghast world_nether - Lists all ghasts in
the nether
2017-10-15 17:43:16 -04:00
Zach Brown 91e639e718 Update documentation around PlayerJumpEvent 2017-09-29 14:58:24 -04:00
Zach Brown 563ee0f840 Fix build 2017-09-28 18:54:38 -04:00
Zach Brown 6e9bfd7ac6 Patch files need headers, weird isn't it 2017-09-28 18:43:36 -04:00
Zach Brown 12bf7a15ad Add PlayerJumpEvent 2017-09-28 17:38:17 -04:00
Zach Brown 4187be885c Update upstream CB 2017-09-28 12:49:41 -04:00
Zach Brown 8bb5dda0f2 Update paperclip 2017-09-24 14:38:20 -04:00
Zach Brown 7be477c2cc Update upstream CB
Fixes GH-887
2017-09-18 22:01:43 -04:00
Zach Brown 0a9f8c2d56 Update B 2017-09-18 12:03:48 -04:00
Zach Brown fe190b78a1 Fix race condition with chunks, dead tile entities
Fixes PaperMC/Paper#883 same issue as MinecraftForge/MinecraftForge#4386

A more detailed anaylsis of what is probably going on, courtesy of
@bs2609 and the MCForge Issue Tracker is:

When a chunk is unloaded, the entities and tile entities it contains are
marked for removal. The actual removal (from the world) occurs later,
when the world ticks its entities.
Conversely, when a chunk is loaded, it generally adds its entities to
the world promptly, without queuing.

Here's the normal sequence of events:

Chunk unloaded
Old entities removed
Chunk loaded
New entities added

However, what can happen:

Chunk unloaded
Chunk loaded
New entities added
Old entities removed

This occurs when an unloaded chunk is reloaded before its corresponding
entities have been removed.
2017-09-11 22:21:57 -04:00
Zach Brown 4424c3dec9 Rebuild patches 2017-09-06 22:59:08 -04:00
Zach Brown c3cdafc48d Merge pull request #861 from CDAGaming/master
Update CB and BD
2017-08-23 11:16:32 -04:00
Zach Brown 7a4c06e567 Update paperclip script for folder move 2017-08-13 15:44:27 -05:00
Zach Brown 67f96885aa Move mc decompile source to its own folder
Makes caching easier, ever so slightly more organized.
2017-08-12 18:56:59 -05:00
Zach Brown 41622f3491 Hi my name is Travis-CI and I'm high maintenance 2017-08-12 18:28:14 -05:00
Zach Brown 7a01df109a Merge pull request #853 from Brokkonaut/dragon-egg-falling
I forgot the // Paper comment
2017-08-11 21:39:54 -05:00
Zach Brown 73f04c4828 Don't let Player#getLocale return null
Thanks for reporting @MatrixTunnel
2017-08-11 18:16:00 -05:00
Zach Brown e70452db81 Remove null values in TileEntity tick list
Because who wouldn't want to tick a null tile entity right?
Fixes GH-851
2017-08-11 17:59:44 -05:00
Zach Brown e0d4db2507 Skip paperclip step on Travis-CI 2017-08-10 21:14:10 -05:00
Zach Brown d5815ee8a4 Start using Travis-CI again
The only way to get Paper to build, specifically past the jar remap
step, is to use a macOS host. Don't ask me why, I'm just the messenger.
2017-08-10 20:26:00 -05:00
Zach Brown b8cda19a77 Fix MC-117075: TE Unload Lag Spike
PaperMC port of https://github.com/MinecraftForge/MinecraftForge/pull/4281
2017-08-09 18:11:57 -05:00
Zach Brown 96655d6f35 Merge pull request #840 from electronicboy/master
fix construction order in CraftBanner
2017-08-06 10:42:52 -05:00
Zach Brown 04e2290f72 Update upstream CB 2017-08-04 22:10:30 -05:00
Zach Brown 60d5c10c1c There is no reason to continue if we DC a player during shutdown
Thanks Ice
2017-07-27 21:38:25 -05:00
Zach Brown 160d1ee3f1 JDK-8176055: Fix heap dumps on Java 8u141+
In Java 8u141 (1.8.0_141-b15) and newer, the
com.sun.management.HotSpotDiagnostic::dumpHeap API has changed and now
requires all heap dumps to end with the .hprof file extension.

Before this change, servers running 8u141 would be unable to perform a
heap dump.

For more information, please see the official release notes of Java 8
Update 141, linked below.
http://www.oracle.com/technetwork/java/javase/8u141-relnotes-3720385.html
2017-07-26 20:28:56 -05:00
Zach Brown b7336e0204 Update upstream CB 2017-07-24 06:47:43 -05:00
Zach Brown 9115bf4ca0 Update upstream CB 2017-07-22 20:16:06 -05:00
Zach Brown 77ccedf8fa Merge pull request #793 from electronicboy/master 2017-07-19 18:23:18 -05:00
Zach Brown 8bc0a37de6 Port Sponge's heap dump command feature to Paper
To dump the server heap, run the following command:
`/paper heap`

This is added with the intent that it is useful for administrators and
developers to more easily identify and resolve memory leaks. Both by examining
these dumps themselves and by more easily allowing them to send them to
knowledgable parties.

This is a nearly line-for-line port of the same Sponge feature. So all
credit for the idea and implementation belongs to the that team.

Specifically the following commits:
https://github.com/SpongePowered/SpongeForge/commit/be08be04b06b413686c7f6c574bf89e918e1d6d3
https://github.com/SpongePowered/SpongeCommon/commit/5e10a1b7959b9c66f79fdf1a968adae536d63928
2017-07-15 18:59:18 -05:00
Zach Brown e35d569526 Update upstream CB 2017-07-15 14:57:50 -05:00
Zach Brown 91fbee7d15 Clear plugin metadata only after onDisable()
Fixes GH-776
2017-07-15 14:38:16 -05:00
Zach Brown 151f805d3f Merge pull request #785 from electronicboy/master 2017-07-10 08:30:55 -05:00
Zach Brown 5ad5423102 Merge pull request #771 from electronicboy/master 2017-07-03 15:42:22 -05:00
Zach Brown 65daf84cdb Block player logins during server shutdown
Adds GH-765
2017-07-02 21:37:56 -05:00
Zach Brown f63f531f42 Make timings more tolerant of corrupt chunks
Fixes GH-744
2017-07-02 20:54:29 -05:00
Zach Brown e644762d67 Update upstream S
Fixes build
2017-06-25 18:37:00 -05:00
Zach Brown 3f5b488720 Update upstream B/CB 2017-06-25 18:00:32 -05:00
Zach Brown 7409728bf3 Update upstream CB 2017-06-24 13:52:44 -05:00
Zach Brown 604b92968e Update upstream B/CB/S 2017-06-21 22:12:40 -05:00
Zach Brown cc32d61141 Merge pull request #759 from Minecrell/fix-color-encoding 2017-06-21 12:22:19 -05:00
Zach Brown 1c208bf05b Update upstream CB/S 2017-06-18 20:36:55 -05:00
Zach Brown 7b4fe3ed73 Update upstream CB 2017-06-17 14:18:29 -05:00
Zach Brown 9a3f146c2e Merge pull request #743 from Minecrell/ignore-eot
Continue reading from console input after EOT
2017-06-14 09:31:07 -05:00
Zach Brown a0f46a6932 Merge branch 'Minecrell/remove-windows-compat' 2017-06-13 20:30:08 -05:00
Zach Brown 964e06c9a5 Update upstream B/CB/S 2017-06-12 22:28:09 -05:00
Zach Brown 29bba5da9c Update upstream CB 2017-06-11 23:25:44 -05:00
Zach Brown cd7f5199e8 Renumber patches, fix conflicts, update for 1.12 2017-06-11 20:02:57 -05:00
Zach Brown bdd63e020c Merge pull request #728 from Minecrell/terminalconsoleappender
Improve console implementation
2017-06-11 15:12:27 -05:00
Zach Brown e3dd2d2df2 Update upstream CB/S 2017-06-11 12:03:07 -05:00
Zach Brown 3b5e6cd48f Properly fix JavaDoc linting issues
Fixes our own, and upstream's, issues with the stricter Java 8 JavaDoc
linter.

Also removes the destroystokyo-release maven repository. I'm not sure
why I added it originally, but it's unnecessary now.
2017-06-10 17:11:10 -05:00
Zach Brown 6caa4fe122 Go back to disabling javadoc linting for now
It's breaking our maven deployments. This should be fixed properly in
the future when I have more time and have had less to drink.
2017-06-09 19:40:41 -05:00
Zach Brown 31eca1627b Merge pull request #722 from electronicboy/master
Re: Actually exit the JVM after stopping the server when /restart is ran
2017-06-08 21:08:40 -05:00
Zach Brown bdeb75ada8 Remove 1.12 prerelease changes patch 2017-06-08 17:19:12 -05:00
Zach Brown f061b704bd Merge pull request #718 from electronicboy/pre/1.12
Update Paper to MC 1.12
2017-06-08 09:37:29 -05:00
Zach Brown 30cc65c220 Update upstream B/CB 2017-06-04 15:11:50 -05:00
Zach Brown 74ffc20767 Update upstream B/CB 2017-06-02 23:41:05 -05:00
Zach Brown 529a9626f4 Update upstream B/CB 2017-05-29 16:11:54 -05:00
Zach Brown 9534f437f4 Add more info, triggers to watchdog velocity warn
Adds entity name to exception message
Checks that the velocity to be set is NaN
2017-05-28 00:06:26 -05:00
Zach Brown d1a100c11e Remove unnecessary doclint param on API 2017-05-27 23:36:18 -05:00
Zach Brown 81159a37d4 Update upstream B/CB/S 2017-05-27 23:25:17 -05:00
Zach Brown 914c16f3b2 Bump outdated build notification back out to norm
Merge outdated notification patch into existing branding patch
2017-05-26 22:46:27 -05:00
Zach Brown a044ef0e9f Update upstream B/CB 2017-05-26 22:09:24 -05:00
Zach Brown 16113437c6 Update upstream B/S 2017-05-23 17:11:28 -05:00
Zach Brown b39f2133a1 Update Paper to MC 1.12-pre5 2017-05-20 23:41:39 -05:00
Zach Brown 8fb32efc40 Merge branch 'master' into pre/1.12 2017-05-18 18:43:21 -05:00
Zach Brown e5315ba7cb Merge pull request #700 from electronicboy/master
Actually exit the JVM after stopping the server when /restart is ran
2017-05-18 18:39:20 -05:00
Zach Brown 43a4d24ea0 Merge branch 'master' into pre/1.12 2017-05-17 17:52:45 -05:00
Zach Brown d67b067983 Update upstream CB 2017-05-17 17:24:58 -05:00
Zach Brown d4441c91ef Add an option to make parrots stick to shoulders
When enabled, Parrots will not fly off of a player's shoulder everytime
they change Y level, touch water, sneeze, etc.
Instead, a player must toggle shift to "shake" the parrots off.
2017-05-16 21:34:47 -05:00
Zach Brown edfd5eda4f Update upstream B/CB 2017-05-16 17:17:58 -05:00
Zach Brown f7d8aa4188 Update upstream B/CB/S 2017-05-15 11:25:20 -05:00
Zach Brown b75e22ccb2 Merge branch 'master' into pre/1.12 2017-05-15 10:57:42 -05:00
Zach Brown 2d3da9ab4b Merge pull request #693 from electronicboy/master
Allow the watchdog to try sanely stopping the server
2017-05-15 10:46:00 -05:00
Zach Brown 22910b09c3 Switch 1.12-pre2 to its own version checks
Fix stream formatting issue that had been bugging me
2017-05-15 10:28:28 -05:00
Zach Brown ab4ae72fd5 Update to MC 1.12-pre2 2017-05-14 13:05:01 -05:00
Zach Brown b712d77d72 Update API patches to MC 1.12pre2 2017-05-14 08:46:44 -05:00