1336 Commits

Author SHA1 Message Date
Dinnerbone
08e1d41b3f Changed ItemStack to be a class, added body 2010-12-29 23:07:15 +00:00
Dinnerbone
47207a0dbe Added Entity interfaces, changed Player to implement these 2010-12-29 22:11:33 +00:00
Dinnerbone
36b1e38d4c Location implements Cloneable 2010-12-29 03:19:25 +00:00
Dinnerbone
b9801a50da Swapped yaw/pitch in Location constructor to match Minecraft 2010-12-29 01:15:16 +00:00
Dinnerbone
3f78497752 Fixed another nullcheck in pluginmanager 2010-12-29 00:10:22 +00:00
Dinnerbone
0a9d59291f Additional constructor for PlayerLoginEvent 2010-12-28 22:54:39 +00:00
Dinnerbone
f9058e5161 Tweak to PlayerChatEvent, allow plugins to set the player that the chat/command executes as 2010-12-28 21:52:08 +00:00
Dinnerbone
caf0d3e27a Make a start on block events, fixed nullcheck in PluginManager 2010-12-28 21:02:39 +00:00
Dinnerbone
1ce00ae074 Added onPlayerLogin 2010-12-28 17:39:23 +00:00
Dinnerbone
78a2cccfb5 Added onPlayerMove and onPlayerTeleport 2010-12-28 16:59:25 +00:00
Dinnerbone
d94db03ae2 Added onPlayerChat and onPlayerCommand 2010-12-28 16:41:37 +00:00
Dinnerbone
40e6a23369 Fixed sample plugin 2010-12-28 15:51:45 +00:00
Dinnerbone
b5339d83f4 Fixed rename 2010-12-28 15:41:11 +00:00
Dinnerbone
87b8e08230 Removed server argument on events, renamed player events and commented out the rest for now 2010-12-28 15:39:36 +00:00
durron597
d6937757d7 Removed eventFactory, it's useless 2010-12-28 11:08:18 +08:00
durron597
37f3b8fe58 Eventing redone, revision 1 2010-12-28 11:08:17 +08:00
Dinnerbone
2e88ac9e9f Added Location 2010-12-27 02:11:52 +00:00
Dinnerbone
1447495125 Added chunk, world and block interfaces 2010-12-26 23:22:15 +00:00
Dinnerbone
06d9676c09 Moved PlayerQuit to use normal PlayerEvent, dropped Reason param 2010-12-26 23:21:21 +00:00
Dinnerbone
84f76c3d4b First two hooks working, updated sample 2010-12-26 02:20:05 +00:00
Dinnerbone
61dd41921f Register events 2010-12-26 00:38:11 +00:00
Dinnerbone
98e500fd96 All code to call events and delegate back to plugins 2010-12-26 00:21:00 +00:00
Dinnerbone
0ea5acd7dc What an event! 2010-12-25 20:28:11 +00:00
Dinnerbone
32a7d588ed Extract interface from PluginManager, move to SimplePluginManager 2010-12-25 15:41:56 +00:00
Dinnerbone
d98b41865e Fixed plugin description loading
No longer hardcoding sample plugin, now uses plugins dir
2010-12-24 19:05:14 +00:00
Dinnerbone
b8c8beab9a Fixed a few bugs getting sample plugin to load 2010-12-24 18:16:00 +00:00
Dinnerbone
3fdb366559 Fix exception => throwable in catch while loading plugins 2010-12-24 17:25:12 +00:00
Dinnerbone
8be2f22580 Moved a bunch of methods out of PluginLoader to PluginManager 2010-12-24 16:48:58 +00:00
Dinnerbone
2f775c5d6e Refactored Plugin into an interface, make Javaplugin and relevant code to attempt to actually load plugins 2010-12-24 16:41:51 +00:00
Dinnerbone
231c037142 Few additions to Plugin for retrieving the Server and PluginLoader responsible for the plugin 2010-12-24 13:06:44 +00:00
Dinnerbone
3f46b28753 Pass the Server instance to pluginloaders, changed register method on pluginmanager 2010-12-24 12:55:46 +00:00
Dinnerbone
777ef5442a Basics of PluginDescriptionFile 2010-12-24 11:20:20 +00:00
Dinnerbone
e112e33a72 Added Java plugin loader + a plugin manager 2010-12-24 10:31:01 +00:00
Dinnerbone
6ec2d4bc66 Start the Plugin interfaces 2010-12-24 01:29:59 +00:00
Dinnerbone
008700b6be Add Player interface 2010-12-22 15:21:16 +00:00
Dinnerbone
4e8311a655 Let's get this project started 2010-12-21 15:32:27 +00:00