VanillaDev/Vanilla — pull request #244 by atheriel (2012-06-27 19:53:13+00:00)
Title: Added experience/level system to SpoutPlayer. Also, added/modified/implemented several events.

In the process of working on events, I ended up writing an experience/level system into SpoutPlayer. Added an /exp [amount] test command to test it for now. Also added a /poison command to test that.

I also worked on some events, taking Windwalker's advice from the forum.

New events added and implemented:
- PlayerDropItemEvent (partially implemented, waiting for inventories)
- PlayerExperienceChangeEvent
- PlayerGameModeChangeEvent
- PlayerPoisonStatusChangeEvent

Existing/modified events implemented:
- EntityHealthChangeEvent for damage to players
- PlayerBedEvent (renamed PlayerBedInteractionEvent)
- PlayerLevelChangeEvent

New events added but not implemented:
- EntityVehicleInteractionEvent
- LightningStrikeEvent
- PlayerAchievementEvent
- PlayerExperienceChangeEvent
- PlayerHungerChangeEvent
- PlayerPickupItemEvent
- PlayerVillagerTradeEvent
- ProjectileShootEvent

Hope this is helpful. Feedback is appreciated.