Commit Graph
115 Commits
Author SHA1 Message Date
TomyLobo dcf016822d Fixed sneaking eye height. Addresses BUKKIT-808 2012-02-27 20:16:25 -05:00
Feildmaster 796d4a8a74 [Bleeding] Fixed setTotalExp, any experience update bugs and removed Deprecated Methods. Fixes BUKKIT-798 and fixes BUKKIT-797 2012-02-23 18:27:22 -05:00
Celtic Minstrel af51313ffb [Bleeding] Added EntityType to replace CreatureType. 2012-02-22 22:06:29 -05:00
Travis Watkins 7ff8c17568 [Bleeding] Make sure we don't keep stale references to vanished players. 2012-02-09 22:03:43 -05:00
EvilSeph 54e45b7d66 Prevent the Vanish API from sending unnecessary packets. 2012-02-03 05:12:54 -05:00
Travis Watkins 37c8868532 [Bleeding] Implemented Vanish API.
Remove players that cannot see a player from their EntityTrackerEntry and only
send user list updates to players who can see the player they reference.
2012-02-03 03:34:03 -05:00
Nathan Adams 1f1c9c0d4b Correctly take in ChatColor length when limiting player list size. This should fix BUKKIT-571 2012-01-19 15:10:00 +00:00
Erik Broes 112e0816b9 Actually close the inventory on a *cross*-world teleport. 2012-01-17 22:50:18 +01:00
Erik Broes f5f268f939 Implement Player.setBedSpawnLocation(Location). Thanks md_5 2012-01-17 22:35:31 +01:00
Erik Broes 1d4a9e1df5 [Bleeding] Make sure to close any open inventory windows before teleporting. Thanks md_5. 2012-01-17 19:49:52 +01:00
Nathan Adams a753ee587d Implemented allowFlight methods. Thanks to Qala for the PR. 2012-01-15 10:56:09 +00:00
Erik Broes a4ce846d07 Fix formatting. 2012-01-15 10:54:57 +01:00
Nathan Adams 657f458ba7 Player.setPlayerListName no longer counts colors towards the 16-char limit. Thanks to an (unfortunately old) PR by ZachBora. 2012-01-14 17:42:18 +00:00
Nathan Adams 52c526f313 Small optimization in EntityPlayer by caching the hashcode. Thanks to a very old PR by Belphemur. In addition, changed and slightly improved the hashcode formula for entities 2012-01-14 15:01:44 +00:00
Nathan Adams 9ac06e7720 Fixed informing players of supported Plugin Channels 2012-01-14 01:46:22 +00:00
Nathan Adams b4f215e913 Implemented new Plugin Message API - see http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/ 2012-01-13 08:53:39 +00:00
Nathan Adams 897551e39e Update to mc-dev rename revision 01 2012-01-12 15:27:39 +00:00
Nathan Adams 52faa415ef Fixed clients not seeing EXP update immediately after using .setTotalExp and level methods 2011-12-12 19:44:57 +00:00
Nathan Adams b653ce3c1c Implemented (offline)player date methods 2011-12-12 17:39:52 +00:00
Nathan Adams 91ff0b059d Made OfflinePlayer and Player share the same .equals and .hashcode 2011-12-12 15:34:49 +00:00
Nathan Adams 55a532c251 Indicate when a teleport event was triggered by ender pearls or unknown internal teleports 2011-12-04 11:04:14 +00:00
Nathan Adams a513406005 Fixed exp methods returning wrong values 2011-11-30 22:31:03 +00:00
Nathan Adams 8fbe78a2c3 Updated to use mc-dev rename revision 1 2011-11-30 21:46:19 +00:00
Andrew Ardill 2759809ecb Fix Craft Entity constructors and toStrings.
Also, standardise getHandle and clean up in general.
getHandle is now using the 'entity' member variable instead of
super.getHandle, as this reduces the number of chained calls needed.
2011-11-29 21:22:35 +11:00
Nathan Adams 8d49f500ec Fixed NPE in CraftPlayer.getBedSpawnLocation 2011-11-27 04:09:34 +00:00
Nathan Adams c6beae8872 Fixed allow-nether being ignored 2011-11-24 18:48:01 +00:00
Erik Broes 345ea36c7b Update for 1.0.0 2011-11-20 00:01:33 -08:00
Nathan Adams f4229fcadd Implemented getPlayer of OfflinePlayer 2011-10-11 14:52:07 +01:00
Nathan Adams c818414fd5 Updated to the new Configuration api 2011-10-10 21:10:48 +01:00
Dinnerbone 80c2bc266a Minimal diffs! Move methods for the new list-name away from nms 2011-10-03 00:37:44 +01:00
sk89q 87494d46f8 Added Player.get/setListName to change the name of the player on the player list. 2011-09-26 15:10:35 -07:00
Dinnerbone 0118a20d6a Update to mcdev rename revision 01 for 1.8.1 2011-09-24 22:05:22 +01:00
Rigby e6e9cec1e9 Added PlayerToggleSprint event and sprinting related API. 2011-09-21 16:25:26 -04:00
EvilSeph 905b977670 Added getBedSpawnLocation to CraftPlayer. Thanks fernferret! 2011-09-20 23:44:44 -04:00
Dinnerbone 914a8a0c04 Nullchex! 2011-09-19 14:26:46 +01:00
sunkid af6ba0f026 implementation of PlayerGameModeChangeEvent call 2011-09-18 11:19:08 +02:00
Dinnerbone 2b5a61f03d Rename revision 2 2011-09-15 17:39:17 +01:00
Dinnerbone 965b185c5c Setting exp shouldn't add, it should set 2011-09-15 06:27:55 +01:00
Dinnerbone 8b08696177 Implemented food methods + fixed dying resetting food 2011-09-15 06:24:45 +01:00
Dinnerbone 1c95476a00 Implemented player experience methods 2011-09-15 05:13:10 +01:00
Dinnerbone a9b3a90dc9 Implemented gamemode methods 2011-09-15 02:22:20 +01:00
Dinnerbone 59babb2c31 Fixed issue with console being subscribed multiple times to permissions 2011-09-04 00:24:32 +01:00
Dinnerbone c8d77561b1 Added new Server.getPlayerExact() method, added whitelist methods and don't use vanilla commands 2011-09-03 15:57:54 +01:00
Dinnerbone 09d90e639b Implemented new ban and unban methods 2011-09-03 02:13:07 +01:00
Dinnerbone 0206757029 Implemented OfflinePlayer 2011-09-03 00:41:48 +01:00
Dinnerbone db691ff5c8 Fixed player.setOp not deopping players 2011-09-02 21:30:16 +01:00
EvilSeph 8ea590bbcc Revert "Implements interface for changing the view distance." 2011-08-15 14:27:02 -04:00
Andrew Ardill 12e377501e Implements interface for changing the view distance.
Uses default view distance if player's view distance is not set

Throws an illegal argument exception if view distance is set too high
or too low.

Pushes notifications of server and world view distance changes to the player.
Move view distance functions from PlayerManger to WorldServer.
Set player minimum view distance to 1 for now.
Reset player's 'last known' position when recalculating visible chunks.

Use per-player view distance in chunk distance checks
2011-08-15 14:57:25 +10:00
EvilSeph 748a6288e4 Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested! 2011-08-12 23:06:02 -04:00
Dinnerbone 5d2a195835 Implemented new permission system 2011-07-17 17:19:41 +01:00