Commit graph

1009 commits

Author SHA1 Message Date
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
Spigot
d24f41e9d3 Fix /reload not functioning - thanks AlexM850 for the report.
By: md_5 <md_5@live.com.au>
2013-07-02 15:14:02 +10:00
Spigot
f428695f33 Clean nibble arrays patch Packet51 to fix crash bug mentioned by Drumming102 on IRC.
By: md_5 <md_5@live.com.au>
2013-07-02 15:12:49 +10:00
Spigot
5a1dfe6323 Return of the Netty... dun dun dun
By: md_5 <md_5@live.com.au>
2013-07-02 15:06:15 +10:00
Spigot
451dce0305 Disable netty always - it will be fixed ASAP
By: md_5 <md_5@live.com.au>
2013-07-02 14:30:13 +10:00
Spigot
4a71519c50 Fix CraftBukkit bug - Actually Use Results of PingEvent
By: md_5 <md_5@live.com.au>
2013-07-02 14:29:18 +10:00
Spigot
0f18ae6103 Update Spigot to 1.6.1 and disable Netty. Be sure to keep backups, we will not be held responsible for your loss!
By: md_5 <md_5@live.com.au>
2013-07-02 13:57:42 +10:00
Spigot
8f904d38a6 Spigot 1.6.1 - Those who are aware of the risks will figure out how to compile, testing is underway.
By: md_5 <md_5@live.com.au>
2013-07-02 13:45:51 +10:00
Spigot
cfe2acc941 Remove skeleton bow shoot patch - needs to be updated
By: md_5 <md_5@live.com.au>
2013-07-02 13:41:40 +10:00
Spigot
d1a28ffe8e Update netty and watchdog
By: md_5 <md_5@live.com.au>
2013-07-02 13:36:58 +10:00
Spigot
4612026ede Finish entity actviation range
By: md_5 <md_5@live.com.au>
2013-07-02 13:32:34 +10:00
Spigot
761acb5848 Fix mob spawn patch
By: md_5 <md_5@live.com.au>
2013-07-02 13:24:59 +10:00
Spigot
64226e68f5 Fix nibble array patch - we will need to stage Packet51 in the near future
By: md_5 <md_5@live.com.au>
2013-07-02 13:23:38 +10:00
Spigot
8620af959d Remove patch #15 - optimized chunk unload
By: md_5 <md_5@live.com.au>
2013-07-02 13:21:57 +10:00
Spigot
ff147ff9e8 Update particle api mc-dev staged things
By: md_5 <md_5@live.com.au>
2013-07-02 13:17:13 +10:00
Spigot
3d185b5792 Remove LocalLanguage patch for now
By: md_5 <md_5@live.com.au>
2013-07-02 13:14:40 +10:00
Spigot
acb5c443c4 Update to Minecraft 1.6.1 - Phase 1
By: md_5 <md_5@live.com.au>
2013-07-02 13:03:56 +10:00
Spigot
4bbab21ef6 Split chunk compression to its own patch.
By: md_5 <md_5@live.com.au>
2013-07-02 09:08:07 +10:00
Spigot
966e2bbaa7 Remove multiplexing server connection as we do not need it with 1.6
By: md_5 <md_5@live.com.au>
2013-07-02 09:05:40 +10:00
Spigot
74271eb5c6 Use startsWith for spam exclusions
By: md_5 <md_5@live.com.au>
2013-07-01 14:35:48 +10:00
Spigot
f97526e8e4 No stack traces please
By: md_5 <md_5@live.com.au>
2013-06-30 08:38:54 +10:00
Spigot
9fec210eee Remove slow and complex pipelining and make our own packet writing system. Speed glorious speed.
By: md_5 <md_5@live.com.au>
2013-06-29 17:39:07 +10:00
Spigot
8aa5fe30e8 Even nicer throttling + encoding.
By: md_5 <md_5@live.com.au>
2013-06-29 16:27:52 +10:00
Spigot
072effdf1f Hey ma, look at my packet encoder!
By: md_5 <md_5@live.com.au>
2013-06-29 16:07:41 +10:00
Spigot
84b4b13218 Update to Netty CR7 - boasts numerous bug fixes and improvements, is sex
By: md_5 <md_5@live.com.au>
2013-06-29 15:36:18 +10:00
Spigot
ef89b3e09e Simplify close inventory patch
By: md_5 <md_5@live.com.au>
2013-06-29 13:46:41 +10:00
Spigot
8bcdc3d516 Disallow Interaction With Self
By: md_5 <md_5@live.com.au>
2013-06-28 19:53:05 +10:00
Spigot
040b01fb66 Move close inventories patch up
By: md_5 <md_5@live.com.au>
2013-06-28 14:16:30 +10:00
Spigot
3f42ec4e05 Properly Close Inventories
Properly close inventories when unloading and switching worlds.

By: md_5 <md_5@live.com.au>
2013-06-27 17:26:20 +10:00
Spigot
1099c20b93 Fix potential errors when plugins log with a null message
By: md_5 <md_5@live.com.au>
2013-06-26 16:59:37 +10:00
Spigot
b6be6ce1ea Java 1.6 compile support
By: md_5 <md_5@live.com.au>
2013-06-25 18:12:27 +10:00
Spigot
ba4c25dd83 Always fire PreLoginEvent
By: md_5 <md_5@live.com.au>
2013-06-25 18:09:55 +10:00
Spigot
602e2ecff8 Throw exceptions when we can't bind
By: md_5 <md_5@live.com.au>
2013-06-24 12:24:38 +10:00
Spigot
719b1ae355 Use our throttle method, diff needs a little bit of work. May be buggy, use with care.
By: md_5 <md_5@live.com.au>
2013-06-24 07:42:20 +10:00
Spigot
734dfef5e3 Flip netty/non netty so correct setting is used, still looking into throttle
By: md_5 <md_5@live.com.au>
2013-06-24 07:35:42 +10:00
Spigot
3c26677714 Comment out unused per-listener throttle
By: md_5 <md_5@live.com.au>
2013-06-23 16:45:43 +10:00
Spigot
21f1eebb07 Don't print bind notice twice; throw exception when unable to bind
By: md_5 <md_5@live.com.au>
2013-06-23 16:33:18 +10:00
Spigot
824156515e Pull Bukkit/CraftBukkit#1130 - Include result slot in CraftInventoryAnvil.getItem .Fixes BUKKIT-2788
By: md_5 <md_5@live.com.au>
2013-06-23 13:58:40 +10:00
Spigot
bc348c2610 Customize server is full message
By: md_5 <md_5@live.com.au>
2013-06-23 11:06:30 +10:00
Spigot
ea9944d35f Add log filtering!
By: md_5 <md_5@live.com.au>
2013-06-22 16:40:34 +10:00
Spigot
8d1d1539e7 I found you, Mr Disable Random Light Updates!
By: md_5 <md_5@live.com.au>
2013-06-22 16:12:17 +10:00
Spigot
f7e26d5d5c Fix Bungee support
By: md_5 <md_5@live.com.au>
2013-06-22 15:48:42 +10:00
Spigot
4a788da52a Add netty-threads option
By: md_5 <md_5@live.com.au>
2013-06-22 14:35:20 +10:00
Spigot
9f926239de Cactus Cactus Cactus Cactus Cactus
By: md_5 <md_5@live.com.au>
2013-06-22 14:16:11 +10:00
Spigot
85a9d69882 Properly re-register commands on reload
By: md_5 <md_5@live.com.au>
2013-06-22 14:07:01 +10:00
Spigot
1a3bda4647 Integer cannot be cast to Short :(
By: md_5 <md_5@live.com.au>
2013-06-22 13:59:56 +10:00
Spigot
09df784b46 Add a patch to allow configuring and editing some server messages.
By: md_5 <md_5@live.com.au>
2013-06-21 19:22:15 +10:00
Spigot
897cea1bba The server loads all settings correctly as far as I can tell. This marks the end of stage 2. Stage 3 (testing of all features and commands) will start tomorrow.
By: md_5 <md_5@live.com.au>
2013-06-21 19:17:26 +10:00
Spigot
e1afaad64e Load from correct class
By: md_5 <md_5@live.com.au>
2013-06-21 19:10:58 +10:00
Spigot
1521d8448f Progress on actually getting stuff to load.
By: md_5 <md_5@live.com.au>
2013-06-21 19:08:32 +10:00
Spigot
0e540153e1 More static please
By: md_5 <md_5@live.com.au>
2013-06-21 18:57:20 +10:00
Spigot
4019e76015 *wipes sweat off brow, add /tps and /restart commands
By: md_5 <md_5@live.com.au>
2013-06-21 18:25:45 +10:00
Spigot
37369ecbbd Add ability to register commands
By: md_5 <md_5@live.com.au>
2013-06-21 18:21:29 +10:00
Spigot
f0c6238875 Reload support for spigot.yml
By: md_5 <md_5@live.com.au>
2013-06-21 18:14:27 +10:00
Spigot
ecd2b441c7 Add our tab complete patch back
By: md_5 <md_5@live.com.au>
2013-06-21 18:06:04 +10:00
Spigot
a27c1bf25b Add our command logging disable patch
By: md_5 <md_5@live.com.au>
2013-06-21 18:01:41 +10:00
Spigot
099a8184d8 Add our spam filter exclusions patch
By: md_5 <md_5@live.com.au>
2013-06-21 17:59:37 +10:00
Spigot
e57f31e7cd Add our enable foreign language in signs patch
By: md_5 <md_5@live.com.au>
2013-06-21 17:53:18 +10:00
Spigot
aab6d67772 Rename next tick list performance patch
By: md_5 <md_5@live.com.au>
2013-06-21 17:50:04 +10:00
Spigot
bc3ac74c6f Rename translation caching patch
By: md_5 <md_5@live.com.au>
2013-06-21 17:47:12 +10:00
Spigot
bbda5ddffd Rename close unloaded save files
By: md_5 <md_5@live.com.au>
2013-06-21 17:46:00 +10:00
Spigot
40107821e6 Rename invalid name filter patch
By: md_5 <md_5@live.com.au>
2013-06-21 17:45:10 +10:00
Spigot
a43fe7e681 Experimentally remove another patch
By: md_5 <md_5@live.com.au>
2013-06-21 17:42:59 +10:00
Spigot
264d66fab5 Ping sending patch done
By: md_5 <md_5@live.com.au>
2013-06-21 17:41:26 +10:00
Spigot
d9b3e950cd Merge the two spawn calculation fixes
By: md_5 <md_5@live.com.au>
2013-06-21 17:35:08 +10:00
Spigot
b23e7b47f8 More patches
By: md_5 <md_5@live.com.au>
2013-06-21 17:30:13 +10:00
Spigot
1b7d1b6667 Redo longhash tweaks
By: md_5 <md_5@live.com.au>
2013-06-21 17:14:11 +10:00
Spigot
52cf9d619c Compiling up to patch 10
By: md_5 <md_5@live.com.au>
2013-06-21 17:00:01 +10:00
Spigot
0aabcddfa8 Remove some CraftBukkit pull requests that don't have any functional benefit at the moment.
By: md_5 <md_5@live.com.au>
2013-06-21 16:49:33 +10:00
Spigot
d37cc8ebee Rename Spigot changes patch to growth rates and simplify its contents
By: md_5 <md_5@live.com.au>
2013-06-21 16:47:56 +10:00
Spigot
afdeb23308 Round 1 of Spigot.yml / Spigot Rewrite / Spigot Cleanup is complete!
By: md_5 <md_5@live.com.au>
2013-06-20 19:44:06 +10:00
Spigot
768b356e5f Bungee
By: md_5 <md_5@live.com.au>
2013-06-20 19:37:15 +10:00
Spigot
d59862c86b Netty
By: md_5 <md_5@live.com.au>
2013-06-20 19:23:30 +10:00
Spigot
ef3ba4ad7e Metrics and watchdog
By: md_5 <md_5@live.com.au>
2013-06-20 19:07:32 +10:00
Spigot
54488b4b86 Activation Range
By: md_5 <md_5@live.com.au>
2013-06-20 19:00:26 +10:00
Spigot
767c7053ba Orebfuscator
By: md_5 <md_5@live.com.au>
2013-06-20 18:52:23 +10:00
Spigot
a2f8e62aed Merge tweaks
By: md_5 <md_5@live.com.au>
2013-06-20 18:41:59 +10:00
Spigot
d3c3596a4c Rough Spigot Changes
By: md_5 <md_5@live.com.au>
2013-06-20 18:21:31 +10:00
Spigot
ef9fe114cb Add more to the config
By: md_5 <md_5@live.com.au>
2013-06-20 18:16:28 +10:00
Spigot
5af765e5b0 Show off some WIP patches.
By: md_5 <md_5@live.com.au>
2013-06-20 17:52:17 +10:00
Spigot
7b2e91c366 Simplify
By: md_5 <md_5@live.com.au>
2013-06-20 17:36:06 +10:00
Spigot
3af19f804b Implement yaml load / save methods.
By: md_5 <md_5@live.com.au>
2013-06-20 17:31:40 +10:00
Spigot
5ebb24d48d Reduce packet antispammer as low as we can go.
By: md_5 <md_5@live.com.au>
2013-06-18 18:15:35 +10:00
Spigot
c0780805a8 Fix Particle API. Fix an NPE occuring if effect.getData is null, and fix the constructor of the Packet63 not using the right arguments.
By: Robin Lambertz <robinpub@googlemail.com>
2013-06-16 14:10:32 +01:00
Spigot
6e73280f6a Downgrade network engine to fix reliability issues
By: md_5 <md_5@live.com.au>
2013-06-17 07:29:49 +10:00
Spigot
b7bbdfb74e Refresh the hashes of all our patches so they are nicely in sync after our new RB.
By: md_5 <md_5@live.com.au>
2013-06-16 21:45:21 +10:00
Spigot
a87b602b56 Fix compilation on Sun JDK (and any other strictly conforming compiler)
http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.1
http://ideone.com/MGCWja

By: TomyLobo <stabelweb@gmx.de>
2013-06-16 10:17:48 +10:00
Spigot
f347964c27 Do Not Search for Offline Players
By default we do not want to search as this leads to massive load times for plugins wanting to do mass data lookups.

By: md_5 <md_5@live.com.au>
2013-06-16 08:21:11 +10:00
Spigot
925012dc60 Fix loading of per world settings
By: md_5 <md_5@live.com.au>
2013-06-15 22:01:15 +10:00
Spigot
07e9933928 Add meta crash fix
By: md_5 <md_5@live.com.au>
2013-06-15 21:35:04 +10:00
Spigot
9805d9df71 Implemented Bukkit and CraftBukkit pulls #859 and #1137 respectively
By: Andy Shulman <andy.shulman@hotmail.com>
2013-06-15 19:10:13 +10:00
Spigot
be02458440 Update versions.
By: md_5 <md_5@live.com.au>
2013-06-15 19:08:22 +10:00
Spigot
c82cc2d352 Bracket hell, thanks @sleaker.
By: md_5 <md_5@live.com.au>
2013-06-13 15:56:15 +10:00
Spigot
55c6093626 Rename some patches to be more concise. More to come once we can think of better names :p
By: md_5 <md_5@live.com.au>
2013-06-11 14:11:48 +10:00
Spigot
1b0fe7e2a8 Remove redundant patch
By: md_5 <md_5@live.com.au>
2013-06-11 14:06:05 +10:00
Spigot
e1a14f8be6 Split out offline player lookups
By: md_5 <md_5@live.com.au>
2013-06-11 14:02:19 +10:00
Spigot
e982614a7b Finish refactoring configuration. The PAIN is over for now
By: md_5 <md_5@live.com.au>
2013-06-11 13:14:01 +10:00
Spigot
f855c00165 Let the PAIN begin
By: md_5 <md_5@live.com.au>
2013-06-11 12:56:24 +10:00
Spigot
174e34b25a Split out getCubes patch
By: md_5 <md_5@live.com.au>
2013-06-11 12:18:55 +10:00
Spigot
a91aea481a Slightly prettier patch file
By: md_5 <md_5@live.com.au>
2013-06-11 12:13:28 +10:00
Spigot
cfbc452f12 Split out the better save queue patch
By: md_5 <md_5@live.com.au>
2013-06-11 12:10:31 +10:00
Spigot
c154270ef5 Split shutdown hang fix into own patch
By: md_5 <md_5@live.com.au>
2013-06-11 11:54:45 +10:00
Spigot
c9be6c849b Incorrect brackets....
By: md_5 <md_5@live.com.au>
2013-06-10 14:10:42 +10:00
Spigot
f8ae20dd1a Null checks for the sake of nullchecks
By: md_5 <md_5@live.com.au>
2013-06-10 11:38:51 +10:00
Spigot
6c3e670871 Fix missing nullcheck in particle API
By: md_5 <md_5@live.com.au>
2013-06-10 10:58:26 +10:00
Spigot
7487505a4d Revert tick loop catch up TPS
By: md_5 <md_5@live.com.au>
2013-06-08 16:14:43 +10:00
Spigot
ec186959e8 Shuffle location of this small mc-dev change
By: md_5 <md_5@live.com.au>
2013-06-08 09:50:30 +10:00
Spigot
cd95751dc4 Fix patch extras
By: md_5 <md_5@live.com.au>
2013-06-08 09:29:32 +10:00
Spigot
1bda949c57 Fix Breeding issues with EAR
By: Aikar <aikar@aikar.co>
2013-06-08 09:27:14 +10:00
Spigot
50d1ab0cfd Drill down detail of world - doTickRest
By: Aikar <aikar@aikar.co>
2013-06-08 09:21:38 +10:00
Spigot
7a96ad8928 Properly report TPS when catching up
By: Aikar <aikar@aikar.co>
2013-06-08 09:20:25 +10:00
Spigot
256b9015c4 Just under 2 months for CB to pull - new record!
By: md_5 <md_5@live.com.au>
2013-06-04 17:44:12 +10:00
Spigot
cfb0c5401f Yeah.png
Fix build

By: md_5 <md_5@live.com.au>
2013-06-03 17:58:18 +10:00
Spigot
85b7bece73 [Testing] improve oreobf performance / potentially fix errors (reverse-merged from commit 9e332f745e)
By: md_5 <md_5@live.com.au>
2013-06-03 17:51:31 +10:00
Spigot
66eaf9b52b Fix skeleton event
By: md_5 <md_5@live.com.au>
2013-06-02 16:47:46 +10:00
Spigot
c84e1f9230 Hopper cooldowns - patch #50!
By: md_5 <md_5@live.com.au>
2013-06-02 16:24:20 +10:00
Spigot
a4ecfdf61c Add additional particle API. Thanks thinkofdeath!
By: md_5 <md_5@live.com.au>
2013-06-02 16:15:22 +10:00
Spigot
ba4eb1ba79 Update Bungee support to new patch. This is breaking.
By: md_5 <md_5@live.com.au>
2013-06-02 15:22:22 +10:00
Spigot
a614b7af96 Implement the arrow API
By: md_5 <md_5@live.com.au>
2013-06-02 15:16:19 +10:00
Spigot
1a372ae112 Add a skeleton api impl to show how spigot specific APIs will be made
By: md_5 <md_5@live.com.au>
2013-06-02 15:15:15 +10:00
Spigot
01403af0b1 Fix entity shoot bow event with skeletons - thanks Sleaker!
By: md_5 <md_5@live.com.au>
2013-06-02 15:01:04 +10:00
Spigot
5f9489a272 Add fix for health scaling - courtesy of Sleaker
By: md_5 <md_5@live.com.au>
2013-06-02 14:49:24 +10:00
Spigot
4b5e76bc22 Try and address the reliability of netty
By: md_5 <md_5@live.com.au>
2013-06-02 14:43:20 +10:00
Spigot
715a3ef9e7 Dont throttle twice
By: md_5 <md_5@live.com.au>
2013-06-02 11:52:13 +10:00
Spigot
fb624b9c57 Find + replace saves the day
By: md_5 <md_5@live.com.au>
2013-06-02 11:29:44 +10:00
Spigot
26fa79baa7 Recipe Deconstruction
Some non API methods contributed by Asphodan to allow recipe deconstruction.

By: md_5 <md_5@live.com.au>
2013-06-01 16:34:52 +10:00
Spigot
9e332f745e [Testing] improve oreobf performance / potentially fix errors
By: md_5 <md_5@live.com.au>
2013-06-01 16:13:33 +10:00
Spigot
f29f254728 Small cleanups to netty
By: md_5 <md_5@live.com.au>
2013-06-01 14:23:53 +10:00
Spigot
8ae13afb25 Format netty patch
By: md_5 <md_5@live.com.au>
2013-06-01 13:57:16 +10:00
Spigot
efb6fb9413 Allow 0 entity trackign range. Use at own risk
By: md_5 <md_5@live.com.au>
2013-05-31 17:10:16 +10:00
Spigot
3b84dc909c Fix issue with plugins sending plugin messages causing login to hang - often seen in bukkit->bungee plugins
By: md_5 <md_5@live.com.au>
2013-05-28 07:21:11 +10:00
Spigot
34e3cc2d96 Bump Netty version - it contains a fix for an issue some users have seen.
By: md_5 <md_5@live.com.au>
2013-05-27 16:26:02 +10:00
Spigot
deee90fda3 Bump rate limit down to 3 (from 5)
By: md_5 <md_5@live.com.au>
2013-05-25 15:40:34 +10:00
Spigot
3d8143b040 Add better APIs for bungee raw IP
By: md_5 <md_5@live.com.au>
2013-05-21 20:45:44 +10:00
Spigot
56383ef26a [Experimental] Update to netty CR3.
By: md_5 <md_5@live.com.au>
2013-05-21 11:28:02 +10:00
Spigot
858e72c656 Remove -o Option
Serves no purpose other than to confuse users.

By: md_5 <md_5@live.com.au>
2013-05-19 18:30:26 +10:00
Spigot
eeff0b7f51 Guard against NPE when getting real IP
By: md_5 <md_5@live.com.au>
2013-05-19 17:58:42 +10:00
Spigot
4d138bdaa5 Downgrade to Netty CR1
By: md_5 <md_5@live.com.au>
2013-05-19 17:57:29 +10:00
Spigot
d98a98397e Orebfuscator fully functioning, more effective, more efficient!
By: md_5 <md_5@live.com.au>
2013-05-16 20:05:02 +10:00
Spigot
b6318e5188 Should use > instead of != for consistancy. There are a few more checks I want to optimize, but for now I will avoid them in case I have broken anything today
By: md_5 <md_5@live.com.au>
2013-05-16 19:34:00 +10:00
Spigot
c54032ce8f The following methods already handle these cases
By: md_5 <md_5@live.com.au>
2013-05-16 19:24:54 +10:00
Spigot
90cbaa91e0 Reformat orebfuscator code / rework for easy reading
By: md_5 <md_5@live.com.au>
2013-05-16 19:21:46 +10:00
Spigot
4b47d73deb Update orebfuscator
By: md_5 <md_5@live.com.au>
2013-05-16 18:51:25 +10:00
Spigot
a2ef7eb02a Cleanup comments on orebfuscator patch
By: md_5 <md_5@live.com.au>
2013-05-16 18:16:30 +10:00
Spigot
276478238f Add javassist depend for better performance
By: md_5 <md_5@live.com.au>
2013-05-16 18:11:03 +10:00
Spigot
1066f25c4c Implement changes to orebfuscator, including remove update radius configuration and update on player interact
By: md_5 <md_5@live.com.au>
2013-05-16 18:10:23 +10:00
Spigot
6771fc09de Revert changes to orebfuscator radius
By: md_5 <md_5@live.com.au>
2013-05-16 17:56:35 +10:00
Spigot
d2197bb6ae No memory leaks please
By: md_5 <md_5@live.com.au>
2013-05-16 16:58:18 +10:00
Spigot
423091f474 Update to latest Netty
By: md_5 <md_5@live.com.au>
2013-05-16 16:41:34 +10:00
Spigot
10fa63149b Add IP for players raw IP address
By: md_5 <md_5@live.com.au>
2013-05-14 21:14:43 +10:00
Spigot
bb9e1c8d34 Re order
By: md_5 <md_5@live.com.au>
2013-05-14 12:11:20 +10:00
Spigot
4f8fb69205 Add base patch for Spigot config
By: md_5 <md_5@live.com.au>
2013-05-14 12:08:11 +10:00
Spigot
825d29f624 Set flushnow to true before writing kicks
By: md_5 <md_5@live.com.au>
2013-05-11 15:37:37 +10:00
Spigot
1a0b9622a2 Reimpliment next-tick-list scale improvements
By: Mike Primm <mike@primmhome.com>
2013-05-05 23:41:11 -05:00
Spigot
53022665c5 Fixed latest patch, thanks snowleo!
By: md_5 <md_5@live.com.au>
2013-05-08 18:57:48 +10:00
Spigot
9e3e6481c9 Optimized version of LocaleLanguage
This patch reduces the memory footprint of each EntityPlayer by about 300 KB. The original class looks very unfinished and future versions might use the commented code.

By: snowleo <schneeleo@gmail.com>
2013-05-08 12:10:34 +10:00
Spigot
36fb322c1e Stage LocalLanguage to mc-dev
By: snowleo <schneeleo@gmail.com>
2013-05-08 12:04:50 +10:00
Spigot
e0881d81c1 *correct patch
By: md_5 <md_5@live.com.au>
2013-05-04 10:29:55 +10:00
Spigot
0faa468caa Don't skip item ticks
By: md_5 <md_5@live.com.au>
2013-05-04 10:14:25 +10:00
Spigot
c60ca2aa0f Let frames be configured for tracking
By: md_5 <md_5@live.com.au>
2013-05-04 10:11:32 +10:00
Spigot
326c461585 Update to latest upstream
By: md_5 <md_5@live.com.au>
2013-05-04 09:24:15 +10:00
Spigot
6baadf891f Add async check we potentially missed
By: md_5 <md_5@live.com.au>
2013-05-01 16:39:55 +10:00
Spigot
1857895f30 [CAUTION] Initial 1.5.2 update - I have NOT had time to TEST. DO NOT use on production server WITHOUT TESTING FIRST.
By: md_5 <md_5@live.com.au>
2013-05-01 08:33:27 +10:00
Spigot
4e51c2090f [Revert previous experimental commit] All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy. All write and no tick makes Jack a dull boy.
By: md_5 <md_5@live.com.au>
2013-04-28 19:52:35 +10:00
Spigot
355abcac1e Increment written bytes value
By: md_5 <md_5@live.com.au>
2013-04-28 08:29:00 +10:00
Spigot
6584a420be [EXPERIMENTAL] Take #3 at an even better / faster buffering system, use at own peril!
By: md_5 <md_5@live.com.au>
2013-04-27 22:13:33 +10:00
Spigot
c816911379 Fixes BUKKIT-3893 - Close world save files when world is
unloaded.

By: Antony Riley <antony@cyberiantiger.org>
2013-04-26 20:35:16 +10:00
Spigot
09d76b3e58 Remove snapshot protocol patch as it will be near impossible to emulate under 1.5
By: md_5 <md_5@live.com.au>
2013-04-26 18:02:57 +10:00
Spigot
7b24fd58d6 Reduce flush time to 10
By: md_5 <md_5@live.com.au>
2013-04-25 10:28:05 +10:00
Spigot
7e252f59bc End login process for filtered IPs
By: md_5 <md_5@live.com.au>
2013-04-25 09:58:55 +10:00
Spigot
f1150c3b83 Remove flush time setter up
By: md_5 <md_5@live.com.au>
2013-04-25 09:55:05 +10:00
Spigot
4041646be6 Use spoofed addresses for events
By: md_5 <md_5@live.com.au>
2013-04-25 09:42:40 +10:00
Spigot
fb25750755 Perfect outbound rate limiter.
By: md_5 <md_5@live.com.au>
2013-04-25 09:33:14 +10:00
Spigot
86c9e69b00 Clean up imports in the Spigot class.
By: md_5 <md_5@live.com.au>
2013-04-25 09:01:05 +10:00
Spigot
ae20c1bdc6 Fix disabled netty again
By: md_5 <md_5@live.com.au>
2013-04-24 21:40:04 +10:00
Spigot
7c326a3a91 Correctly register pending connection when using legacy network handler.
By: md_5 <md_5@live.com.au>
2013-04-23 19:07:40 +10:00
Spigot
24ba405027 Set TCP nodelay to false for Netty
By: md_5 <md_5@live.com.au>
2013-04-23 18:44:49 +10:00
Spigot
6adbf80f04 Add thread naes to their own patch.
By: md_5 <md_5@live.com.au>
2013-04-23 11:50:42 +10:00
Spigot
9ef540adb1 Remove extra inventory close event patch, because despite being a legitimate bug fix, it will not be pulled by Bukkit, so plugins must resort to other means to catch this last event.
By: md_5 <md_5@live.com.au>
2013-04-23 11:37:51 +10:00
Spigot
cde5a715a3 FIx spacing
By: md_5 <md_5@live.com.au>
2013-04-23 11:35:18 +10:00
Spigot
2a38426e59 Move version resolve check to initial POM patch
By: md_5 <md_5@live.com.au>
2013-04-23 11:32:07 +10:00
Spigot
d4c6c0b527 Move IP filter to own patch and (messily) fix merge conflicts as a result.
By: md_5 <md_5@live.com.au>
2013-04-23 11:27:55 +10:00
Spigot
73650d09a1 Go back to the chunk based count caching for now to avoid mob spawning issues
By: Ammar Askar <ammar@ammaraskar.com>
2013-04-22 03:47:35 +05:00
Spigot
a5e12866f3 Fix world info showing world as always obfuscated
By: md_5 <md_5@live.com.au>
2013-04-21 20:02:08 +10:00
Spigot
61c89efb5c Revert "Readd previous Netty tweaks, the memory leak has been fixed"
This reverts commit 8f58b1d272.

By: md_5 <md_5@live.com.au>
2013-04-21 10:21:35 +10:00
Spigot
8f58b1d272 Readd previous Netty tweaks, the memory leak has been fixed
By: md_5 <md_5@live.com.au>
2013-04-21 08:53:15 +10:00
Spigot
f6de336307 Revert "Dramatically reduce the idle network activity by collecting and framing packets for a max of 10 milliseconds. This reduces bandwidth consumption as much as possible whilst not generating network garbage and other nasties."
This reverts commit bde545c82a.

By: md_5 <md_5@live.com.au>
2013-04-21 08:39:39 +10:00
Spigot
a4744b484b Revert "20 ms works too, anything higher is a bit shifty"
This reverts commit 912c07129b.

By: md_5 <md_5@live.com.au>
2013-04-21 08:39:36 +10:00
Spigot
c95fb0a34a Take the count mapping one step further by removing chunk traversal for count seeking altogether
By: Ammar Askar <ammar@ammaraskar.com>
2013-04-21 00:25:59 +05:00
Spigot
912c07129b 20 ms works too, anything higher is a bit shifty
By: md_5 <md_5@live.com.au>
2013-04-20 19:50:59 +10:00
Spigot
bde545c82a Dramatically reduce the idle network activity by collecting and framing packets for a max of 10 milliseconds. This reduces bandwidth consumption as much as possible whilst not generating network garbage and other nasties.
By: md_5 <md_5@live.com.au>
2013-04-20 19:41:41 +10:00
Spigot
9160931859 Store creature counts to avoid repeated assignable checks and traversal of entity slices
By: Ammar Askar <ammar@ammaraskar.com>
2013-04-20 13:50:09 +05:00
Spigot
adb850995c Java 5/6 compat. NETBEANS!
By: md_5 <md_5@live.com.au>
2013-04-20 17:14:54 +10:00
Spigot
09f1566b74 Oops.
By: md_5 <md_5@live.com.au>
2013-04-19 21:07:42 +10:00
Spigot
acde9aa408 Welcome back snapshot protocol patch! Now 30% more reliable than a leading brand of car cleaner! Testers welcome <3
By: md_5 <md_5@live.com.au>
2013-04-19 19:14:11 +10:00
Spigot
a4b017945b [Experimental] Add connection multiplexer to allow many listen blocks. Secondary listen blocks are configured in bukkit.yml
By: md_5 <md_5@live.com.au>
2013-04-19 17:45:39 +10:00
Spigot
70056940b6 Implement a "proper" connection throttle for netty.
Proper meaning a simple portover from CraftBukkit's implementation.

The last implementation had a few issues:
- For each server ping, the connection was getting throttled.
- ConcurrentHashMap is heavy (More of an opinion but don't judge)

From the last implementation, the connection throttle entry (your IP) wasn't getting removed from the list after a server ping, which is supposed to happen according to the original implementation.

By: SuPaH sPii <r29jk10@gmail.com>
2013-04-18 13:27:29 -05:00
Spigot
b5080a172f Yet another CraftBukkit pulled patch.
By: md_5 <md_5@live.com.au>
2013-04-16 18:36:22 +10:00
Spigot
bca4cb4cf2 Changed minimum characters to 2 for validity check
By: Ammar Askar <ammar@ammaraskar.com>
2013-04-14 21:32:19 +05:00
Spigot
ed656bfa7c Fix first connect mostly failing because it is apparently that big of an issue for some people.
By: md_5 <md_5@live.com.au>
2013-04-14 19:33:56 +10:00
Spigot
be538d0404 Use Pattern
By: Benjamin James Harrison-Sims <tehrainbowguy@gmail.com>
2013-04-14 03:25:35 +01:00
Spigot
426b72713f Prevent handshake spam from invalid names.
By: Benjamin James Harrison-Sims <tehrainbowguy@gmail.com>
2013-04-14 03:09:29 +01:00
Spigot
2755113f87 Now that thats out the way..
By: md_5 <md_5@live.com.au>
2013-04-13 17:14:56 +10:00
Spigot
4d0077a0cf Re add ping sending patch
By: md_5 <md_5@live.com.au>
2013-04-13 17:11:24 +10:00
Spigot
ece477d0c7 Remove a fair chunk of existing patches now applied to CraftBukkit
By: md_5 <md_5@live.com.au>
2013-04-13 17:06:23 +10:00
Spigot
b4464fc721 Update netty & kindof hacky fix for anvil mishaps
By: md_5 <md_5@live.com.au>
2013-04-12 13:57:00 +10:00
Spigot
d646a97d30 Add @hidendra 's pulls
By: md_5 <md_5@live.com.au>
2013-04-10 17:03:17 +10:00
Spigot
8e28115981 Add written bytes tracking for @bergerkiller
By: md_5 <md_5@live.com.au>
2013-04-10 16:37:43 +10:00
Spigot
a893386a86 Remove stats completely from patches.
By: md_5 <md_5@live.com.au>
2013-04-10 14:08:33 +10:00
Spigot
f5b1669094 Fix patches.
By: md_5 <md_5@live.com.au>
2013-04-10 14:06:41 +10:00
Spigot
b8055fe033 [Cosmetic] Update patches to be generated with latest stable git.
By: md_5 <md_5@live.com.au>
2013-04-10 12:36:11 +10:00
Spigot
fdf667b0d7 Update 0038-Entity-Tracking-Ranges.patch
monsterEntityActivationRange -> monsterTrackingRange
By: Bestle <tom.roberts00@gmail.com>
2013-04-09 02:00:09 +02:00
Spigot
f1e5b66f43 Fixes boat dupe
By: Benjamin James Harrison-Sims <tehrainbowguy@gmail.com>
2013-04-05 18:24:55 +01:00
Spigot
4f67a6e4bc Fix oreobfuscator patch
By: Ammar Askar <ammar@ammaraskar.com>
2013-04-04 16:08:00 +05:00
Spigot
ce23b8892d Update for upstream version change
By: Ammar Askar <ammar@ammaraskar.com>
2013-04-04 15:58:51 +05:00
Spigot
5e8546e86a Fix update radius, so I can update my radius to see ores
very far away for no apparent reason I type this very long
 commit message that serves nobody elses purpose except
 Bacon ipsum dolor sit amet pancetta kielbasa turducken
 boudin. Andouille fatback doner hamburger t-bone beef
 brisket chicken turkey. Prosciutto sausage drumstick
 kielbasa, jerky ham tongue brisket venison pork loin
 fatback chuck. Drumstick short loin biltong tenderloin,
 tongue hamburger swine chicken bresaola doner filet mignon.
 Kielbasa jowl filet mignon boudin shankle pork. Capicola
 tri-tip venison, ham hock sirloin filet mignon chuck ham
 pork belly pastrami jerky prosciutto.

By: SuPaH sPii <r29jk10@gmail.com>
2013-04-03 17:10:41 -05:00
Spigot
08676f42a0 revert changes to disabled plugins and scheduler.
sorry for messy commit,doing via tablet on ssh
md_5

By: Hudson <hudson@mydomain.com>
2013-04-03 02:20:29 -05:00
Spigot
8a5e0d161a Revert commit 61b50f8d7d. Needs more testing.
By: Ammar Askar <ammar@ammaraskar.com>
2013-03-29 14:07:46 +05:00
Spigot
0f482a64ab Fix lightened nibble array getChunkSnapshot on extended block IDs
Fix out-of-bounds error in chunks with extended (4096) block IDs:

13:34:12 [SEVERE] [dynmap] Exception while fetching chunks:
java.lang.ArrayIndexOutOfBoundsException: 4096
    at org.bukkit.craftbukkit.v1_4_R1.CraftChunk.getChunkSnapshot(CraftChunk.java:1

http://pastie.org/6368930

Thanks to mikeprimm for this fix.

Original MCPC+ commit:
MinecraftPortCentral/MCPC-Plus@7902767397

By: Agaricus <agaricusb@yahoo.com>
2013-03-28 22:15:38 -07:00
Spigot
ca055f3ef9 Just send kick packet + dc players on restart. Don't actually kick them
By: md_5 <md_5@live.com.au>
2013-03-28 18:38:42 +11:00
Spigot
61b50f8d7d Implement connection throttling in netty.
By: Benjamin James Harrison-Sims <tehrainbowguy@gmail.com>
2013-03-26 17:46:15 +00:00
Spigot
e7d7833da4 Check connected state before handling packets.
By: md_5 <md_5@live.com.au>
2013-03-26 12:09:44 +11:00
Spigot
4f5c561c9b Update to latest CB upstream.
By: md_5 <md_5@live.com.au>
2013-03-25 18:57:00 +11:00
Spigot
86ed9076ee Close Minecart containers on Entity portal.
By: md_5 <md_5@live.com.au>
2013-03-24 18:53:01 +11:00
Spigot
4637794c28 Remove upstream pulled patch.
By: md_5 <md_5@live.com.au>
2013-03-24 10:59:27 +11:00
Spigot
54f7e08c6e Revert second addition to boat sending patch.
By: md_5 <md_5@live.com.au>
2013-03-24 08:20:01 +11:00
Spigot
27dc70eba4 Remove patch for upstream merge
By: Ammar Askar <ammar@ammaraskar.com>
2013-03-23 23:37:23 +05:00
Spigot
3eb3f9463d Made the world info possible to turn off.
By: totokaka <ttotokaka@gmail.com>
2013-03-23 20:15:20 +11:00
Spigot
4644626cff No need to hard disable. Also tweak check to allow for 1 renderer customs
By: md_5 <md_5@live.com.au>
2013-03-23 20:09:17 +11:00
Spigot
023ba8e359 Compensate for CB always having its own renderer
By: md_5 <md_5@live.com.au>
2013-03-23 19:41:36 +11:00
Spigot
71535cee5a Also allow outright disabling them - we need to clean up all map patches at some point.
By: md_5 <md_5@live.com.au>
2013-03-23 19:32:46 +11:00
Spigot
c6c8ed2b6d Remove extra import.
By: md_5 <md_5@live.com.au>
2013-03-23 19:09:47 +11:00
Spigot
271caf9719 Limit Custom Map Rendering
The default CraftBukkit render sequence for maps is ridiculously slow. By only using it when a custom renderer has been added (rarely in most cases), we can fallback to the Vanilla renderer for general usage. This leads to a much higher effiency overall, especially if no plugins are rendering such maps.

By: md_5 <md_5@live.com.au>
2013-03-23 19:08:49 +11:00
Spigot
df6fa740d6 Additions to the async operation catching patch.
By: md_5 <md_5@live.com.au>
2013-03-23 18:27:02 +11:00
Spigot
15d914dbf0 Move async checks to their own patch so we can add more of them.
By: md_5 <md_5@live.com.au>
2013-03-23 18:05:22 +11:00
Spigot
8955b40968 Bump thread safety patch up.
By: md_5 <md_5@live.com.au>
2013-03-23 17:56:28 +11:00
Spigot
8129ed16ee CraftBukkit has added this patch, so we can remove it.
By: md_5 <md_5@live.com.au>
2013-03-23 15:41:55 +11:00
Spigot
0adb99157f Tweak boat sending even more - might backfire
By: md_5 <md_5@live.com.au>
2013-03-23 13:38:21 +11:00
Spigot
08d3ec390a Entity Tracking Intervals
Send boats at the same speed as their player to remove the illusion of lag / jerkiness.

By: md_5 <md_5@live.com.au>
2013-03-23 13:31:33 +11:00
Spigot
93a74cb902 Texture pack resolutions - Fix issues when specifiying a server texture pack URL with resolution != 16.
By: md_5 <md_5@live.com.au>
2013-03-23 13:05:01 +11:00
Spigot
f5af0ba97a Don't aggregate sapling ticks - causes issues.
By: md_5 <md_5@live.com.au>
2013-03-23 12:44:28 +11:00
Spigot
29ee141bf8 BungeeCord support - Allows BungeeCord to set the players real IP address very early in the login process, so that the BungeeCord proxy IP is never even seen by a plugin.
By: md_5 <md_5@live.com.au>
2013-03-23 11:15:28 +11:00
Spigot
d404ef3d14 Add setSocketAddress to InetworkManager
By: md_5 <md_5@live.com.au>
2013-03-23 11:06:00 +11:00
Spigot
de384ea238 Remove broken saddle pig event
By: md_5 <md_5@live.com.au>
2013-03-23 11:00:20 +11:00
Spigot
ba7d059f41 Allow orebfuscated blocks to be specified by the server admin.
By: md_5 <md_5@live.com.au>
2013-03-23 10:58:55 +11:00
Spigot
33b3ecf9d2 Re add ANSI console fixes now that colour stripped logs work correctly
By: James Clarke <jamesrtclarke@me.com>
2013-03-23 10:32:52 +11:00
Spigot
733952dfef Pull CB PR #1073 by @TheCryoknight - Adds BUKKIT-3821 - Fires vehicle events for saddled pigs
By: TheCryoknight <thecryoknight1@gmail.com>
2013-03-23 10:23:23 +11:00
Spigot
edeefa8529 Fix BUKKIT-3831, don't call vehicle enter events for unloaded chunks
By: me4502 <mnmiller1@hotmail.com>
2013-03-23 10:16:32 +11:00
Spigot
afc740ccf0 Entity Tracking Ranges
By: Aikar <aikar@aikar.co>
2013-03-23 10:12:04 +11:00
Spigot
5fa5beac8e Migrate the crop fixes by @Aikar to the core patch.
By: md_5 <md_5@live.com.au>
2013-03-23 10:08:09 +11:00
Spigot
637ef9d41a Add per world view distance which got lost along the way.
By: md_5 <md_5@live.com.au>
2013-03-23 09:55:21 +11:00
Spigot
af602bf158 [Cleanup] Update merge patches.
By: md_5 <md_5@live.com.au>
2013-03-23 09:48:22 +11:00
Spigot
6920d2c1f8 [Cleanup] Split the long hash changes into their own patch.
By: md_5 <md_5@live.com.au>
2013-03-23 09:31:28 +11:00
Spigot
72dc4ac12e Stage DataWatcher & WatchableObject.
So that we may identify the exact cause of exceptions originating from these classes.

By: md_5 <md_5@live.com.au>
2013-03-21 17:01:03 +11:00
Spigot
f370ab8784 Update to 1.5.1
By: Benjamin James Harrison-Sims <tehrainbowguy@gmail.com>
2013-03-20 21:54:12 +00:00
Spigot
bad273fe08 Update le patches so that they may henceforth apply cleanly without errors due to the last upstream commit.
By: md_5 <md_5@live.com.au>
2013-03-19 16:51:45 +11:00
Spigot
082176c726 We should return "" not null for 'corrupt' signs.
By: md_5 <md_5@live.com.au>
2013-03-18 20:33:22 +11:00
Spigot
5ade077442 Prevent NPE in CraftSign
This commit prevents the constructor of CraftSign throwing an NPE when it cannot get the sign tile entity. Instead it will fallback to a 4 empty lined sign, and not try to do anything to those lines on .update().

@TheDgtl

By: md_5 <md_5@live.com.au>
2013-03-18 20:02:03 +11:00
Spigot
cc6e8ab703 Faster UUID for entities
It is overkill to create a new SecureRandom on each entity create and then use it to make a new Entity ID for every entity instance created. Instead we will just use a pseudo random UUID based off the random instance we already have.

By: md_5 <md_5@live.com.au>
2013-03-17 19:02:58 +11:00
Spigot
f4da5482df Deploy server again. wot eva
By: md_5 <md_5@live.com.au>
2013-03-17 12:27:11 +11:00
Spigot
d9002e97ca Update Netty to 4.0.0-Beta3 + reapply patches for new index info.
By: md_5 <md_5@live.com.au>
2013-03-17 09:14:16 +11:00
Spigot
1218987001 Fix isDamaged check for backwards compat
By: md_5 <md_5@live.com.au>
2013-03-16 11:57:39 +11:00
Spigot
5e01ba90c1 Update Spigot to version 1.5. By using this build you agree to the following terms: (read next line)
1) You will not hold SpigotMC responsible for any losses or damages incurred to you by using this build
2) You will report ALL bugs to SpigotMC and not other parties

Thanks for all the support and all parties who made this update possible; especially the awesome Spigot community. Sorry for the delay, but we had to fix some crucial bugs.

Regressions in this commit:
@mikeprimm's smarter chunk ticking patch has been removed as it prevents proper redstone and other block ticking logic.

By: md_5 <md_5@live.com.au>
2013-03-16 10:17:00 +11:00
Spigot
78b59cb9ef Cleanup patch
By: md_5 <md_5@live.com.au>
2013-03-16 10:11:01 +11:00
Spigot
8cd6af53fe Finish up the patches for 1.5. Now to test.
By: md_5 <md_5@live.com.au>
2013-03-16 09:08:53 +11:00
Spigot
f831bcfce2 Phase 1 of MC 1.5 update. No this is not meant to compile, don't get your hopes up :p
By: md_5 <md_5@live.com.au>
2013-03-16 08:35:56 +11:00
Spigot
16eac56e06 Remove ANSI patch from @jrtc27 for now, breaks log strip colours.
By: md_5 <md_5@live.com.au>
2013-03-15 20:49:12 +11:00
Spigot
3c598b3871 Strip colours from logs when enabled.
By: md_5 <md_5@live.com.au>
2013-03-15 20:46:16 +11:00
Spigot
63ba9e08e4 Fix stripping colours in console logs.
By: md_5 <md_5@live.com.au>
2013-03-14 19:15:38 +11:00
Spigot
39f0cb433f Rename ambiguous methods.
By: md_5 <md_5@live.com.au>
2013-03-14 16:32:15 +11:00
Spigot
d21bdd7de7 Reapply Container.java CraftBukkit patches, but with 1.5 logic. This fixes crafting and other issues.
By: md_5 <md_5@live.com.au>
2013-03-14 16:25:03 +11:00
Spigot
371c0e343c Restart even if restart script is not found
By: Runemoro <runemoro@live.ca>
2013-03-13 18:28:49 +11:00
Spigot
8c7c0995db Undo all that encryption faff - NioBuffers arent for the job.
By: md_5 <md_5@live.com.au>
2013-03-12 17:26:16 +11:00
Spigot
7a4245e726 Another shot at encryption - thanks to all those testers, getting this right is important for BungeeCord!
By: md_5 <md_5@live.com.au>
2013-03-12 07:29:16 +11:00
Spigot
0947af2b10 Take #12312 at faster encryption - a brave soul who doesnt mind a minute or 2 of downtime should try
By: md_5 <md_5@live.com.au>
2013-03-11 20:30:38 +11:00
Spigot
70186151ea Fix patch name.
By: md_5 <md_5@live.com.au>
2013-03-11 20:08:41 +11:00
Spigot
50660d1b41 Update snapshot version.
By: md_5 <md_5@live.com.au>
2013-03-11 19:14:10 +11:00
Spigot
68f9541e46 Revert "Use blazingly fast encryption."
This reverts commit 3309234e39.

By: md_5 <md_5@live.com.au>
2013-03-11 18:45:25 +11:00
Spigot
3309234e39 Use blazingly fast encryption.
By: md_5 <md_5@live.com.au>
2013-03-11 09:53:34 +11:00
Spigot
02150db731 Thread safety.
Adds thread safety for chunk load / unload methods.

By: md_5 <md_5@live.com.au>
2013-03-07 20:12:53 +11:00
Spigot
89f57511ac Rename generated repo, and only deploy API, not server.
By: md_5 <md_5@live.com.au>
2013-03-07 17:45:12 +11:00
Spigot
e514a12e83 Quick fix damage event
By: md-5 <md_5@live.com.au>
2013-03-05 07:22:03 +11:00
Spigot
cbbd6b577d Implement PlayerItemDamageEvent. @Sleaker @Kainzo - if you could kindly tell me why you add code to prevent Heroes from running on a **now supported** platform, I would love to know, maybe we can resolve this once and for all. Unless of course it is simply part of your plan to make people use your rise against CraftBukkit fork with only 1 tiny feature which can and will be replicated in a plugin if need be.
By: md_5 <md_5@live.com.au>
2013-03-04 18:49:59 +11:00
Spigot
ce69ac9dbe Fix errors in command block commands crashing the server.
By: md_5 <md_5@live.com.au>
2013-03-03 20:23:04 +11:00
Spigot
35e8706397 CB has now merged the commits we pulled, so they can be removed.
By: md_5 <md_5@live.com.au>
2013-03-03 09:37:31 +11:00
Spigot
0f2cfe0303 Fix snapshot support.
By: md_5 <md_5@live.com.au>
2013-03-02 17:27:44 +11:00
Spigot
4013812866 Add configurable 13w09c protocol support.
By: md_5 <md_5@live.com.au>
2013-03-02 13:34:52 +11:00
Spigot
23ef44c195 Rename connection timing to accurately reflect what is actually being timed.
By: md_5 <md_5@live.com.au>
2013-03-02 10:40:13 +11:00
Spigot
533f36d39b Pull CraftBukkit #1007 from @jrtc27 - console formatting now replicates Minecraft properly.
By: md_5 <md_5@live.com.au>
2013-03-02 10:07:29 +11:00
Spigot
00c98bb061 Pull CraftBukkit #1043 by @YLivay - addresses incorrect info returned to plugins in the dispense event.
By: md_5 <md_5@live.com.au>
2013-03-02 09:47:17 +11:00
Spigot
4812d94ad9 Pull CraftBukkit #1042 by @YLivay - addresses players glitching when the sleep whilst being marked as faux sleepers.
By: md_5 <md_5@live.com.au>
2013-03-02 09:43:59 +11:00
Spigot
abb5a8c429 Pull CraftBukkit #1041 by @YLivay - address missing event for paintings breaking due to movement.
By: md_5 <md_5@live.com.au>
2013-03-02 09:38:27 +11:00
Spigot
93b6957b56 Pull CraftBukkit PR #1037 by @EdGruberman - fixes issues with plugins and items dropped by clicking outside an inventory.
By: md_5 <md_5@live.com.au>
2013-03-02 09:25:48 +11:00
Spigot
166d4a8990 Pull CraftBukkit #1028 by @EdGruberman to address a few issues with plugins and beds.
By: md_5 <md_5@live.com.au>
2013-03-02 09:17:52 +11:00
Spigot
c7f16ebbea When I add code to prevent server crashes, I expect it to stay there.
By: md_5 <md_5@live.com.au>
2013-03-02 09:09:10 +11:00
Spigot
6d3ec813ed Pull CraftBukkit #1024 by @evilmidget38 - Correct the CB object used for Brewing Stands. Fixes BUKKIT-3357
By: md_5 <md_5@live.com.au>
2013-03-02 09:05:30 +11:00
Spigot
5bf4cae8ba Sanity check for naughty plugins
Naughty plugins like DisguiseCraft hook into NMS and create entities with a null world.
So ensuring world is set or else defaulting to false

By: Aikar <aikar@aikar.co>
2013-02-27 10:10:07 -05:00
Spigot
dfe217aca6 Optimize checkIfActive to only check if chunks are loaded if entity is active
This will cut down on the call to areChunksLoaded drastically, which is pretty slow

By: Aikar <aikar@aikar.co>
2013-02-27 02:27:14 -05:00
Spigot
2c8cc83ee8 *crosses fingers for sneaky web edit
By: md-5 <md_5@live.com.au>
2013-02-27 17:14:37 +11:00
Spigot
78edae0084 Bump netty version. Why they so no pull my PR yet?
By: md_5 <md_5@live.com.au>
2013-02-27 16:51:57 +11:00
Spigot
fb5f7ea45a Netty has to be done with -D options to the JVM. Sorry!
By: md_5 <md_5@live.com.au>
2013-02-27 16:48:20 +11:00
Spigot
129f77dc51 Do not include task id in timings handler name
Plugins that spam use repeating task timers are filling up the CustomTimingHandler list, which can degrade performance over time
Considering Essentials does this, and many servers use Essentials... def need to stop this.

By: Aikar <aikar@aikar.co>
2013-02-27 00:39:53 -05:00
Spigot
fd69c72b22 Increase default watchdog time
By: md_5 <md_5@live.com.au>
2013-02-27 12:04:04 +11:00
Spigot
3be016271f Overhaul to Timings and Entity Activation Range
This greatly extends the timings improvements I've done in recent commits, and brings timings to fully cover the entire tick.
The timings system also now tracks when specific timings causes the server to lose TPS.
The timings are also able to be turned on "on demand", meaning you do not need to restart the server to enable them.

This commit also overhauls the Entity Activation Range feature, fixing bugs, adding more immunities, and improving the performance of it.
It also fixes a regression with a recent Spigot commit that broke the entire Entity Activation Range feature.

This commit had to move the Tick Loop patch before timings because there was a change done there to time the entire tick, so lots of renames.

These 2 commits had to be bundled together to simplify applying them and reduce redundant conflict resolution.

By: Aikar <aikar@aikar.co>
2013-02-26 12:21:40 -05:00
Spigot
7c1adc0df4 Fix ores from bouncing off walls
By: SuPaH sPii <r29jk10@gmail.com>
2013-02-26 11:43:00 +11:00
Spigot
15d29c806a Allow small view distances.
By: md_5 <md_5@live.com.au>
2013-02-26 11:31:37 +11:00
Spigot
dbfd5fc5b0 Add missing config options.
By: md_5 <md_5@live.com.au>
2013-02-26 11:19:08 +11:00
Spigot
c3f23f2bef Add PR #7 - improve ping sending.
By: md_5 <md_5@live.com.au>
2013-02-24 20:43:10 +11:00
Spigot
dc2708293f Pull CraftBukkit PR 1021 - Prevent exploitation of custom plugin channels
By: md_5 <md_5@live.com.au>
2013-02-24 17:28:42 +11:00
Spigot
19823834ea Fix metrics, I hope.
By: md_5 <md_5@live.com.au>
2013-02-24 13:51:58 +11:00
Spigot
006da500e9 Try new way of handling maps in frames
By: Aikar <aikar@aikar.co>
2013-02-24 13:37:20 +11:00
Spigot
3c7dbb66cd Use native Java ciphers in favour of BouncyCastle. Cookie to whoever can try and use the native byte buffer backing the Netty buffers for encryption / decryption.
By: md_5 <md_5@live.com.au>
2013-02-24 12:38:41 +11:00
Spigot
567a45621c Fix NPE on start
By: md_5 <md_5@live.com.au>
2013-02-24 12:19:34 +11:00
Spigot
54b9e5d4f8 Tweaks + extra config concerning the network subsystem
By: md_5 <md_5@live.com.au>
2013-02-24 12:01:33 +11:00
Spigot
1367d5dc69 Pop Netty patch to the top.
By: md_5 <md_5@live.com.au>
2013-02-24 11:31:54 +11:00
Spigot
fd322f7c1b Make restart more reliable
By: Keir Nellyer <keir@nellyer.co.uk>
2013-02-24 11:30:30 +11:00
Spigot
5f0ca4e289 [[Experimental]] Rewrite Watchdog thread / crash detector.
By: md_5 <md_5@live.com.au>
2013-02-23 12:37:58 +11:00
Spigot
013c121a6f Prepare for restart / crash detection rewrite.
By: md_5 <md_5@live.com.au>
2013-02-23 11:50:29 +11:00
Spigot
2e26d4a2bf Start metrics only once
By: md_5 <md_5@live.com.au>
2013-02-23 09:59:26 +11:00
Spigot
bcb0ea56d4 Rerwrite the metrics code to be closer to the Bukkit version.
By: md_5 <md_5@live.com.au>
2013-02-23 08:58:55 +11:00
Spigot
1682097f81 Remove TagAPI patches.
By: md_5 <md_5@live.com.au>
2013-02-22 19:30:23 +11:00
Spigot
22048bfe81 Add highPriorityQueue
By: md_5 <md_5@live.com.au>
2013-02-22 19:29:36 +11:00
Spigot
14a8719dad Allow provisionally disabling chunk GC
By: md_5 <md_5@live.com.au>
2013-02-22 19:11:59 +11:00
Spigot
67374a6263 Improved tile entity lookup for chunk sending
We already have direct access to the chunks tile entities, there is no reason to look them up again.

By: shakytom <tom.roberts00@gmail.com>
2013-02-20 23:16:49 -05:00
Spigot
c3fc9635b8 Optimize getTileEntities
Avoid traversing tile entities for every loaded chunk

By: Mike Primm <mike@primmhome.com>
2013-02-21 00:40:28 -06:00
Spigot
56f1d1c01d TagAPI won't load anyway - no need to manually disable it.
By: md_5 <md_5@live.com.au>
2013-02-20 20:20:27 +11:00
Spigot
ce038722f8 Implement the rest of TagAPI
By: md_5 <md_5@live.com.au>
2013-02-20 19:08:43 +11:00
Spigot
ba3f658dfd Fix falling sand entities with orebfuscator.
By: SuPaH sPii <r29jk10@gmail.com>
2013-02-19 18:58:31 -06:00
Spigot
23fc65c6fd This is what I call the balancing game - use 2 NIO threads
By: md_5 <md_5@live.com.au>
2013-02-20 07:34:18 +11:00
Spigot
587fe30827 Remove extra chunkGC call left over after CraftBukkit merge
By: Aikar <aikar@aikar.co>
2013-02-19 15:10:01 -05:00
Spigot
061fdf3d06 Fix logic error with living entity collision reduction.
The previous version missed the entire point of the change and made it only skip collision on NON living entities... which is not often at all.

It was meant to only Skip Living->Living, or else we won't get any gain...

By: Aikar <aikar@aikar.co>
2013-02-19 11:43:00 -05:00
Spigot
65d005a475 Name that thread too
By: md_5 <md_5@live.com.au>
2013-02-19 20:30:26 +11:00
Spigot
71175ecaa8 Dont disable tagAPI for now
By: md_5 <md_5@live.com.au>
2013-02-19 20:28:30 +11:00
Spigot
ba015768c7 Few fixes, tweaks for Netty
By: md_5 <md_5@live.com.au>
2013-02-19 19:38:18 +11:00
Spigot
b32484c70f Implement TagAPI into Spigot - much more efficient and only a dozen lines of code.
By: md_5 <md_5@live.com.au>
2013-02-19 18:30:34 +11:00
Spigot
5451e30739 Change field name for backwards support
By: md_5 <md_5@live.com.au>
2013-02-19 18:01:42 +11:00
Spigot
1c86622253 Oops
By: md_5 <md_5@live.com.au>
2013-02-18 18:30:25 +11:00
Spigot
2f74e8d74d Bit nicer for TagAPI
By: md_5 <md_5@live.com.au>
2013-02-18 17:46:31 +11:00
Spigot
75510381f7 Move protocol lib threads around - and reduce netty threads a lot.
By: md_5 <md_5@live.com.au>
2013-02-17 20:47:27 +11:00
Spigot
fd8ab30ef6 Update to actually compile with netty beta
By: md_5 <md_5@live.com.au>
2013-02-17 20:15:48 +11:00
Spigot
aaf58e51fe Use correct depend
By: md_5 <md_5@live.com.au>
2013-02-17 20:10:50 +11:00
Spigot
00a55293f5 Use release Netty to avoid performance regressions.
By: md_5 <md_5@live.com.au>
2013-02-17 20:06:57 +11:00
Spigot
ffd8c932ba Handle vanished players in tab list
By: md_5 <md_5@live.com.au>
2013-02-17 17:31:52 +11:00
Spigot
59f79fb46a Use more threads for netty to help with lag.
By: md_5 <md_5@live.com.au>
2013-02-17 16:35:11 +11:00
Spigot
594eb1651c Use tab list name to prevent duplicates.
By: md_5 <md_5@live.com.au>
2013-02-16 19:46:56 +11:00
Spigot
bca3cabb22 Keep a definsive copy of players for entity activation
By: md_5 <md_5@live.com.au>
2013-02-16 19:46:08 +11:00
Spigot
7da770870f Use vanilla method - just with toggle
By: md_5 <md_5@live.com.au>
2013-02-16 19:05:26 +11:00
Spigot
c363ace8a7 Allow to occasionally send tab list updates
By: md_5 <md_5@live.com.au>
2013-02-16 17:56:39 +11:00
Spigot
d815af0ec3 Use a compression level of 4 for chunk packets
By: md_5 <md_5@live.com.au>
2013-02-16 13:33:46 +11:00
Spigot
8fd703d6bb And chests...
By: md_5 <md_5@live.com.au>
2013-02-16 10:24:25 +11:00
Spigot
c69472dab1 Don't use ender chests or stone as hiding materials
By: md_5 <md_5@live.com.au>
2013-02-16 10:19:31 +11:00
Spigot
7d84569b06 Add engine mode 2
By: SuPaH sPii <r29jk10@gmail.com>
2013-02-16 10:13:00 +11:00
Spigot
dd60921594 Make map send speed configurable.
By: md_5 <md_5@live.com.au>
2013-02-15 18:34:42 +11:00
Spigot
25a0b1356d Please don't spam console every ping.
By: md_5 <md_5@live.com.au>
2013-02-15 18:25:53 +11:00
Spigot
00275b6d81 Remove extra disconnect info - confuses people into thinking something is wrong
By: md_5 <md_5@live.com.au>
2013-02-14 17:33:09 +11:00
Spigot
4937d401df Remove locking in favour of a volatile state variable.
By: md_5 <md_5@live.com.au>
2013-02-13 12:22:25 +11:00
Spigot
2b28813233 Break packet reading into states to reduce object churn.
By: md_5 <md_5@live.com.au>
2013-02-13 12:11:37 +11:00
Spigot
c6a2240466 Reorder check for isEmpty, on a ConcurrentLinkedQueue its
more expensive than would appear.

By: md_5 <md_5@live.com.au>
2013-02-12 16:29:15 +11:00
Spigot
4546d28bde Switch back to unbounded queue.
By: md_5 <md_5@live.com.au>
2013-02-12 16:23:43 +11:00
Spigot
f4badf2f0d Fix orebfuscator enabled log message
By: Agaricus <agaricusb@yahoo.com>
2013-02-10 20:04:32 -08:00
Spigot
9506e32ba0 Apply entity activation range, the most over hyped commit ever.
By: md_5 <md_5@live.com.au>
2013-02-11 19:32:14 +11:00
Spigot
bf3fab5c13 Add proper thread safety. Please let me know if this deadlocks your server.
By: md_5 <md_5@live.com.au>
2013-02-10 18:35:09 +11:00
Spigot
3e9cf48079 If you are a server list owner, and you have not fixed your shit, I kindly request that you do so NOW. I will not waste another 5 hours of my life covering up for you. 4 months is more than long enough for 3 lines of code change.
By: md_5 <md_5@live.com.au>
2013-02-10 16:50:54 +11:00
Spigot
52fc2b1ea2 Add volatile to be sure the JVM wont cache the value
By: md_5 <md_5@live.com.au>
2013-02-10 15:12:35 +11:00
Spigot
ffe44eefa2 Fix occasionally showing as 1.3
By: md_5 <md_5@live.com.au>
2013-02-10 15:04:27 +11:00
Spigot
1ccfa93293 Revert "Reduce legacy ping threshold to 1000ms"
This reverts commit eb53806048.

By: md_5 <md_5@live.com.au>
2013-02-10 14:52:14 +11:00
Spigot
eb53806048 Reduce legacy ping threshold to 1000ms
By: md_5 <md_5@live.com.au>
2013-02-10 14:35:13 +11:00
Spigot
07ebde686f Fix legacy pinging with some uber ninja coding.
By: md_5 <md_5@live.com.au>
2013-02-10 14:26:59 +11:00
Spigot
3b1b3a1a6a Fix support for windows xp / server 2003
By: md_5 <md_5@live.com.au>
2013-02-10 12:35:52 +11:00