Commit Graph

57 Commits

Author SHA1 Message Date
Bukkit/Spigot
2c4ba8815e Added various 1.6 portal events.
By: Stephen <stephen@jazer.com>
2011-06-07 14:12:08 -04:00
Bukkit/Spigot
516d253953 Implemented WorldUnloadEvent and unloadWorld().
By: Rigby <rigby@onarandombox.com>
2011-06-04 06:46:21 +01:00
Bukkit/Spigot
6ad28ba607 Added custom world generator API
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-06 13:23:30 +01:00
Bukkit/Spigot
855f4133b6 Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-05-14 23:22:54 +02:00
Bukkit/Spigot
e40b7ab7c1 Added dispenser event.
By: sk89q <the.sk89q@gmail.com>
2011-05-08 02:56:38 -07:00
Bukkit/Spigot
03ff88b71d Added PlayerInteractEntityEvent which fires when a player right clicks an entity. Thanks fullwall!
By: EvilSeph <evilseph@unaligned.org>
2011-05-02 04:30:10 -04:00
Bukkit/Spigot
2fc8673c04 Added SnowFormEvent. Thanks aPunch!
By: EvilSeph <evilseph@unaligned.org>
2011-05-02 01:21:47 -04:00
Bukkit/Spigot
4baa59e20f Removed trailing spaces.
By: EvilSeph <evilseph@unaligned.org>
2011-05-02 01:18:23 -04:00
Bukkit/Spigot
de05942efa Added a lot of events relating to weather, including those for entities. Thanks wizjany!
By: EvilSeph <evilseph@unaligned.org>
2011-04-25 19:46:10 -04:00
Bukkit/Spigot
08decac14e Added painting events (thanks verrier and tanelsuurhans)
By: Stephen <stephen@jazer.com>
2011-04-11 23:06:34 -04:00
Bukkit/Spigot
a53996b243 Added pre-login event for catching logins right after name verification has completed. This happens in a different thread from the server (and thus can also block).
By: sk89q <the.sk89q@gmail.com>
2011-04-16 03:08:05 -07:00
Bukkit/Spigot
f31d7de587 Added bed events and methods.
By: sk89q <the.sk89q@gmail.com>
2011-04-07 11:26:33 -07:00
Bukkit/Spigot
871953413c Fixed PlayerInventoryEvent Type.
By: EvilSeph <evilseph@unaligned.org>
2011-04-04 20:40:46 -04:00
Bukkit/Spigot
97fd93727d added some API for entities
By: Tahg <tahgtahv@gmail.com>
2011-04-04 00:44:52 -04:00
Bukkit/Spigot
22b860367d Added VEHICLE_DESTROY event
By: Robert Sargant <robert@sargant.com>
2011-03-16 13:11:13 +00:00
Bukkit/Spigot
531a69463a Added the SPAWN_CHANGE event, which occurs when a world's spawn is changed.
This event includes the world who's spawn changed and its previous spawn location.

To listen for this event:
  PluginManager pm = getServer().getPluginManager();
  YourWorldListener worldListener = new YourWorldListener(this);
  pm.registerEvent(Event.Type.SPAWN_CHANGE, worldListener, Priority.Normal, this);

To use this event:
  public class YourWorldListener extends WorldListener {
      @Override
      public void onSpawnChange(SpawnChangeEvent event) {
          World world = event.getWorld();
          Location previousLocation = event.getPreviousLocation();
      }
  }

By: William Bowers <william.bowers@gmail.com>
2011-03-29 01:59:00 -07:00
Bukkit/Spigot
7824cc02e7 Add PLAYER_INTERACT, remove BLOCK_RIGHT_CLICK, BLOCK_INTERACT and PLAYER_ITEM
By: Erik Broes <erikbroes@ripe.net>
2011-03-23 12:30:54 +01:00
Bukkit/Spigot
4819bb5819 Added PlayerBucket events
By: Erik Broes <erikbroes@grum.nl>
2011-03-21 00:48:34 +01:00
Bukkit/Spigot
6a1bad5d41 Renamed many events/constants to be not past tense <-- Major Break says: "HI"
By: Erik Broes <erikbroes@grum.nl>
2011-03-13 15:21:09 +01:00
Bukkit/Spigot
1595230d40 Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-26 19:08:12 +00:00
Bukkit/Spigot
1da9ef3c9f small change
By: Raphfrk <raphfrk@gmail.com>
2011-02-22 06:09:46 +08:00
Bukkit/Spigot
e3b86cda50 Lowered the priority of the old command handler event because 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.
By: sk89q <the.sk89q@gmail.com>
2011-02-19 01:41:33 -08:00
Bukkit/Spigot
a36de75a17 Shifting damage events per http://forums.bukkit.org/threads/oops-i-broke-your-plugins.599/#post-67424 (This breaks stuff!)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-19 17:08:14 +00:00
Bukkit/Spigot
8d18ce772e Added EXPLOSION_PRIMED event.
By: culturespy <culturespy@gmail.com>
2011-02-03 21:59:42 -05:00
Bukkit/Spigot
204952eed0 Added SIGN_CHANGE event.
By: Timberjaw <timberjaw@gmail.com>
2011-02-10 18:18:56 -08:00
Bukkit/Spigot
fd090160f2 Adding PLAYER_PICKUP_ITEM event
By: James Logsdon <dwarf@girsbrain.org>
2011-02-11 17:08:53 -05:00
Bukkit/Spigot
290d9aedc9 Added event for when a world is saved (EyvindRM)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-09 12:53:33 +00:00
Bukkit/Spigot
b280199e83 Added Sneaking Event
By: Alexander Hesse <azi@MacBook-Pro.local>
2011-01-25 19:04:52 +01:00
Bukkit/Spigot
516b5b2226 New event WORLD_LOADED
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 12:06:34 +00:00
Bukkit/Spigot
566638ff0c Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation)
By: Forsaken <darkmaster87@gmx.de>
2011-02-04 16:02:49 +01:00
Bukkit/Spigot
d7d0c66b75 Interface for BlockBreakEvent
By: Meaglin <meaglin.wasabi@gmail.com>
2011-02-01 18:07:16 +01:00
Bukkit/Spigot
c76bf04e6d Added PLAYER_DROP_ITEM
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 10:45:39 +00:00
Bukkit/Spigot
77b6112b65 Added VEHICLE_UPDATE
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 10:18:27 +00:00
Bukkit/Spigot
497ac626bf Added PLAYER_ITEM_HELD event
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-31 01:34:23 +00:00
Bukkit/Spigot
6f4cf0388b Renamed IExecutor -> CommandExecutor and fixed SERVER_COMMAND doc
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 21:17:36 +00:00
Bukkit/Spigot
df05c36540 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 :(

By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 16:23:56 +00:00
Bukkit/Spigot
4b7aafea5d Added EntityExplodeEvent :D
By: speakeasy <mekevin1917@gmail.com>
2011-01-17 22:27:48 +08:00
Bukkit/Spigot
40364131cb 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.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-13 00:15:31 +11:00
Bukkit/Spigot
15002f6373 Fixed 3 event rename typos, cheers Master-Guy for letting me know
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:57:21 +01:00
Bukkit/Spigot
3a76f4d8dd Events should be present tense, not paste tense.
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:23:53 +01:00
Bukkit/Spigot
15c598c0f0 EggThrow - remove extra stuff
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-11 03:02:30 -05:00
Bukkit/Spigot
77e9ecedb9 PlayerEggThrowEvent
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-11 02:58:51 -05:00
Bukkit/Spigot
02b2e4114c EntityCombustEvent
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-10 06:51:10 +08:00
Bukkit/Spigot
f81c44fbba Added JavaDoc @see comments and @todo notes for those that aren't specified in the listener
By: Luke GB <github@lukegb.com>
2011-01-09 13:14:28 +00:00
Bukkit/Spigot
a617a398a1 Implemented BlockInteract, BlockRightClicked and PlayerItem. Removed
BlockItem as we're not doing it that way anymore.

By: durron597 <martin.jared@gmail.com>
2011-01-08 05:44:42 -05:00
Bukkit/Spigot
019134d7df Implemented Item_Use events
By: durron597 <martin.jared@gmail.com>
2011-01-07 05:11:16 -05:00
Bukkit/Spigot
7f944f0a0d Removed onBlockSent, added onLeavesDecay
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 22:03:15 +00:00
Bukkit/Spigot
38d64f8661 Overhaul entity damage structure...
By: angelsl <angelsl@rpm>
2011-01-03 19:24:05 +08:00
Bukkit/Spigot
b2817db6b7 Entity damage hooks
By: angelsl <angelsl@rpm>
2011-01-03 16:11:36 +08:00
Bukkit/Spigot
04c824307a Change vehicle hook changes.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 17:26:34 +08:00