Commit graph

822 commits

Author SHA1 Message Date
CraftBukkit/Spigot
1dc1506bef Make rcon .sendMessage each write on a new line. This fixes BUKKIT-353. Thanks to ks07 for the pull req.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-19 16:22:59 +00:00
CraftBukkit/Spigot
e3b0e1e651 Fix error when cloning enchanted ItemStacks.
The existing method for cloning a Bukkit ItemStack fails to correctly copy
the underlying enchantments. Fix this by overriding .clone() in
CraftItemStack, cloning the underlying nms ItemStack correctly.

Fixes BUKKIT-360

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-20 00:30:54 +11:00
CraftBukkit/Spigot
0b7a5891c5 Test cloning enchanted CraftItemStacks
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-20 00:25:15 +11:00
CraftBukkit/Spigot
c41cf92c61 Add support for junit testing
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-09-23 00:35:09 +10:00
CraftBukkit/Spigot
c2dc1c32b5 Updated version to 1.0.1-R2-SNAPSHOT for development towards next release
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 22:07:07 +00:00
CraftBukkit/Spigot
9a312b3acb Updated versions to 1.0.1-R1 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2011-12-12 14:41:48 -05:00
CraftBukkit/Spigot
d2ae4e1d75 Fixed clients not seeing EXP update immediately after using .setTotalExp and level methods
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 19:44:14 +00:00
CraftBukkit/Spigot
586d6ad790 Implemented (offline)player date methods
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 17:39:52 +00:00
CraftBukkit/Spigot
a02181ac29 Made OfflinePlayer and Player share the same .equals and .hashcode
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 15:34:49 +00:00
CraftBukkit/Spigot
8b46844bf4 Stop converting ItemStack to nms ItemStack by hand
This should fix many issues with enchantments being lost, as the method used takes care of enchantments.
Additionally, use the new nms ItemStack constructor in places where appropriate.

Fixes (at least part of) BUKKIT-7. Need to identify any further places to fix.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-13 01:40:35 +11:00
CraftBukkit/Spigot
90baaa255d Teach CraftWorld.spawn how to spawn a Giant
Fixes BUKKIT-235

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-12 14:35:57 +11:00
CraftBukkit/Spigot
dd1048102f Implemented getKiller in LivingEntity
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-11 16:05:27 +00:00
CraftBukkit/Spigot
a163a97e1c Linked thundering and storming.
By: EvilSeph <evilseph@gmail.com>
2011-12-10 12:20:24 -05:00
CraftBukkit/Spigot
67af7c0ed5 Implemented CraftServer.getAllowEnd(). Thanks codename-B!
By: Erik Broes <erikbroes@grum.nl>
2011-12-09 18:55:36 +01:00
CraftBukkit/Spigot
799afe978e Implemented onStructureGrow event, thanks to md-5.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 16:11:56 +00:00
CraftBukkit/Spigot
ffcbcf109c Fix NPE as described in BUKKIT-245. Thanks snowleo
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-08 10:26:39 +11:00
CraftBukkit/Spigot
927bd1f45d Teach EnderDragon how to throw EntityExplosionEvents when it breaks blocks
We also teach CraftWorld how to explode an event, taken from
Explosion.a(boolean) (the code that breaks blocks and drops them on the ground).

The EnderDragon has a flag that slows it down when it hits unbreakable blocks:
Obsidian, White Stone or Bedrock. It might be useful to extend the event so that
plugins can set this.

Letting the API set the default yield for an explosion event has been
deprecated, so we now set the default yield using the appropriate constructor.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-08 00:23:06 +11:00
CraftBukkit/Spigot
e1c6569f8e Implement new interface ConsoleCommandSender.
Also use abstracted ServerCommandSender to reduce complexity! Yay!

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 17:04:00 +11:00
CraftBukkit/Spigot
79d53f0f9b Teach MinecraftServer how to handle Remote Console commands.
This fixes BUKKIT-220. Thanks for the help bawoodruff!

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 17:01:05 +11:00
CraftBukkit/Spigot
ae5c797119 Fix for entity spawning and some code cleanup
By: Tahg <tahgtahv@gmail.com>
2011-12-06 19:21:10 -05:00
CraftBukkit/Spigot
a84f36b67f Performance update to remove several very high counts of temp object creation
By: Tahg <tahgtahv@gmail.com>
2011-12-06 08:52:45 -05:00
CraftBukkit/Spigot
4a52ff756a fix NPE issue with CB inventory
By: Tahg <tahgtahv@gmail.com>
2011-12-06 08:48:45 -05:00
CraftBukkit/Spigot
d1bb68a060 Clean-up some events to maintain general style
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-05 19:13:10 +11:00
CraftBukkit/Spigot
4ed2b5b754 CraftInventory.remove shouldn't care about amount (BUKKIT-138)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-05 01:51:33 +00:00
CraftBukkit/Spigot
33742d5592 Implemented server.getOfflinePlayers
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 17:57:00 +00:00
CraftBukkit/Spigot
c9c8d2a915 Fixed some various CraftInventory bugs related to dropping Enchantments
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 13:22:50 +00:00
CraftBukkit/Spigot
63318d575f Fixed player teleporting not working with a certain method. This fixes BUKKIT-198
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 13:22:31 +00:00
CraftBukkit/Spigot
2d41f1d696 Indicate when a teleport event was triggered by ender pearls or unknown internal teleports
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 11:04:14 +00:00
CraftBukkit/Spigot
dadf3e028c Remove unused import
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-02 21:29:37 +11:00
CraftBukkit/Spigot
0945d42bf0 Made world.spawnCreature just delegate to world.spawn. This fixes BUKKIT-57
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-01 21:50:23 +00:00
CraftBukkit/Spigot
b327d49e49 Use 1.0.1 artifact
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-01 21:49:50 +00:00
CraftBukkit/Spigot
17ba6a756e Fix CraftBlock toString.
By: Erik Broes <erikbroes@grum.nl>
2011-12-01 21:00:21 +01:00
CraftBukkit/Spigot
c370b75aca Fixed rare NPEs with CraftItemStack. This fixes BUKKIT-51
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-01 05:17:22 +00:00
CraftBukkit/Spigot
3505a6c77e Fixed exp methods returning wrong values
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-30 22:31:03 +00:00
CraftBukkit/Spigot
0939b7a7f9 Updated to use mc-dev rename revision 1
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-29 23:17:43 +00:00
CraftBukkit/Spigot
540f893f86 Fixed multiworld loading of some worlds, yay for 1 letter fixes :D
By: Erik Broes <erikbroes@grum.nl>
2011-11-30 21:47:51 +01:00
CraftBukkit/Spigot
9c7ab7c33f Fix CraftEnderCrystal so that it implements EnderCrystal, not EnderSignal.
Thanks zhuowei!

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-30 09:21:54 +11:00
CraftBukkit/Spigot
dcbd5b4f23 Fix Craft Entity constructors and toStrings.
Also, standardise getHandle and clean up in general.
getHandle is now using the 'entity' member variable instead of
super.getHandle, as this reduces the number of chained calls needed.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-29 21:22:35 +11:00
CraftBukkit/Spigot
e02756bd58 Ignore minecraft resources in src directory
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-29 21:20:14 +11:00
CraftBukkit/Spigot
f5793d6a80 Fix CraftVillager constructor to only take an EntityVillager
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-29 09:46:20 +11:00
CraftBukkit/Spigot
1e64b14e06 BUKKIT-57 Fix using Bukkit interface instead of nmc Entity for type check.
Thanks nidefawl!

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-29 09:42:09 +11:00
CraftBukkit/Spigot
107149bd07 Fixed Enchantments being lost on inventory.setItem
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-28 05:17:05 +00:00
CraftBukkit/Spigot
7cb34c4384 Fixed magma slimes from being nonspawnable
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-28 05:08:28 +00:00
CraftBukkit/Spigot
a78bd5eb1c Add new Entity types to CreatureSpawnEvent
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 11:18:27 +11:00
CraftBukkit/Spigot
18610c823a Add CraftMagmaCube
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 11:17:04 +11:00
CraftBukkit/Spigot
39ddc11033 Fixed NPE in CraftPlayer.getBedSpawnLocation
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 04:09:34 +00:00
CraftBukkit/Spigot
2a560a3b24 Clone item enchantments unchecked
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 03:58:43 +00:00
CraftBukkit/Spigot
f235a09660 Fixed issue with enchantments reseting under certain conditions
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 02:45:34 +00:00
CraftBukkit/Spigot
b90c9ef770 Implemented Enchantment API
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 00:39:25 +00:00
CraftBukkit/Spigot
44b5953141 Implemented world.getWorldFolder
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-25 03:47:12 +00:00
CraftBukkit/Spigot
474234b6be Changed Entity.isDead to be aware of health for living entities
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-25 00:32:44 +00:00
CraftBukkit/Spigot
aa9a64c1d7 Fixed NPE in player inventory + don't ignore the cancel state of world unloads
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 20:27:16 +00:00
CraftBukkit/Spigot
2f98915d03 Implemented new age methods in animals, and made spawned animals via eggs properly age back to children
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 20:16:43 +00:00
CraftBukkit/Spigot
cbcd3aa1ae I've either fixed going to The End, or made it worse. I'm sure we'll find out soon!
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 20:00:55 +00:00
CraftBukkit/Spigot
66c96af623 Made BlockStates inform playes upon update
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 18:48:23 +00:00
CraftBukkit/Spigot
20d9b64e16 Fixed allow-nether being ignored
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 18:48:01 +00:00
CraftBukkit/Spigot
0f394bd1f6 Implemented new biome values
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-22 21:21:33 +00:00
CraftBukkit/Spigot
83e8785760 Implemented new EnderCrystal entity class
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-21 22:39:33 +00:00
CraftBukkit/Spigot
90b2487ced fixed spawn method for projectiles
By: sunkid <sunkid@iminurnetz.com>
2011-11-20 18:18:10 -08:00
CraftBukkit/Spigot
8d63c2d62d Update to correct Bukkit version
By: Erik Broes <erikbroes@ripe.net>
2011-11-20 00:13:48 -08:00
CraftBukkit/Spigot
be5fc81d31 Update for 1.0.0
By: Erik Broes <erikbroes@grum.nl>
2011-11-20 00:01:14 -08:00
CraftBukkit/Spigot
f37f615a88 Added new --noconsole command argument, thanks to mkurzeja for the idea
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-05 20:14:26 +00:00
CraftBukkit/Spigot
0ad41cc069 Added distributionManagement section to POM.
By: Luke Granger-Brown <github@lukegb.com>
2011-10-11 20:47:06 +02:00
CraftBukkit/Spigot
df0cea370e Fix version string - RB 4 has already happened
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-01 14:19:11 +11:00
CraftBukkit/Spigot
4c25ba70ad Implemented bukkit versioning
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-31 04:02:54 +00:00
CraftBukkit/Spigot
a3c58c7601 Updated version for 1.8.1-R4
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-31 01:49:47 +00:00
CraftBukkit/Spigot
b8a509d091 Add missing CraftBlock hashCode()
By: Erik Broes <erikbroes@grum.nl>
2011-10-20 23:20:26 +02:00
CraftBukkit/Spigot
e771a25163 fixed mapping of Art <-> EnumArt in Paintings
By: Tahg <tahgtahv@gmail.com>
2011-10-12 14:12:53 -04:00
CraftBukkit/Spigot
08cd9ce5f7 Added header to bukkit.yml
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-12 13:26:07 +01:00
CraftBukkit/Spigot
5ee5bffb9f Added new bukkit.yml entry (settings -> world-container) to control the directory worlds are stored in
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-12 04:24:41 +01:00
CraftBukkit/Spigot
6f832c669f Implemented getPlayer of OfflinePlayer
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 14:52:07 +01:00
CraftBukkit/Spigot
e2369da502 Implemented entity age methods
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 02:23:10 +01:00
CraftBukkit/Spigot
9ad2b97138 Added hashCode and equals to CraftWorld
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 22:45:52 +01:00
CraftBukkit/Spigot
bac90b1d90 Removed deprecated ConcurrentSoftMap
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 22:05:35 +01:00
CraftBukkit/Spigot
cb1c6d43c6 Updated snakeyaml to reflect Bukkit
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:40:41 +01:00
CraftBukkit/Spigot
f9067422f1 Updated to the new Configuration api
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:10:48 +01:00
CraftBukkit/Spigot
e35d160db6 Fix CraftBlock.equals as they are not singletons anymore
By: Erik Broes <erikbroes@grum.nl>
2011-10-07 11:48:14 +02:00
CraftBukkit/Spigot
64723bee72 don't store weak references for EmptyChunks or cache CraftBlocks
By: Tahg <tahgtahv@gmail.com>
2011-10-05 11:31:23 -04:00
CraftBukkit/Spigot
e7626c4bae Revert "Added callback line of sight methods. Thanks xZise!"
This reverts commit 49cf586f969626bdb59632bb2fd5adfe79d38057.

By: EvilSeph <evilseph@gmail.com>
2011-10-03 15:17:34 -04:00
CraftBukkit/Spigot
7bf7abfa5f Fixed multiworld difficulty.
World difficulty was incorrectly being set to 0 or 1 on reload depending
on spawn-monsters instead of the difficulty server property.

By: EvilSeph <evilseph@gmail.com>
2011-10-03 10:08:38 -04:00
CraftBukkit/Spigot
a4242b3e90 Added Difficulty API.
By: EvilSeph <evilseph@gmail.com>
2011-10-03 01:25:54 -04:00
CraftBukkit/Spigot
6e38cffca0 Added missing call for WorldUnload event.
By: EvilSeph <evilseph@gmail.com>
2011-10-02 23:16:58 -04:00
CraftBukkit/Spigot
691d4bb694 Added callback line of sight methods. Thanks xZise!
By: EvilSeph <evilseph@gmail.com>
2011-10-01 16:18:17 -04:00
CraftBukkit/Spigot
49395291c2 Minimal diffs! Move methods for the new list-name away from nms
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-10-03 00:34:51 +01:00
CraftBukkit/Spigot
feed511869 Updated guava to 10.0
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-10-01 23:46:27 +01:00
CraftBukkit/Spigot
3ece4f6a1f Painting improvements. Thanks CelticMinstrel!
Implement get/setArt and facing direction for paintings; expanded painting break causes; added painting support to World.spawn

By: EvilSeph <evilseph@gmail.com>
2011-10-01 13:31:28 -04:00
CraftBukkit/Spigot
d51a5ded5b Correct biome data in ChunkSnapshot - wrong API used
By: Mike Primm <mike@primmhome.com>
2011-09-26 10:15:45 -05:00
CraftBukkit/Spigot
7c330f148f Fixed players not receiving broadcasts (and other similar issues) after signing out and in rapidly
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-27 23:13:58 +01:00
CraftBukkit/Spigot
8c6f3725ee Added server list ping event.
By: sk89q <the.sk89q@gmail.com>
2011-09-26 15:32:05 -07:00
CraftBukkit/Spigot
9d39647939 Added Player.get/setListName to change the name of the player on the player list.
By: sk89q <the.sk89q@gmail.com>
2011-09-26 15:10:35 -07:00
CraftBukkit/Spigot
b7fd3933e4 data improvements
By: Tahg <tahgtahv@gmail.com>
2011-09-26 03:07:06 -04:00
CraftBukkit/Spigot
35a5504f20 Boat get/set (double) occupied acceleration, (double) unoccupied deceleration, (boolean) work on land. Good values to maximize boat utility: 0.6 (fast accel.), 0.99 (no loss of boat), true/false, respectively.
By: sk89q <the.sk89q@gmail.com>
2011-09-25 11:20:51 -07:00
CraftBukkit/Spigot
4c3b2cbd0b Ensure there's only one OfflinePlayer object per actual offline player
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 04:21:35 +01:00
CraftBukkit/Spigot
af65244ba9 Implementation of the Jukebox BlockState
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-08-22 01:36:01 -04:00
CraftBukkit/Spigot
e6e2df18be Implemented get/setPickupDelay on Item entities, thanks robin0van0der0v
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:40:28 +01:00
CraftBukkit/Spigot
36b341bfc8 Implemented getOperators
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:28:00 +01:00
CraftBukkit/Spigot
a013800772 Adds a method that returns the File representation of the update folder. Thanks raphfrk
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 02:22:06 +01:00
CraftBukkit/Spigot
75c69f93c2 Fixed typo in readme, thanks to b1naryth1ef for spotting it
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:48:59 +01:00
CraftBukkit/Spigot
27dfae8850 Silence Eclipse's complaints about gitdescribe
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-09-16 19:10:33 -04:00
CraftBukkit/Spigot
76862f4b1f Implemented world.getSeaLevel, made getHeight load from world instead of hardcoded
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:05:55 +01:00
CraftBukkit/Spigot
a7c822dfbb Implemented new createWorld method
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:05:10 +01:00
CraftBukkit/Spigot
7cddc13d28 Blocked access to ColouredConsoleSenders constructor, implemented getConsoleSender
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-24 23:14:13 +01:00
CraftBukkit/Spigot
86526921b7 Update to mcdev rename revision 01 for 1.8.1
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-24 22:03:31 +01:00
CraftBukkit/Spigot
004a7aca08 Added PlayerToggleSprint event and sprinting related API.
By: Rigby <rigby@onarandombox.com>
2011-09-21 11:48:24 +01:00
CraftBukkit/Spigot
dec020c554 Implements the ability to customise and remove Player death messages.
By: Rigby <rigby@onarandombox.com>
2011-09-21 16:32:37 +01:00
CraftBukkit/Spigot
f0d0cb2214 Refactored a bunch of death code into the event factory
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-21 15:41:24 +01:00
CraftBukkit/Spigot
dfdb5f0bab Added getBedSpawnLocation to CraftPlayer. Thanks fernferret!
By: EvilSeph <evilseph@gmail.com>
2011-09-20 23:36:17 -04:00
CraftBukkit/Spigot
ef58f12066 Return OfflinePlayer for offline wolf tamers. Thanks robinjam
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-20 19:10:06 +01:00
CraftBukkit/Spigot
118ab48313 Added event for endermen picking up and placing blocks and methods to get/set what an enderman is holding.
By: Wizjany <wizjany@gmail.com>
2011-09-17 20:16:18 -04:00
CraftBukkit/Spigot
c3a23bd4e1 Nullchex!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-19 14:25:59 +01:00
CraftBukkit/Spigot
87426bf633 implementation of PlayerGameModeChangeEvent call
By: sunkid <sunkid@iminurnetz.com>
2011-09-16 15:04:11 -07:00
CraftBukkit/Spigot
f0abf7a025 Added support back in for biome temperature and rainfall in snapshots.
By: Mike Primm <mike@primmhome.com>
2011-09-15 15:57:37 -05:00
CraftBukkit/Spigot
d18f001535 Implemented configurable ping packet limit.
By: EvilSeph <evilseph@gmail.com>
2011-09-16 20:57:43 -04:00
CraftBukkit/Spigot
753e928598 Added toString overrides to new Craft entities.
By: EvilSeph <evilseph@gmail.com>
2011-09-16 22:24:09 -04:00
CraftBukkit/Spigot
de5887e2fd Added new entity mappings to CreatureSpawnEvent factory.
By: EvilSeph <evilseph@gmail.com>
2011-09-16 20:10:49 -04:00
CraftBukkit/Spigot
23a92651f7 Update for Minecraft 1.8.1
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 18:01:13 +01:00
CraftBukkit/Spigot
61d656bf30 Rename revision 2
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 17:36:27 +01:00
CraftBukkit/Spigot
e75180213c Setting exp shouldn't add, it should set
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 06:27:55 +01:00
CraftBukkit/Spigot
4f4400970b Implemented food methods + fixed dying resetting food
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 06:24:45 +01:00
CraftBukkit/Spigot
20f04b7261 Fixed spawning the new entities
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 05:53:19 +01:00
CraftBukkit/Spigot
5846e18542 Implemented Exp Orb methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 05:48:31 +01:00
CraftBukkit/Spigot
7f0060f3a0 Implemented player experience methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 05:13:10 +01:00
CraftBukkit/Spigot
ca1be0ff66 1.8 rename fixes
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 04:13:14 +01:00
CraftBukkit/Spigot
e2eb0e5b8b Implemented new entities
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 02:33:50 +01:00
CraftBukkit/Spigot
ebd9037c1e Implemented gamemode methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 02:22:20 +01:00
CraftBukkit/Spigot
d902201875 Update for Minecraft 1.8
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 01:23:52 +01:00
CraftBukkit/Spigot
c4875394c3 Indentation is important, ok?
By: Top-Cat <Top_Cat@thegigcast.net>
2011-09-08 02:54:45 +08:00
CraftBukkit/Spigot
edd95d4ca5 Implemented new GameMode methods (hint: You can't set game mode yet. Sorry.)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-09 01:17:53 +01:00
CraftBukkit/Spigot
ba1dad72bb Fixed issue with console being subscribed multiple times to permissions
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-04 00:24:32 +01:00
CraftBukkit/Spigot
19b4260c01 Added new Server.getPlayerExact() method, added whitelist methods and don't use vanilla commands
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 15:57:54 +01:00
CraftBukkit/Spigot
4ec3915949 Implemented new ban and unban methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 02:13:07 +01:00
CraftBukkit/Spigot
df08315cf4 Implemented IP-banning methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 01:59:28 +01:00
CraftBukkit/Spigot
d1c68e10a9 Actually push the CraftOfflinePlayer implementation!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 00:49:10 +01:00
CraftBukkit/Spigot
e6a01fa70a Implemented OfflinePlayer
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 00:41:48 +01:00
CraftBukkit/Spigot
2eaed3d4a0 Implemented new broadcast method
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 22:24:28 +01:00
CraftBukkit/Spigot
7a0b399f40 Fixed player.setOp not deopping players
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 21:30:16 +01:00
CraftBukkit/Spigot
378fdb506d Fixed world.save, implemented autosave methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 20:46:26 +01:00
CraftBukkit/Spigot
f61f314d74 Implemented Server.shutdown()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 20:18:35 +01:00
CraftBukkit/Spigot
5550ed992a Commands are now "bukkit.command.x" instead of "craftbukkit.command.x", added legacy perms for compat
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 19:19:50 +01:00
CraftBukkit/Spigot
ca9b5fba58 Version message doesn't need to be printed manually now
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 16:56:10 +01:00
CraftBukkit/Spigot
61bb91531b Refactored some code from nms to ob for minimal diffs
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-08-29 16:09:13 +01:00
CraftBukkit/Spigot
2d1f91b750 Fixed memory leak Chunk Compression handling. Thanks Zeerix!
By: EvilSeph <evilseph@gmail.com>
2011-08-27 00:49:35 -04:00
CraftBukkit/Spigot
d617037db6 safety check (and hopeful fix) for chunk saving
By: Tahg <tahgtahv@gmail.com>
2011-08-19 23:17:48 -04:00
CraftBukkit/Spigot
f9b17ea956 Refactored default permission registration. Added "craftbukkit" and "craftbukkit.command" parent perms, and fixed whitelist adding
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-08-18 14:04:59 +01:00
CraftBukkit/Spigot
1bf14e8416 Made suiciding through the /kill command not reliant on pvp being allowed.
By: EvilSeph <evilseph@gmail.com>
2011-08-15 14:30:27 -04:00
CraftBukkit/Spigot
6d7cc61d4d Revert "Implements interface for changing the view distance."
By: EvilSeph <evilseph@gmail.com>
2011-08-15 14:27:02 -04:00
CraftBukkit/Spigot
363d5d3f22 Implements interface for changing the view distance.
Uses default view distance if player's view distance is not set

Throws an illegal argument exception if view distance is set too high
or too low.

Pushes notifications of server and world view distance changes to the player.
Move view distance functions from PlayerManger to WorldServer.
Set player minimum view distance to 1 for now.
Reset player's 'last known' position when recalculating visible chunks.

Use per-player view distance in chunk distance checks

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-08-12 00:37:22 +10:00
CraftBukkit/Spigot
fd2530530d Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested!
By: EvilSeph <evilseph@gmail.com>
2011-08-12 22:47:47 -04:00
CraftBukkit/Spigot
7746a2055d Added permissions for each vanilla command - see http://wiki.bukkit.org/Vanilla_permissions. Removed op requirement for all server commands :o
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-08-13 02:13:35 +01:00
CraftBukkit/Spigot
7818751dc3 Fixed chunks being overwritten with empty chunks when the memory setting is immediately changed after a world loads.
By: Rigby <rigby@onarandombox.com>
2011-08-11 10:29:39 +01:00
CraftBukkit/Spigot
6d20f543c8 Added missed colors to ColouredConsoleSender. Thanks flames!
By: EvilSeph <evilseph@gmail.com>
2011-08-10 20:20:44 -04:00
CraftBukkit/Spigot
ceab047443 Added "getViewDistance()", "getAllowNether()", "hasWhitelist()" and "getAllowFlight()". Thanks robin0van0der0v!
By: EvilSeph <evilseph@gmail.com>
2011-08-07 20:25:46 -04:00
CraftBukkit/Spigot
6bc7228c46 Implemented per world setting to keep the spawn in memory or not.
By: Rigby <rigby@onarandombox.com>
2011-07-27 00:24:27 +01:00
CraftBukkit/Spigot
75eaae7e97 Chunk Compression on seperate thread. Thanks to Zeerix.
By: Rigby <rigby@onarandombox.com>
2011-07-26 17:03:52 +01:00
CraftBukkit/Spigot
4af24f3d03 Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent.
By: sunkid <sunkid@iminurnetz.com>
2011-07-19 13:26:00 -07:00
CraftBukkit/Spigot
2152faf4c9 Added Version startup argument to Main. Thanks cyberdudedk!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 00:46:18 -04:00
CraftBukkit/Spigot
8ef511b342 Added various utility methods to make chunk handling easier. Thanks Meaglin!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 00:32:58 -04:00
CraftBukkit/Spigot
e74addf2e4 Removed deprecated methods.
getNote() that returns a byte has been replaced by getRawNote().
teleportTo(Location) has been replaced by teleport(location).
teleportTo(Entity) has been replaced by teleport(Entity).
SnowForm event has been replaced by BlockForm event.

By: EvilSeph <evilseph@gmail.com>
2011-07-27 21:18:52 -04:00
CraftBukkit/Spigot
04335a1ebe Tweaked pom to specify guava as provided
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-20 18:05:34 +01:00
CraftBukkit/Spigot
ea3444644d Implemented maxheight
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-20 00:03:47 +01:00
CraftBukkit/Spigot
2a8e727a99 Implemented new permission system
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-17 17:19:41 +01:00
CraftBukkit/Spigot
b558d85c05 Removed some old deprecated code and clean up javadocs + warnings
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 15:34:40 +02:00
CraftBukkit/Spigot
e3dabafd4b Allow colorchar to be uppercase
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 15:34:11 +02:00
CraftBukkit/Spigot
5e6cc8625b Deprecated Block.getFace(Face) and Block.getFace(Face,int); use getRelative()
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 15:02:32 +02:00
CraftBukkit/Spigot
8ab7680e6b Implemented BLOCK_PISTON_CONTRACT/EXPAND
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 00:19:25 +02:00
CraftBukkit/Spigot
d635e017fd Use the regular repo-url again
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 00:28:35 +02:00
CraftBukkit/Spigot
9bae81558f Don't use weak/soft references for keys, attempt to lessen memory impact further
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-16 02:55:54 +01:00
CraftBukkit/Spigot
1511a5a437 Readded ConcurrentSoftMap because apparently some plugins need this. (They really, really shouldn't be using it. At all.)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-15 21:49:53 +01:00
CraftBukkit/Spigot
9431ef57c0 Fixed huge memory leak (gigabytes/hour!) by placing a bukkit under the ceiling.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-15 18:28:09 +01:00
CraftBukkit/Spigot
af11cea8fe Revert "Do not immediately re-queue repeating tasks, or they may simply keep repeating on this tick, until the 35ms time limit runs out." See 3632d99122 (commitcomment-478252)
This reverts commit 3632d99122e8795cadb8f94e14e42eb4aa6d7c4c.

By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-14 23:21:28 +01:00
CraftBukkit/Spigot
e2f2ed1c17 Do not immediately re-queue repeating tasks, or they may simply keep repeating on this tick, until the 35ms time limit runs out.
By: Afforess <afforess@gmail.com>
2011-07-13 17:26:33 -07:00
CraftBukkit/Spigot
fef0c5fea0 Fixed missing BiomeBase.SKY to Biome.SKY mapping. Thanks mikeprimm!
By: EvilSeph <evilseph@gmail.com>
2011-07-14 15:05:43 -04:00
CraftBukkit/Spigot
8c447e8839 Implemented pig zombie get/set anger functions.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-07-02 22:15:06 -04:00
CraftBukkit/Spigot
81d54eaa7c Fixed the accounting for world UID conflicts.
By: EvilSeph <evilseph@gmail.com>
2011-07-13 15:35:05 -04:00
CraftBukkit/Spigot
11d2a52689 Implemented helper methods + new biome methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-13 06:52:40 +01:00
CraftBukkit/Spigot
92dc42b3a8 Account for world UID conflicts.
By: EvilSeph <evilseph@gmail.com>
2011-07-13 03:29:43 -04:00
CraftBukkit/Spigot
42fb871866 Made the order of aliases matter. We may or may not re-do this in a later build.
By: Rigby <rigby@onarandombox.com>
2011-07-13 04:14:28 +01:00
CraftBukkit/Spigot
888de16db3 uuid changes
By: Tahg <tahgtahv@gmail.com>
2011-07-13 00:06:07 -04:00
CraftBukkit/Spigot
7a4e513ae4 Added command line logging configuration which enables log file:
* Size limiting (--log-limit <size in bytes>)
* Rotation (--log-count <count of files>)
* Custom naming (--log-pattern <filename pattern>)
* Append (--log-append <true|false>)
Note: This is done via command line and not bukkit-settings as that would require lots of refactoring of both core server and CraftBukkit due to the current initialisation ordering and depenencies.
All settings default to that of the standard server

By: stevenh <steven.hartland@multiplay.co.uk>
2011-07-10 18:28:57 +01:00
CraftBukkit/Spigot
9e4ad7c436 Temporarily relocated 1.7.3 jar to static location
By: Erik Broes <erikbroes@grum.nl>
2011-07-09 11:49:43 +02:00
CraftBukkit/Spigot
e29451bc4e Use generators from bukkit.yml if none was specified at createWorld
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-08 19:01:03 +01:00
CraftBukkit/Spigot
e8b5c3e8a2 Updated pom mc version
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-08 13:30:49 +01:00
CraftBukkit/Spigot
6863d65e4f Update for 1.7.3
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-08 13:25:53 +01:00
CraftBukkit/Spigot
244af81134 Okay, back to arbitrary offsets!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-07 20:29:57 +01:00
CraftBukkit/Spigot
7c3ca1d44c Cleaned up this worlduid stuff a little.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-07 19:47:42 +01:00
CraftBukkit/Spigot
034b084e7c Made maps support MultiWorld worlds.
By: Rigby <rigby@onarandombox.com>
2011-07-03 07:42:26 +01:00
CraftBukkit/Spigot
860f6ad4b7 Implements a World UID.
By: Rigby <rigby@onarandombox.com>
2011-07-05 04:48:27 +01:00
CraftBukkit/Spigot
ae08c5c5ec IntelliJ is awesome.
By: EvilSeph <evilseph@unaligned.org>
2011-07-05 00:14:34 -04:00
CraftBukkit/Spigot
12b26231d2 Forgot version in CraftBukkit
By: Erik Broes <erikbroes@grum.nl>
2011-07-01 14:24:59 +02:00
CraftBukkit/Spigot
c60ce9dbba Update for 1.7.2
By: Erik Broes <erikbroes@grum.nl>
2011-07-01 14:05:57 +02:00
CraftBukkit/Spigot
f7df7a7870 Possible fix for cancelled CraftScheduler tasks still running.
By: EvilSeph <evilseph@unaligned.org>
2011-06-30 02:18:11 -04:00
CraftBukkit/Spigot
6f94838466 Update to minecraft 1.7_01
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-30 15:47:36 +01:00
CraftBukkit/Spigot
92a01a2d3e Update to Minecraft 1.7
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-29 23:02:25 +01:00
CraftBukkit/Spigot
85e8cedcff Massive renaming update in nms. If you bypassed Bukkit, you will likely break.
Also minimized all the nms diffs and generic cleanups all around.

By: Erik Broes <erikbroes@grum.nl>
2011-06-27 00:25:01 +02:00
CraftBukkit/Spigot
912a9c2c1a Don't register commands only on init
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-26 02:46:04 +01:00
CraftBukkit/Spigot
7d69668caa Delayed alias registration until postworld
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-24 00:57:46 +01:00
CraftBukkit/Spigot
9ad0ab93d1 We build for JDK 1.5.
By: EvilSeph <evilseph@unaligned.org>
2011-06-23 15:41:07 -04:00
CraftBukkit/Spigot
10dcb517dc Made bukkit settings reload on reload().
By: sunkid <sunkid@iminurnetz.com>
2011-06-23 11:06:09 -07:00
CraftBukkit/Spigot
5cfd050f9f Fixed default command alias to do an array
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-22 19:20:14 +01:00
CraftBukkit/Spigot
5ff4a9570f Implemented new alias system
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-22 19:10:29 +01:00