392 Commits

Author SHA1 Message Date
Dinnerbone
93d15e6228 Added World.Environment enum, changed createWorld to use it 2011-02-07 01:56:38 +00:00
Dinnerbone
539bcff378 Changed getWorlds to List, and added createWorld 2011-02-07 01:56:38 +00:00
Raphfrk
2d43dcc125 Scheduler 2011-02-07 01:06:20 +01:00
Animosity
3a05654540 Adds suppport for node lists. Tested and verified in CraftIRC 2011-02-07 03:26:51 +08:00
Erik Broes
25ed7caa90 Deprecate BlockRightClickEvent.getBlockAgainst - use BlockRightClickEvent.getBlock 2011-02-06 14:49:08 +01:00
Erik Broes
a2e50fd8f6 Add Server.getMaxPlayers 2011-02-06 13:40:31 +01:00
Forsaken
0b998a2fe4 Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation) 2011-02-06 12:13:18 +01:00
sk89q
1d8cd948d2 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. 2011-02-05 23:20:06 -08:00
sk89q
481aec9ee6 Added node and writing functions to Configuration. 2011-02-05 22:45:12 -08:00
Erik Broes
2706916a68 Updated README.md 2011-02-05 16:11:37 +01:00
Raphfrk
f24d79052c getLoadedChunks method 2011-02-05 14:50:19 +01:00
EvilSeph
d167abe6d7 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.
2011-02-05 04:30:18 -05:00
Erik Broes
84f05ff32b Material Durability and StackSize mixup - Fix for http://redmine.bukkit.org/issues/372 2011-02-04 22:45:52 +01:00
Dinnerbone
7f6f90a20e You shouldn't be here, little guy. The ConfigurationNode is a tough place for a young keyword to live. 2011-02-04 12:17:47 +00:00
Dinnerbone
bcecd8c6e3 Merge branch 'master' of github.com:Bukkit/Bukkit 2011-02-04 12:15:48 +00:00
Warren
c0050a9557 I *really* suck at markdown. 2011-02-03 13:15:00 -08:00
Warren
1b6844ad65 I suck at markdown. 2011-02-03 13:14:12 -08:00
Warren
e7151a2316 Added brief coding conventions - these may not be complete. 2011-02-03 13:13:44 -08:00
Limb
2834a41f3a Implemented Inventory.contains with a minimum amount of item required. As per feature request #187 2011-02-04 04:06:04 +08:00
Dinnerbone
90f43d486a Merge branch 'master' of https://github.com/Meaglin/Bukkit 2011-02-03 10:01:09 +00:00
sk89q
ef79a4d716 Removed SLOW_SPREAD from IgniteCause enum. 2011-02-02 21:56:57 -08:00
Dinnerbone
1a2c220ac3 Revert "fallback code for command lookup"
This reverts commit 74a549c74bcabdb094c5c46f919ed98288631352.
2011-02-02 09:20:16 +00:00
tahg
00d4e1a2e0 fallback code for command lookup 2011-02-01 21:56:16 -08:00
Erik Broes
01988e8f6b General cleanup (deprecated+whitespace) 2011-02-02 00:28:41 +01:00
Erik Broes
cbe32fca80 Add Chunk.getBlock(x,y,z), World.loadChunk(x,z) World.isChunkLoaded(x,z). 2011-02-02 00:28:41 +01:00
Dinnerbone
27b75075d6 Added NoteBlock.play, Dispenser.dispense 2011-02-01 23:21:53 +00:00
Dinnerbone
ebf854c93e Strip colours for console output 2011-02-01 18:26:31 +00:00
Dinnerbone
02d1de8c3c Don't delete the first char of the command passed 2011-02-01 18:12:46 +00:00
Meaglin
af9d2b86c3 Interface for BlockBreakEvent 2011-02-01 18:07:16 +01:00
Dinnerbone
61f6259762 Deprecated CommandSender.isPlayer (instanceof!) and added ConsoleCommandSender 2011-02-01 16:45:29 +00:00
Dinnerbone
fb9fdc518e What's the time, mr wolf? 2011-02-01 14:53:26 +00:00
Dinnerbone
67fbbced23 Added Material.matchMaterial(String) 2011-02-01 12:55:29 +00:00
Dinnerbone
1dba6e8874 Added PLAYER_DROP_ITEM 2011-02-01 10:45:39 +00:00
Dinnerbone
3a1f5647e6 Added setItemStack(ItemStack stack) to ItemDrop 2011-02-01 10:43:31 +00:00
Dinnerbone
630f9a89d6 Added VEHICLE_UPDATE 2011-02-01 10:18:27 +00:00
Dinnerbone
000d2a300f Added PLAYER_ITEM_HELD event 2011-01-31 01:34:23 +00:00
Dinnerbone
c6d4cbda5d Added getRemainingAir/setRemainingAir/getMaximumAir/setMaximumAir on LivingEntity 2011-01-31 01:23:21 +00:00
Dinnerbone
9ac3600a07 Renamed ItemStack.set/getDamage to durability, which is now a short. Added Material.getMaxDurability 2011-01-31 01:06:53 +00:00
Dinnerbone
99bc01b602 Added INVENTORY_OPEN as a player event 2011-01-30 22:06:17 +00:00
sk89q
9831f3960d Added support for different tree generation types and a callback. 2011-01-30 13:54:20 -08:00
Dinnerbone
8911adae05 Removed EntityDeathEvent.setDrops() (just use getDrops.add/etc) 2011-01-30 20:24:36 +00:00
stevenh
3b9f5f5e6c Added new EventExecutor, missed in last commit 2011-01-29 21:18:47 +00:00
stevenh
47af4404bf Renamed IExecutor -> CommandExecutor and fixed SERVER_COMMAND doc 2011-01-29 21:17:36 +00:00
stevenh
a984e73ac1 Finalising merge with head 2011-01-29 17:28:31 +00:00
stevenh
39c4a5a2e9 merge with head 2011-01-29 17:18:32 +00:00
stevenh
a89a96416b 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
sk89q
85827e3614 Added Block.isBlockPowered(), block.isBlockIndirectlyPowered(). 2011-01-28 10:25:13 -08:00
Dinnerbone
c565b51d20 Fixed only being able to use /reload once 2011-01-28 14:24:54 +00:00
Dinnerbone
99549ef8cc clearPlugins() and clearCommands() for PluginManager and CommandMap respectively 2011-01-28 14:18:24 +00:00
Dinnerbone
fb5ab3b5d6 Added player.performCommand(String) 2011-01-28 09:15:43 +00:00