55 Commits

Author SHA1 Message Date
Wojciech Stryjewski
5c446a97ae Add API to allow plugins to request players switch to a texture pack. Adds BUKKIT-2579
The setTexturePack method causes the player's client to
download and switch to a texture pack specified by a URL.

Note: Players can disable server textures on their client, in which
case this API would not affect them.
2012-12-20 22:20:56 -05:00
EvilSeph
8b5440766c Update ExpCommand with levels support. Fixes BUKKIT-2683 and partially fixes BUKKIT-2671 2012-10-29 23:18:18 -04:00
EvilSeph
8d77e844f7 Expose setBedSpawnLocation with force option. Adds BUKKIT-2709 2012-10-29 04:58:51 -04:00
feildmaster
5cc04e5398 Add API for Sound, and playing the sounds for Worlds and Players. Adds BUKKIT-1430, BUKKIT-1226 and BUKKIT-2019 2012-08-21 17:15:48 -05:00
Wesley Wolfe
c72b55f12e Add API to set and get movement modifiers. Addresses BUKKIT-2205 2012-08-10 00:19:21 -05:00
feildmaster
062a3df78d Javadoc updates
Fixes BUKKIT-1653, Fixes BUKKIT-1383 and Fixes BUKKIT-1644
2012-06-03 05:40:54 -05:00
Nathan Adams
4a3a177ddd Added player.isFlying|setFlying to check if a player is flying, or make them fly/not. This implements BUKKIT-1281. 2012-03-22 22:03:47 +00:00
rmichela
463856b8a0 [Bleeding] Added Conversations API. Addresses BUKKIT-864 2012-03-01 03:52:18 -05:00
Celtic Minstrel
0db822f609 Implementation of richer playEffect methods. Addresses BUKKIT-857 2012-02-29 15:02:59 -05:00
Erik Broes
049a7cc1d0 Deprecation cleanup. 2012-02-18 13:05:58 -05:00
fullwall
d99c95f6d1 [Bleeding] Added Potions API. Fixes BUKKIT-389 2012-02-10 17:26:38 -05:00
Travis Watkins
5e6125e01b [Bleeding] Added Vanish API for hiding players from each other.
Adds Player.hidePlayer, Player.showPlayer, and Player.canSee for managing
what players are hidden from a player. When someone is hidden from a player
the player cannot see them in the user list or /list and they cannot /tell
them so they appear to be completely gone from the server.
2012-02-03 03:32:21 -05:00
Nathan Adams
c29a93a8c1 Player.setPlayerListName no longer ignores colour length in size limit. This relates to BUKKIT-571 2012-01-19 15:10:14 +00:00
Erik Broes
95e3f07b69 Add Player.setBedSpawnLocation(Location). Thanks md_5 2012-01-17 22:43:16 +01:00
Erik Broes
88c17a7f86 Generic cleaning 2012-01-15 14:37:43 +01:00
Nathan Adams
96b3a075af Added Player set/getAllowFlight methods. Thanks to Qala for the PR. 2012-01-15 10:55:33 +00:00
Nathan Adams
2c1cd77cdc Updated javadocs of Player.setPlayerListName to reflect that the char limit is based on length without colours 2012-01-14 17:42:57 +00:00
Nathan Adams
ce4f4af087 Implemented new Plugin Message API - see http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/ 2012-01-13 08:53:14 +00:00
Erik Broes
b9fca3c04d Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
Nathan Adams
bb3b740b88 Deprecated player methods: getExperience setExperience due to new float value. Added giveExp, setExp, getExp 2011-11-30 22:30:47 +00:00
Dinnerbone
050bd70a5d Renamed player.setListName to something a little more sensical 2011-10-03 00:34:04 +01:00
sk89q
d38c63837f Added Player.get/setListName to change the name of the player on the player list. 2011-09-26 15:10:33 -07:00
Dinnerbone
fe4f4c5f58 Many javadoc fixes thanks to Celtic Minstrel 2011-09-25 02:56:40 +01:00
Rigby
81d2064441 Added PlayerToggleSprint event and sprinting related API. 2011-09-21 16:19:17 -04:00
EvilSeph
e61bc9093d Added getBedSpawnLocation to Player. Thanks fernferret! 2011-09-20 23:41:57 -04:00
Dinnerbone
d1a86b6f2a Added Player saturation, exhaustion and food level methods 2011-09-15 06:23:58 +01:00
Dinnerbone
0abbb7ad7a Added Player.get/setExperience, totalExperience and level 2011-09-15 05:13:16 +01:00
Dinnerbone
e1f69e0867 Added the ability to access offline players & more reverse lookup fixes in Permissible. 2011-09-03 00:41:22 +01:00
Dinnerbone
ce0d959728 Some small fixes to permissions to register the correct Permissible in base and more accurate reverse lookups 2011-09-02 23:39:01 +01:00
EvilSeph
6f5747d8b8 Revert "Interface for changing the view distance." 2011-08-15 14:26:42 -04:00
Andrew Ardill
1c4aba8d1f Interface for changing the view distance.
Can be changed server wide, per world and per player.
Only server wide changes are kept between server restarts.

Setting the server or world view distance should fail if the
view distance is not between 3 and 15
2011-08-15 15:11:34 +10:00
EvilSeph
b04d766ab0 Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested! 2011-08-12 22:02:15 -04:00
EvilSeph
293a4d9ae2 Added Instrument enum, Note class and get/setNote functions. Thanks xZise! 2011-06-17 03:13:34 -04:00
EvilSeph
bc7a5cd673 Added per player time support. Thanks eisental, Shamebot and needspeed10! 2011-06-17 02:28:25 -04:00
Erik Broes
0ac6a0bfe6 Generic cleanup 2011-06-12 12:49:08 +02:00
sk89q
04d6366083 Cleaned up some Javadocs. 2011-06-09 23:11:35 -07:00
sk89q
b9f1cbefc8 Moved playSound/Effect(Player, ...) to Player.playEffect(Location, ...) to be consistent, and because the code didn't really do what the Javadoc said. 2011-06-09 23:07:45 -07:00
raphfrk
fc14c51854 Adds update chunk method for sending fake chunk updates to the client. This is to match the sendBlockChange method. 2011-06-08 18:55:31 -04:00
Erik Broes
992f1f2bf3 Whitespace + general cleanup 2011-05-15 14:06:02 +02:00
sk89q
913c9851c9 Added method to fake a block change request for a player. Alas, my Justin Bieber playing sign can work again! 2011-05-02 11:31:29 -07:00
sk89q
124d369d47 Added Player.playNote(). 2011-05-02 11:31:29 -07:00
Dinnerbone
539e822e33 Added Achievement and Statistics 2011-04-21 20:56:19 +01:00
sk89q
93a3e2448d Fixin' the problem of AFK people not in bed. 2011-04-11 11:48:30 -07:00
afforess
47d436c386 Added interface for player.saveData and player.loadData. 2011-04-03 15:53:26 -04:00
Erik Broes
48a7ac18da Add: player.getCompassTarget 2011-03-25 21:01:55 +01:00
sk89q
653df54406 Added Player.sendRawMessage(). 2011-03-12 01:06:02 -08:00
sk89q
eb150b642f Added Player.chat(). 2011-02-16 21:47:04 -08:00
EvilSeph
ae628136a7 Exposes the recently added updateInventory method.
We've decided to expose updateInventory as a temporary work-around for
 the inventory not updating issue we're aware of. The reasoning behind
 this is that addressing it properly will take some time and work and
 as this is clearly a roadblock for some plugin authors, the delay is
 not really acceptable.
2011-02-13 00:36:38 -05:00
Alexander Hesse
6ba990ecfd Added Sneaking Event 2011-02-08 17:09:11 +01:00
stevenh
39c4a5a2e9 merge with head 2011-01-29 17:18:32 +00:00