Commit Graph
215 Commits
Author SHA1 Message Date
Parker Hawke b80055abfb Properly validate player experience bar progress 2017-03-19 18:31:40 -04:00
Max Lee 4c8d895513 SPIGOT-2152: Method to set resource pack + hash. 2017-02-15 10:05:56 +11:00
md_5 0a6a5cb4ad SPIGOT-1036: Add API to manipulate sendTitle timings. 2016-12-16 09:48:14 +11:00
md_5 d7cce99f01 Fix possible leaks in vanish API 2016-11-28 10:02:40 +11:00
md_5 7564d60241 Add stopSound for specific sound category & unit test for SoundCategory 2016-11-19 14:27:18 +11:00
LukBukkit 63c13c5e62 Implement SoundCategory for playing sounds. 2016-11-19 14:20:13 +11:00
md_5 c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
md_5 cb2749768e SPIGOT-2757: Player#stopSound Stops All Sounds 2016-11-06 10:36:38 +11:00
md_5 9558f31ebb SPIGOT-2711: CraftPlayer.getPlayerListName removes black colour 2016-10-05 19:33:33 +11:00
md_5 d3507d2818 SPIGOT-1364: sendMap should update entire map 2016-07-01 11:24:11 +10:00
md_5 45038571f9 SPIGOT-1341: Cancelled cake interact decreases client hunger 2016-07-01 11:20:31 +10:00
md_5 4c43856621 SPIGOT-1599: Allow teleporting disconnected players 2016-06-30 13:01:37 +10:00
md_5 46233ffa8f Add Player.stopSound 2016-06-12 10:28:09 +10:00
md_5 a8a4bedd2a Update to Minecraft 1.10 2016-06-09 11:43:49 +10:00
md_5 c5e9a169fa Minecraft 1.9.4 2016-05-10 21:47:39 +10:00
md_5 935f18b476 SPIGOT-2206: playEffect doesn't accept sub classes of the expected data type 2016-04-26 09:35:17 +10:00
Thinkofname 9554894553 SPIGOT-2049: Send the right attributes when updating scaled health 2016-03-25 23:13:16 +00:00
Lukas Hennig ef13ca4444 SPIGOT-1549: Fix custom String sounds. 2016-03-04 15:55:40 +11:00
Thinkofdeath bad994e724 Don't round the location of playSound to the center of a block 2016-03-02 16:02:36 +00:00
md_5 912dfae454 SPIGOT-1623: Use correct spawnParticle overloads. 2016-03-02 16:51:09 +11:00
md_5 fdaa09b23b SPIGOT-1536: Fix playNote 2016-03-01 13:42:54 +11:00
md_5 aa008dff0f Update to Minecraft 1.9 2016-03-01 09:32:45 +11:00
md_5 18fbb24b46 SPIGOT-1235: Correctly validate MaterialData for playEffect.
Thanks Jikoo for the report / fix.
2015-10-18 19:40:00 +11:00
md_5 1f73bbb56a Simplify isOnline() logic. 2015-07-13 18:30:25 +10:00
Jofkos a03743b3b4 Add basic sendTitle / resetTitle API.
More APIs to follow pending feedback of whether this is the preferred implementation. Methods marked as deprecated and subject to change, but work as is.
2015-07-10 16:24:02 +10:00
md_5 0dfb243c86 SPIGOT-436: Add accompanying getSpectatorTarget(). 2015-06-21 09:20:07 +10:00
md_5 f4ecc39ffc SPIGOT-436: Add spectator camera API. 2015-06-09 09:17:54 +10:00
Thinkofdeath a486600749 Update to 1.8.4 2015-05-17 10:32:59 +01:00
Thinkofdeath 350cb9927e Update the rename markers 2015-03-19 21:29:33 +00:00
Thinkofdeath d8a9c7be42 Update to Minecraft 1.8.3 2015-03-04 09:48:58 +00:00
FearThe1337 6fab8fe51e SPIGOT-236 - fix notes playing wrongly.
Formula is from BlockNote (NMS), slightly formatted different to be smaller.
2014-12-18 09:47:10 +11:00
Adam Thomas cc9b479fe6 Fix show player 2014-11-30 20:12:54 +00:00
Thinkofdeath 20207a0124 Correct the return value of getPlayerListName 2014-11-30 10:30:32 +00:00
Thinkofdeath 24557bc2b3 Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/
2014-11-28 17:16:30 +11:00
bendude56 a4805dbd77 Allow teleportation of entities on vehicles. Fixes BUKKIT-4210
Up until Minecraft version 1.5 it was not possible to teleport entities
within vehicles. With the 1.5 update came the change in the Minecraft
teleportation logic to dismount before teleporting the entity, if
applicable.

This commit ammends the existing CraftBukkit logic for rejecting
teleportation for entities in vehicles to permit the action. Due to this
change, CraftBukkit is now in-line with Minecraft 1.5 teleportation logic.
2014-08-17 11:49:27 -06:00
Travis Watkins dbb5e6e3cd Update CraftBukkit to Minecraft 1.7.10 2014-07-08 14:31:10 -05:00
Daniel Naylor 0a45c3ebf7 Use UUIDs in CraftPlayer equals and hashCode methods. Fixes BUKKIT-5634 2014-05-26 19:45:07 -05:00
GJ 730adbbf42 [Bleeding] Don't allow null display names. Fixes BUKKIT-5254
Currently, plugins can set a player's display name to null, which could
cause issues for other calls to getDisplayName that aren't expecting a null
value. This changes setDisplayName to follow the same logic as
setPlayerListName, which sets the player's name back to their unmodified
"vanilla" name if it receives a null value as a parameter.
2014-04-18 10:21:33 -05:00
Travis Watkins 3e911dba54 Make bans pretend to use names like before 1.7.8.
Bans require a name and UUID but our API only allows for a single string
identifier for a ban entry. Until this is sorted out go back to the old
name based setup since we can always get a UUID given a name.
2014-04-17 10:45:10 -05:00
Travis Watkins f6a93775bf Check the actual whitelist for Player#isWhitelisted()
The server's check is for whether or not a player can pass the whitelist
not just if the player is on it. That seems like more useful information
but the API has always just checked if they are on it so this commit
restores that.
2014-04-12 07:21:01 -05:00
Travis Watkins 8f771c7378 Update CraftBukkit to Minecraft 1.7.8 2014-04-11 22:28:35 -05:00
Patrick Seidel 0df7555cec Add method to send fake sign updates to players. Adds BUKKIT-2300 2014-04-02 18:05:03 -05:00
feildmaster 434f15c847 Store last known player names in preparation for name changing 2014-03-31 14:42:33 -05:00
Nate Mortensen 385ace970e Update CraftBukkit to Minecraft 1.7.5 2014-03-21 23:56:34 -04:00
mbax b18bedd848 Implement banning API. Adds BUKKIT-3535
Previously no implementation existed to access various additional
information fields regarding bans. This implementation expands on the
information outlined in the sister Bukkit commit to provide access to
the Minecraft implementation of the ban system.

This implementation of the banning API contains 2 new classes which
provide access to the internal workings of the built-in banning
system within Minecraft.

The CraftBanEntry class simply supports the representation of an internal
Minecraft BanEntry object. The data that may be modified within this new
object must be manually saved to the list contained within the
CraftBanEntry using it's save() method.

The CraftBanList class supports the representation of an internal
Minecraft BanList object through proxy methods. These methods do
validation on the passed objects where needed to ensure safe input to the
backed Minecraft objects.

These changes additionally re-route the existing banning API to the newer,
more detailed, system. Functionality prior to this change still behaves
as documented by the contract defined by the methods changed.
2014-02-08 00:03:14 -07:00
t00thpick1 622a2976d9 [Bleeding] Fix Achievements and Statistics API. Fixes BUKKIT-5305 2014-01-16 00:51:04 -06:00
Nate Mortensen 8da5126282 Add new setResourcePack method. Fixes BUKKIT-5015
Minecraft now uses resource packs instead of texture packs, which broke
the setTexturePack method, as the client no longer listens on the MC|TPack
channel.

This commit fixes the issue by adding in a setResourcePack method, and by
deprecating setTexturePack and rewriting it to call the newly added
setResourcePack.  In order to simplify the method and prevent this from
happening in the future, setResourcePack calls EntityPlayer.a(String) to use
the same logic as minecraft when sending resource packs.
2013-12-17 20:17:38 -07:00
t00thpick1 bdbd1808f7 Show fall particles while in creative mode. Fixes BUKKIT-5009
Relocate CraftBukkit patch to fall damage when changing
gamemode from creative mode.
2013-12-13 18:51:13 -07:00
mbax 2726696652 Update CraftBukkit to Minecraft 1.7.2 2013-11-30 19:26:12 -06:00
feildmaster dcb9d6a5ef Update CraftBukkit to 1.6.4 2013-09-19 20:01:02 -05:00