Commit Graph
117 Commits
Author SHA1 Message Date
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
Rigby ae43b837b0 Prevent Nether Portals from teleporting the player from Bukkit worlds to the Nether.
Plugins would need to provide a To Location for Nether Portals to work in Bukkit Worlds.
2011-08-05 16:01:27 -04:00
Dinnerbone 5d2a195835 Implemented new permission system 2011-07-17 17:19:41 +01:00
Dinnerbone a679e7f380 Update to Minecraft 1.7 2011-06-30 15:19:25 +01:00
Erik Broes a98c7ba2c7 Massive renaming update in nms. If you bypassed Bukkit, you will likely break.
Also minimized all the nms diffs and generic cleanups all around.
2011-06-27 00:47:03 +02:00
EvilSeph cd1c3858eb Fixed spawn location offset. 2011-06-21 00:24:20 -04:00
Rigby 0648302078 Implements isBedSpawn() to the PlayerRespawnEvent. 2011-06-21 00:21:11 -04:00
Rigby 138c70183d Changed Nether portals to be handled by a customiseable PortalTravelAgent and updated the PlayerPortalEvent 2011-06-20 18:33:21 -04:00
Erik Broes 96b1b8a10c Generic cleanup 2011-06-12 00:30:52 +02:00
EvilSeph 5b93f5565a Fixed from and to worlds being the same for a PlayerTeleportEvent for crossworld teleports. Thanks for the help Rigby and Verrier! Tahg is responsible for the mess. 2011-06-11 01:33:37 -04:00
EvilSeph 6607b6785d Fixed getting stuck in the ground when respawning to a bed under certain circumstances 2011-06-10 03:52:50 -04:00
Tahg baa92bdd06 reverted some changes that broke stuff 2011-06-09 14:24:21 -04:00
Tahg ca0711fdb3 fixed support for multiworld beds 2011-06-09 09:46:55 -04:00
EvilSeph 4bdc752acd Fixed issues introduced by recent 'portal changes' commit. 2011-06-08 20:08:29 -04:00
Stephen 1a1fc953cb Implemented 1.6 portal events. 2011-06-08 18:46:29 -04:00
Tahg 5296f97cde Portal changes. 2011-06-08 16:57:46 -04:00
Dinnerbone ce6524d453 Fixing a serious issue caused by SpaceManiac. All his fault. 2011-06-07 19:37:21 +01:00
Dinnerbone 147e3d684d Fixed health on multiworld teleportation 2011-06-07 19:32:14 +01:00
Tahg 66109d6e57 moved respawn event 2011-05-31 20:10:21 -04:00
Erik Broes 6dbd710bbf Update for 1.6.5 2011-05-30 22:37:34 -04:00
Dinnerbone 1784e42d5f Fixed a bunch of multiworld issues (entity tracking etc) 2011-05-27 00:11:45 +01:00
Dinnerbone 6903f20242 Implemented 1.6! 2011-05-26 13:48:22 +01:00
Erik Broes 309846d732 Whitespace + general cleanup 2011-05-15 13:41:46 +02:00
EvilSeph c18e04ce8b Proper fix for the console spam on disconnect/kick. 2011-04-21 19:08:40 -04:00
Erik Broes a6c8a36dce Update for 1.5_02. 2011-04-21 04:25:46 -04:00
Erik Broes 483a878b8b Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break. 2011-04-20 19:05:14 +02:00
sk89q 7baf5fa484 Made fauxSleeping persist on death and cross-world teleport. 2011-04-11 17:10:17 -07:00
EvilSeph 9849076dbf Made changes that were missed in translation that might cause chunk issues. 2011-04-04 20:26:37 -04:00
afforess d1e6408ea2 Changed PlayerQuit to allow last minute modifications to player state. 2011-04-03 16:11:16 -04:00
afforess 0f3f3c552a Added player.saveData and player.loadData. 2011-04-03 15:52:07 -04:00
Raphfrk 121bcd5adc Added the ability to set the quit message 2011-04-02 18:22:19 +02:00
Dinnerbone 87c36febeb Updated to Minecraft version 1.4 2011-03-31 21:40:00 +01:00
HACKhalo2 33f7af519f Changed the Kick result from KICK_BANNED to KICK_WHITELIST because not being on the whitelist doesn't mean your banned. 2011-03-29 21:39:38 +01:00
Erik Broes ce5ee0996c Updated for the changes done in Bukkit 2011-03-27 00:34:33 +01:00
Erik Broes e24b10dfd9 Updated for the cleanups done in Bukkit 2011-03-26 22:32:56 +01:00
Raphfrk abf7f8581e Added ability to disable the join/leave notices by setting the message to null in the event. The join message is moved to the onJoinEvent rather than during login 2011-03-26 15:07:55 +01:00
Erik Broes 9162a654c4 Implement player.getCompassTarget 2011-03-25 21:22:03 +01:00
Erik Broes ca1c9ef2e1 Minor cleanups 2011-03-23 16:51:44 +01:00
tahg 1144013362 Hacky solution to expose ip. Will fix properly later if I care to give a **** 2011-03-18 00:03:03 -07:00
Erik Broes 672b06727d Also transfer the displayName when dying 2011-03-13 13:29:52 +01:00
Dinnerbone 57338bee52 Much better console interaction. History, no more losing the command, colours, inline editing, etc. Shorter log output to console (but not to file). 2011-02-25 16:12:38 +00:00
stevenh 2db976c840 Corrected Exceptions text when loading and saving ops 2011-02-24 01:18:23 +00:00
Erik Broes 09aa37fe4a Generic code cleanup 2011-02-23 14:12:33 +01:00
Dinnerbone bfca34cad4 ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer and updated the version number of mc 2011-02-23 11:33:41 +00:00
Dinnerbone f759e0b60d Update to Minecraft 1.3 beta 2011-02-23 02:37:56 +00:00
Taylor Kelly a124bfdab5 Fix PlayerRespawnEvent for multi-worlds 2011-02-22 19:02:06 +01:00
Stéphan Kochen f789c9e744 Replace a net.minecraft accessor with a public attr. 2011-02-12 16:17:43 +01:00
Dinnerbone 7a71347cdf Fixed logging into the correct world 2011-02-07 01:51:06 +00:00
Dinnerbone e9b1607fdc Fixed entity updating 2011-02-07 01:51:06 +00:00