Commit Graph

1056 Commits

Author SHA1 Message Date
EvilSeph
6e44626d0a Fixed item drop protection. 2011-09-14 22:29:26 -04:00
EvilSeph
d71e83d8d2 Possible fix for flying. 2011-09-14 22:12:32 -04:00
Dinnerbone
ca4810e8d4 Implemented new entities 2011-09-15 02:33:50 +01:00
Dinnerbone
a9b3a90dc9 Implemented gamemode methods 2011-09-15 02:22:20 +01:00
Dinnerbone
5b2c774edc Update for Minecraft 1.8 2011-09-15 01:23:52 +01:00
Top-Cat
54bcd1c1f3 Indentation is important, ok? 2011-09-12 19:40:30 +08:00
Dinnerbone
f36bca9fb7 Implemented new GameMode methods (hint: You can't set game mode yet. Sorry.) 2011-09-09 01:19:23 +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
598be22800 Implemented IP-banning methods 2011-09-03 01:59:28 +01:00
Dinnerbone
2547c46099 Actually push the CraftOfflinePlayer implementation! 2011-09-03 00:49:10 +01:00
Dinnerbone
0206757029 Implemented OfflinePlayer 2011-09-03 00:41:48 +01:00
Dinnerbone
fe0cd5405b Implemented new broadcast method 2011-09-02 22:24:28 +01:00
Dinnerbone
db691ff5c8 Fixed player.setOp not deopping players 2011-09-02 21:30:16 +01:00
Dinnerbone
7c491b7bc7 Fixed world.save, implemented autosave methods 2011-09-02 20:46:26 +01:00
Dinnerbone
0c20045964 Implemented Server.shutdown() 2011-09-02 20:18:35 +01:00
Dinnerbone
d69bbd38c2 Commands are now "bukkit.command.x" instead of "craftbukkit.command.x", added legacy perms for compat 2011-09-02 19:19:50 +01:00
Dinnerbone
3915c15ef5 Version message doesn't need to be printed manually now 2011-09-02 16:56:10 +01:00
Dinnerbone
f165d4082d Refactored some code from nms to ob for minimal diffs 2011-08-29 16:09:13 +01:00
EvilSeph
1e8bbbfbd5 Fixed PlayerDropItem event cancelling. 2011-08-27 01:18:36 -04:00
EvilSeph
e4a2177281 Fixed memory leak Chunk Compression handling. Thanks Zeerix! 2011-08-27 01:16:53 -04:00
EvilSeph
6f8d4c3a52 Fixed using custom PTAs for PlayerPortal event. 2011-08-27 01:16:53 -04:00
Tahg
6e4b12cdf1 safety check (and hopeful fix) for chunk saving 2011-08-19 23:17:48 -04:00
Dinnerbone
90d1afb748 Refactored default permission registration. Added "craftbukkit" and "craftbukkit.command" parent perms, and fixed whitelist adding 2011-08-18 14:04:59 +01:00
EvilSeph
26bd45c233 Made suiciding through the /kill command not reliant on pvp being allowed. 2011-08-15 14:30:27 -04: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
Rigby
a6c03ded28 Movement handling cleanup. 2011-08-12 23:06:02 -04: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
e6876a97da Added permissions for each vanilla command - see http://wiki.bukkit.org/Vanilla_permissions. Removed op requirement for all server commands :o 2011-08-13 03:15:32 +01:00
EvilSeph
27f7a99512 Item drop handling changes. 2011-08-12 21:20:44 -04:00
Rigby
96a0e87068 Fixed chunks being overwritten with empty chunks when the memory setting is immediately changed after a world loads. 2011-08-12 21:19:53 -04:00
EvilSeph
f795055012 Fixed a piston crash (AIOOBE). 2011-08-12 21:19:53 -04:00
EvilSeph
c1e85002b6 Added missed colors to ColouredConsoleSender. Thanks flames! 2011-08-12 21:19:52 -04:00
Rigby
587b9662c9 More PlayerMove fixes.
Revert the 'from' location changes.
Only fire a PlayerMoveEvent if the movement is going to be processed.
Attempt to catch Teleporting within the event better.
Fixed issue where PlayerMove would not fire as often as expected. Thanks EvenPrime!
2011-08-08 21:54:42 -04:00
EvilSeph
28b3c9b0d7 Fixed new type reporting in BlockFade event for snow and ice. Thanks DiddiZ! 2011-08-08 16:01:35 -04:00
EvilSeph
831d97c8de Added "getViewDistance()", "getAllowNether()", "hasWhitelist()" and "getAllowFlight()". Thanks robin0van0der0v! 2011-08-08 16:01:34 -04:00
Dinnerbone
47453c6055 Extremely experimental fix to the tile-entity wipe, thanks to Wug 2011-08-08 18:30:57 +01:00
tahg
effc6c8559 Fix placement of scheduler tick 2011-08-07 00:45:56 -03:00
Rigby
bb89847632 Map handling improvements.
Fixed an NPE occurring under certain circumstances.
Made it possible for maps to exist without having to associate them with a world.
2011-08-05 16:02:02 -04: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
EvilSeph
a7f2798862 Made PlayerPortal event fire regardless of allow-nether setting. 2011-08-05 15:52:39 -04:00
Rigby
4117d6b65e Implemented per world setting to keep the spawn in memory or not. 2011-08-05 15:52:38 -04:00
Rigby
6ae23e3f03 Chunk Compression on seperate thread. Thanks to Zeerix. 2011-08-03 20:55:44 -04:00
EvilSeph
85805e53a3 Added ServerCommandEvent. Thanks celticminstrel! 2011-08-03 12:10:09 -04:00
EvilSeph
817cd83f0b Made PlayerAnimation cancellable. Thanks desmin88! 2011-08-03 12:10:08 -04:00
sunkid
7d4ec8b183 Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent. 2011-07-28 01:51:09 -04:00
EvilSeph
e2e4d7f4ca Added PlayerVelocityEvent. Thanks Evenprime! 2011-07-28 01:17:31 -04:00
EvilSeph
57e0a106fe Fixed BlockPlace event for doublesteps. Thanks DiddiZ! 2011-07-28 01:05:07 -04:00