Commit Graph

390 Commits

Author SHA1 Message Date
kashike
e8118c4a31 Be a bit more informative in maxHealth exception 2016-02-16 14:37:28 -08:00
Thinkofdeath
3ebeccc109 Fix Furnace Minecarts losing all of their velocity on corners 2016-02-15 23:19:43 -06:00
Zach
7bea05be51 Merge pull request #27 from kashike/feature/commandmap
Expose server CommandMap
2016-02-15 12:07:29 -06:00
kashike
edc2cd686e Expose server CommandMap 2016-02-15 07:13:16 -08:00
Zach Brown
29616a64bb Some people just have bad days 2016-02-15 08:24:39 -06:00
Zach Brown
bf58a0d278 Downgrade versioning plugin, fix build 2016-02-15 08:22:37 -06:00
Zach Brown
2cf460f29e Update version handling for our new build system
CC GH-19
2016-02-15 06:02:47 -06:00
Zach Brown
7022e9325f Missed a comment 2016-02-13 20:11:49 -06:00
CullanP
258dd89aa6 Avoid hopper searches if there are no items
Closes PR #23
2016-02-13 19:55:53 -06:00
Aikar
17e043b0fe Optimize getBlockData 2016-02-13 19:41:55 -06:00
Aikar
e1db75896c Optimize Pathfinding 2016-02-13 19:41:55 -06:00
Zach Brown
505386c5cb Add BlockBrewingStand and BlockEnchantmentTable to flying entity collisions patch 2016-02-13 19:41:55 -06:00
Zach Brown
2052670adf Make timings verbose by default
More useful data by default for server administrators
2016-02-13 19:41:55 -06:00
Zach Brown
b1492af86b Update CraftBukkit 2016-02-05 04:12:16 -06:00
Nik Gil
b9d98ad6e8 Make EntityDismountEvent Cancellable 2016-02-01 23:57:27 -07:00
Zach Brown
43876bb104 Squash these tab complete patches 2016-01-31 17:00:30 -06:00
DemonWav
00f91edaec Fix infinite recursion with plugin tab completers
Make block location tab completion be a per-world configurable value
2016-01-31 01:21:47 -06:00
DemonWav
7a0c30a707 Add Location support to tab-completes
This is a feature in vanilla Minecraft that has somehow been missing from CraftBukkit for years
2016-01-30 19:20:18 -06:00
Techcable
4715d9c9d2 Fix mutable block position construction
Should fix #3
2016-01-29 13:49:01 -07:00
Aikar
33f207e3c2 Remove completely invalid Redstone event for Netherrack 2016-01-29 03:40:25 -06:00
Techcable
bb17101d59 Speedup BlockPos by fixing inlining 2016-01-29 03:26:50 -06:00
Zach Brown
972d71a30b Squash Java 8 patches into pom changes patches 2016-01-29 02:51:53 -06:00
vemacs
c0920b08dc Option to make all chunks capable of spawning slimes 2016-01-29 02:39:21 -06:00
Zach Brown
a26fef50ef Re-introduce an option to limit the height of a flying tnt entity 2016-01-18 16:24:29 -06:00
Zach Brown
56c14f8f07 Force commands to be dispatched synchronously
[22:29:12] <Aikar> just add that
[22:29:17] <Aikar> that forces it fixed
[22:29:31] <Aikar> and then when his users spam him hell fix it :P
2016-01-12 23:02:36 -06:00
Zach Brown
314212b236 Add an option to disable chest's detection of Ocelots/Cats 2016-01-10 20:47:21 -06:00
Zach Brown
85dd26898d Migrate timings classes to new package 2016-01-10 01:33:27 -06:00
Zach Brown
9172103531 Migrate PaperSpigot to Timings version 2 2016-01-09 00:32:38 -06:00
Zach Brown
e9c23b0c38 Require Java 8 - Tell your shitty hosts to update 2016-01-09 00:13:58 -06:00
chickeneer
06ada7cc6d Resolve bed issues on unloaded chunks 2016-01-04 00:24:44 -06:00
Aikar
d02fb4e971 Entity teleport fix 2016-01-04 00:23:20 -06:00
Zach Brown
a55011eb68 Make the duplicate entity UUID warning toggleable 2015-12-28 20:15:28 -06:00
Steve Anton
5063a0613d Add PlayerInitialSpawnEvent 2015-12-22 22:06:43 -06:00
Jedediah Smith
0265f4eaef Fix player leak from entity tracker and item frames
3005a20c5c
2015-12-22 21:55:24 -06:00
Aikar
ff621fcb04 EAR: Fix bug with teleporting entities 2015-12-22 18:23:08 -06:00
Zach Brown
d709888852 [17:15:29] * Z750 kicks jetbrains right in the scrotum 2015-12-06 17:16:51 -06:00
Zach Brown
a7600285a6 Restore a constructor that was removed in EntityFallingBlock 2015-12-06 17:14:41 -06:00
ItsHarry
60136e77fe Also apply the "vanished players don't have rights" patch to Fishing Hook entities. 2015-11-26 19:51:30 -06:00
Aikar
0d986bbce5 Don't create a chunk just to unload it 2015-11-15 19:46:37 -06:00
Aikar
a4e0b24594 Don't create region files when checking if a chunk exists 2015-11-15 19:44:34 -06:00
Aikar
61aa4a801b Bump thread count for chunk loading 2015-11-15 19:41:14 -06:00
Aikar
fa810f3d47 Don't damage ArmorStands that are already dead 2015-11-15 19:40:53 -06:00
Zach Brown
4a647dc40b 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
04daf845d4 Update tick limiter removal and TE/E removal optimizations 2015-10-24 02:13:27 -05:00
Aikar
c725b9cb96 Implement EMC's optimized entity and tileentity removal 2015-10-16 22:23:28 -05:00
Zach Brown
43c3a7b169 Don't point users at spigotmc when watchdog kills the server 2015-10-16 21:50:04 -05:00
Zach Brown
7d86a674eb Disable spigot tick limiters 2015-10-16 21:43:03 -05:00
Zach Brown
978982edfd Rebuild patch for upstream changes 2015-10-07 21:32:01 -05:00
Aikar
19619f8450 Remove an unused list of TileEntities slowing down removal 2015-10-06 23:36:43 -05:00
Zach Brown
9365b36050 Rebuild patches for upstream changes 2015-10-02 22:58:02 -05:00
Zach Brown
7aa4900879 Remove our own (outdated) TE handling, for one that's closer to vanilla 2015-09-19 09:34:17 -05:00
Zach Brown
ea565eff61 Rebuild patches 2015-09-18 20:44:37 -05:00
vemacs
502ffa0833 Re-add entity/tile entity tick limiters 2015-09-14 20:37:51 -05:00
Zach Brown
f243a4024d 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
1f41387610 Rebuild patches 2015-09-01 20:14:41 -05:00
Zach Brown
477b22d36c Use spigot.yml's view distance setting 2015-08-29 03:12:41 -05:00
Techcable
25a137f3a3 Lookup game profiles for users that aren't onine 2015-08-15 14:05:29 -05:00
Byteflux
a16e54d332 Re-add Spigot's hopper-check feature 2015-08-13 10:36:58 -07:00
Techcable
6d0a86a9b6 Use the server usercache for player heads 2015-08-11 01:27:37 -05:00
Zach Brown
e786f4635b [23:29:51] <Byteflux> no tacoz 4 clippeh 2015-08-08 23:33:19 -05:00
Byteflux
4021394904 Fix NPE in recheckGaps when using async lighting 2015-08-06 21:44:03 -07:00
Byteflux
4eadccd3e2 Add beds and enderchests to list of collidable blocks 2015-08-05 02:31:55 -07:00
Iceee
e12f1faed1 Fix lava/water some times creating air instead of cobblestone 2015-08-04 18:24:39 -07:00
Byteflux
bde7f6bbbd 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
80e87de54f Configurable TNT explosion volume 2015-08-04 17:47:57 -07:00
Byteflux
8ba82c550a Add chests and soul sand to list of types falling blocks can collide with 2015-08-04 17:25:16 -07:00
Byteflux
c38e8ec349 Make the recheckGaps method async like other lighting updates 2015-08-04 15:44:54 -07:00
Byteflux
eaaf2c2cf3 Optimize getCubes() 2015-08-04 15:25:37 -07:00
Zach Brown
0febdc8b44 Rebuild patches 2015-08-02 01:56:08 -05:00
Zach Brown
f6fba00cbc Temporarily remove PlayerMicroMoveEvent implementation
Breaks the existing PlayerMoveEvent, to be re-worked soon
2015-07-30 22:47:22 -05:00
Zach Brown
0daad69443 Update for upstream NMS mapping changes 2015-07-30 22:41:53 -05:00
Zach Brown
881dfe09c2 Update PaperSpigot to 1.8.8 2015-07-27 17:26:21 -05:00
Zach Brown
fe4c7c88ac Re-add recentTps array for plugins that make bad choices 2015-07-26 15:58:37 -05:00
Zach Brown
56afbe3f71 Rebuild 2015-07-25 18:00:37 -05:00
Sudzzy
f9e5f65987 Configurable container update tick rate 2015-07-23 22:06:57 -07:00
Byteflux
633137c1a8 Rebuild patches 2015-07-23 13:37:52 -07:00
Byteflux
7d9632e328 Add BeaconEffectEvent 2015-07-23 12:57:12 -07:00
Byteflux
16ab69f11b 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
23f4ae7bbd Add PlayerMicroMoveEvent 2015-07-23 04:30:13 -07:00
Iceee
e139db70f1 Optimize Spigot's Anti X-Ray 2015-07-23 04:24:24 -07:00
Jedediah Smith
579868e0c1 Send absolute position the first time an entity is seen 2015-07-23 04:13:26 -07:00
Zach Brown
58a75fef88 Rebuild patches 2015-07-20 20:14:39 -05:00
Byteflux
4d70f421f6 Unload client chunks + only cache whole chunk maps 2015-07-16 14:06:33 -07:00
Byteflux
e3e7539232 Configurable chunk map caching 2015-07-15 16:16:27 -07:00
Byteflux
b5666dd9e8 Improvements to ChunkMap caching 2015-07-15 13:31:34 -07:00
Iceee
7562f087f8 ChunkMap caching 2015-07-15 02:42:49 -07:00
Byteflux
536af803c4 Lookup neighbor chunks more efficiently in async lighting 2015-07-15 02:01:49 -07:00
Byteflux
8de3946478 Nerfed spawner mobs should use PathfinderGoalFloat to swim if available 2015-07-14 10:51:38 -07:00
Byteflux
04705fd392 Optimize item movement 2015-07-14 10:17:39 -07:00
Byteflux
4d0466c559 Configurable mob spawner tick rate 2015-07-14 10:01:28 -07:00
Byteflux
4cd1afddde 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
c17e209dc1 Rebuild patches 2015-07-14 08:59:57 -07:00
Byteflux
a5bb700ee9 Remove obsolete patch 2015-07-10 03:45:20 -07:00
Byteflux
c3a07a7060 Remove bad condition in async lighting check 2015-07-10 03:20:10 -07:00
Byteflux
edfdff2218 Load chunks in getCubes() 2015-07-07 13:44:35 -07:00
Byteflux
f1652c14d8 Fix off-by-one in async lighting neighbor loop 2015-07-04 17:42:28 -07:00
Byteflux
5ceee0e6e0 Fix liquids stuck in fast drain loop 2015-07-03 12:38:43 -07:00
Byteflux
7f032d52e6 Add player view distance API 2015-07-01 01:01:42 -07:00
Byteflux
d07fe95b65 Configurable lava flow speed 2015-07-01 00:39:31 -07:00
Byteflux
6d7eed6d75 Clean up async lighting patch 2015-07-01 00:27:58 -07:00
Byteflux
ca8627834d Clean up forced chunk loading patch 2015-06-30 22:58:11 -07:00
Byteflux
41064e2faa Fast draining 2015-06-30 20:22:24 -07:00
Byteflux
7ef5da4a4d Stop updating flowing block if material has changed 2015-06-30 19:46:05 -07:00
Byteflux
2811124265 Always use optimized draining fix 2015-06-30 19:23:17 -07:00
Zach Brown
929b5b0452 Patch rebuild 2015-06-27 01:18:29 -05:00
Zach Brown
5d7c5da500 Rebuild patches 2015-06-20 22:05:36 -05:00
Byteflux
111ed5569b Optimize explosions 2015-06-16 05:55:15 -07:00
Byteflux
d3a270e365 Do not filter out large getEntities call 2015-06-16 05:34:03 -07:00
Zach Brown
6b6eb8f7f7 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
b537fcb6cd Rebuild a patch for upstream changes 2015-06-07 15:51:24 -05:00
Zach Brown
55b35d8a6f Rebuild patches 2015-06-06 12:15:22 -05:00
Byteflux
f6bd873c1d Update to 1.8.7 2015-06-05 05:45:30 -07:00
Byteflux
d6fa7c2b99 FallingBlock and TNT entities collide with specific blocks 2015-06-05 01:24:22 -07:00
Byteflux
e82e438855 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
d75469a33d Migrate old TNT height nerf settings to falling block height nerf 2015-06-04 03:57:23 -07:00
Byteflux
9420859807 Remove giant TNT changes patch 2015-06-04 01:42:09 -07:00
Byteflux
a5158e4b5c Fix another structure generator NPE 2015-06-02 02:13:19 -07:00
Byteflux
4bd0540daa Fix NPE when disabling certain structure generators 2015-06-02 01:47:50 -07:00
Byteflux
1a53596cb0 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
a34f61611b Fix lag from explosions processing dead entities 2015-06-01 22:56:10 -07:00
Byteflux
3cf6c48811 Stackable Buckets 2015-06-01 22:27:22 -07:00
Zach Brown
9ac5394f72 Re-add the teleport passenger/vehicel with player patch from 1.7.10 2015-05-31 01:52:17 -05:00
Zach Brown
233814297b 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
31fe931194 Rebuild Patches for upstream changes 2015-05-30 01:11:16 -05:00
Zach Brown
32f10ee552 Bring chunkloading TNT/FallingBlocks/EnderPearls to 1.8
Forward ported from PaperSpigot 1.7.10
2015-05-28 22:19:49 -05:00
DoctorDark
7752c5973f Configurable end credits when leaving the end 2015-05-28 20:30:05 -05:00
Zach Brown
efaef117d3 Rebuild patches for upstream changes 2015-05-28 00:11:18 -05:00
Zach Brown
dfdbaa3bd8 Update to 1.8.6 2015-05-25 15:59:30 -05:00
Zach Brown
ebb90ceeae Things compile better when you update mc-dev 2015-05-23 13:04:28 -05:00
Zach Brown
d69690af14 Update PaperSpigot to 1.8.5 2015-05-23 12:09:55 -05:00
Zach Brown
51360537c1 Misc. cleanup from 1.8.4 update 2015-05-18 19:22:48 -05:00
Jedediah Smith
06c96d094f Fix jar being shaded multiple times 2015-05-18 19:06:27 -05:00
Zach Brown
41cc0debed Re-enable Metrics so that we can better understand our userbase 2015-05-18 19:03:24 -05:00
Zach Brown
4c8a717466 Update PaperSpigot to 1.8.4 2015-05-18 18:41:57 -05:00
Zach Brown
07ff818e53 Rebuild patches 2015-05-10 19:24:52 -05:00
Zach Brown
9012499383 Add ArmorStand Marker NBT API 2015-05-03 17:47:28 -05:00
Zach Brown
d167eb42de Fix a typo in the server POM 2015-05-03 16:28:13 -05:00
Isaac Moore
4651b50153 Add PlayerLocaleChangeEvent 2015-04-27 21:44:11 -05:00
Zach Brown
0348f3fb5e Rebuild patch for update 2015-04-21 17:29:36 -05:00
Zach Brown
6c710c1692 Rebuild a patch for an upstream merge 2015-04-18 16:00:48 -05:00
Zach Brown
8022d678b3 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:50:17 -05:00
Byteflux
1fba83469e Toggleable player crits 2015-04-18 15:10:26 -05:00
Byteflux
b0095e91dc Optimize draining 2015-04-18 15:08:52 -05:00
Byteflux
80aba79938 Async Lighting 2015-04-18 15:02:39 -05:00
Byteflux
0b6c6c3725 Configurable tickNextTickListCap bypass for redstone 2015-04-18 14:53:02 -05:00
Byteflux
69337ef9ee Fix remove-unloaded.enderpearls option not being respected 2015-04-18 14:48:55 -05:00
Byteflux
8bd77dff5a Add FallingBlock source location API 2015-04-18 14:46:35 -05:00
Zach Brown
83fc0d21e7 Rebuild patches 2015-04-16 15:38:30 -05:00
Zach Brown
e62cf21c8f Rebuild patches 2015-04-13 15:48:16 -05:00
Zach Brown
9a77c8ec95 Always tick falling blocks - Exclude from EAR 2015-04-10 18:07:59 -05:00