Commit graph

19012 commits

Author SHA1 Message Date
Bukkit/Spigot
56bf34db1e Added the single most important event ever to be conceived
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 21:59:53 +00:00
CraftBukkit/Spigot
5dfaef5542 Fixed insane fall damage (entities reset on death)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 20:34:26 +00:00
Bukkit/Spigot
7e203ee761 Added debugging tools to sampleplugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 20:33:48 +00:00
Bukkit/Spigot
5ca171b422 Broken plugins no longer crash the server
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 18:54:04 +00:00
CraftBukkit/Spigot
2250c18a63 Fixed player handle being reset on death or disconnection
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 05:35:30 +00:00
CraftBukkit/Spigot
19dcaeeb01 Implemented Player.sendMessage()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:56:34 +00:00
Bukkit/Spigot
9e1f814646 Added sendMessage() to player, added /pos to sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:52:26 +00:00
CraftBukkit/Spigot
827ed5aa40 Don't override getName in CraftPlayer
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:39:28 +00:00
CraftBukkit/Spigot
10d1ac6c12 No lookup for worlds, store on object
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:37:32 +00:00
CraftBukkit/Spigot
837fa8ac26 Implemented entities
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:30:12 +00:00
Bukkit/Spigot
54e61aab10 Moved getName from Player to HumanEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:29:53 +00:00
Bukkit/Spigot
2306dd52d7 Rename EntityHuman -> HumanEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 03:50:08 +00:00
Bukkit/Spigot
9edbd3958d EntityHuman is a LivingEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 23:18:09 +00:00
Bukkit/Spigot
854fe58b3f Changed ItemStack to be a class, added body
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 23:07:15 +00:00
Bukkit/Spigot
033223a9f7 Added Entity interfaces, changed Player to implement these
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 22:11:33 +00:00
Bukkit/Spigot
7459a15477 Location implements Cloneable
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 03:19:12 +00:00
CraftBukkit/Spigot
f8d2b930f9 Moved the PLAYER_MOVE and PLAYER_TELEPORT hooks to be packet-based, fixed player.getLocation() to return pitch/yaw
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 01:25:32 +00:00
Bukkit/Spigot
7c433de12d Swapped yaw/pitch in Location constructor to match Minecraft
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 01:15:16 +00:00
CraftBukkit/Spigot
6ca8defced Made Block.setType/Block.setData functional
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 01:07:57 +00:00
CraftBukkit/Spigot
64ca0ef519 Add some .toString()s
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 00:29:18 +00:00
Bukkit/Spigot
331ba1b6a2 Fixed another nullcheck in pluginmanager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 00:10:22 +00:00
CraftBukkit/Spigot
8c4820f75e Keep Blocks updated when changed by the world
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 23:52:29 +00:00
Bukkit/Spigot
d98a5eadfe Additional constructor for PlayerLoginEvent
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 22:54:39 +00:00
CraftBukkit/Spigot
b0d5c9042a Implemented PLAYER_CHAT and PLAYER_COMMAND
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 21:52:39 +00:00
Bukkit/Spigot
304ad67759 Tweak to PlayerChatEvent, allow plugins to set the player that the chat/command executes as
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 21:52:08 +00:00
Bukkit/Spigot
b63f46250a Make a start on block events, fixed nullcheck in PluginManager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 21:02:39 +00:00
Bukkit/Spigot
695bda59ee Added onPlayerLogin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 17:39:23 +00:00
Bukkit/Spigot
3a968aa90a Added onPlayerMove and onPlayerTeleport
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 16:59:25 +00:00
Bukkit/Spigot
e61f164e8b Added onPlayerChat and onPlayerCommand
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 16:41:37 +00:00
Bukkit/Spigot
de10dba640 Fixed sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 15:51:45 +00:00
Bukkit/Spigot
e657f1fe24 Fixed rename
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 15:41:11 +00:00
Bukkit/Spigot
787c680ed9 Removed server argument on events, renamed player events and commented out the rest for now
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 15:39:36 +00:00
Bukkit/Spigot
f72da929e1 Removed eventFactory, it's useless
By: durron597 <martin.jared@gmail.com>
2010-12-28 11:03:10 +08:00
Bukkit/Spigot
ed3dcbdd2b Eventing redone, revision 1
By: durron597 <martin.jared@gmail.com>
2010-12-28 10:48:03 +08:00
CraftBukkit/Spigot
5e7a24764f Added chunk/block/location/world
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-27 02:13:03 +00:00
Bukkit/Spigot
e364e973c7 Added Location
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-27 02:11:52 +00:00
Bukkit/Spigot
a2d9b84796 Added chunk, world and block interfaces
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-26 23:22:15 +00:00
Bukkit/Spigot
8f8f4aef90 Moved PlayerQuit to use normal PlayerEvent, dropped Reason param
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-26 23:21:21 +00:00
CraftBukkit/Spigot
4f56472cfd Call hooks, update to new code
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-26 02:20:29 +00:00
Bukkit/Spigot
a3ff0f1177 First two hooks working, updated sample
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-26 02:20:05 +00:00
Bukkit/Spigot
42ef5c31b7 Register events
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-26 00:38:11 +00:00
Bukkit/Spigot
acc9067060 All code to call events and delegate back to plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-26 00:21:00 +00:00
Bukkit/Spigot
130fc2576a What an event!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-25 20:28:11 +00:00
CraftBukkit/Spigot
e44cf75ad1 PluginManager => SimplePluginManager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-25 15:42:17 +00:00
Bukkit/Spigot
0a517194ca Extract interface from PluginManager, move to SimplePluginManager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-25 15:41:56 +00:00
Bukkit/Spigot
fa8a72ea5e Fixed plugin description loading
No longer hardcoding sample plugin, now uses plugins dir

By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 19:05:14 +00:00
CraftBukkit/Spigot
c723d80ad5 No longer hardcoding sample plugin, now uses plugins dir
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 19:04:35 +00:00
CraftBukkit/Spigot
f78b33d338 Fixed a few bugs getting sample plugin to load
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 18:16:10 +00:00
Bukkit/Spigot
2aeec23737 Fixed a few bugs getting sample plugin to load
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 18:16:00 +00:00
Bukkit/Spigot
529268213b Fix exception => throwable in catch while loading plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 17:25:07 +00:00