Commit graph

3035 commits

Author SHA1 Message Date
chickeneer
7f92ef8437 Resolve bed issues on unloaded chunks 2016-01-04 00:24:36 -06:00
Aikar
0875e3ee25 Entity teleport fix 2016-01-04 00:23:17 -06:00
Zach Brown
ec8a492d29 Make the duplicate entity UUID warning toggleable 2015-12-28 20:15:28 -06:00
Steve Anton
f532fca425 Add PlayerInitialSpawnEvent 2015-12-22 22:06:19 -06:00
Jedediah Smith
1bd859fad5 Fix player leak from entity tracker and item frames
3005a20c5c
2015-12-22 21:55:00 -06:00
Aikar
10316338d8 EAR: Fix bug with teleporting entities 2015-12-22 18:22:36 -06:00
Zach Brown
bf35c9ab26 [17:15:29] * Z750 kicks jetbrains right in the scrotum 2015-12-06 17:16:51 -06:00
Zach Brown
8c0b8acfb6 Restore a constructor that was removed in EntityFallingBlock 2015-12-06 17:14:41 -06:00
ItsHarry
cc7182a269 Also apply the "vanished players don't have rights" patch to Fishing Hook entities. 2015-11-26 19:51:01 -06:00
Aikar
c0fa6b8d12 Don't create a chunk just to unload it 2015-11-15 19:46:34 -06:00
Aikar
68c983d7cd Don't create region files when checking if a chunk exists 2015-11-15 19:44:28 -06:00
Aikar
929a5b40ed Bump thread count for chunk loading 2015-11-15 19:41:12 -06:00
Aikar
314c8f06cc Don't damage ArmorStands that are already dead 2015-11-15 19:40:32 -06:00
Zach Brown
7b80afb6ef Remove TE/E Removal Optimizations
Causes pistons to eat blocks in certain circumstances, double piston extenders most notably
2015-10-24 02:20:30 -05:00
Aikar
ee9886c278 Update tick limiter removal and TE/E removal optimizations 2015-10-24 02:12:33 -05:00
Aikar
eac397cbab Implement EMC's optimized entity and tileentity removal 2015-10-16 22:23:05 -05:00
Zach Brown
0ab0bcc85d Don't point users at spigotmc when watchdog kills the server 2015-10-16 21:50:04 -05:00
Zach Brown
264f2c2d09 Disable spigot tick limiters 2015-10-16 21:43:03 -05:00
Zach Brown
9f7447824d Rebuild patch for upstream changes 2015-10-07 21:32:01 -05:00
Aikar
2d37e27b37 Remove an unused list of TileEntities slowing down removal 2015-10-06 23:27:01 -05:00
Zach Brown
43fee1c16e Rebuild patches for upstream changes 2015-10-02 22:58:02 -05:00
Zach Brown
dcef1d444b Remove our own (outdated) TE handling, for one that's closer to vanilla 2015-09-19 09:34:17 -05:00
Zach Brown
2190d87f45 Rebuild patches 2015-09-18 20:44:37 -05:00
vemacs
b12044f2b7 Re-add entity/tile entity tick limiters 2015-09-12 23:29:23 -05:00
Zach Brown
603159dedf Remove several broken or unnecessary patches.
Removes PlayerMicroMoveEvent API, the ability to disable the AsyncCatcher, and the TeleportPassengerVehicleWithPlayer patch
2015-09-12 19:57:39 -05:00
Zach Brown
3d490255dc Rebuild patches 2015-09-01 20:14:41 -05:00
Zach Brown
de98ff5d80 Use spigot.yml's view distance setting 2015-08-29 03:12:41 -05:00
Techcable
3e8e275447 Lookup game profiles for users that aren't onine 2015-08-15 14:05:03 -05:00
Byteflux
51cbd00f88 Re-add Spigot's hopper-check feature 2015-08-13 10:36:58 -07:00
Techcable
15512b5459 Use the server usercache for player heads 2015-08-11 01:27:18 -05:00
Zach Brown
df01ae692d [23:29:51] <Byteflux> no tacoz 4 clippeh 2015-08-08 23:33:19 -05:00
Byteflux
d4bd87a7ec Fix NPE in recheckGaps when using async lighting 2015-08-06 21:44:03 -07:00
Byteflux
f2f04fbb77 Add beds and enderchests to list of collidable blocks 2015-08-05 02:31:55 -07:00
Iceee
19d4a47c33 Fix lava/water some times creating air instead of cobblestone 2015-08-04 17:57:17 -07:00
Byteflux
5b6b8beff8 Temporarily use getDouble() internally for calls to getFloat() in Paper configs
getFloat() seems to have an issue with reading modified values and always
returns the default value instead. This needs further investigating, but
for now making it use getDouble() internally appears to resolve the issue.
2015-08-04 17:57:17 -07:00
Byteflux
febaf3c5a1 Configurable TNT explosion volume 2015-08-04 17:47:57 -07:00
Byteflux
c92053d8b0 Add chests and soul sand to list of types falling blocks can collide with 2015-08-04 17:24:47 -07:00
Byteflux
6bcae0c948 Make the recheckGaps method async like other lighting updates 2015-08-04 15:44:54 -07:00
Byteflux
6cbf685402 Optimize getCubes() 2015-08-04 15:25:37 -07:00
Zach Brown
acd17efa2d Rebuild patches 2015-08-02 01:56:08 -05:00
Zach Brown
f4d9e4a686 Temporarily remove PlayerMicroMoveEvent implementation
Breaks the existing PlayerMoveEvent, to be re-worked soon
2015-07-30 22:47:22 -05:00
Zach Brown
7d566bf6b7 Update for upstream NMS mapping changes 2015-07-30 22:41:53 -05:00
Zach Brown
fd378c06e5 Update PaperSpigot to 1.8.8 2015-07-27 17:26:21 -05:00
Zach Brown
9486b3747e Re-add recentTps array for plugins that make bad choices 2015-07-26 15:58:37 -05:00
Zach Brown
a1497e2182 Rebuild 2015-07-25 18:00:37 -05:00
Sudzzy
21ee673718 Configurable container update tick rate 2015-07-23 22:06:57 -07:00
Byteflux
a5a657d88c Rebuild patches 2015-07-23 13:37:52 -07:00
Byteflux
a8b69d72c7 Add BeaconEffectEvent 2015-07-23 12:57:12 -07:00
Byteflux
c8f3b4ba4f Fix package naming of PaperSpigot events to be consistent with Bukkit/Spigot
Right now this only affects the recently added PlayerMicroMoveEvent. I
figured this should be done to keep the events organized in the same way
Bukkit and Spigot do. This should lead to a less cluttered event package
when we do add more events.
2015-07-23 09:56:24 -07:00
Techcable
f89d680e05 Add PlayerMicroMoveEvent 2015-07-23 04:30:13 -07:00
Iceee
b35f1a3c3e Optimize Spigot's Anti X-Ray 2015-07-23 04:24:24 -07:00
Jedediah Smith
57eedbe1b4 Send absolute position the first time an entity is seen 2015-07-23 04:13:26 -07:00
Zach Brown
c1e63e5d4b Rebuild patches 2015-07-20 20:14:39 -05:00
Byteflux
9491916ffa Unload client chunks + only cache whole chunk maps 2015-07-16 14:06:33 -07:00
Byteflux
d0249a6935 Configurable chunk map caching 2015-07-15 16:16:27 -07:00
Byteflux
82ad0725c6 Improvements to ChunkMap caching 2015-07-15 13:31:34 -07:00
Iceee
86c171f56d ChunkMap caching 2015-07-15 02:42:49 -07:00
Byteflux
963925b8ea Lookup neighbor chunks more efficiently in async lighting 2015-07-15 02:01:49 -07:00
Byteflux
c17ecdd93f Nerfed spawner mobs should use PathfinderGoalFloat to swim if available 2015-07-14 10:51:38 -07:00
Byteflux
ee2b2ec193 Optimize item movement 2015-07-14 10:17:39 -07:00
Byteflux
cfd19b9792 Configurable mob spawner tick rate 2015-07-14 10:01:28 -07:00
Byteflux
9874c9caa8 Various configurable toggles
- Disable explosion knockback for players
- Disable thunder logic
- Disable ice and snow formation
- Disable mood sounds
2015-07-14 09:34:10 -07:00
Byteflux
3388d414cf Rebuild patches 2015-07-14 08:59:57 -07:00
Byteflux
950d51d5e3 Remove obsolete patch 2015-07-10 03:45:20 -07:00
Byteflux
bf8eb1aba6 Remove bad condition in async lighting check 2015-07-10 03:20:10 -07:00
Byteflux
9da2e5eff7 Load chunks in getCubes() 2015-07-07 13:44:35 -07:00
Byteflux
fc9503b08d Fix off-by-one in async lighting neighbor loop 2015-07-04 17:42:28 -07:00
Byteflux
bc9a97a7a3 Fix liquids stuck in fast drain loop 2015-07-03 12:38:43 -07:00
Byteflux
811b3406a3 Add player view distance API 2015-07-01 01:01:42 -07:00
Byteflux
498811bfc5 Configurable lava flow speed 2015-07-01 00:39:31 -07:00
Byteflux
16d34d5de1 Clean up async lighting patch 2015-07-01 00:27:58 -07:00
Byteflux
5030643f4e Clean up forced chunk loading patch 2015-06-30 22:58:11 -07:00
Byteflux
d37d0f83c4 Fast draining 2015-06-30 20:22:24 -07:00
Byteflux
f1b5decd73 Stop updating flowing block if material has changed 2015-06-30 19:46:05 -07:00
Byteflux
cbe33d538c Always use optimized draining fix 2015-06-30 19:23:17 -07:00
Zach Brown
147438cc2f Rebuild patches 2015-06-20 22:05:36 -05:00
Byteflux
5b9a0a0122 Optimize explosions 2015-06-16 05:55:15 -07:00
Byteflux
820b9ac5e9 Do not filter out large getEntities call 2015-06-16 05:34:03 -07:00
Zach Brown
b2aaf31f9e Rebuild patches for upstream API addition
Removes ArmorStand Marker API as that was added to Bukkit
2015-06-10 22:35:26 -05:00
Zach Brown
a29fda12b6 Rebuild patches 2015-06-06 12:15:22 -05:00
Byteflux
0f48b03bbc Update to 1.8.7 2015-06-05 05:45:30 -07:00
Byteflux
38aa4c080b FallingBlock and TNT entities collide with specific blocks 2015-06-05 01:24:22 -07:00
Byteflux
55b9d1c093 Add configurable fix for TNT cannnons.
This attempts to revert cannoning mechanics to pre-1.8 behavior. A huge
thanks to TheIceAP who championed almost every fix in this patch.

Another shoutout to Jebediah Smith from SportBukkit for the velocity
update patch which mostly fixes the client issue of TNT moving in water.
2015-06-04 14:25:07 -07:00
Byteflux
7d15ab73ad Migrate old TNT height nerf settings to falling block height nerf 2015-06-04 03:57:23 -07:00
Byteflux
5866cac361 Remove giant TNT changes patch 2015-06-04 01:42:09 -07:00
Byteflux
2778f5e485 Fix another structure generator NPE 2015-06-02 02:08:51 -07:00
Byteflux
e1c9ba99cd Fix NPE when disabling certain structure generators 2015-06-02 01:40:46 -07:00
Byteflux
e285ca5c92 Add generator settings from Paper 1.7
As of 1.8, it is possible to customize worlds beyond what these settings
allow using a Customized world type, however, this is still useful for
non-Customized worlds and Nether worlds.
2015-06-02 00:44:06 -07:00
Iceee
1bcfd0b911 Fix lag from explosions processing dead entities 2015-06-01 22:56:10 -07:00
Byteflux
257119a254 Stackable Buckets 2015-06-01 22:27:22 -07:00
Zach Brown
45fc70b6fc Re-add the teleport passenger/vehicel with player patch from 1.7.10 2015-05-31 01:52:17 -05:00
Zach Brown
f8db037fab Remove the spigot TileEntity/Entity capping feature
It appears to cause visual glitching issues with certain TNT entities
fired from cannons. TileEntity tick capping has already been removed
for some time, Entity tick capping removal is new to this patch.
2015-05-30 01:39:20 -05:00
Zach Brown
62c1f6b296 Rebuild Patches for upstream changes 2015-05-30 01:11:16 -05:00
Zach Brown
c22f803441 Bring chunkloading TNT/FallingBlocks/EnderPearls to 1.8
Forward ported from PaperSpigot 1.7.10
2015-05-28 22:19:49 -05:00
DoctorDark
e97a33af9b Configurable end credits when leaving the end 2015-05-28 20:29:51 -05:00
Zach Brown
bd0045257f Rebuild patches for upstream changes 2015-05-28 00:11:18 -05:00
Zach Brown
e6727223f8 Update to 1.8.6 2015-05-25 15:59:30 -05:00
Zach Brown
b86b4ff71e Things compile better when you update mc-dev 2015-05-23 13:04:28 -05:00
Zach Brown
db0d9a2531 Update PaperSpigot to 1.8.5 2015-05-23 12:09:55 -05:00
Zach Brown
56edb22600 Misc. cleanup from 1.8.4 update 2015-05-18 19:22:48 -05:00
Jedediah Smith
140e26958b Fix jar being shaded multiple times 2015-05-18 19:06:10 -05:00
Zach Brown
9ba49f12fd Re-enable Metrics so that we can better understand our userbase 2015-05-18 19:03:24 -05:00
Zach Brown
b7ec28b5d2 Update PaperSpigot to 1.8.4 2015-05-18 18:41:57 -05:00
Zach Brown
a5b3760b6d Rebuild patches 2015-05-10 19:24:52 -05:00
Zach Brown
47ad0d451e Add ArmorStand Marker NBT API 2015-05-03 17:47:28 -05:00
Zach Brown
a3f9c58fed Fix a typo in the server POM 2015-05-03 16:28:13 -05:00
Isaac Moore
465453dc21 Add PlayerLocaleChangeEvent 2015-04-27 21:43:59 -05:00
Zach Brown
093677dbdd Fix the repo's patches because I can't merge things today
Thanks to Byteflux for all the PRs you see below bringing 1.8 PaperSpigot that much closer to feature parity with it's 1.7 branch
2015-04-18 15:14:31 -05:00
Byteflux
1e502e4eae Toggleable player crits 2015-04-18 02:46:53 -07:00
Byteflux
3586742ccc Optimize draining 2015-04-18 02:31:53 -07:00
Byteflux
1ff35348bb Async Lighting 2015-04-18 01:30:12 -07:00
Byteflux
2dae421290 Configurable tickNextTickListCap bypass for redstone 2015-04-17 03:54:46 -07:00
Byteflux
83a95a05c8 Fix remove-unloaded.enderpearls option not being respected 2015-04-17 03:25:02 -07:00
Byteflux
41cb01fa3f Add FallingBlock source location API 2015-04-17 02:51:46 -07:00
Zach Brown
b5f5886e5b Rebuild patches 2015-04-13 15:48:16 -05:00
Zach Brown
5e6c99aec2 Always tick falling blocks - Exclude from EAR 2015-04-10 18:07:59 -05:00
Roman Alexander
67d1ba7c1a How about we actually make that tickNextTickList cap configurable
*glances at Z*
2015-03-24 18:28:19 -05:00
Zach Brown
819db3aba6 Allow users to configure the tickNextTickList cap 2015-03-23 14:40:52 -05:00
Zach Brown
9263823b95 Remove patch that kept the player on world changes 2015-03-20 21:39:37 -05:00
Zach Brown
5ec0ee10bd Rebuild Patches 2015-03-19 19:41:36 -05:00
Zach Brown
bc8b1ee8d7 Rebuild patches 2015-03-09 16:02:50 -05:00
Zach Brown
6538ccd924 Update PaperSpigot to Minecraft 1.8.3 2015-03-07 19:16:09 -06:00
Zach Brown
0d6db011bc Check online mode before converting and renaming player data 2015-03-05 15:30:48 -06:00
Zach Brown
de2ec8b0a9 Manually bump the config version since git won't 2015-02-23 16:59:00 -06:00
Zach Brown
78487dca8c PaperSpigot TNT Changes
Brought our multiple TNT change patches into a single patch and
configuraiton section.
You /will/ need to update your configs, sorry.

Adds additional configuration and features as well.
2015-02-23 15:03:10 -06:00
Zach Brown
7e7840e064 (Temporarily?) Disable Spigot's TE changes in favor of our own
Pending proper benchmarks and a potential rewrite, this appears to be a
good short-term solution
2015-02-22 02:38:45 -06:00
Zach Brown
c6f594dcfc Remove upstream-pulled patch 2015-02-14 20:16:45 -06:00
Zach Brown
f0f2754d8a Make Enderman drop the block they're holding when they die 2015-02-13 14:50:25 -06:00
Bestle
152d9b5890 Despawn items outside EAR activation range 2015-02-13 14:33:49 -06:00
Zach Brown
22957cd6d1 Rebuild patches for upstream changes 2015-02-13 14:24:02 -06:00
Zach Brown
0c2ee8bf90 Rebuild a patch 2015-02-06 09:06:09 -06:00
Zach Brown
00e1315f65 Rebuild patches for upstream changes 2015-02-03 17:53:51 -06:00
Zach Brown
1c6f7636d8 Add configurable top of nether void damage patch 2015-01-29 15:34:32 -06:00
Zach Brown
335c9c3009 Remove the broken teleport passenger vehicle with player patch 2015-01-29 15:26:20 -06:00
Zach Brown
e1e0781a99 Fix patch usernames and emails 2015-01-29 15:25:50 -06:00
Zach Brown
eb76f6ab42 Remove patch that was pulled upstream 2015-01-25 02:08:21 -06:00
Zach Brown
04dbeb4bf1 Fix certain mobs crashing the server from MobSpawners 2015-01-18 12:43:42 -06:00
Zach Brown
d04f8d3c65 Rebuild patches for upstream changes 2015-01-12 11:21:32 -06:00
Zach Brown
a386f23f24 Rebuild patch for upstream update 2015-01-08 21:53:39 -06:00
Zach Brown
985a51fc17 Rebuild patches for upstream changes 2015-01-06 22:13:40 -06:00
Zach Brown
436c6f2449 Rebuild our patches for upstream changes 2015-01-04 20:30:07 -06:00
Howaner
b7fb738d91 Fix kick messages 2015-01-03 18:26:09 -06:00
Zach Brown
641703cfd8 Fix block placement in the invisible players patch
Thanks Mojang...
2015-01-03 17:35:46 -06:00
Aikar
5e5d11f13b Prevent tile entity and entity based crashes 2014-12-22 15:13:29 -06:00
gsand
1b72b3fc59 [00:50:57] <Clippy> wait, actually I need to do additional testing, just
remove it
[00:51:09] <Clippy> ;(
[00:51:17] * Clippy opens mcp
[00:51:22] <Z750> ._.
2014-12-21 00:52:01 -06:00
gsand
383a3d442d [00:32:19] <Clippy> I goofed, forgive meeeee! ;____; 2014-12-21 00:45:53 -06:00
gsand
3038c837a9 Allow the first spawn location "fuzziness" to be configured 2014-12-20 19:22:28 -06:00
Aikar
73bc2489c0 Do not allow negative count itemstacks (infinite itemstacks)
Should work around quite a few issues and this
'feature' is relatively worthless anyway
2014-12-19 16:35:01 -06:00
Zach Brown
c683d9ad52 Rebuild our patches for upstream changes 2014-12-18 17:35:10 -06:00
Zach Brown
f920086bbd Remove unnecessary patch 2014-12-14 16:26:48 -06:00
Zach Brown
1d0898c3cc Rebuild our patches for upstream changes 2014-12-14 16:25:11 -06:00
Zach Brown
e67bfe69d1 Missed a comment in chest sound patch 2014-12-07 22:57:26 -06:00
Zach Brown
535076aa8b Improve chest sound handling patch 2014-12-07 14:52:19 -06:00
Zach Brown
275af1a769 Update our patches for upstream changes 2014-12-07 13:29:55 -06:00
Byteflux
6c0aedf367 Use the servers built in UUID map for player lookups 2014-12-07 13:28:45 -06:00
Zach Brown
7ae5abba9e Add a constructor for setting both the header and the footer to PacketPlayOutPlayerListHeaderFooter 2014-12-05 22:47:37 -06:00
Zach Brown
b889c27630 Clean up some of our patches
Remove unused torch placement config option
Remove ambiguity in invisible players patch
2014-12-05 22:28:08 -06:00
Zach Brown
77ef1b5cc7 Update our patches for Spigot changes 2014-12-05 22:22:47 -06:00
Zach Brown
c78777957f Update our patches for the latest changes
/ver is no longer useless! Meaninful version tracking yay!
2014-12-02 00:03:53 -06:00
Aikar
9cb520d8f1 Add TNT source location API 2014-11-30 22:58:25 -06:00
Zach Brown
1610f6d153 Improvements to teleport with passenger vehicle 2014-11-30 22:35:33 -06:00
Zach Brown
c5d9810268 Fix an improperly updated patch file 2014-11-30 20:09:09 -06:00
Byteflux
4deff62371 Allow specified ItemStacks to retain their invalid data 2014-11-30 18:59:49 -06:00
Byteflux
1552122433 Configurable TNT water movement 2014-11-29 23:14:36 -08:00
Zach Brown
2cbc92c37e Fix a mistake in Teleport w/ passenger/vehicle patch
Along with restoring authorship to the original writer
2014-11-28 16:30:20 -06:00
Zach Brown
a52eb21fd8 Update PaperSpigot to Minecraft 1.8 2014-11-27 17:17:45 -08:00
Aikar
3a304401b4 Add Async Chunk Load API 2014-11-06 18:31:52 -06:00
Zach Brown
a454aabf95 Random space is most certainly not best space 2014-10-24 23:44:38 -05:00
Zach Brown
41b428475c Replace non-picky rails with non-picky torches
Issues with rails colliding with hitboxes on fences
non-picky torches can be placed on stained glass on 1.8+ clients only (client-side limitation)
2014-10-24 23:41:49 -05:00
Zach Brown
bf250caafe Minor configuration code formatting 2014-10-24 22:28:29 -05:00
Zach Brown
eb70bd92ab Make certain game mechanics configurable
Boat drops and rail placement at this time
2014-10-24 22:25:14 -05:00
Aikar
d1cbf1b137 Implement performance improvements from the EMC-CraftBukkit fork
See the individual patch files for more details
2014-10-19 17:58:49 -05:00
Byteflux
b8bc46347f Fix PaperSpigot entity removal in unloaded chunks 2014-10-14 19:36:06 -05:00
Zach Brown
a4bc5cc10c Remove 1.8 blocks/items patches
For those interested in these features, you can continue to use these patches in your own builds or use a plugin, such as Carbon, to add them
2014-10-14 19:28:05 -05:00
Byteflux
f9fa108a49 Update with more Spigot binary patches 2014-10-02 16:54:57 -05:00
Byteflux
e6bc90dccb Backwards compatible PacketPlayOutEntityTeleport constructor 2014-09-21 22:25:58 -05:00
Zach Brown
69bb19d9af Redo protocol warning message 2014-09-21 22:23:33 -05:00
Byteflux
64acfb63bc Update with latest patches from upstream SpigotMC 2014-09-21 22:05:59 -05:00
Zach Brown
4c10135801 Re-add SportBukkit visual offset fix
Looks to be entirely unrelated to the visual issues being seen

Revert "Remove SportBukkit visual offset fix, may cause issues with certain cannons"

This reverts commit 1156e17179492f530ced9a91a2db0ee32f6bf0e9.
2014-09-12 15:27:47 -05:00
Zach Brown
1db4108509 Fix slime block sounds 2014-09-11 20:33:37 -05:00
Zach Brown
f697665d8c Remove SportBukkit visual offset fix, may cause issues with certain cannons 2014-09-11 16:36:50 -05:00
Zach Brown
078032ff25 Don't register standing or wall banner, and daylight detector inverted
Cause client crashes, likely because they arent ticking yet
2014-09-10 20:49:42 -05:00
Zach Brown
e0bda3c916 Don't allow 1.8 clients to join...
they crash when encountering 1.8 blocks/items/etc
2014-09-10 19:41:12 -05:00
Zach Brown
fd6ba5b433 Add SportBukkit fix for visually offset entities 2014-09-10 16:19:22 -05:00
Zach Brown
a060c401c8 Add a few 1.8 features/blocks/items/whatever 2014-09-10 16:19:06 -05:00
Zach Brown
b7e702dacc Update from upstream SpigotMC
Fix double plants having the incorrect top half SpigotMC/Spigot@377b69d787
Fix boats thinking that they were always on land for 1.8 clients SpigotMC/Spigot@4a083f819e
Correct the action used in updateGamemode. this isn't used by the ser... SpigotMC/Spigot@face904a9a
Allow the updated version of protocollib to be enabled SpigotMC/Spigot@4614a615cc
2014-09-01 18:54:34 -05:00
Minecrell
f39f423fd0 Fix ProtocolLib compatibility 2014-09-01 15:36:00 -05:00
Zach Brown
acfc7ba3e2 Rebuild patches after merge 2014-09-01 15:17:42 -05:00
Zach Brown
f9d6872641 Remove accidentally committed patch file 2014-08-31 14:51:09 -05:00
Dmck2b
b62da895f2 Work around for blocking rail duplication 2014-08-31 14:44:52 -05:00
Zach Brown
e5cafd752b Remove brewing stands from the TE optimizations as well
Possible conflict with CB wall time patches?
2014-08-31 13:09:23 -05:00
Zach Brown
92bfbe89cf Configurable strength and weakness effect modifiers 2014-08-31 12:31:44 -05:00
Zach Brown
627383e58e Show PaperSpigot in protocol warning 2014-09-01 14:41:47 -05:00
Zach Brown
ebf5b310d4 Temporary fix for broken furnaces on certain servers 2014-08-30 14:25:03 -05:00
Zach Brown
ef3faf6cdd Remove specific entities that fly through unloaded chunks 2014-08-29 20:38:35 -05:00
Zach Brown
3327198680 Update from upstream SpigotMC
Add unbreakable API to item meta SpigotMC/Spigot@b1af008222
Configure how often EntityHangings calculate if they should die. SpigotMC/Spigot@ac6e1fc32d
Copy ItemStacks in DataWatcher to prevent ConcurrentModificationExcep… SpigotMC/Spigot@2af28ffbd1
Add the spigot.yml into the timings paste SpigotMC/Spigot@d61f38bd58

Note: This commit moves the entity-hanging tick into Spigot's spigot.yml and out of our paper.yml
2014-08-25 16:30:52 -05:00
Aikar
a4e202676e Implement optimized Tile Entity ticking 2014-08-24 21:19:36 -05:00
Byteflux
b457c5bdad Remove invalid mob spawner tile entities 2014-08-19 14:53:21 -05:00
Zach Brown
0aa4ad66d8 Remove Metrics
People seem fairly mixed on it, and we just don't need 'em
2014-08-19 14:27:57 -05:00
Zach Brown
9dd10bc8dd Show 'PaperSpigot' in client crashes, server lists, and Mojang Stats 2014-08-19 14:26:33 -05:00
Zach Brown
b742f7a892 Update from upstream SpigotMC
Upstream merge (we must go deeper) SpigotMC/Spigot@1e7bc383c3
2014-08-18 10:43:17 -05:00
Zach Brown
706fab83cd Don't tick enderchests either 2014-08-17 17:15:18 -05:00
Zach Brown
2f95e1a840 Update from upstream SpigotMC
Fix empty `ench` tags being wiped by the meta system SpigotMC/Spigot@cc9a1a417f
Add Hunger Config Values SpigotMC/Spigot@2cd515e224
Make debug logging togglable SpigotMC/Spigot@d31b1d616f

Spigot has implemented a system of hunger exhaustion similar to ours, as such a lot of config values have been moved there.
Our exhaustion patch has been trimmed and only a few values for exhaustion remain in paper.yml, the others now sit in spigot.yml
2014-08-17 16:47:36 -05:00
Zach Brown
8567c11cb9 Temporarily remove optimized tile entity code
Potential CME's and issues with pistons, we'll work through this on a separate branch and re-add it when appropriate
2014-08-13 16:50:24 -05:00
Zach Brown
20b21ebf3d Update TileEntity optimizations (again again) ...
hopefully less often now
2014-08-11 23:07:39 -05:00
Aikar
eefd5936bb Update with latest TileEntity optimization changes 2014-08-11 21:43:04 -05:00
Zach Brown
ef9c0fd1eb Move chest sound handling out of the tick loop...
and set them not to tick
2014-08-11 19:36:08 -05:00
Aikar
f2cea9d8fa Optimize TileEntity Ticking
Re-organizes the servers TileEntity Tick List to be bucketed by type.

This allows the server to skip buckets of Tile Entities that is known to
not have any tick function (half of them), skipping time spent iterating
them and checking if they are valid and in a loaded chunk. In other words,
a lot of "meta" time wasted on tile entities that would never do anything anyways.

This change also adds control into the interval of every TileEntity, giving
the server owner control on how fast a TileEntity ticks, slowing it down if they must
(Such as chest), to improve performance.
2014-08-11 16:04:54 -05:00
Zach Brown
72deca29a0 Update from upstream SpigotMC
Part revert to fix (0) in place of file name SpigotMC/Spigot@2fbc1f2704
Fix the last PR SpigotMC/Spigot@b2199df3f7
2014-08-11 15:49:06 -05:00
Zach Brown
187d3ce632 Remove 0026-Don-t-tick-chests, we'll be slightly changing our implementation 2014-08-11 15:45:57 -05:00
Zach Brown
0e5c8b96fd Update from upstream SpigotMC
Abridged: Force close player inventories when they move/interact
This prevents modified clients from using the 2x2 crafting square as permanent storage

Force Close Inventory On Move SpigotMC/Spigot@db78a70788
Only close once, if needed SpigotMC/Spigot@b652de8e7f
Move to interact event closing SpigotMC/Spigot@b5378850d3
Disregard arm swings - racy SpigotMC/Spigot@f86634e280
2014-08-10 00:21:18 -05:00
Suddenly
ccb672dab1 Treat this.c as an element, not an extra object 2014-08-09 19:25:00 -05:00
Zach Brown
96dca9e8ab Remove link to CB PR as its causing a lot of unneeded spam 2014-08-09 18:12:13 -05:00
drXor
ed45929e5e Configurable hanging tick
EntityHangings make a somewhat extensive calculation ever 100 ticks to check if they should die (obstruction etc). This patch makes this magic number configurable, allowing server owners to pick how often they want EntityHangings (e.g. ItemFrames) to tick. Higher values may provide a performance boost for Hanging-heavy servers.
2014-08-09 17:27:35 -05:00
Jedediah Smith
871a1b6f25 Add player affects spawning API
Test plugin here: https://github.com/Zbob750/AffectsSpawning
I believe this originated with SportBukkit, slightly modified for our (and potentially upstream's) usage
2014-08-08 23:18:38 -05:00
Jedediah Smith
367c4b9ec2 Center TNT sample grid points
Makes TNT calculations more accurate, among other things
2014-08-07 23:04:58 -05:00
Zach Brown
7b06b5d247 Revert "Fix TNT directional bias"
Restores our earlier and supposedly working TNT directional bias fix
We will contiune to work through the specifics of the the issue in a separate branch
This reverts commit 08f3fce0ba.
2014-08-07 14:18:11 -05:00
Jedediah Smith
08f3fce0ba Fix TNT directional bias
Shift the sample points so they are centered on the entity, eliminating the directional bias of the explosion force
2014-08-06 18:21:00 -05:00
Zach Brown
4df7953678 Cleanup our patches 2014-08-05 18:45:22 -05:00
Byteflux
f2a1235de0 Configurable speed for water flowing over lava
Higher values = Slower water movement = better performance
http://hastebin.com/axuzaralas.vhdl
2014-08-03 21:23:18 -05:00
Dmck2b
d07c4987da Don't log debug information 2014-08-04 02:57:45 +01:00
Byteflux
418c27e9c1 Better nerf for TNT Cannons ...
Drops the item
Applies to all Falling Block Entities
2014-07-30 03:35:19 -05:00
Zach Brown
3e2fa68fe6 Temporarily remove the better water lighting updates patch while we ensure there are no performance or implementation issues
Specifically around non-water fluids
2014-07-30 02:44:36 -05:00
Iceee
794f5c76dc Apply the better water lighting updates patch to receding water as well 2014-07-28 02:47:31 -05:00
Zach Brown
c231bb3f1c Remove configurable AI target selector delay patch 2014-07-27 21:50:06 -05:00
Zach Brown
b6b4545b44 Update from upstream SpigotMC
Make "moved too quickly" limit configurable SpigotMC/Spigot@99a0a640e8
Undeprecate Player#updateInventory()V SpigotMC/Spigot@5c32e1cb48
Fetch complete profile for skull items, similarly to TileEntitySkull. SpigotMC/Spigot@33d758773e
Move getDouble into the Spigot Configuration patch SpigotMC/Spigot@b5dd202af1
Add missing particle to particle API SpigotMC/Spigot@273c64bbad
Log debug levels to the log file. SpigotMC/Spigot@348eae75f4
Fix PlayerItemDamageEvent (we already had this #badupstreamrelations) SpigotMC/Spigot@e207ea23cd
Move hopper patch to top for PR180 SpigotMC/Spigot@abb775108d
Don't be so spammy on Java 6 SpigotMC/Spigot@5abb82b1ca
Apply NBTReadLimiter to more things SpigotMC/Spigot@408944e9f5
2014-07-27 14:14:24 -05:00
Zach Brown
0b4479373d Fix PlayerItemDamageEvent
Hopefully a temporary patch as I've already submitted it to SpigotMC
But I kinda wanna use the event now so... Here we are
2014-07-24 22:29:15 -05:00
Zach Brown
e4e58b88a0 Update from upstream SpigotMC
Don't use Bukkit.getLogger as the CraftServer isn't loaded at this point SpigotMC/Spigot@5c48793ecf
Modify the block placement limit to allow for the odd random packet or two SpigotMC/Spigot@7768676ae2
2014-07-24 22:21:57 -05:00
Iceee
5d8bbb9c08 Fix lag caused by water lighting updates
Before: http://aikar.co/timings.php?url=7842564
After: http://aikar.co/timings.php?url=7842536
2014-07-23 10:53:28 -05:00
Zach Brown
b178d09bd4 Fix random position generator's tendency to move north-west
Fixes the issue of mobs constantly going North-West in pens and other areas
backported from 1.8
2014-07-22 22:04:05 -05:00
Zach Brown
e35070d9b9 Fix incorrect API version on startup 2014-07-22 20:16:50 -05:00
Zach Brown
76c23c953b Update from upstream SpigotMC
Remove defensive copy in EAR SpigotMC/Spigot@f1ba1f6c07
Make "moved wrongly limit" configurable SpigotMC/Spigot@f7ab380e16
Fix null Tile Entity Worlds (we already had this) SpigotMC/Spigot@b271cdbfa0
Fix slow tab complete for some commands SpigotMC/Spigot@f3b7952c73
Only suggest ops to deop and remove whitelist add case entirely SpigotMC/Spigot@0e1fcfbe70
Allow tab complete for /whitelist add SpigotMC/Spigot@27f8aa22bd
2014-07-22 15:25:09 -05:00
Zach Brown
1479d411c1 Fix minecraft-server dependencies in poms 2014-07-22 14:50:06 -05:00
Zach Brown
3081e4c401 Support all projectiles in the invisible players patch
also cleans up the code a bit
2014-07-21 18:52:19 -05:00
Zach Brown
e7f3ca4505 Restructure PaperSpigot as a new set of modules
Allows us much greater control over the Spigot portion of the code
and makes us more "proper"
Credit to @Dmck2b for originally passing the idea along a while back
2014-07-21 15:46:54 -05:00