Commit Graph

168 Commits

Author SHA1 Message Date
Dinnerbone
a435cae101 New event WORLD_LOADED 2011-02-08 12:06:34 +00:00
Raphfrk
83d2d304ba Scheduler 2011-02-07 01:06:20 +01:00
Forsaken
836dc323d6 Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation) 2011-02-06 12:13:18 +01:00
Meaglin
746b7a1ab2 Interface for BlockBreakEvent 2011-02-01 18:07:16 +01:00
Dinnerbone
cd05af918f Added PLAYER_DROP_ITEM 2011-02-01 10:45:39 +00:00
Dinnerbone
77832e6871 Added VEHICLE_UPDATE 2011-02-01 10:18:27 +00:00
Dinnerbone
86780fcb39 Added PLAYER_ITEM_HELD event 2011-01-31 01:34:23 +00:00
Dinnerbone
07c29dae26 Added INVENTORY_OPEN as a player event 2011-01-30 22:06:17 +00:00
stevenh
d3ee9af4e5 Added new EventExecutor, missed in last commit 2011-01-29 21:18:47 +00:00
stevenh
247e77579a Renamed IExecutor -> CommandExecutor and fixed SERVER_COMMAND doc 2011-01-29 21:17:36 +00:00
stevenh
dc04480c96 Finalising merge with head 2011-01-29 17:28:31 +00:00
stevenh
0814239f31 merge with head 2011-01-29 17:18:32 +00:00
stevenh
cc404ced12 Refactored event calling so its front loading avoiding the lookup for each event call.
This now uses an annoymous class implementing IExecutor that facilitates direct event method handler calling

Changed commands from being executed exclusively by a player to by a CommandSender to facilitate external command callers such as rcon

Fixed CustomEventListener

Merged in additional events

Added getFullName to PluginDescriptionFile which returns the combination of Name and Version

There's also a few bits of reformatting as it seems someones been editing with either tabs or dos eol :(
2011-01-29 16:23:56 +00:00
Dinnerbone
d67110aecf clearPlugins() and clearCommands() for PluginManager and CommandMap respectively 2011-01-28 14:18:24 +00:00
Taylor Kelly
99d78d912c onDisable on stop - stephank 2011-01-27 16:15:24 -05:00
Dinnerbone
da063ad675 ENTITY_DEATH 2011-01-27 13:25:20 +00:00
Taylor Kelly
0e7dc4e1b5 BlockBurnEvent 2011-01-26 16:13:04 -05:00
Taylor Kelly
3512d29524 EntityTargetEvent 2011-01-26 14:27:43 -05:00
Dinnerbone
a057aadf8e Added extra plugin description fields 2011-01-20 16:26:56 +00:00
Dinnerbone
868aee0046 Fixed empty check in PluginCommand 2011-01-20 03:08:15 +00:00
Nathan Wolf
bf4265210a Address Feature#105:Implement support for PLAYER_ANIMATION hook/event.
Requires corresponding CraftBukkit change.
2011-01-20 07:56:21 +08:00
mcasper
ba78a90a4f Event hooks were ordered in backwards order versus the expected way. To avoid sorting problems and manual sorting, changed priority to be handled by a PriorityQueue<>() rather than a manually sorted List().
Resolves issue 211 http://bugs.bukkit.org/issues/211
2011-01-20 07:52:55 +08:00
VictorD
7a9ecbef53 Updated commands to have optional aliases, and to fallback to /pluginName:cmdName on name conflict. 2011-01-18 01:12:50 +01:00
Tal Eisenberg
88560741ad added call to onBlockRedstoneChange 2011-01-18 04:47:11 +08:00
speakeasy
f9e46f8481 Added EntityExplodeEvent :D 2011-01-18 00:22:02 +08:00
VictorD
558100cab9 Added null check and removed unused method from Fillr 2011-01-16 17:05:13 +01:00
VictorD
f8335d6cab Added command registration to plugin config file. Registered commands are sent to the corresponding plugin.onCommand method when executed. 2011-01-16 16:30:34 +01:00
durron597
d6265bdc14 Removed unnecessary imports 2011-01-16 09:00:25 -05:00
Andrew Ardill
696880e64f Implementation of the EntityDamage*Events.
A new event EntityDamageByProjectileEvent was created. EntityDamageByProjectileEvent
adds the ability to get the projectile entity (such as an egg) and also set if
the projectile 'bounces'. New interfaces were created to facilitate all kinds
of projectile entities. Changes were made to facilitate the new event, and
enable other events, for plugins and event listeners.
2011-01-16 14:13:44 +01:00
sk89q
0013e12933 Updated JavaPluginLoader with renamed methods. 2011-01-15 17:14:28 -08:00
Erik Broes
bbd7fffaac Events should be present tense, not paste tense. 2011-01-15 21:26:42 +01:00
sk89q
34d1afbd6e JavaPlugin now loads the configuration file on load. getConfiguration() now is much cheaper to call. 2011-01-15 01:45:36 -08:00
sk89q
fc63e38ea2 Plugin data folders are now no longer created by default. 2011-01-15 00:34:01 -08:00
sk89q
c944fa35af Improved the Javadoc for JavaPlugin.getConfiguration(). 2011-01-15 00:29:38 -08:00
sk89q
f8dba7655b Configuration files need to be .yml, not .yaml. 2011-01-15 00:26:32 -08:00
sk89q
0373fe9fdc Added configuration and plugin data directory support to plugins. 2011-01-14 23:38:53 -08:00
Taylor Kelly
d60e72a14d Merge branch 'master' of https://github.com/tkelly910/Bukkit into tkelly910-master 2011-01-11 18:53:54 -05:00
Dinnerbone
39922fb7ff Added PluginManager.getPlugins() 2011-01-11 20:58:01 +00:00
Dinnerbone
665f4fa410 New ClassLoader to allow for inter-plugin communication 2011-01-11 20:36:38 +00:00
Taylor Kelly
e732e72985 PlayerEggThrowEvent 2011-01-11 02:58:51 -05:00
Taylor Kelly
b29d41c282 BlockDamagedEvent 2011-01-10 02:59:30 +00:00
Taylor Kelly
04f5a1e82b EntityCombustEvent 2011-01-10 02:59:30 +00:00
speakeasy
4e8f1190af Added BlockIgniteEvent. 2011-01-10 09:09:43 +08:00
durron597
98b6937ac2 Implemented BlockInteract, BlockRightClicked and PlayerItem. Removed
BlockItem as we're not doing it that way anymore.
2011-01-08 05:45:15 -05:00
Dinnerbone
dd843748fa Tweaked some more exceptions, get messages passed 2011-01-05 22:56:12 +00:00
Dinnerbone
c0f2052627 Separate InvalidDescriptionException -> InvalidPluginException 2011-01-05 22:45:54 +00:00
Dinnerbone
7f72490281 Slightly better "invalid plugin.yml" errors 2011-01-05 22:40:45 +00:00
stevenh
d5fdc42a64 Merge branch 'master' of github.com:Bukkit/Bukkit 2011-01-04 23:32:38 +00:00
stevenh
98d6a33d0d Fix for plugin description file cast error 2011-01-04 23:30:44 +00:00
Dinnerbone
b0d938d9ef Removed onBlockSent, added onLeavesDecay 2011-01-04 22:03:15 +00:00