Commit Graph

3187 Commits

Author SHA1 Message Date
Bukkit/Spigot
d7e0bed36b Adds suppport for node lists. Tested and verified in CraftIRC
By: Animosity <nullcline@gmail.com>
2011-02-07 03:20:59 +08:00
Bukkit/Spigot
ed824523e8 Deprecate BlockRightClickEvent.getBlockAgainst - use BlockRightClickEvent.getBlock
By: Erik Broes <erikbroes@grum.nl>
2011-02-06 14:49:08 +01:00
Bukkit/Spigot
a72a6cba8e Add Server.getMaxPlayers
By: Erik Broes <erikbroes@grum.nl>
2011-02-06 13:40:31 +01: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
98a9148cf0 Added BlockVector a la WorldEdit as requested by #246. This BlockVector is safe to be used as keys in hash sets and hash maps, but it is mutable and careful attention must be paid to not modify the vector post-insertion into a set or map.
By: sk89q <the.sk89q@gmail.com>
2011-02-05 23:20:06 -08:00
Bukkit/Spigot
3a3e1144dc Added node and writing functions to Configuration.
By: sk89q <the.sk89q@gmail.com>
2011-02-05 22:44:48 -08:00
Bukkit/Spigot
223318b434 Updated README.md
By: Erik Broes <erikbroes@grum.nl>
2011-02-05 16:11:37 +01:00
Bukkit/Spigot
2a85f4848b getLoadedChunks method
By: Raphfrk <raphfrk@gmail.com>
2011-02-04 20:11:20 +00:00
Bukkit/Spigot
925ec8254e Moved the plugin list display out of the version command and into the plugins command.
Version should not display a list of plugins as a server running many
plugins will no longer be able to see the version output.

By: EvilSeph <evilseph@unaligned.org>
2011-02-05 04:30:18 -05:00
Bukkit/Spigot
af214bc94e Material Durability and StackSize mixup - Fix for http://redmine.bukkit.org/issues/372
By: Erik Broes <erikbroes@grum.nl>
2011-02-04 22:45:52 +01:00
Bukkit/Spigot
45fb505a90 You shouldn't be here, little guy. The ConfigurationNode is a tough place for a young keyword to live.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-04 12:17:47 +00:00
Bukkit/Spigot
b0bab301fe Merge branch 'master' of github.com:Bukkit/Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-04 12:15:48 +00:00
Bukkit/Spigot
c89f2806b0 I *really* suck at markdown.
By: Warren <evilseph@unaligned.org>
2011-02-03 13:15:00 -08:00
Bukkit/Spigot
ba9a02c3c7 I suck at markdown.
By: Warren <evilseph@unaligned.org>
2011-02-03 13:14:12 -08:00
Bukkit/Spigot
3e09bd4b94 Added brief coding conventions - these may not be complete.
By: Warren <evilseph@unaligned.org>
2011-02-03 13:13:44 -08:00
Bukkit/Spigot
89ca5a877c Merge branch 'master' of https://github.com/Meaglin/Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-03 10:01:09 +00:00
Bukkit/Spigot
d0b7646de7 Removed SLOW_SPREAD from IgniteCause enum.
By: sk89q <the.sk89q@gmail.com>
2011-02-02 21:56:57 -08:00
Bukkit/Spigot
477b359f13 Revert "fallback code for command lookup"
This reverts commit 74a549c74bcabdb094c5c46f919ed98288631352.

By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-02 09:20:16 +00:00
Bukkit/Spigot
1899891b6f fallback code for command lookup
By: tahg <tahgtahv@gmail.com>
2011-02-01 21:56:16 -08:00
Bukkit/Spigot
474817bf11 General cleanup (deprecated+whitespace)
By: Erik Broes <erikbroes@grum.nl>
2011-02-02 00:02:08 +01:00
Bukkit/Spigot
b01fc3ffa8 Add Chunk.getBlock(x,y,z), World.loadChunk(x,z) World.isChunkLoaded(x,z).
By: Erik Broes <erikbroes@grum.nl>
2011-02-02 00:01:33 +01:00
Bukkit/Spigot
4de2b0d48e Added NoteBlock.play, Dispenser.dispense
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 23:21:53 +00:00
Bukkit/Spigot
4f6c65d684 Strip colours for console output
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 18:26:31 +00:00
Bukkit/Spigot
d1bbdaf377 Don't delete the first char of the command passed
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 18:12:31 +00:00
Bukkit/Spigot
d7d0c66b75 Interface for BlockBreakEvent
By: Meaglin <meaglin.wasabi@gmail.com>
2011-02-01 18:07:16 +01:00
Bukkit/Spigot
3085f140b3 Deprecated CommandSender.isPlayer (instanceof!) and added ConsoleCommandSender
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 16:45:29 +00:00
Bukkit/Spigot
c818125fb8 What's the time, mr wolf?
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 14:53:26 +00:00
Bukkit/Spigot
d45f410092 Added Material.matchMaterial(String)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 12:55:29 +00:00
Bukkit/Spigot
c76bf04e6d Added PLAYER_DROP_ITEM
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 10:45:39 +00:00
Bukkit/Spigot
811c06d099 Added setItemStack(ItemStack stack) to ItemDrop
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 10:43:31 +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
7d5f8c95d4 Added getRemainingAir/setRemainingAir/getMaximumAir/setMaximumAir on LivingEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-31 01:23:21 +00:00
Bukkit/Spigot
6f3347fe1c Renamed ItemStack.set/getDamage to durability, which is now a short. Added Material.getMaxDurability
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-31 01:06:53 +00:00
Bukkit/Spigot
63181e1c59 Added INVENTORY_OPEN as a player event
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-30 22:05:36 +00:00
Bukkit/Spigot
301b48abea Added support for different tree generation types and a callback.
By: sk89q <the.sk89q@gmail.com>
2011-01-30 13:54:03 -08:00
Bukkit/Spigot
8ea6bf1889 Removed EntityDeathEvent.setDrops() (just use getDrops.add/etc)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-30 20:24:36 +00:00
Bukkit/Spigot
0ab994ec78 Added new EventExecutor, missed in last commit
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 21:18:47 +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
e56db60b83 Finalising merge with head
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 17:28:31 +00:00
Bukkit/Spigot
c736e00b8c merge with head
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 17:18:32 +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
ba1010e494 Added Block.isBlockPowered(), block.isBlockIndirectlyPowered().
By: sk89q <the.sk89q@gmail.com>
2011-01-28 10:24:34 -08:00
Bukkit/Spigot
7d4be15159 Fixed only being able to use /reload once
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-28 14:24:54 +00:00
Bukkit/Spigot
14c7da2f6e clearPlugins() and clearCommands() for PluginManager and CommandMap respectively
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-28 14:18:24 +00:00
Bukkit/Spigot
595cb5d166 Added player.performCommand(String)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-28 09:15:43 +00:00
Bukkit/Spigot
be759ba36e onDisable on stop - stephank
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-27 16:15:24 -05:00
Bukkit/Spigot
b26b68a61a ENTITY_DEATH
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-27 13:25:20 +00:00
Bukkit/Spigot
a079602347 BlockBurnEvent
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-26 16:13:04 -05:00
Bukkit/Spigot
d922f76c36 Added methods to get a list of entities to World.
By: sk89q <the.sk89q@gmail.com>
2011-01-26 12:03:21 -08:00
Bukkit/Spigot
6c441c2642 EntityTargetEvent
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-26 14:27:43 -05:00
Bukkit/Spigot
817bdc1984 Implemented Inventory.contains with a minimum amount of item required. As per feature request #187
By: Limb <ibelimb@gmail.com>
2011-01-24 07:32:53 +08:00
Bukkit/Spigot
9755073204 some changes to comments
By: Raphfrk <raphfrk@gmail.com>
2011-01-21 05:29:53 +08:00
Bukkit/Spigot
276a3d1864 added load chunk method
By: Raphfrk <raphfrk@gmail.com>
2011-01-21 04:58:20 +08:00
Bukkit/Spigot
03dd082641 Added /.DS_Store (Mac filesystem dust) to .gitignore (https://github.com/Bukkit/Bukkit/issues/#issue/46)
By: Peter Lamonica <plamoni@gmail.com>
2011-01-23 04:19:03 +08:00
Bukkit/Spigot
2b2dec5b91 Added getBlockReplacedState to enable checking of type of replaced block.
By: VictorD <victor.danell@gmail.com>
2011-01-24 23:24:17 +01:00
Bukkit/Spigot
6c00742888 Added PlayerEggThrowEvent.getEgg().
By: sk89q <the.sk89q@gmail.com>
2011-01-23 14:06:58 -08:00
Bukkit/Spigot
d7456c8007 Added squid as a valid mob type.
By: sk89q <the.sk89q@gmail.com>
2011-01-23 13:16:57 -08:00
Bukkit/Spigot
b880bd518f Added full tile entity data support for all block types that use it, including chests, dispensers, furnaces, mob spawners, and note blocks.
By: sk89q <the.sk89q@gmail.com>
2011-01-23 00:37:36 -08:00
Bukkit/Spigot
ed4548f6e5 Expanded .gitignore with potential build files.
By: sk89q <the.sk89q@gmail.com>
2011-01-21 00:23:47 -08:00
Bukkit/Spigot
77283a97be EntityExplodeEvent keeps track of its Location.
By: Adam Tanner <adam@adamtanner.org>
2011-01-21 19:41:43 +08:00
Bukkit/Spigot
5fcc3b626c Block instance getLocation() method.
By: Adam Tanner <adam@adamtanner.org>
2011-01-21 19:39:31 +08:00
Bukkit/Spigot
74cf5f3f85 Fully implemented /version
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 05:46:23 +00:00
Bukkit/Spigot
1862bd1f09 Added extra plugin description fields
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 05:19:19 +00:00
Bukkit/Spigot
2262d7fba0 Added compass setting methods.
By: sk89q <the.sk89q@gmail.com>
2011-01-20 02:05:31 -08:00
Bukkit/Spigot
da6afe3866 Added suffocation damage as an event.
By: sk89q <the.sk89q@gmail.com>
2011-01-20 00:49:29 -08:00
Bukkit/Spigot
a5351d75bb fix for entity damaged by projectile event
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-20 20:22:34 +11:00
Bukkit/Spigot
396f22f816 Added /version and /reload commands
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 03:53:27 +00:00
Bukkit/Spigot
f0ab429e01 Fixed empty check in PluginCommand
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 03:08:15 +00:00
Bukkit/Spigot
81023892fe Material.getMaxStackSize
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 02:51:17 +00:00
Bukkit/Spigot
4cd2844713 Fixed Button and Lever MaterialData returning incorrect getAttachedFace()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 01:14:49 +00:00
Bukkit/Spigot
108a146a8b add getSpawnLocation() to the World API
By: FeepingCreature <default_357-line@yahoo.de>
2011-01-16 07:01:15 +08:00
Bukkit/Spigot
f0cb21dc46 Address Feature#105:Implement support for PLAYER_ANIMATION hook/event.
Requires corresponding CraftBukkit change.

NOTE: The email address of this commit used to be: "Nathan Wolf < <nteske@gmail.com>"
      This has been fixed but will cause all commits after to change.

By: Nathan Wolf <nteske@gmail.com>
2011-01-19 00:07:38 +08:00
Bukkit/Spigot
14009cb350 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

By: mcasper <mcasper@FLARE>
2011-01-19 10:23:00 +08:00
Bukkit/Spigot
4676f99999 added isOp api
By: Tahg <tahgtahv@gmail.com>
2011-01-18 22:32:05 -05:00
Bukkit/Spigot
2c532f4d88 Fixed minor bug with alias registration and removed debug output
By: VictorD <victor.danell@gmail.com>
2011-01-18 01:54:48 +01:00
Bukkit/Spigot
ab6f5d4bc2 Updated commands to have optional aliases, and to fallback to /pluginName:cmdName on name conflict.
By: VictorD <victor.danell@gmail.com>
2011-01-18 01:12:50 +01:00
Bukkit/Spigot
b46210453c Merge branch 'master' of https://github.com/Bukkit/Bukkit
By: Tahg <tahgtahv@gmail.com>
2011-01-17 17:40:13 -05:00
Bukkit/Spigot
8fad7bf631 fixed storage of data field
By: Tahg <tahgtahv@gmail.com>
2011-01-17 17:39:27 -05:00
Bukkit/Spigot
97600e3c88 added call to onBlockRedstoneChange
By: Tal Eisenberg <eisental@gmail.com>
2011-01-18 04:26:55 +08:00
Bukkit/Spigot
4b7aafea5d Added EntityExplodeEvent :D
By: speakeasy <mekevin1917@gmail.com>
2011-01-17 22:27:48 +08:00
Bukkit/Spigot
6ab2ec9f85 Added interfaces for every entity type. Most (if not all) are empty.
These are place holders at the moment, to be used when determining
entity type. Further functionality could be added to these interfaces
later.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-17 16:28:28 +08:00
Bukkit/Spigot
3b1fe7dcf7 Updated Inventory with proper generics, fixed ItemStack to have data as 'Byte' so we can put in nulls when not having data.
By: Erik Broes <erikbroes@grum.nl>
2011-01-17 01:50:33 +01:00
Bukkit/Spigot
48feb74b19 Added Configuration.getKeys().
By: sk89q <the.sk89q@gmail.com>
2011-01-16 13:28:59 -08:00
Bukkit/Spigot
6000fee9fc Added null check and removed unused method from Fillr
By: VictorD <victor.danell@gmail.com>
2011-01-16 17:05:13 +01:00
Bukkit/Spigot
a17e7470e8 Added command registration to plugin config file. Registered commands are sent to the corresponding plugin.onCommand method when executed.
By: VictorD <victor.danell@gmail.com>
2011-01-16 16:30:34 +01:00
Bukkit/Spigot
c72a7064d8 Added Invenrory.removeItem(ItemStack...)
By: Erik Broes <erikbroes@grum.nl>
2011-01-16 16:10:22 +01:00
Bukkit/Spigot
c95bbac2bd Removed unnecessary imports
By: durron597 <martin.jared@gmail.com>
2011-01-16 09:00:25 -05:00
Bukkit/Spigot
4fd1c13eb2 Removed field that shouldn't be there.
By: durron597 <martin.jared@gmail.com>
2011-01-15 17:18:46 -05: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
b105f07fa7 Fixed BlockFromToEvent not knowing source block from destination block.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 21:20:23 -08:00
Bukkit/Spigot
a92c284ca1 Added Block.getRelative(BlockFace).
By: sk89q <the.sk89q@gmail.com>
2011-01-15 19:33:39 -08:00
Bukkit/Spigot
fdc7e20d71 Added item-in-hand related API.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 19:33:19 -08:00
Bukkit/Spigot
b202a59909 Updated JavaPluginLoader with renamed methods.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 17:14:28 -08:00
Bukkit/Spigot
6c64ffd54e Fixed BlockListener methods to be present tense.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 17:09:10 -08:00
Bukkit/Spigot
ea2c6665c0 Added setContents() to Inventory.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 14:41:25 -08:00
Bukkit/Spigot
650e0749d1 Moved org.bukkit.Vector to org.bukkit.util.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 13:43:09 -08:00
Bukkit/Spigot
60517316e9 Added Server.broadcastMessage().
By: sk89q <the.sk89q@gmail.com>
2011-01-15 13:40:07 -08:00
Bukkit/Spigot
73edbc4902 Moved block stuff from org.bukkit to org.bukkit.block
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:37:08 +00:00
Bukkit/Spigot
1de48a9184 All inventory stuff in org.bukkit moved to org.bukkit.inventory
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:27:40 +00:00
Bukkit/Spigot
e2fd2dfd00 All entity stuff in org.bukkit moved to org.bukkit.entity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:20:59 +00:00
Bukkit/Spigot
79b2b7fc32 Added Sign MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:11:39 +00:00
Bukkit/Spigot
1b2e403319 Added Inventory.clear(|index) Inventory.remove(typeId|Material|ItemStack)
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:58:47 +01: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
59524fdb80 Added Button MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:58:34 +00:00
Bukkit/Spigot
9b8983805a Added Lever MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:51:16 +00:00
Bukkit/Spigot
c8183cbb22 Added Ladder MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:45:24 +00:00
Bukkit/Spigot
3d5303ef55 Correctly added all MaterialData to their appropriate Material enum
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:38:41 +00:00
Bukkit/Spigot
f8decbe750 RedstoneWire MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:35:22 +00:00
Bukkit/Spigot
7314f0ade2 RedstoneTorch MaterialData + Redstone interface
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:30:27 +00:00
Bukkit/Spigot
da00145da7 Added Torches
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:30:13 +00:00
Bukkit/Spigot
4d443d2fc5 Added Attachable MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:21:56 +00: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
965b8731e1 Changed BlockFace to match enum standards
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:16:51 +00:00
Bukkit/Spigot
7669ccd206 Added int getBlockTypeIdAt(int x, int y, int z) to World
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:02:47 +01:00
Bukkit/Spigot
550e518848 Global ID -> Id rename
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 20:53:43 +01:00
Bukkit/Spigot
4d7b10c59d Added MaterialData from BlockState
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 00:08:49 +00:00
Bukkit/Spigot
5488422237 Fixed dye colours
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 00:08:34 +00:00
Bukkit/Spigot
e60e60429c Cleaned up Configuration Javadoc.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 02:10:08 -08:00
Bukkit/Spigot
df7a15f4f9 JavaPlugin now loads the configuration file on load. getConfiguration() now is much cheaper to call.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 01:45:36 -08:00
Bukkit/Spigot
ab5b99600c Added list support to Configuration.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 01:44:20 -08:00
Bukkit/Spigot
2439031c40 Plugin data folders are now no longer created by default.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 00:34:01 -08:00
Bukkit/Spigot
11012b27dd Improved the Javadoc for JavaPlugin.getConfiguration().
By: sk89q <the.sk89q@gmail.com>
2011-01-15 00:29:38 -08:00
Bukkit/Spigot
9ff3c115cc Configuration files need to be .yml, not .yaml.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 00:26:32 -08:00
Bukkit/Spigot
c59341049f Added Configuration.getBoolean().
By: sk89q <the.sk89q@gmail.com>
2011-01-14 23:38:40 -08:00
Bukkit/Spigot
33e5645054 Added configuration and plugin data directory support to plugins.
By: sk89q <the.sk89q@gmail.com>
2011-01-14 23:33:45 -08:00
Bukkit/Spigot
0bf9731255 Added basic configuration classes.
By: sk89q <the.sk89q@gmail.com>
2011-01-14 23:06:12 -08:00
Bukkit/Spigot
b995a38d3e Added kick player.
By: speakeasy <mekevin1917@gmail.com>
2011-01-15 09:20:29 +08:00
Bukkit/Spigot
14ed38cc63 Infinite loops are like infinite loops which are like infinite loops which *bang*
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-14 14:43:14 +00:00
Bukkit/Spigot
800a8d089b Added Wool + Dyes
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-14 00:20:00 +00:00
Bukkit/Spigot
211a846f97 Added MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-14 00:00:54 +00:00
Bukkit/Spigot
2fab54ae7b New materials, changed material names per style guidelines + correct names
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-13 23:33:10 +00:00
Bukkit/Spigot
0a677497d4 Renamed Color -> ChatColor, and added DyeColor
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-13 20:27:28 +00:00
Bukkit/Spigot
1a6e8ac5eb Added redstone event
By: Tahg <tahgtahv@gmail.com>
2011-01-12 12:40:21 -05:00
Bukkit/Spigot
0621fedd0b Remove @overrides from EntityCombust
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-11 19:41:04 -05:00
Bukkit/Spigot
6260932a36 Merge branch 'master' of https://github.com/tkelly910/Bukkit into tkelly910-master
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-11 18:53:54 -05:00
Bukkit/Spigot
1627c78fa1 Added PluginManager.getPlugins()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-11 20:58:01 +00:00
Bukkit/Spigot
91007ea0be New ClassLoader to allow for inter-plugin communication
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-11 20:36:38 +00: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
0e16bbed64 Merge branch 'master' of https://github.com/Bukkit/Bukkit
Conflicts:
	src/main/java/org/bukkit/Player.java

By: Tahg <tahgtahv@gmail.com>
2011-01-10 17:27:51 -05:00
Bukkit/Spigot
f3d9273819 added getAddress interface for Player
By: Tahg <tahgtahv@gmail.com>
2011-01-10 17:24:35 -05:00
Bukkit/Spigot
a0d64be250 BlockDamagedEvent
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-10 06:34:59 +08:00
Bukkit/Spigot
02b2e4114c EntityCombustEvent
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-10 06:51:10 +08:00
Bukkit/Spigot
5c0413fb45 Added BlockIgniteEvent.
By: speakeasy <mekevin1917@gmail.com>
2011-01-09 18:10:44 +08:00
Bukkit/Spigot
a27364193d Cleaned up Fillr
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-10 06:05:43 +08:00
Bukkit/Spigot
c97111ca58 Fixed getArmorContents() return value
By: Erik Broes <erikbroes@grum.nl>
2011-01-09 23:40:29 +01:00
Bukkit/Spigot
83dea7c90f forgot to initialize cancel
By: durron597 <martin.jared@gmail.com>
2011-01-09 12:33:27 -05:00
Bukkit/Spigot
f95c139dd6 Updated inventories to a has-a relationship.
Added PlayerInventory interface with playeronly methods.
Add equals to ItemStack.

By: Erik Broes <erikbroes@grum.nl>
2011-01-09 18:21:31 +01: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
8f9ea50a86 Removed unnecessary import warnings
By: durron597 <martin.jared@gmail.com>
2011-01-09 07:52:03 -05:00
Bukkit/Spigot
1105de519d Added ItemDrop, world.dropItem(), and world.dropItemNaturally().
By: sk89q <the.sk89q@gmail.com>
2011-01-08 12:47:48 -08:00
Bukkit/Spigot
75aa4ef4c5 Made Location.clone() public.
By: sk89q <the.sk89q@gmail.com>
2011-01-08 12:39:54 -08:00
Bukkit/Spigot
b94f401b3a Changed Block.setTypeID() to return a boolean indicating whether the block was changed (as provided by Minecraft).
By: sk89q <the.sk89q@gmail.com>
2011-01-08 12:24:27 -08:00
Bukkit/Spigot
7a896ce200 Fixed VehicleListener not being able to register
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-08 18:47:14 +00:00
Bukkit/Spigot
b9bb03c09e Should be LivingEntity
By: durron597 <martin.jared@gmail.com>
2011-01-08 08:05:04 -05: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
b8e3ff6572 Added block.getBiome()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-08 03:34:24 +00:00
Bukkit/Spigot
61f1ef6117 Added World.getName and World.getId
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-08 02:29:42 +00:00
Bukkit/Spigot
f2e2a23693 Added Entity.teleportTo(Entity)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-08 02:20:29 +00:00
Bukkit/Spigot
880f2c11a5 Added passenger methods to Vehicle/LivingEntity.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 16:25:52 -08:00
Bukkit/Spigot
eb62da78ee Added World.spawnBoat().
By: sk89q <the.sk89q@gmail.com>
2011-01-07 13:59:30 -08:00
Bukkit/Spigot
f6dc158646 Added Boat interface.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 13:01:23 -08:00
Bukkit/Spigot
ca9cd7aa45 Moving some minecart flags that don't belong in the event out of the event.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 12:26:10 -08:00
Bukkit/Spigot
00ee553d1b Merge remote branch 'remotes/origin/master'
By: sk89q <the.sk89q@gmail.com>
2011-01-07 11:18:03 -08:00
Bukkit/Spigot
f0cb8573a9 Various changes to the vehicle hooks.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 11:16:04 -08:00
Bukkit/Spigot
0d4ef412af Added state update()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 16:53:29 +00:00
Bukkit/Spigot
9fbfe7e412 Make a start on BlockState stuff
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 16:17:54 +00:00
Bukkit/Spigot
ef59e4c706 Added Sign interface
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 14:52:28 +00:00
Bukkit/Spigot
013df9273d Set. Not get.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 13:33:36 +00:00
Bukkit/Spigot
e39ba776c9 Added PlayerChatEvent.getFormat/setFormat
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 13:31:16 +00:00
Bukkit/Spigot
8574cf2cb0 Added Player.getDisplayName() and Player.setDisplayName(String)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 13:27:09 +00:00
Bukkit/Spigot
d21746e25a Removed BlockRightClicked, as it's subsumed by PlayerBlockItemEvent
By: durron597 <martin.jared@gmail.com>
2011-01-07 05:44:10 -05:00
Bukkit/Spigot
e5f9932bad Some BlockFace improvements
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 10:32:36 +00:00
Bukkit/Spigot
99ed6048d7 Added canBuild to event
By: durron597 <martin.jared@gmail.com>
2011-01-07 05:38:45 -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
8efd0c02c7 Convenience method to see if a material is a block
By: durron597 <martin.jared@gmail.com>
2011-01-07 04:40:46 -05:00
Bukkit/Spigot
6f77375dc5 Fixed Updatr stuff
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-05 23:00:13 +00:00
Bukkit/Spigot
88c998f4a2 Tweaked some more exceptions, get messages passed
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-05 22:56:12 +00:00
Bukkit/Spigot
14cfdcc567 Separate InvalidDescriptionException -> InvalidPluginException
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-05 22:45:54 +00:00
Bukkit/Spigot
0cb7170b41 Slightly better "invalid plugin.yml" errors
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-05 22:40:45 +00:00
Bukkit/Spigot
c01c18a1d7 Added Server.getTime and Server.setTime
By: FrozenCow <frozencow@gmail.com>
2011-01-04 16:23:01 +08:00
Bukkit/Spigot
2c72e8e9d5 Initial Inventory stuff, read only, no hooks. Only implemented for the StorageMinecart
By: Erik Broes <erikbroes@ripe.net>
2011-01-05 01:00:06 +01:00
Bukkit/Spigot
f7d795843a Merge branch 'master' of github.com:Bukkit/Bukkit
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-04 23:32:38 +00:00
Bukkit/Spigot
b9885402a6 Fix for plugin description file cast error
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-04 23:30:44 +00:00
Bukkit/Spigot
740077970e Javadoc
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 22:05:53 +00:00
Bukkit/Spigot
7f944f0a0d Removed onBlockSent, added onLeavesDecay
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 22:03:15 +00:00
Bukkit/Spigot
fa8b3da89b Constructors for damage on itemstack
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 19:56:19 +00:00
Bukkit/Spigot
6a71870555 ItemStack.setDamage and ItemStack.getDamage
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 19:54:41 +00:00
Bukkit/Spigot
950ed1a52a Added Chunk events in new World category
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 14:08:56 +00:00
Bukkit/Spigot
5901415d13 Added Chunk.getWorld()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 14:08:29 +00:00
Bukkit/Spigot
d7bd97f934 First version of item use event
By: durron597 <martin.jared@gmail.com>
2011-01-03 21:22:52 -05:00
Bukkit/Spigot
88076b8a29 Documented + added server.matchPlayer
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 10:00:00 +00:00
Bukkit/Spigot
7f70bc53b8 Merge remote branch 'remotes/origin/master'
By: sk89q <the.sk89q@gmail.com>
2011-01-03 17:15:51 -08:00
Bukkit/Spigot
6aebc36e30 Added LivingEntity.shootArrow().
By: sk89q <the.sk89q@gmail.com>
2011-01-03 17:15:09 -08:00
Bukkit/Spigot
c16bd08b18 Added getHighestBlockYAt
By: FrozenCow <frozencow@gmail.com>
2011-01-04 05:57:56 +08:00
Bukkit/Spigot
38b76fb99e Improved Vector with more methods and more Javadocs.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 13:49:40 -08:00
Bukkit/Spigot
23637ea79a Derp hex
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 21:46:53 +00:00
Bukkit/Spigot
dfbb9305d2 Fixed Colors + moved to enum
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 21:31:15 +00:00
Bukkit/Spigot
b706c19913 forgotten FillrListener
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-04 05:24:10 +08:00
Bukkit/Spigot
c8ade7e5bb Added dummy getPlayer() to BlockBrokenEvent and BlockPlacedEvent in order to get WorldEdit to compile.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 12:02:42 -08:00
Bukkit/Spigot
089d7906b9 README Markup fixed
By: Erik Broes <erikbroes@grum.nl>
2011-01-03 19:25:33 +01:00
Bukkit/Spigot
73c430492d Cleanups. We use Maven, not Ant.
By: Erik Broes <erikbroes@grum.nl>
2011-01-03 19:17:31 +01:00
Bukkit/Spigot
f7ed510964 ... Entity has no health.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 16:34:29 +00:00
Bukkit/Spigot
b861c6c3fd Moved simplejson as dependency
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 16:23:08 +00:00
Bukkit/Spigot
38d64f8661 Overhaul entity damage structure...
By: angelsl <angelsl@rpm>
2011-01-03 19:24:05 +08:00
Bukkit/Spigot
d3240391ad Move health stuff from LivingEntity to Entity.
By: angelsl <angelsl@rpm>
2011-01-03 17:40:26 +08:00
Bukkit/Spigot
b2817db6b7 Entity damage hooks
By: angelsl <angelsl@rpm>
2011-01-03 16:11:36 +08:00
Bukkit/Spigot
05b2a299c0 More formatting
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 15:35:30 +00:00
Bukkit/Spigot
346e41a6e5 Formatting
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 15:31:54 +00:00
Bukkit/Spigot
891a7dd5f8 Fixed Fillr.java, added /get command ingame
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 15:29:33 +00:00
Bukkit/Spigot
7c4860c3b5 Added LivingEntity.throwEgg() and LivingEntity.throwSnowball().
By: sk89q <the.sk89q@gmail.com>
2011-01-03 17:44:30 +08:00
Bukkit/Spigot
9370aac0da hot damn. get <name> added
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 16:25:10 +08:00
Bukkit/Spigot
fa875ff2b6 hot damn. get <name> added
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 16:23:24 +08:00
Bukkit/Spigot
ca056597e1 better visibility/javadoc
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 12:26:35 +08:00
Bukkit/Spigot
b01c65f9bc updated TODO
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 12:20:02 +08:00
Bukkit/Spigot
0e2f93cbd6 updated TODO
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 12:19:46 +08:00
Bukkit/Spigot
d0bbbc4c58 json stuff
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 12:16:00 +08:00
Bukkit/Spigot
94c1492af9 yml for fillr
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 12:13:38 +08:00
Bukkit/Spigot
a57c79eb6f fillr -> plugin
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 12:06:36 +08:00
Bukkit/Spigot
7f5bbdf764 all the fillr stuff
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 11:01:36 +08:00
Bukkit/Spigot
d0a03cd4c4 Added more math to Vector, renamed some methods.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 18:10:17 +08:00
Bukkit/Spigot
6284b8117c Made Vector.equals() fuzzy.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 17:55:42 +08:00
Bukkit/Spigot
04c824307a Change vehicle hook changes.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 17:26:34 +08:00
Bukkit/Spigot
2ff558c10b Implemented vehicle hooks (some changes will still be made).
By: sk89q <the.sk89q@gmail.com>
2011-01-03 16:52:44 +08:00
Bukkit/Spigot
339e57513a Added minecart classes, vehicle class, and the ability to spawn minecarts. StorageMinecart needs a getInventory(), but that is waiting on the addition of inventory code.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 14:03:17 +08:00
Bukkit/Spigot
b5fffb9a81 Renamed ArrowEntity->Arrow to be consistent.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 14:10:49 +08:00
Bukkit/Spigot
dc3ed9d7d6 Cleaned ant build file for Bukkit.
By: FrozenCow <frozencow@gmail.com>
2011-01-03 09:43:02 +08:00
Bukkit/Spigot
817d943876 Light level is a byte
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 03:00:54 +00:00
Bukkit/Spigot
d9c488c9e0 Javadoc the world!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 02:59:16 +00:00
Bukkit/Spigot
a2cbf2b29e Added world.spawnTree(), world.spawnBigTree().
By: sk89q <the.sk89q@gmail.com>
2011-01-02 18:00:57 -08:00
Bukkit/Spigot
c6d45a3ae2 Block.getLightLevel()
By: sk89q <the.sk89q@gmail.com>
2011-01-02 18:31:04 -08:00
Bukkit/Spigot
63595772bd Fixed logic issue toggling plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 02:41:18 +00:00
Bukkit/Spigot
e125065dbd removed unnecessary import
By: durron597 <martin.jared@gmail.com>
2011-01-02 21:38:48 -05:00
Bukkit/Spigot
fbffdad484 Plugins no longer defaulted to enabled
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 02:21:48 +00:00
Bukkit/Spigot
f436f334ed Added enablePlugin and disablePlugin, triggers events
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 02:20:11 +00:00
Bukkit/Spigot
91e76c3c32 Implemented PluginEnabled and PluginDisabled
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 02:06:22 +00:00
Bukkit/Spigot
501c5ca60d Merge branch 'master' of https://github.com/FrozenCow/Bukkit into FrozenCow-master
By: Robbie Trencheny <me@robbiet.us>
2011-01-02 17:03:46 -08:00
Bukkit/Spigot
061cd7e964 Added ant build file.
By: FrozenCow <frozencow@gmail.com>
2011-01-03 01:56:17 +01:00
Bukkit/Spigot
61b42932b1 Improved Vector and Location with some utility methods, optimized Vector.isInSphere().
By: sk89q <the.sk89q@gmail.com>
2011-01-02 10:42:13 -08:00
Bukkit/Spigot
f6873cab82 Added getPlayer(String name) to Server
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 00:20:09 +00:00
Bukkit/Spigot
3dc584d5b8 Updated Event list
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-02 18:08:26 +00:00
Bukkit/Spigot
1111d65ec7 Updated event priorities
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-02 15:10:51 +00:00
Bukkit/Spigot
337c76c9df Merge remote branch 'upstream/master'
By: durron597 <martin.jared@gmail.com>
2011-01-02 05:52:42 -05:00
Bukkit/Spigot
f501a8f384 We're GPL.
By: Erik Broes <erikbroes@grum.nl>
2011-01-02 10:57:42 +01:00
Bukkit/Spigot
a1efe84ebc Made X, Y, and Z components in Vector protected.
By: sk89q <the.sk89q@gmail.com>
2011-01-02 16:41:26 +08:00
Bukkit/Spigot
1ce014ded9 Added ArrowEntity and World.spawnArrow().
By: sk89q <the.sk89q@gmail.com>
2011-01-02 16:26:50 +08:00
Bukkit/Spigot
7da3223201 Added Vector class.
By: sk89q <the.sk89q@gmail.com>
2011-01-02 16:23:56 +08:00
Bukkit/Spigot
aeb55da0e1 Added custom event support.
By: Lymia <lymiahugs@gmail.com>
2011-01-02 01:50:45 -06:00
Bukkit/Spigot
2ba9a0b8c2 Merge remote branch 'upstream/master'
By: durron597 <martin.jared@gmail.com>
2011-01-02 02:16:29 -05:00
Bukkit/Spigot
4937cffabb Fixed generics warning.
By: Lymia <lymiahugs@gmail.com>
2011-01-02 00:38:51 -06:00
Bukkit/Spigot
51005cf1be Opps! Wrong class.
By: Lymia <lymiahugs@gmail.com>
2011-01-02 00:29:34 -06:00
Bukkit/Spigot
9013f59815 Added generics to PluginManager
By: Lymia <lymiahugs@gmail.com>
2011-01-02 00:26:04 -06:00
Bukkit/Spigot
af1435dfe3 Use parametrized reflection to remove warnings
By: durron597 <martin.jared@gmail.com>
2011-01-01 17:08:32 -05:00
Bukkit/Spigot
7e52bfafa3 POM version crap
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 19:46:55 +00:00
Bukkit/Spigot
a44ace7015 Java 1.5!
(Also ninjaencoding)

By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 19:35:03 +00:00
Bukkit/Spigot
76ab7321fd Changed all tabs to 4 spaces
By: durron597 <martin.jared@gmail.com>
2011-01-01 08:01:07 -05:00
Bukkit/Spigot
cf3973a5f9 removed unnecessary imports
By: durron597 <martin.jared@gmail.com>
2011-01-01 07:54:30 -05:00
Bukkit/Spigot
7bdc168131 Removed @Override from the cancellable methods
By: durron597 <martin.jared@gmail.com>
2011-01-01 07:53:09 -05:00
Bukkit/Spigot
fef6ae3d7f Merge remote branch 'upstream/master' into HEAD
By: durron597 <martin.jared@gmail.com>
2011-01-01 06:55:14 -05:00
Bukkit/Spigot
2254c3dce2 Standardized indentation to 4 spaces
By: durron597 <martin.jared@gmail.com>
2011-01-01 06:53:56 -05:00
Bukkit/Spigot
50a71db923 Removed ItemStack import
By: durron597 <martin.jared@gmail.com>
2011-01-01 06:53:26 -05:00
Bukkit/Spigot
bc2b329615 Removed @Override for cancellable interface
By: durron597 <martin.jared@gmail.com>
2011-01-01 06:52:28 -05:00
Bukkit/Spigot
f5b05b2c92 Removed cancellable import
By: durron597 <martin.jared@gmail.com>
2011-01-01 06:51:34 -05:00
Bukkit/Spigot
a0fc0979f7 Transition to Maven
By: Erik Broes <erikbroes@grum.nl>
2011-01-01 11:23:14 +01:00
Bukkit/Spigot
e8a16bb993 Changed BlockCanBuildEvent to store the int and not the material
By: durron597 <martin.jared@gmail.com>
2011-01-01 03:21:49 -05:00
Bukkit/Spigot
ea16a44324 Changed BlockCanBuild event to pass the material
By: durron597 <martin.jared@gmail.com>
2011-01-01 03:12:39 -05:00
Bukkit/Spigot
b8b9e7c22b Fixed sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 07:24:50 +00:00
Bukkit/Spigot
dce1a4503e Fixed sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 07:06:43 +00:00
Bukkit/Spigot
0de9f5909c Fixed material
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 07:01:53 +00:00
Bukkit/Spigot
d520767525 Merge branch 'master' of github.com:Dinnerbone/Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 06:59:52 +00:00
Bukkit/Spigot
647e335bc4 Moved itemstack.type to material
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 06:59:21 +00:00
Bukkit/Spigot
29cb3a3a79 Added onBlockCanBuild to loader
By: durron597 <martin.jared@gmail.com>
2011-01-01 01:55:04 -05:00
Bukkit/Spigot
b5cbcfbcdb Sample to let you place cactus anywhere
By: durron597 <martin.jared@gmail.com>
2011-01-01 01:40:02 -05:00
Bukkit/Spigot
7aac860d94 Implemented BLOCK_CANBUILD, had wrong Listener method name
By: durron597 <martin.jared@gmail.com>
2011-01-01 01:25:22 -05:00
Bukkit/Spigot
be1ad0e040 Added BlockCanBuild Event. Fixed Event enumeration
By: durron597 <martin.jared@gmail.com>
2010-12-31 22:44:11 -05:00
Bukkit/Spigot
1c88da4e93 Actually put the correct functionality in isCancelled and setCancelled
By: durron597 <martin.jared@gmail.com>
2010-12-31 22:42:45 -05:00
Bukkit/Spigot
1ec5689002 Reimplemented BlockFlow to use multiple BlockFromToEvents
By: durron597 <martin.jared@gmail.com>
2010-12-31 21:17:16 -05:00
Bukkit/Spigot
7d88f00839 Added Cancellable interface
By: durron597 <martin.jared@gmail.com>
2010-12-31 20:40:44 -05:00
Bukkit/Spigot
4ef3cfa0e8 Added private static final UID
By: durron597 <martin.jared@gmail.com>
2010-12-31 20:38:17 -05:00
Bukkit/Spigot
a2010332f6 Merge branch 'master' of github.com:Dinnerbone/Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-31 21:58:47 +00:00
Bukkit/Spigot
4124f9e7bb Updated sample plugin to test physics
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-31 21:45:55 +00:00
Bukkit/Spigot
3be4ecd28c Added self face
By: durron597 <martin.jared@gmail.com>
2010-12-31 09:10:31 -05:00
Bukkit/Spigot
eff44b6a95 Stated "not implemented yet"
By: durron597 <martin.jared@gmail.com>
2010-12-31 09:09:22 -05:00
Bukkit/Spigot
66676f3800 Implemented BlockRightClickedEvent
By: durron597 <martin.jared@gmail.com>
2010-12-31 09:09:02 -05:00
Bukkit/Spigot
7740148f73 Fixed bug with BlockFlow.equals
Added second constructor for collections

By: durron597 <martin.jared@gmail.com>
2010-12-31 09:07:39 -05:00
Bukkit/Spigot
a0acf45461 Changed it so we store both the block and the face for speed
By: durron597 <martin.jared@gmail.com>
2010-12-31 09:07:12 -05:00
Bukkit/Spigot
fe393aa73d Implemented BLOCK_FLOW
By: durron597 <martin.jared@gmail.com>
2010-12-31 07:53:56 -05:00
Bukkit/Spigot
ddd950ae40 Added BlockFlowEvent, fixed up BlockFromToEvent, cleaned up
BlockListener

By: durron597 <martin.jared@gmail.com>
2010-12-30 18:22:22 -05:00
Bukkit/Spigot
53b6d54100 Changed fromTo to be Block, Face
By: durron597 <martin.jared@gmail.com>
2010-12-30 17:49:52 -05:00
Bukkit/Spigot
d9184242dc Merge remote branch 'upstream/master'
Conflicts:
	src/org/bukkit/event/block/BlockEvent.java
	src/org/bukkit/event/block/BlockListener.java
	src/org/bukkit/event/block/BlockPhysicsEvent.java

By: durron597 <martin.jared@gmail.com>
2010-12-30 17:40:14 -05:00
Bukkit/Spigot
ee50ed0ba6 Changed event enumeration
By: durron597 <martin.jared@gmail.com>
2010-12-30 17:16:50 -05:00
Bukkit/Spigot
4e456dc092 Added block events
By: durron597 <martin.jared@gmail.com>
2010-12-30 17:16:06 -05:00
Bukkit/Spigot
fabb5e628a BlockPhysics can be canceled
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 22:07:37 +00:00
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
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
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
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
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
Bukkit/Spigot
331ba1b6a2 Fixed another nullcheck in pluginmanager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 00:10:22 +00:00
Bukkit/Spigot
d98a5eadfe Additional constructor for PlayerLoginEvent
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 22:54: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
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
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
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
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
Bukkit/Spigot
0503a134ba Moved a bunch of methods out of PluginLoader to PluginManager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 16:48:58 +00:00
Bukkit/Spigot
a28c9acb1b Refactored Plugin into an interface, make Javaplugin and relevant code to attempt to actually load plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 16:41:51 +00:00
Bukkit/Spigot
e3d491491a Few additions to Plugin for retrieving the Server and PluginLoader responsible for the plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 13:06:44 +00:00
Bukkit/Spigot
118fbe5d87 Pass the Server instance to pluginloaders, changed register method on pluginmanager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 12:55:46 +00:00
Bukkit/Spigot
7cdc2d46c2 Basics of PluginDescriptionFile
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 11:20:20 +00:00
Bukkit/Spigot
284ae0df7f Added Java plugin loader + a plugin manager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 10:31:01 +00:00
Bukkit/Spigot
1df4f74b79 Start the Plugin interfaces
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 01:29:59 +00:00
Bukkit/Spigot
94c43fd0fa Add Player interface
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-22 15:21:16 +00:00
Bukkit/Spigot
51ec422254 Let's get this project started
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-21 15:32:27 +00:00