Commit graph

75 Commits

Autor SHA1 Nachricht Datum
Erik Broes
d6c3fe23e5 Minor logic change and small cleanups 2011-03-24 12:11:28 +01:00
Erik Broes
748b71b3cc Fix accidental Double.MAX_VALUE coordinates in initial PlayerMoveEvent 2011-03-24 00:52:10 +01:00
Erik Broes
267e745212 Fix 'double RIGHT_CLICK' event on right-clicking a block with a non-interactive object 2011-03-24 00:10:05 +01:00
Raphfrk
9464602720 Update to PlayerMoveEvent. The From field is set the value of the previous To Field, and, Pitch or Yaw changes of more then 10 degrees will trigger the event 2011-03-23 19:31:30 +01:00
Erik Broes
e8e7581446 Small cleanup for the last commit 2011-03-23 18:42:49 +01:00
Byron Shelden
376ac51cea Fixed the PLAYER_TELEPORT event so event.getTo().getWorld() is correct. (#451) 2011-03-23 18:34:53 +01:00
Erik Broes
ca1c9ef2e1 Minor cleanups 2011-03-23 16:51:44 +01:00
Erik Broes
49043a8aff Re-Implement BlockDamage 2011-03-23 16:51:44 +01:00
Erik Broes
f33de669fb Major overhaul implementing PLAYER_INTERACT, removing PLAYER_ITEM, BLOCK_INTERACT, BLOCK_RIGHT_CLICK 2011-03-23 16:51:43 +01:00
Erik Broes
437025a179 Fixing event names 2011-03-21 00:30:00 +01:00
EvilSeph
c0b3e80d1d Fixing grammar and CraftBukkit comment. 2011-03-10 15:17:01 -05:00
Dinnerbone
54a05f3ce2 Attempt to fix double disconnects 2011-03-10 00:16:16 +00:00
Dinnerbone
507e2be8ea Fixed LOGIN packet issue 2011-03-09 21:45:57 +00:00
Dinnerbone
9aa582885a Fixed exploit allowing people to place blocks anywhere 2011-03-09 20:30:06 +00:00
Erik Broes
454da93a00 Record invalid ItemInHandIndex packet 2011-03-09 18:31:45 +01:00
Dinnerbone
63f0de5128 Sign exploit fix is spammy no more. Probably. 2011-03-09 16:56:22 +00:00
Dinnerbone
c607d212d4 (Probably) fixed the sign exploit 2011-03-08 23:18:14 +00:00
Dinnerbone
770bb9e3b5 Removed Block.getRawData 2011-03-04 14:20:38 +00:00
EvilSeph
41fea9b40e Removing debug statements. 2011-02-28 00:02:36 -05:00
Dinnerbone
cb2ff3c8bb Implemented chat recipients 2011-02-26 19:37:19 +00:00
Dinnerbone
bdc8c84041 Removed onCommand 2011-02-26 19:05:20 +00: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
61339bcb2a Properly handle PLAYER_ITEM and its clickedFace. 2011-02-25 22:44:25 +01:00
Tahg
e53fd1367c possible fix for block breaking bug 2011-02-24 22:37:47 -05:00
Erik Broes
09aa37fe4a Generic code cleanup 2011-02-23 14:12:33 +01:00
Dinnerbone
f759e0b60d Update to Minecraft 1.3 beta 2011-02-23 02:37:56 +00: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
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
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
Dinnerbone
a5ca3e1c12 Don't kick players if a command failed from an exception 2011-02-18 16:25:56 +00:00
sk89q
5f940cf764 Added Player.chat(). 2011-02-16 21:47:01 -08:00
Timberjaw
348e6c75c7 Added SIGN_CHANGE event. 2011-02-11 20:49:09 -05: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
Zenexer
96794e15db Added spawn-protection property to server.properties 2011-02-10 12:16:31 +08:00
Zenexer
fbe54b05f4 Added spawn-protection property to server.properties 2011-02-10 12:16:30 +08:00
Alexander Hesse
6ad4ca2a42 Implemented Sneak event 2011-02-08 17:12:51 +01:00
Dinnerbone
dcabbda57c Fixed invisibility after cross-world teleportation 2011-02-07 01:51:06 +00:00
Dinnerbone
2be5181b0c Added internal MC support for multiple worlds 2011-02-07 01:44:43 +00:00
Forsaken
002b5ebefc Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation) 2011-02-06 12:38:38 +01:00
Erik Broes
04be2b9b31 Generic cleanup/reformat. 2011-02-02 00:39:08 +01:00
Dinnerbone
21b8c16886 Commands can be sent from the console (WIP, needs improvements) 2011-02-01 18:13:12 +00:00
Dinnerbone
c2fdd5cadd Implemented PLAYER_ITEM_HELD 2011-01-31 01:35:29 +00:00
Dinnerbone
0dd9e4873d Fixed BLOCK_DAMAGED 2011-01-31 00:02:47 +00:00
Erik Broes
df69047324 Port to new mc-dev format. 2011-01-30 13:24:39 +01:00
Andrew Ardill
a809e4e6e3 removed all instances of new CraftEntity* where appropriate.
Entity.getBukkitEntity() is now used instead.
2011-01-23 23:23:13 +11:00
Nathan Wolf
0284663aee Address Feature#105:Implement support for PLAYER_ANIMATION hook/event.
Requires corresponding Bukkit change.

NOTE: The email address of this commit used to be: "Nathan Wolf < <nteske@gmail.com>"
      This has been fixed but will cause all commits after to change.
2014-09-09 13:13:36 +02:00
VictorD
7ea93a1105 Added registration of plugin commands on plugin load. 2011-01-16 16:35:37 +01:00
Dinnerbone
4d1c1fe5ed Moved org.bukkit.craftbukkit.Block to org.bukkit.craftbukkit.block.Block 2011-01-15 21:40:18 +00:00