Commit graph

955 commits

Author SHA1 Message Date
CraftBukkit/Spigot
7c3b98a7f9 Updated version to 1.3.1-R1.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-08-07 17:10:11 -04:00
CraftBukkit/Spigot
1fc2417f5d Updated version to 1.3.1-R1.0 in pom.xml for RB
By: EvilSeph <evilseph@gmail.com>
2012-08-07 02:31:21 -04:00
CraftBukkit/Spigot
24abca3c43 Implement new deprecated warning state configuration option
By: Wesley Wolfe <weswolf@aol.com>
2012-08-06 23:52:49 -05:00
CraftBukkit/Spigot
bf9001a3d3 Put forceChunkLoad back to its original value.
By: Travis Watkins <amaranth@ubuntu.com>
2012-08-05 20:03:12 -05:00
CraftBukkit/Spigot
7383d52df7 Implement new AsyncPlayerChatEvent. Addresses BUKKIT-2064
Added two utility collections for use with PlayerChatEvents allowing lazier
initialization of events and less need to synchronize against the player
list.

Provided a hidden queue system for similar logic to pre-1.3 chat. When a
plugin is listening for the deprecated PlayerChatEvent, all chat will be
delayed to be mirror executed from the main thread. All developers are
encouraged to immediately update to the developmental Bukkit chat API as a
minimum transition for server stability.

Additionally, changes were required to bring thread-safety to the flow
logic. CopyOnWriteArrayList is the only viable means to produce thread
safety with minimal diff; using a sane pre-implemented collection would
require reworking of sections of NMS logic.

As a minor change, implemented expected functionality for
PlayerCommandPreProcessEvent. Setting the player should now change the
player executing the command.

By: Wesley Wolfe <weswolf@aol.com>
2012-08-03 06:24:55 -05:00
CraftBukkit/Spigot
a1a672d052 Fix mapping of ChunkSection nibble data to snapshot. Fixes BUKKIT-1977
By: Mike Primm <mike@primmhome.com>
2012-08-02 11:21:40 -05:00
CraftBukkit/Spigot
0eee4963fb Add trailing / to BukkitDL URLs. Fixes BUKKIT-2015.
Also adds CraftBukkit version number to user agent when communicating with
BukkitDL.

By: Luke Granger-Brown <git@lukegb.com>
2012-08-02 23:35:08 +01:00
CraftBukkit/Spigot
fdfc871461 Add test for WorldType's
By: feildmaster <admin@feildmaster.com>
2012-08-02 09:10:15 -05:00
CraftBukkit/Spigot
6e2987bb35 Update CraftBukkit to Minecraft 1.3.1
By: feildmaster <admin@feildmaster.com>
2012-07-29 02:33:13 -05:00
CraftBukkit/Spigot
a45bcca987 Updated version to 1.2.5-R5.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-07-28 02:13:53 -04:00
CraftBukkit/Spigot
08dadaffd6 Updated version to 1.2.5-R5.0 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-07-28 01:49:49 -04:00
CraftBukkit/Spigot
985d65840b Implement getExpToLevel method. Fixes BUKKIT-1906
By: feildmaster <admin@feildmaster.com>
2012-07-10 13:32:21 -05:00
CraftBukkit/Spigot
75617118ea [Bleeding] Include chunk biome data for refresh chunk. Fixes BUKKIT-1166
By: Mike Primm <mike@primmhome.com>
2012-04-04 19:55:16 -05:00
CraftBukkit/Spigot
b69d15792e Factor invulnerableTicks into getNoDamageTicks. Fixes BUKKIT-1324
By: feildmaster <admin@feildmaster.com>
2012-07-04 15:12:29 -05:00
CraftBukkit/Spigot
a8eaf02d50 Implement getMotd, and reload the motd. Adds BUKKIT-1799
By: feildmaster <admin@feildmaster.com>
2012-07-03 18:00:37 -05:00
CraftBukkit/Spigot
87d5b5e374 Apply setLastDamageCause after processing events and the event has not been canceled. Fixes BUKKIT-1881
This allows previous causes to be available during the event, as well as making the damage cause a valid one. If EntityDamageEvent is canceled, then it's not the last DamageCause.

Also prevents setting DamageCause involuntarily through construction.

By: feildmaster <admin@feildmaster.com>
2012-07-01 05:04:06 -05:00
CraftBukkit/Spigot
fdbd4efbd6 Treat ComplexParts as proxies for setLastDamageCause. Fixes BUKKIT-1821
By: feildmaster <admin@feildmaster.com>
2012-07-01 05:02:44 -05:00
CraftBukkit/Spigot
d96b0ca73f Clean entity.damage functions. Fixes BUKKIT-1822
By: feildmaster <admin@feildmaster.com>
2012-07-01 05:00:48 -05:00
CraftBukkit/Spigot
e5281e5d53 Fix deprecated spawnCreature. Fixes BUKKIT-1880
By: Wesley Wolfe <weswolf@aol.com>
2012-07-02 15:36:49 -05:00
CraftBukkit/Spigot
cdfbbb4638 Mark entities as invalid when they get despawned. Addresses BUKKIT-810
By: Travis Watkins <amaranth@ubuntu.com>
2012-06-25 03:24:53 -05:00
CraftBukkit/Spigot
18adfe63c3 Implement LivingEntity.hasLineOfSight. Addresses BUKKIT-1255
By: TomyLobo <tomylobo@nurfuerspam.de>
2012-03-21 16:31:30 +01:00
CraftBukkit/Spigot
25f555c6b9 Deprecate spawnCreature and add spawnEntity. Addresses BUKKIT-1168
By: V10lator <v10lator@myway.de>
2012-04-25 11:45:28 +02:00
CraftBukkit/Spigot
acc10eabc8 Trigger EntityBlockChangeEvent for Silverfish. Adds BUKKIT-1560 and BUKKIT-1593
By: feildmaster <admin@feildmaster.com>
2012-04-28 12:26:07 -05:00
CraftBukkit/Spigot
b91f0fe488 Implement plugin channel events. Addresses BUKKIT-1844
By: Wesley Wolfe <weswolf@aol.com>
2012-06-20 23:15:31 -05:00
CraftBukkit/Spigot
3211d52685 Fire PlayerItemBreakEvent. Addresses BUKKIT-1600
By: Travis Ralston <travpc@gmail.com>
2012-05-06 21:38:01 -06:00
CraftBukkit/Spigot
474a9e54a8 Clear animal owner when untamed. Fixes BUKKIT-1482
By: Ammar Askar <ammar_askar@hotmail.com>
2012-06-17 23:18:00 +05:00
CraftBukkit/Spigot
f54cb1e14e Add query-plugins setting. Addresses BUKKIT-1781
By: H31IX <effectsdude@gmail.com>
2012-06-09 13:59:52 -04:00
CraftBukkit/Spigot
86a06cd622 Changes '/whitelist list' to ignore comments. Addresses BUKKIT-1804
By: Jeff Wardian <krinsdeath@hotmail.com>
2012-06-14 22:31:47 -05:00
CraftBukkit/Spigot
b92707d6ea Preserve whitelist ordering. Addresses BUKKIT-1805
By: Jeff Wardian <krinsdeath@hotmail.com>
2012-06-14 22:43:46 -05:00
CraftBukkit/Spigot
fc5ec8c899 Fire NotePlayEvent. Fixes BUKKIT-1779
By: obnoxint <mail@obnoxint.net>
2012-06-10 17:39:18 +02:00
CraftBukkit/Spigot
efd15866c4 Support asynchronous events; Addresses BUKKIT-1212
By: Wesley Wolfe <weswolf@aol.com>
2012-06-13 21:52:49 -05:00
CraftBukkit/Spigot
add9437bd5 Check world before checking distance. Fixes BUKKIT-1792
By: Wesley Wolfe <weswolf@aol.com>
2012-06-12 10:59:29 -05:00
CraftBukkit/Spigot
aae6c59efb Updated version to 1.2.5-R4.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-06-09 21:40:34 -04:00
CraftBukkit/Spigot
3525cbdcda Updated version to 1.2.5-R4.0 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-06-09 21:04:38 -04:00
CraftBukkit/Spigot
18ff0924ce Launch fireballs at eye location. Fixes BUKKIT-1155
By: feildmaster <admin@feildmaster.com>
2012-04-16 10:31:57 -05:00
CraftBukkit/Spigot
a0edb34eab Make log-strip-color a simple flag instead of a boolean.
By: Travis Watkins <amaranth@ubuntu.com>
2012-06-02 14:43:38 -05:00
CraftBukkit/Spigot
8716e36905 Resize UnsafeList to initial capacity when cleared and implement clone.
By: Travis Watkins <amaranth@ubuntu.com>
2012-05-31 20:14:28 -05:00
CraftBukkit/Spigot
d7d484d6aa Fix bold states while printing; Fixes BUKKIT-1716
By: Wesley Wolfe <weswolf@aol.com>
2012-05-26 15:32:38 -05:00
CraftBukkit/Spigot
c2c1d03209 Change mapping of Gold from yellow bold to yellow; Addresses BUKKIT-1717
By: Wesley Wolfe <weswolf@aol.com>
2012-05-26 15:27:55 -05:00
CraftBukkit/Spigot
70eab29d67 Updated version to 1.2.5-R3.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-05-26 02:24:17 -04:00
CraftBukkit/Spigot
69b250ab94 Updated version to 1.2.5-R3.0 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-05-26 00:28:07 -04:00
CraftBukkit/Spigot
df04eb1bcf Removed AnimalTamer cache, fixes BUKKIT-1628
By: Wesley Wolfe <weswolf@aol.com>
2012-05-24 23:02:02 -05:00
CraftBukkit/Spigot
3776921464 Fixed broken hashCode()
By: Wesley Wolfe <weswolf@aol.com>
2012-05-06 13:39:46 -05:00
CraftBukkit/Spigot
f7aab5aff2 Update Bukkit API dependency to 1.2.5-R2.1-SNAPSHOT
By: Wesley Wolfe <weswolf@aol.com>
2012-05-24 22:46:45 -05:00
CraftBukkit/Spigot
6b250f016d Add in checks for potential NPEs. Fixes BUKKIT-1706 and BUKKIT-1590.
By: Travis Watkins <amaranth@ubuntu.com>
2012-05-24 19:11:05 -05:00
CraftBukkit/Spigot
ff07012ac7 Use jansi's Windows support for terminal colors.
By: Travis Watkins <amaranth@ubuntu.com>
2012-05-23 15:02:57 -05:00
CraftBukkit/Spigot
0eb748f952 Re-implement World.getTemperature and World.getHumidity
By: Score_Under <seejay.11@gmail.com>
2012-05-11 13:19:38 +02:00
CraftBukkit/Spigot
3cc9abe5b8 Updated version to 1.2.5-R2.1-SNAPSHOT for development towards next release
By: feildmaster <admin@feildmaster.com>
2012-05-19 17:55:53 -05:00
CraftBukkit/Spigot
9d0fb8d806 Updated version to 1.2.5-R2.0 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-05-17 23:05:32 -04:00
CraftBukkit/Spigot
66cb03e41a Replace TextWrapper with simple newline splitting. Fixes BUKKIT-1662
TextWrapper used to try to ensure a message would wrap correctly on the
client by counting the width of the characters in pixels and wrapping
before hitting that limit. This was needed because the client would lose
color information when wrapping and could not handle long lines of text.

Now that both of these problems are solved in the client we can replace
TextWrapper with simple code to split the message into multiple packets on
newlines and ensure chat colors carry across to the new packet.

By: Travis Watkins <amaranth@ubuntu.com>
2012-05-16 18:09:33 -05:00