Commit graph

322 Commits

Autor SHA1 Nachricht Datum
Dinnerbone
bdc8c84041 Removed onCommand 2011-02-26 19:05:20 +00:00
Dinnerbone
07b86b1230 Added command line option 'date-format' to control how dates are printed to console (not to log) 2011-02-26 11:29:37 +00:00
Erik Broes
bb8d9fbe9d More PLAYER_ITEM blockFace fixes of static fails; (1!=l) -- Thanks Scient for pointing it out 2011-02-25 23:42:08 +01:00
Erik Broes
88dea6189a Prevent movement event to be spammed for moving less than a pixel. 2011-02-25 22:44:26 +01:00
Erik Broes
78af4f97f9 Startup time now reported in seconds, nanoseconds, Really? O.o 2011-02-25 22:44:25 +01:00
Erik Broes
61339bcb2a Properly handle PLAYER_ITEM and its clickedFace. 2011-02-25 22:44:25 +01:00
Erik Broes
666c968dab Fixed 'sign'-BlockFace (1!=l). 2011-02-25 22:44:25 +01:00
EvilSeph
43e36b5bdc All worlds should be saved on save-all. Player data should be saved when a save occurs. 2011-02-25 14:36:09 -05:00
Dinnerbone
685d4dbb3f Added ">" to input command line, separated it from output buffer properly 2011-02-25 19:01:14 +00: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
Dinnerbone
659fa9eaf9 Temporary fix for teleportation 2011-02-25 12:46:31 +00:00
Tahg
e53fd1367c possible fix for block breaking bug 2011-02-24 22:37:47 -05:00
Dinnerbone
13f55ce0c8 Fixed logging back in on non-default worlds (Yes really) 2011-02-24 15:46:26 +00:00
Dinnerbone
c97fa40d2b Fixed ENTITY_DAMAGE involving slimes (per DHowet) 2011-02-24 12:49:48 +00:00
Tahg
5d3b8de87a Fixed some debug 2011-02-24 03:51:00 -05:00
Tahg
280880d163 synchronize hashmap lookups 2011-02-23 22:52:14 -05:00
Tahg
edb0debd16 attempt to track down some bugs 2011-02-23 22:36:56 -05: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
Erik Broes
332d9c4f18 BlockStationary fix 2011-02-23 13:56:43 +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
speakeasy
6655b89037 possible fix for levers, ladders, and buttons 2011-02-23 11:27:22 +01:00
Dinnerbone
f622db3ea1 Fixed bad cast in EntityItem 2011-02-23 09:17:30 +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
Tahg
96435cfc76 refactor Items 2011-02-21 19:57:23 -05:00
Dinnerbone
f659231e34 N.M.S cleanup in preparation for update 2011-02-21 22:30:01 +00:00
Dinnerbone
67cf646014 Merge branch 'master' of github.com:Bukkit/CraftBukkit 2011-02-21 21:27:01 +00:00
VictorD
bf9a55049e Second part of NPE and arctan update :3 2011-02-20 23:22:28 +01:00
Daniel Chesters
4f249b585c Fix encoding in net.minecraft.server files. 2011-02-20 18:15:21 +01:00
David Flemström
5121ebb65d Fixed issue with color markers in messages sent to the client.
This fix eliminates crashes related to color markers being at end-of-line, and also makes colors persist across line breaks.

- The broadcast message is split up in multiple packets, one per line
- Color markers are reorganized, so that color 'sticks across lines'
- The wrapping method calculates the *rendered* line length. Thus, if the user has a weird font, it might look weird.
2011-02-20 18:15:21 +01:00
Erik Broes
09026095b6 Minor cleaning of code 2011-02-20 18:15:17 +01:00
Erik Broes
6e3ee31336 Prevent Blocks from getting lost when a chunk reloads 2011-02-20 17:09:38 +01:00
Tahg
ca4076077e fixed buttons, plates
added yield to explosion
added event for chunk unloading
2011-02-19 23:44:35 -05:00
Dinnerbone
a59149c208 Make all new loggers default to the same logging as "Minecraft" (to console + file, same format) 2011-02-20 02:14:15 +00:00
sk89q
d4b67c5549 Lowered the priority of the old command handler event. A number of plugins were using this event incorrectly. A new event, the command preprocesser event, has replaced the previous function of the original command event. 2011-02-19 18:02:13 -08:00
sk89q
ec0eec5863 Added slime as a detected entity. 2011-02-19 18:02:12 -08:00
Dinnerbone
264b5c331d Redirect System.out and System.err to a Logger 2011-02-20 01:53:06 +00:00
Dinnerbone
a6b3965672 Fixed CLI arguments 2011-02-19 19:45:22 +00:00
Dinnerbone
a5ca3e1c12 Don't kick players if a command failed from an exception 2011-02-18 16:25:56 +00:00
EvilSeph
e544fb71c3 Changed hatchingType to MobType from CreatureType as refactoring (and so plugin breaking) will take place in a week. 2011-02-17 03:17:13 -05:00
Andrew Ardill
0703f4f458 Updated to use CreatureType and CreatureSpawner
Nothing will break as a result of the refactoring of MobType due to
deprecated code being left in. These will be removed after 1 week,
enough time for plugin devs time to migrate.
2011-02-17 17:57:52 +11:00
sk89q
5f940cf764 Added Player.chat(). 2011-02-16 21:47:01 -08:00
EvilSeph
03c118f343 Added CREATURE_SPAWN event per ss2man44 2011-02-16 22:45:00 -05:00
Meaglin
4a4b67cc42 Implementation of BlockBreakEvent 2011-02-13 13:19:51 +01:00
Erik Broes
40f7986a11 Make the spawning listen to the server spawn-settings 2011-02-13 01:21:50 +01:00
Stéphan Kochen
f789c9e744 Replace a net.minecraft accessor with a public attr. 2011-02-12 16:17:43 +01:00
afforess
5aa95ee469 Added MaxSpeed methods to minecarts. Added MaxSpeed methods to boats. Added SlowWhenEmpty, FlyingMod, and DerailedMod methods to minecarts. 2011-02-12 16:14:43 +01:00
Andrew Ardill
be9a264249 Fixed bug in event when taking fall damage. Now uses event damage. 2011-02-12 22:40:28 +11:00
culturespy
e2899b9dd7 Added EXPLOSION_PRIMED event. 2011-02-12 02:57:58 -05:00
Timberjaw
348e6c75c7 Added SIGN_CHANGE event. 2011-02-11 20:49:09 -05:00
James Logsdon
09c6389b3f Adding PLAYER_PICKUP_ITEM event hook 2011-02-12 01:39:00 +01:00
James Logsdon
82931a601d Adding PLAYER_DROP_ITEM event hook 2011-02-12 01:09:42 +01:00
cvpcs
71f97ffc5b Send a BlockRedstoneEvent if powered redstone is destroyed
When a powered redstone block is destroyed, a BlockRedstoneEvent should
be sent to notify plugins that particular block is returning to current
0 before the BlockDamageEvent is sent.  This allows plugins dealing with
redstone to not have to listen for redstone destruction, but just listen
to changes in current.
2011-02-12 00:32:39 +01:00
Dinnerbone
4b6c633659 Removed debug and fixed //craftbukkit comments from 0239b76f611597f8486a 2011-02-11 09:27:57 +00:00
Tahg
c0b940d619 more chunk fixes 2011-02-11 02:01:32 -05:00
Tahg
41e136b880 fix in LongHashset.java 2011-02-10 14:59:41 -05:00
Tahg
89232b826b fixes for chunks 2011-02-10 14:33:41 -05:00
Tahg
524f966ef3 Merge branch 'master' of https://github.com/Bukkit/CraftBukkit 2011-02-10 09:24:14 -05:00
Dinnerbone
1d49e5a4b1 Fixed chunk unloading 2011-02-10 13:27:53 +00:00
Dinnerbone
a52f5ef520 Threadsafe World.c(int i, int j) 2011-02-10 11:56:30 +00:00
Zenexer
96794e15db Added spawn-protection property to server.properties 2011-02-10 12:16:31 +08:00
Zenexer
1da852265a Added spawn-protection property to server.properties 2011-02-10 12:16:30 +08:00
Zenexer
fbe54b05f4 Added spawn-protection property to server.properties 2011-02-10 12:16:30 +08:00
Dinnerbone
814c9d444f Fixed LongHashtable.values() 2011-02-09 20:55:04 +00:00
James Logsdon
e3011157b1 Added Creature.setTarget per jlogsdon 2011-02-09 13:27:28 +00:00
Dinnerbone
7988345368 Added call to new event on world save (at stop and force save). (Per EyvindRM) 2011-02-09 12:59:00 +00:00
Ben64
0592b334f6 Terrain generation bugfix (will also be in Mojang 1.3) 2011-02-09 10:01:41 +01:00
Tahg
03be05790e added method to force an inventory update 2011-02-08 21:52:06 -05:00
Tahg
43ef3b3037 fixed explosions 2011-02-08 20:28:10 -05:00
Tahg
61b79e8f98 inventory fixes 2011-02-08 19:47:08 -05:00
Tahg
b9a37399ae changed fence behaviour 2011-02-08 17:10:48 -05:00
Alexander Hesse
6ad4ca2a42 Implemented Sneak event 2011-02-08 17:12:51 +01:00
Dinnerbone
1a983aceb3 Just cleaning some commits. Don't mind me. 2011-02-08 15:22:46 +00:00
Dinnerbone
3526a66fbe Added loadChunk, unloadChunk and unloadChunkRequest. 2011-02-08 14:26:55 +00:00
Dinnerbone
6b9b59db4e Added getContents() to TileEntityDispenser to be compatible with
InventoryChanged TileEntityDispenser to be built against latest mc-dev
Merge branch 'merge-fork' of https://github.com/Hidendra/CraftBukkit
2011-02-08 14:22:52 +00:00
culturespy
a9a0ad6278 Adding Craftbukkit comment-tags. 2011-02-08 14:11:34 +00:00
culturespy
f20af7b129 Make Explosion remember whether it was canceled so that WorldServer can avoid sending unneeded explode packets. 2011-02-08 14:11:34 +00:00
Dinnerbone
499d44763d Finalizing the breakage! 2011-02-08 12:54:28 +00:00
Dinnerbone
bcf9b5ca19 Oops! This matters. 2011-02-08 12:48:29 +00:00
Dinnerbone
6751433a8e Implemented new Server methods (getWorld + changes to createWorld) 2011-02-08 12:03:36 +00:00
Erik Broes
7b840489a3 Oopsie on compile issue 2011-02-07 10:43:50 +01:00
Erik Broes
2497a61044 Moved changes we did to WorldServer back down to World. 2011-02-07 10:26:12 +01:00
Erik Broes
421d1c1c1f Fixing missing mandatory comments. 2011-02-07 09:49:42 +01:00
Tahg
8acebcd7d6 Fixed Chunk cache in world 2011-02-07 03:34:32 -05:00
Tahg
3629580868 Chunk fetching improvements 2011-02-07 01:33:57 -05:00
Dinnerbone
172db788b3 I'm quite aware that I fail at merging. 2011-02-07 01:59:06 +00: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
Dinnerbone
7bdc190637 Possibly fixed block/chunk leaking 2011-02-07 01:51:06 +00:00
Dinnerbone
8b14c72a8d Changes to reflect new Environment enum 2011-02-07 01:51:06 +00:00
Dinnerbone
4e6f4e3031 NPE 2011-02-07 01:51:06 +00:00
Dinnerbone
dcabbda57c Fixed invisibility after cross-world teleportation 2011-02-07 01:51:06 +00:00
Dinnerbone
590b3874a8 Fixed various multiworld teleporting issues 2011-02-07 01:51:05 +00:00
Dinnerbone
7e81245caf Probably definitely fixed mob leaking 2011-02-07 01:51:05 +00:00
Dinnerbone
b229931ce6 Attempt to clear loaded chunks during multiworld teleportation 2011-02-07 01:51:05 +00:00
Dinnerbone
2be5181b0c Added internal MC support for multiple worlds 2011-02-07 01:44:43 +00:00
Raphfrk
9e7991ab52 Scheduler 2011-02-07 01:03:32 +01:00
Forsaken
002b5ebefc Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation) 2011-02-06 12:38:38 +01:00
Erik Broes
228b5e7ccd Added VEHICLE_COLLISION_ENTITY which vanished after porting the code 2011-02-06 11:51:35 +01:00