Commit graph

612 commits

Author SHA1 Message Date
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