Commit graph

777 commits

Author SHA1 Message Date
Spigot
e715887ac8 Stage BiomeDecorator so we can get line numbers to match for stack traces.
By: md_5 <git@md-5.net>
2013-12-19 17:44:57 +11:00
Spigot
3361b3f92a Allow the console to use vanilla commands
By: Thinkofdeath <thethinkofdeath@gmail.com>
2013-12-18 11:40:35 +00:00
Spigot
384711f512 Fall back to our own URL clicking method as it works with more cases.
By: md_5 <git@md-5.net>
2013-12-18 20:41:42 +11:00
Spigot
72cde1fd01 Upstream merge
By: md_5 <git@md-5.net>
2013-12-18 17:48:18 +11:00
Spigot
be8c216be7 Invert command complete check
By: md_5 <git@md-5.net>
2013-12-18 17:24:24 +11:00
Spigot
0b64be883f Log Cause of Unexpected Exceptions
By: md_5 <git@md-5.net>
2013-12-18 13:39:28 +11:00
Spigot
a8fee4cba9 Fire PreLogin Events in Offline Mode
By: md_5 <git@md-5.net>
2013-12-18 13:32:30 +11:00
Spigot
823793d899 Add VanillaCommandWrapper which allows use of vanilla commands instead of Bukkit's versions
By: Thinkofdeath <thethinkofdeath@gmail.com>
2013-12-17 13:56:38 +00:00
Spigot
6eb0be4005 Remove references to chunklist
Commit c576054539790bdeb35285f62863d74b48c0782d removed the chunklist collection stored in ChunkProviderServer, however it has been partially restored in some places by 7e1ac0a77129b169704c1e222ff2deb3ab6cd2d2.  As not all references to this were restored, this has caused the chunklist and chunks collections to become out of sync, resulting in a memory leak.

By: frymaster <frymaster@12700.org>
2013-12-18 09:29:51 +11:00
Spigot
1b7eeff884 Revert processed disconnect change - the flag is not set as reliably as it was in previous server versions.
By: md_5 <git@md-5.net>
2013-12-18 08:44:28 +11:00
Spigot
367452637f Use the processedDisconnect flag for disconnects. This means that we will only say the player has disconnected once the server tick look has processed them as such. Fixes some issues with players quitting during join.
By: md_5 <git@md-5.net>
2013-12-17 18:25:05 +11:00
Spigot
90d8ee9bea Allow Bungee to pass through UUIDs. This will be added to bungee in a few days, so people get a chance to update Spigot first.
By: md_5 <git@md-5.net>
2013-12-16 22:39:18 +11:00
Spigot
31a53ff7dd Delay creation of serverconnection until needed so that our settings can take effect.
By: md_5 <git@md-5.net>
2013-12-16 11:47:23 +11:00
Spigot
33386be72f Don't box / rebox on object addition
By: md_5 <git@md-5.net>
2013-12-14 19:50:33 +11:00
Spigot
a6351f2271 Add an attempt at backwards compatability for (broken) NMS plugins. Also set negative no entry values as these cannot occur.
cc @aadnk

By: md_5 <git@md-5.net>
2013-12-14 19:48:13 +11:00
Spigot
5cd48cf621 Merge in some stuff
By: md_5 <git@md-5.net>
2013-12-14 17:58:22 +11:00
Spigot
098db09224 Prevent Mineshaft Structure Saving.
There is very little reason to keep track of Mineshafts as the only persistent behaviour within them is through the use of mob spawners, which are of course stored within the map itself. As such we can disable them from being saved, indefinitely, until there is reason to do so.

By: md_5 <git@md-5.net>
2013-12-13 15:22:51 +11:00
Spigot
1b918f4450 Configurable Amount of Netty Threads, defaulting to 4
This brings back the option that the Spigot version of netty saw. By default Netty will try and use cores*2 threads, however if running multiple servers on the same machine, this can be too many threads. Additionally some people have 16 core servers. If 32 Netty threads are allowed in this setup, then the lock contention, and thus blocking between threads becomes much greater, leading to decreased performance.

By: md_5 <git@md-5.net>
2013-12-13 11:59:09 +11:00
Spigot
6858924931 *aggression
By: md_5 <git@md-5.net>
2013-12-13 11:54:00 +11:00
Spigot
d8325893c7 Allow Disabling Zombie Villager Agression.
Useful for larger servers who want a nice performance boost at the expense of a little bit of gameplay mechanic changes. I believe this brings the mechanics of zombie vs villager back in line with 1.5.

By: md_5 <git@md-5.net>
2013-12-13 11:48:56 +11:00
Spigot
ec82d3b06b Optimize DataWatcher
Use primitive orientated collections, as well as more effective copies across collections.

By: md_5 <git@md-5.net>
2013-12-13 11:45:53 +11:00
Spigot
9a3140c935 Split out the configuration of engine modes 1 and 2 to eliminate the block lag seen when mining stone or wood and using engine mode 1.
Now we maintain a new list of blocks to replace with ores in engine mode 2, to ensure that we only update when players mine blocks that are potentially not an ore. We could perhaps even elimate this slight lag from mode 2 by reducing the need for calling update(x,y,z)

By: md_5 <git@md-5.net>
2013-12-13 11:28:47 +11:00
Spigot
9f9133e482 Pop anti xray patch to top
By: md_5 <git@md-5.net>
2013-12-13 11:10:33 +11:00
Spigot
b8bcd2ec69 Fix new lines break URL matching
By: Thinkofdeath <thethinkofdeath@gmail.com>
2013-12-11 18:09:41 +00:00
Spigot
d024ff3570 Fix Orebfuscator
By: Thinkofdeath <thethinkofdeath@gmail.com>
2013-12-11 09:37:27 +00:00
Spigot
130d646157 Bring bungee support back in line with what the protocol update had
By: md_5 <md_5@live.com.au>
2013-12-11 11:25:32 +11:00
Spigot
4761aaf833 Upstream merge
By: md_5 <md_5@live.com.au>
2013-12-10 09:36:25 +11:00
Spigot
17ee35372b Fix the "Faster UUID for entities" patch (Fixes #81)
By: Thinkofdeath <thethinkofdeath@gmail.com>
2013-12-09 16:19:26 +00:00
Spigot
0e7e70dccb Fix TNT crashing servers when breaking item frames
By: TheUnnamedDude <kevin.sillerud@gmail.com>
2013-12-09 11:37:51 +00:00
Spigot
1b892806b8 Fix a possible error with links
By: Thinkofdeath <thethinkofdeath@gmail.com>
2013-12-09 10:38:44 +00:00
Spigot
a6e7c7a91e Upstream merge
By: md_5 <md_5@live.com.au>
2013-12-09 18:00:58 +11:00
Spigot
987080283a Remove OS X Special Chars from Signs
By: md_5 <md_5@live.com.au>
2013-12-08 16:52:54 +11:00
Spigot
6c25641115 Fix crash caused by tnt destroying item frames
By: md_5 <md_5@live.com.au>
2013-12-06 20:32:13 +11:00
Spigot
320a37f9d5 Fix Jungle Tree Generation
By: md_5 <md_5@live.com.au>
2013-12-06 17:17:16 +11:00
Spigot
a4f5d8752a Fix Jungle Tree Generation
By: md_5 <md_5@live.com.au>
2013-12-06 17:16:42 +11:00
Spigot
9c9293377a Allow Teleportation of Vehicles and Passengers
By: ItsHarry <info@itsjerryandharry.com>
2013-12-05 21:59:53 +01:00
Spigot
c9d51dff33 Fire EntityDamageByEntityEvent for ItemFrames. This allows them to be protected more effectively.
By: md_5 <md_5@live.com.au>
2013-12-05 18:41:50 +11:00
Spigot
da70799bc2 Dont let commands run async
By: md_5 <md_5@live.com.au>
2013-12-05 16:57:01 +11:00
Spigot
d5ccd44b77 Duplicate Disconnect Prevention. In 1.7 mojang removed the this.disconnected flag. We add it back to prevent users from forcibly disconnecting themselves in a short amount of time.
By: md_5 <md_5@live.com.au>
2013-12-05 16:33:50 +11:00
Spigot
6a269ffdfc Fix broken async chat. Since Mojang introduced netty, but removed async packet handling, there are now only a few threads available to consume packets. Unfortunately we now have to maintain async chat support. In order to allow Async events to not kill these precious few threads, we do what we did in our Netty implementation, and offload these to their own, decoupled thread pool.
By: md_5 <md_5@live.com.au>
2013-12-05 13:57:12 +11:00
Spigot
50bfdebcde Fix color codes breaking urls
By: Thinkofdeath <thethinkofdeath@gmail.com>
2013-12-04 14:41:40 +00:00
Spigot
d908152b5e Fix shade fix accidentally being unmerged
By: md_5 <md_5@live.com.au>
2013-12-04 19:57:08 +11:00
Spigot
fc18b31f67 Take random light updates option into account before relighting a chunk on its first tick.
By: md_5 <md_5@live.com.au>
2013-12-03 15:51:04 +11:00
Spigot
e89a8b6916 Address some chunk gen speed issues - see below for current reasoning.
As of 1.7, Mojang added a check to make sure that only chunks which have been lit are sent to the client. Unfortunately this interferes with our modified chunk ticking algorithm, which will only tick chunks distant from the player on a very infrequent basis. We cannot unfortunately do this lighting stage during chunk gen as it appears to put a lot more noticeable load on the server, than when it is done at play time. For now at least we will simply send all chunks, in accordance with pre 1.7 behaviour.

By: md_5 <md_5@live.com.au>
2013-12-03 15:43:02 +11:00
Spigot
739f396eba Upstream merge
By: md_5 <md_5@live.com.au>
2013-12-03 15:13:39 +11:00
Spigot
223fa04f6f Fix Huge Mushroom Caps
By: md_5 <md_5@live.com.au>
2013-12-03 11:28:39 +11:00
Spigot
c575b39624 [Bukkit Bug] Clear flower pots on drop so that they are not dropped twice.
By: md_5 <md_5@live.com.au>
2013-12-03 11:08:07 +11:00
Spigot
68809545f3 Fix some chunks not being sent to the client
By: Thinkofdeath <thethinkofdeath@gmail.com>
2013-12-02 23:44:13 +00:00
Spigot
81d4061dca Remove spurious patch going into final repo
By: md_5 <md_5@live.com.au>
2013-12-03 10:19:35 +11:00
Spigot
534e2d536d Actually fix division by 0 in growth
By: md_5 <md_5@live.com.au>
2013-12-03 09:05:49 +11:00
Spigot
9b902e4a4c Update maven shade plugin so that newer maven versions (ie travis) will compile.
By: md_5 <md_5@live.com.au>
2013-12-03 08:21:58 +11:00
Spigot
2a1fcf3461 Upstream merge
By: md_5 <md_5@live.com.au>
2013-12-03 08:21:46 +11:00
Spigot
e6a3002858 Prevent crash from division by 0 in growth rates
By: Dmck2b <dmck2b+github@gmail.com>
2013-12-03 08:14:39 +11:00
Spigot
6082ad29c1 Fix links missing the path once clicked
By: Thinkofdeath <thethinkofdeath@gmail.com>
2013-12-02 11:27:23 +00:00
Spigot
07651a3c66 Fix some recipe book bugs introduced in 1.7. The full PR can be seen at Bukkit/CraftBukkit#1270
By: md_5 <md_5@live.com.au>
2013-12-02 17:26:11 +11:00
Spigot
faa3444174 [Bukkit Bug] Fix experience not being dropped by ores
By: md_5 <md_5@live.com.au>
2013-12-02 14:54:19 +11:00
Spigot
9a876418c1 Upstream merge
By: md_5 <md_5@live.com.au>
2013-12-02 07:36:51 +11:00
Spigot
daa4a91c5f Fix links in chat
By: Thinkofdeath <purggames@gmail.com>
2013-12-01 10:35:33 +00:00
Spigot
82655e30b3 Next tick list patch is causing odd speedups. Lets remove until @ammar2 or @mikeprimm can investigate.
By: md_5 <md_5@live.com.au>
2013-12-01 18:59:45 +11:00
Spigot
8e128cb0d0 More custom messages.
By: md_5 <md_5@live.com.au>
2013-12-01 18:40:51 +11:00
Spigot
3f368ccf84 BungeeCord Support
Provides support for IP forwarding via BungeeCord.

By: md_5 <md_5@live.com.au>
2013-12-01 18:18:51 +11:00
Spigot
35bd15b556 [Bukkit Bug] Fix packed ice generation crashing the server.
By: md_5 <md_5@live.com.au>
2013-12-01 17:52:29 +11:00
Spigot
dd156aab3c [Bukkit Bug] Fix doors being opened by redstone.
By: md_5 <md_5@live.com.au>
2013-12-01 17:29:03 +11:00
Spigot
c3b250520f "It Compiles" - Update Spigot to Minecraft 1.7.2 proper. See below for full release notes (MUST READ).
This is a lightly tested build. You are encouraged to keep backups at all times. Please attempt to report all issues to IRC. The following features are intentionally missing from this build and will be added as soon as humanly possible.
- BungeeCord IP forwarding
- Firing of AsyncLoginEvent in offline mode
- A few custom kick / other hardcoded messages

As always this build comes with no warranty.
Thanks for your support.
~md_5

By: md_5 <md_5@live.com.au>
2013-12-01 17:12:38 +11:00
Spigot
1962fb3011 Stage two done
By: md_5 <md_5@live.com.au>
2013-12-01 16:17:16 +11:00
Spigot
40affc9057 Remove log formatting
By: md_5 <md_5@live.com.au>
2013-12-01 16:02:56 +11:00
Spigot
e72250e21a More stuff
By: md_5 <md_5@live.com.au>
2013-12-01 16:00:50 +11:00
Spigot
6feb9d719f Progress check
By: md_5 <md_5@live.com.au>
2013-12-01 15:36:32 +11:00
Spigot
9746fe7a1e Update mc-dev etc.
By: md_5 <md_5@live.com.au>
2013-12-01 15:13:58 +11:00
Spigot
ff79e2c7df Stage 1
By: md_5 <md_5@live.com.au>
2013-12-01 14:40:53 +11:00
Spigot
90518adcbb Update orebfuscator on block update.
By: md_5 <md_5@live.com.au>
2013-11-27 22:01:50 +11:00
Spigot
964389e910 Update master to R2 as well.
By: md_5 <md_5@live.com.au>
2013-11-05 10:46:34 +11:00
Spigot
9658a61088 Upstream Merge
By: md_5 <md_5@live.com.au>
2013-10-24 21:23:24 +11:00
Spigot
b2b1c8d793 Configure restart message
By: md_5 <md_5@live.com.au>
2013-10-16 19:38:15 +11:00
Spigot
2c12c439ed Arrow despawn rate is now configurable
By: md_5 <md_5@live.com.au>
2013-10-14 19:20:28 +11:00
Spigot
45b3124c85 Fix entity dead check in respawn API
By: md_5 <md_5@live.com.au>
2013-10-11 22:23:25 +11:00
Spigot
a80638d736 Properly validate blocks in particle api
By: md_5 <md_5@live.com.au>
2013-10-11 10:17:09 +11:00
Spigot
43fe7d7945 Fix up patch tree.
By: md_5 <md_5@live.com.au>
2013-10-09 18:22:37 +11:00
Spigot
ffa66cbd53 Fix BrewingStands Removing NBT / Potions
By: md_5 <md_5@live.com.au>
2013-10-09 18:20:20 +11:00
Spigot
c7a44916b5 Pull in respawn API, thanks @ninja-
By: Ammar Askar <ammar@ammaraskar.com>
2013-10-08 18:56:05 +05:00
Spigot
082750dfb1 Remove duplicate newline in report dumping
By: md_5 <md_5@live.com.au>
2013-10-08 16:50:05 +11:00
Spigot
0f7b600353 Silly git
By: md_5 <md_5@live.com.au>
2013-10-06 17:41:30 +11:00
Spigot
a99d5642b6 Better way of doing this without making plugins angry
By: md_5 <md_5@live.com.au>
2013-10-06 17:41:06 +11:00
Spigot
47799b829e Don't Special Case X Move Value
By: md_5 <md_5@live.com.au>
2013-10-06 17:37:54 +11:00
Spigot
383a72e024 Add a fix for clearing potion effects on respawn
By: mrapple <tony@oc.tc>
2013-10-01 21:15:29 -05:00
Spigot
8c8db4e538 Catch all cases of updating with regards to falling blocks and anti xray
By: md_5 <md_5@live.com.au>
2013-09-30 21:54:44 +10:00
Spigot
4ca21772ea Revert snapshot support for the time being
This reverts commit ab57604976.

By: Ammar Askar <ammar@ammaraskar.com>
2013-09-28 19:57:04 +05:00
Spigot
78e6a9dfac Stupid debug stuff
By: md_5 <md_5@live.com.au>
2013-09-28 19:50:25 +10:00
Spigot
a23a08bcf0 Fix stat sending
By: md_5 <md_5@live.com.au>
2013-09-28 18:44:19 +10:00
Spigot
ab57604976 Snapshot protocol for latest snapshot
By: md_5 <md_5@live.com.au>
2013-09-28 18:36:05 +10:00
Spigot
08adb344ce Remove update physics patch as it causes issues with physics events
By: md_5 <md_5@live.com.au>
2013-09-25 08:49:47 +10:00
Spigot
4907e8b095 Revert "Remove metrics now to avoid issues later on. TODO: Make own metrics."
This reverts commit 70d2a558bc.

By: md_5 <md_5@live.com.au>
2013-09-23 10:48:38 +10:00
Spigot
70d2a558bc Remove metrics now to avoid issues later on. TODO: Make own metrics.
By: md_5 <md_5@live.com.au>
2013-09-22 19:16:15 +10:00
Spigot
b32f5443e9 Allow configuration of Item Despawn Rate
By: md_5 <md_5@live.com.au>
2013-09-22 19:11:09 +10:00
Spigot
592cae8e3e Upstream merge
By: md_5 <md_5@live.com.au>
2013-09-21 13:39:32 +10:00
Spigot
b9b50f31e2 Don't let it manually re-register a map file
By: md_5 <md_5@live.com.au>
2013-09-21 12:58:36 +10:00
Spigot
232904c96f Allow disabling of 1.6.3 structure saving. Use with caution!
By: md_5 <md_5@live.com.au>
2013-09-21 12:33:27 +10:00
Spigot
8be2a68223 Fix decompile error resulting in broken TNT!
By: md_5 <md_5@live.com.au>
2013-09-20 16:02:42 +10:00
Spigot
d0f0d605bf Update to CraftBukkit 1.6.4
By: md_5 <md_5@live.com.au>
2013-09-20 11:46:45 +10:00
Spigot
759d56f0fb Really update, thanks EvilTechie for the typo
By: md_5 <md_5@live.com.au>
2013-09-20 08:34:41 +10:00
Spigot
500eb7d7a3 Update to Minecraft 1.6.4 (protocol) - real update coming shortly. MOJANG!
By: md_5 <md_5@live.com.au>
2013-09-20 08:26:07 +10:00
Spigot
37980db836 Fix custom outdated server/client messages
By: md_5 <md_5@live.com.au>
2013-09-19 17:59:24 +10:00
Spigot
1c409fc273 Finish 1.6.3 - needs testing, use at own risk!
By: md_5 <md_5@live.com.au>
2013-09-19 17:22:55 +10:00
Spigot
5e94764a80 Update to Minecraft 1.6.3 - part 1
By: md_5 <md_5@live.com.au>
2013-09-19 17:15:49 +10:00
Spigot
28c227c0bd Add event for fire arrows igniting TNT - pulls Bukkit/CraftBukkit#1203
By: BlackHole <black-hole@live.com>
2013-09-16 10:54:11 +10:00
Spigot
106fa64a59 Nerf the Zombie Lag issues in MC 1.6 - Fixes MC-17630
By: Dylan Xaldin <Puremin0rez515@gmail.com>
2013-09-14 11:03:28 +10:00
Spigot
5c64b996ac Update Inventory and Health for PlayerConsumeItemEvent
By: md_5 <md_5@live.com.au>
2013-09-14 10:16:46 +10:00
Spigot
ea8329ff18 Only update Attachable's when applyPhysics is true
By: md_5 <md_5@live.com.au>
2013-09-14 10:11:53 +10:00
Spigot
5bedbbde42 Update Physics When Updating Attachables
By: Chad Waters <authorblues@gmail.com>
2013-09-13 14:19:31 +10:00
Spigot
754e2b5680 Upstream merge + remove 3 pulled patches.
By: md_5 <md_5@live.com.au>
2013-09-12 10:17:46 +10:00
Spigot
70387ed9d8 Re add hopper checks
By: erocs <github@erocs.org>
2013-09-09 14:40:16 +10:00
Spigot
27d640a630 Netty 4.0.9 is out
By: md_5 <md_5@live.com.au>
2013-09-08 08:45:06 +10:00
Spigot
aecf382223 Upstream merge.
By: md_5 <md_5@live.com.au>
2013-09-08 08:36:30 +10:00
Spigot
e7e8fa87a5 Prevent Duplicate Handshakes
By: Nathan Adams <dinnerbone@dinnerbone.com>
2013-09-03 11:17:26 +10:00
Spigot
1706e57301 Remove Pool Login Verifier Threads patch
By: Ammar Askar <ammar@ammaraskar.com>
2013-09-02 15:41:33 +02:00
Spigot
c968e139fa Manually set nodelay so we can ignore errors
By: md_5 <md_5@live.com.au>
2013-09-01 18:23:51 +10:00
Spigot
45a9f75d56 Revert "Fix issue with chunk caching patch"
This reverts commit f11258ccde.

By: md_5 <md_5@live.com.au>
2013-08-27 19:17:39 +10:00
Spigot
bf0826ad5f Subsequently remove hopper check option
By: md_5 <md_5@live.com.au>
2013-08-25 12:24:14 +10:00
Spigot
0f3ee2772a Revert unjustified changes to hopper behaviour.
By: md_5 <md_5@live.com.au>
2013-08-25 12:22:37 +10:00
Spigot
3ff928cd7d Pool Login Verifier Threads
dem threads are expensive to make

By: md_5 <md_5@live.com.au>
2013-08-23 17:38:53 +10:00
Spigot
047c339a29 Ensure main thread stack is dumped
By: md_5 <md_5@live.com.au>
2013-08-09 20:34:05 +10:00
Spigot
3eb0f032f0 Upstream merge
By: md_5 <md_5@live.com.au>
2013-08-07 17:16:57 +10:00
Spigot
fe5a2d46bd Oops, fix min speed patch
By: md_5 <md_5@live.com.au>
2013-08-07 07:19:06 +10:00
Spigot
0666c706ab Cap min speed not velocity
By: md_5 <md_5@live.com.au>
2013-08-06 11:19:10 +10:00
Spigot
d2874c0f70 Cap Minimum Velcoity to 0.001. The client flips out at smaller values
By: md_5 <md_5@live.com.au>
2013-08-05 20:18:22 +10:00
Spigot
6c78cbed41 Update console command completion for improved thread safety
By: Phillip Schichtel <quick_wango@code-infection.de>
2013-08-04 20:01:08 +10:00
Spigot
eb9d70ade9 Upstream Merge
By: md_5 <md_5@live.com.au>
2013-08-04 08:51:09 +10:00
Spigot
4d8ae2cd25 Guard entity list during ticking
By: Ammar Askar <ammar@ammaraskar.com>
2013-08-03 22:04:58 +05:00
Spigot
f11258ccde Fix issue with chunk caching patch
By: Ammar Askar <ammar@ammaraskar.com>
2013-08-03 20:34:40 +05:00
Spigot
babe9dc513 Update entity count code with World.a(Class)'s new stuff
By: Ammar Askar <ammar@ammaraskar.com>
2013-08-03 20:24:33 +05:00
Spigot
d96eda43f4 Get rid of ambiguity
By: md_5 <md_5@live.com.au>
2013-08-03 19:59:46 +10:00
Spigot
20257562ed Add Getter for Entity Invulnerability
By: DerFlash <bte@freenet.de>
2013-08-03 19:54:36 +10:00
Spigot
6f2192f67d Add task class to timings for more in depth info
By: md_5 <md_5@live.com.au>
2013-08-03 19:39:35 +10:00
Spigot
d8cda0998a Pop latest 2 patches to top
By: md_5 <md_5@live.com.au>
2013-08-03 19:35:01 +10:00
Spigot
d2d934daef Fully disable snooper when not required
By: agentk20 <agentkid20@gmail.com>
2013-08-03 19:29:14 +10:00
Spigot
dd99011ca7 Add Player Collision API. Thanks to @lazertester and @mrapple for the implementation.
By: md_5 <md_5@live.com.au>
2013-08-03 19:27:26 +10:00
Spigot
41a56136e4 Dump main server thread first for easier reading of the watchdog dumps and to reduce people unable to read and spamming our forums
By: md_5 <md_5@live.com.au>
2013-08-03 19:15:22 +10:00
Spigot
24787be055 Add more async safeguards
By: md_5 <md_5@live.com.au>
2013-08-03 19:09:09 +10:00
Spigot
1f9bb9aa50 Plug world unload memory leak. Thanks @riking for identifying the issue.
By: md_5 <md_5@live.com.au>
2013-08-03 19:03:14 +10:00
Spigot
856302335f Please don't use "null" as a spam exclusion. Guard against it anway.
By: md_5 <md_5@live.com.au>
2013-08-03 19:01:50 +10:00
Spigot
5cc838372a Add outdated client / server messages to config
By: md_5 <md_5@live.com.au>
2013-08-03 18:58:44 +10:00
Spigot
19214d1353 Upstream merge
By: md_5 <md_5@live.com.au>
2013-08-03 18:45:50 +10:00
Spigot
9bf474514e Upstream merge
By: md_5 <md_5@live.com.au>
2013-07-30 07:24:23 +10:00
Spigot
b677c5c34b Sigh. Back to good old fashioned whatever we had before. Can anyone recommend some xray client I can actually use to test this stuff?
By: md_5 <md_5@live.com.au>
2013-07-28 21:47:45 +10:00
Spigot
77b4703a60 Damn I hate mode #2
By: md_5 <md_5@live.com.au>
2013-07-28 20:29:49 +10:00
Spigot
538e1cb15a Fix engine mode 2, again
By: md_5 <md_5@live.com.au>
2013-07-28 15:58:10 +10:00
Spigot
ec7443819f Fix engine mode 2
By: md_5 <md_5@live.com.au>
2013-07-28 08:23:08 +10:00
Spigot
2b445969bd 1,3 can only be expressed as an integer, not a byte! #logic
By: md_5 <md_5@live.com.au>
2013-07-27 11:56:56 +10:00
Spigot
14578a7f24 Add new replacements config for use with anti xray mode 2
By: md_5 <md_5@live.com.au>
2013-07-27 11:48:43 +10:00
Spigot
cd9ad541e7 Fix invalid username patch to disconnect correctly
By: md_5 <md_5@live.com.au>
2013-07-25 17:06:35 +10:00
Spigot
caa031dbae Should probably do an upstream update.
By: md_5 <md_5@live.com.au>
2013-07-24 19:29:30 +10:00
Spigot
75ed907450 Bump netty versions ._.
By: md_5 <md_5@live.com.au>
2013-07-24 17:43:12 +10:00
Spigot
11b1da6640 Update to Netty 4.0.3 final!
By: md_5 <md_5@live.com.au>
2013-07-19 19:45:54 +10:00
Spigot
087a8e7927 Update to latest CB
By: md_5 <md_5@live.com.au>
2013-07-19 19:35:01 +10:00
Spigot
76d133d561 Simplify contains in LongHashSet along with some other minor tweaks
By: Ammar Askar <ammar@ammaraskar.com>
2013-07-19 13:16:32 +05:00
Spigot
8f35a73bd8 Added simple entity ticking caching
By: Ammar Askar <ammar@ammaraskar.com>
2013-07-16 16:21:55 +05:00
Spigot
e0e0951d6a [Anti XRay] Don't trigger updates on the clicked block - fixes block lag caused when mining ores quickly.
By: md_5 <md_5@live.com.au>
2013-07-15 14:14:45 +10:00
Spigot
d80eaa142d Reset default antixray blocks to remove 1 and 5, to fix block lag people have being seeing. Thanks @andrewkm for the report.
By: md_5 <md_5@live.com.au>
2013-07-13 11:37:21 +10:00
Spigot
304db122f2 Add additional case for EntityDismountEvent
By: md_5 <md_5@live.com.au>
2013-07-11 16:59:26 +10:00
Spigot
86504a0fb1 Remove CraftHorse patch since it is now covered by upstream
By: md_5 <md_5@live.com.au>
2013-07-11 11:33:09 +10:00
Spigot
51c9200b04 Update to latest CraftBukkit and refresh all patch hashes - somehow InventoryClickEvent patch got applied twice.
By: md_5 <md_5@live.com.au>
2013-07-11 11:31:30 +10:00
Spigot
9b3ea87959 Fix potion effects not being reset on death. Fixes
BUKKIT-4515

By: MonsieurApple <tony@oc.tc>
2013-07-11 10:28:04 +10:00
Spigot
6398a13b28 Fix client crash with cannot send chat message
By: md_5 <md_5@live.com.au>
2013-07-10 23:46:31 +10:00
Spigot
f93611e5b9 Fixed StructureGrowEvent.getPlayer(); always returning null regardless of whether bone meal was used or not.
By: ItsHarry <info@itsjerryandharry.com>
2013-07-10 13:48:26 +02:00
Spigot
ead2c37bc4 Remove patch that prevents piston extend event firing twice - causes pistons to eat blocks on some occasions. Thanks Salaman and his team for debugging.
By: md_5 <md_5@live.com.au>
2013-07-09 13:16:16 +10:00
Spigot
985aaa8f44 PendingConnection.c() -> d()
By: md_5 <md_5@live.com.au>
2013-07-09 10:48:33 +10:00
Spigot
6fe8638955 Update Spigot to Minecraft 1.6.2
By: md_5 <md_5@live.com.au>
2013-07-09 10:31:10 +10:00
Spigot
0485474219 Update Packet44 to take a snapshot of attributes to prevent concurrent modification leading to bad packets or CMEs. This is a REQURIED update to get support.
By: md_5 <md_5@live.com.au>
2013-07-09 08:29:39 +10:00
Spigot
9ada3efdc8 Change jar name to include 1.6.2
By: md_5 <md_5@live.com.au>
2013-07-08 21:34:43 +10:00
Spigot
85c311cb99 Minor code cleanup to snapshot protocol - nothing functional
By: md_5 <md_5@live.com.au>
2013-07-08 21:27:56 +10:00
Spigot
3c66f908cb Add missing packet
By: md_5 <md_5@live.com.au>
2013-07-08 21:19:55 +10:00
Spigot
2508f3429e 1.6.2 Protocol Support Enabled by Default
By: md_5 <md_5@live.com.au>
2013-07-08 21:17:32 +10:00
Spigot
502135fc95 Add 1.6 Potion Effects. Thanks @bloodsplat for pointing this out.
By: md_5 <md_5@live.com.au>
2013-07-08 12:37:44 +10:00
Spigot
e782a92b06 Always call dismount events regardless of Vehicle or not
By: md_5 <md_5@live.com.au>
2013-07-08 09:21:54 +10:00
Spigot
9cf9dc4d30 Keep CraftServer init early, but make plugins load at approx the same time they do in CraftBukkit - thanks @aadnk for wanting this
By: md_5 <md_5@live.com.au>
2013-07-07 09:33:34 +10:00
Spigot
1734cc8ec7 Replace MessageList with list, see if we can catch issues.
By: md_5 <md_5@live.com.au>
2013-07-07 09:05:04 +10:00
Spigot
77a3e89d68 Ensure packet hooks are called sync - thanks @aadnk for pointing this out
By: md_5 <md_5@live.com.au>
2013-07-07 09:02:13 +10:00
Spigot
6441fc89e8 Did someone say console command completion? These commits were authored by @quickwango and come from Bukkit/Bukkit#868 and Bukkit/CraftBukkit#1151
By: md_5 <md_5@live.com.au>
2013-07-06 09:40:00 +10:00
Spigot
6c4bd965ba Add my "fix" for EntityPersistance, I do believe that removing this check is incorrect and the result of a slight hiccup by Bukkit.
By: md_5 <md_5@live.com.au>
2013-07-05 21:56:07 +10:00
Spigot
b9aad00c71 Add Type Safety checks for............. sanity....?
By: md_5 <md_5@live.com.au>
2013-07-05 13:19:45 +10:00
Spigot
411b35d74f Pull a series of CraftBukkit patches - see below for summary and credits:
Bukkit/CraftBukkit#1145 : @Zarius : Don't fire piston extend event twice
Bukkit/CraftBukkit#1174 : @millerkil : Prevent plugins causing ghost players
Bukkit/CraftBukkit#1177 : @jb-aero : Properly set ambient flag for potion effects

By: md_5 <md_5@live.com.au>
2013-07-05 12:17:22 +10:00
Spigot
9daea9f63d Properly Consume Bonemeal in Dispensers
Don't consume bonemeal if there is no crop in front. Fixes BUKKIT-3790
Pulls Bukkit/CraftBukkit#1172

By: Alex Ciuba <alexciuba@gmail.com>
2013-07-05 12:07:22 +10:00
Spigot
1f0a93e368 Create CraftHorse Instance for EntityHorse
Handle creating instance of CraftHorse for EntityHorse instances and spawn()
Pulls Bukkit/CraftBukkit#1185

By: Mike Primm <mike@primmhome.com>
2013-07-05 12:04:50 +10:00
Spigot
35fa397ba3 Prevent crash on dismount, thanks Salaman for the report!
By: md_5 <md_5@live.com.au>
2013-07-05 10:44:38 +10:00
Spigot
59bb5a39c3 Include only the bits of netty we need
By: md_5 <md_5@live.com.au>
2013-07-04 20:14:10 +10:00
Spigot
8bdeaf2c08 Update Depends
- All of these changes have been reviewed to be binary compatible and in general contract compatible with previous versions of the libraries.

By: md_5 <md_5@live.com.au>
2013-07-04 20:05:41 +10:00
Spigot
51df8e624c Netty CR9
By: md_5 <md_5@live.com.au>
2013-07-04 19:58:09 +10:00
Spigot
be5b8f1b77 Switch index length check around to prevent crashes
By: md_5 <md_5@live.com.au>
2013-07-04 12:09:15 +10:00
Spigot
94a6f8f598 Wouldn't it be nice if the console was coloured - actually colour console messages instead of just leaving colour codes.
By: md_5 <md_5@live.com.au>
2013-07-04 10:12:26 +10:00
Spigot
70bd8275d1 Update again - git isn't as smart as he looks
By: md_5 <md_5@live.com.au>
2013-07-03 14:16:28 +10:00
Spigot
336612e0a4 Update to latest upstream
By: md_5 <md_5@live.com.au>
2013-07-03 14:05:15 +10:00
Spigot
fcf3ea228d Close Horse Inventory on Disconnect
By: md_5 <md_5@live.com.au>
2013-07-03 08:33:49 +10:00
Spigot
c28530c793 Close horse inventory on logoff to prevent dupe
By: Benjamin James Harrison-Sims <tehrainbowguy@gmail.com>
2013-07-02 19:00:39 +01:00
Spigot
7406cbf2d1 Update to latest CraftBukkit - is this more patches without credit I see?
By: md_5 <md_5@live.com.au>
2013-07-03 08:27:18 +10:00
Spigot
115c9744bf Add Entity Mount and Dismount Events - very useful for horses! Thanks @lazertester for the idea!
By: md_5 <md_5@live.com.au>
2013-07-02 20:33:10 +10:00
Spigot
64c5ae2318 [CraftBukkit] Use correct variable when migrating world so as not to screw up rcon and getServerIP
By: md_5 <md_5@live.com.au>
2013-07-02 20:11:09 +10:00
Spigot
88f233b051 Prevent buffer from being freed prematurely or twice.
By: md_5 <md_5@live.com.au>
2013-07-02 17:31:00 +10:00
Spigot
6c0ee1b137 Netty errors? What errors? I see no errors.....
By: md_5 <md_5@live.com.au>
2013-07-02 15:33:58 +10:00
Spigot
1c7edc028b Update to netty CR8
By: md_5 <md_5@live.com.au>
2013-07-02 15:31:49 +10:00
Spigot
ed4ce21f3a Fix 1.5 pinging the server - its a bit hacky, but it works!
By: md_5 <md_5@live.com.au>
2013-07-02 15:27:31 +10:00