Commit graph

1309 commits

Author SHA1 Message Date
Zach Brown
5bbc6ad511 Update from upstream SpigotMC
Skip invalid enchants in CraftMetaItem SpigotMC/Spigot@542e0798da
2014-08-19 13:40:15 -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
a243d1abe5 Update from upstream SpigotMC
Fix Corrupted Trapped Chests SpigotMC/Spigot@08de30ca3e
Don't time async events SpigotMC/Spigot@c3a9e71da3
2014-08-15 14:35:58 -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
51f6e4347a Update travis-ci link in readme 2014-08-09 18:15:45 -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
Zach Brown
c42e01a8b4 Update from upstream SpigotMC
Upstream Merge (Bukkit + CraftBukkit) SpigotMC/Spigot@da20125dab
Plug WorldMap Memory Leak SpigotMC/Spigot@da20125dab
2014-08-08 17:15:42 -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
034094e8d3 Update from upstream SpigotMC
Fix LEFT_CLICK_AIR detection when not in creative SpigotMC/Spigot@883534a72a
2014-08-07 14:33:06 -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
47f9c99934 Update from upstream SpigotMC
Fixed: Check cast SpigotMC/Spigot@7efa75c63a
2014-08-06 18:00:55 -05:00
Zach Brown
b01bcb4e17 Add linux temp files (*~) to .gitignore 2014-08-06 17:58:23 -05:00
Zach Brown
4df7953678 Cleanup our patches 2014-08-05 18:45:22 -05:00
Zach Brown
e7c9889883 Update from upstream SpigotMC
Fix timings SpigotMC/Spigot@7d79f6bf5e
Fix the particle api using the wrong Material class SpigotMC/Spigot@f5a1e7a96f
2014-08-05 13:44:19 -05:00
Zach Brown
7a921fe094 Update CraftBukkit 2014-08-04 15:11:38 -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
Zach Brown
89c42dfe2c Upsteam fix missed diff from MC 1.3.1 Update
SpigotMC/Spigot@2e45f5d2fa
2014-08-01 03:51:00 -05:00
Zach Brown
e05d2a7780 Update from upstream SpigotMC
Merge the max health attribute patch into the previous one SpigotMC/Spigot@8d45fe7f77
Filter attribute modifiers which cause the attribute to go out of its range SpigotMC/Spigot@463a1eb595
2014-07-31 19:16:47 -05:00
Zach Brown
4453e4b71a Update from upstream SpigotMC
Skip online mode UUID lookups when in offline mode and not using Bungee. SpigotMC/Spigot@25b673fd7e
2014-07-30 03:39:03 -05:00
Byteflux
ceed63e32d Stop rebuilding Spigot's patches 2014-07-30 03:37:05 -05: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
Zach Brown
651c32a5f7 Update from upstream SpigotMC
Set the minimum max health attribute value to 0.1 SpigotMC/Spigot@d3b9fa0d1f
Add an option for a global cache for any request on Mojang's api SpigotMC/Spigot@3452c620df
Handle cases where the api fails to return a profile SpigotMC/Spigot@6a6eff3319
2014-07-29 14:59:47 -05:00
Zach Brown
44b38f4968 Stop using spigotmc.org as a redirect for timings 2014-07-28 03:29:08 -05:00
Zach Brown
86c0528de1 Update from upstream SpigotMC
Allow Attribute Capping. SpigotMC/Spigot@fb3a9d38dd
Fix unit tests (broken in the above) SpigotMC/Spigot@1e98f1161f
Update attribute maxes again once loaded SpigotMC/Spigot@2bf4481e15
2014-07-28 03:00:45 -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
595e74227b Fix CraftBukkit-Patches/0032 that got mangled in the upstream update 2014-07-27 14:26:04 -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
Zach Brown
33c524c29b Update from upstream SpigotMC
No need to wait for the conversation to finish SpigotMC/Spigot@67b502b6f8
2014-07-23 10:56:36 -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
867d37a1cf Add travis back to README.md 2014-07-22 15:28:35 -05:00