3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-17 13:30:06 +01:00
Commit graph

917 Commits

Autor SHA1 Nachricht Datum
Erik Broes
cc9ccc8976 Removed some old deprecated code and clean up javadocs + warnings 2011-07-17 18:14:45 +02:00
Erik Broes
fd260b0f4d Allow colorchar to be uppercase 2011-07-17 18:14:45 +02:00
Erik Broes
f7712eb20c Deprecated Block.getFace(Face) and Block.getFace(Face,int); use getRelative() 2011-07-17 18:14:45 +02:00
Erik Broes
f3a86eaaca Implemented BLOCK_PISTON_CONTRACT/EXPAND 2011-07-17 18:14:45 +02:00
Dinnerbone
e4edbf288d Don't use weak/soft references for keys, attempt to lessen memory impact further 2011-07-16 02:55:54 +01:00
Dinnerbone
c101c3553b Readded ConcurrentSoftMap because apparently some plugins need this. (They really, really shouldn't be using it. At all.) 2011-07-15 21:49:53 +01:00
Dinnerbone
a507add4ea Fixed huge memory leak (gigabytes/hour!) by placing a bukkit under the ceiling. 2011-07-15 20:52:54 +01:00
EvilSeph
0bd535e054 Made fire spread trigger BlockSpreadEvent. Thanks N3X15! 2011-07-14 23:26:01 -04:00
sunkid
30a382a6dc Made ProjectileHitEvent fire instantly when projectiles don't hit entities. 2011-07-14 22:37:31 -04:00
Dinnerbone
43492ab6af 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.
2011-07-14 23:21:28 +01:00
Afforess
4a932c11de Do not immediately re-queue repeating tasks, or they may simply keep repeating on this tick, until the 35ms time limit runs out. 2011-07-14 15:49:23 -04:00
EvilSeph
958acee5af Use ColouredConsoleSender to send chat to console. Thanks TheDgtl! 2011-07-14 15:45:24 -04:00
EvilSeph
3c5ecd0854 Fixed missing BiomeBase.SKY to Biome.SKY mapping. Thanks mikeprimm! 2011-07-14 15:05:43 -04:00
Celtic Minstrel
cc94325b28 Implemented pig zombie get/set anger functions. 2011-07-14 14:58:12 -04:00
EvilSeph
c9979169b9 Possibly fixed crashes caused by tile entities under certain circumstances again. 2011-07-13 21:27:42 -04:00
EvilSeph
185d590146 Fixed the accounting for world UID conflicts. 2011-07-13 15:40:31 -04:00
Dinnerbone
3d28c67c08 Implemented helper methods + new biome methods 2011-07-13 10:44:03 +01:00
EvilSeph
7f6e7060d7 Account for world UID conflicts. 2011-07-13 03:29:43 -04:00
Warren Loo
eb19e4e8dc Fixed uuid code that was prematurely pushed. 2011-07-13 02:19:56 -04:00
Rigby
9e49127c7d Made the order of aliases matter. We may or may not re-do this in a later build. 2011-07-13 00:31:05 -04:00
Warren Loo
a9cdc36f2c Possibly fixed crashes caused by tile entities under certain circumstances. 2011-07-13 00:31:05 -04:00
Tahg
d0f904fc50 uuid changes 2011-07-13 00:06:07 -04:00
stevenh
83fd8fad69 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
2011-07-10 18:28:57 +01:00
Dinnerbone
c56d0c0842 Use generators from bukkit.yml if none was specified at createWorld 2011-07-08 19:01:03 +01:00
Dinnerbone
2f218ba6b1 Update for 1.7.3 2011-07-08 13:25:53 +01:00
Dinnerbone
cc635ed51c Try find conflicting UIDs 2011-07-07 20:49:13 +01:00
Dinnerbone
0993e6cbd1 Okay, back to arbitrary offsets! 2011-07-07 20:29:57 +01:00
Dinnerbone
2564043882 No longer use an arbitrary offset to locate the correct map 2011-07-07 20:22:03 +01:00
Dinnerbone
83abbfe4d6 Cleaned up this worlduid stuff a little. 2011-07-07 19:47:42 +01:00
Rigby
4cab8635db Made maps support MultiWorld worlds. 2011-07-07 14:40:27 -04:00
Rigby
9ced39421f Implements a World UID. 2011-07-07 14:20:05 -04:00
EvilSeph
3789f61c7e Added PlayerFish event. 2011-07-03 03:01:38 -04:00
EvilSeph
aacb95e275 Fixed Sheep not firing EntityDeath event. 2011-07-02 21:28:45 -04:00
EvilSeph
f7e17b68de Fixed PlayerPickupItem event returning wrong amount picked up and added function to get the amount remaining on the ground. 2011-07-02 21:27:31 -04:00
EvilSeph
22097a9962 Fixed NPE in BlockFurnace. 2011-07-02 20:46:25 -04:00
EvilSeph
7cd03e65d1 Improved FurnaceBurn event.
- Added the ability to set the burn time of the fuel.
- Added the ability to set if a fuel should burn or not.
2011-07-01 18:55:40 -04:00
Erik Broes
68506e2a4a Forgot version in CraftBukkit 2011-07-01 14:24:59 +02:00
Erik Broes
1497eec04a Update for 1.7.2 2011-07-01 14:07:34 +02:00
EvilSeph
25f72c9caa Fixed doors not updating their state to reflect any redstone currents when placed. 2011-06-30 13:54:12 -04:00
EvilSeph
b530299759 Made trapdoors fire BlockRedstone events. 2011-06-30 13:51:42 -04:00
Rigby
1e209e8e11 Improved PlayerMove event implementation. 2011-06-30 13:42:18 -04:00
EvilSeph
49df44ad6c Possible fix for cancelled CraftScheduler tasks still running. 2011-06-30 13:42:18 -04:00
EvilSeph
8a521ec629 Added reasons for entities regaining health. 2011-06-30 13:42:18 -04:00
EvilSeph
f518ced9ad Fixed BlockRedstone event firing too many times under certain circumstances. 2011-06-30 13:11:47 -04:00
Dinnerbone
61a7a0633c Update to minecraft 1.7_01 2011-06-30 15:47:36 +01:00
Dinnerbone
a679e7f380 Update to Minecraft 1.7 2011-06-30 15:19:25 +01:00
Erik Broes
a98c7ba2c7 Massive renaming update in nms. If you bypassed Bukkit, you will likely break.
Also minimized all the nms diffs and generic cleanups all around.
2011-06-27 00:47:03 +02:00
Erik Broes
9e5dba8306 Picking up arrows now also fires PlayerPickupItem 2011-06-27 00:05:17 +02:00
Erik Broes
f0402d9d6c Fixed cancelling the PlayerPickup event, getAmount(), item duping issue. 2011-06-26 05:04:14 -04:00
EvilSeph
b4c0492b15 Fixed Explosion.setYield(0) still dropping blocks. 2011-06-26 00:02:56 -04:00
Dinnerbone
528e8c7221 Don't register commands only on init 2011-06-26 02:46:04 +01:00
EvilSeph
0b92a51ba7 Fixed the fix of the EntityTame event. 2011-06-23 20:07:34 -04:00
Rigby
a5dd42adb9 Portals created by fire now trigger PortalCreateEvent. 2011-06-23 20:02:00 -04:00
Dinnerbone
b94bb27663 Delayed alias registration until postworld 2011-06-24 00:57:46 +01:00
EvilSeph
22c28e593e We build for JDK 1.5. 2011-06-23 15:41:07 -04:00
sunkid
6e746ef79a Made bukkit settings reload on reload(). 2011-06-23 14:35:05 -04:00
EvilSeph
ebfd973d09 Fixed PlayerPickupItem event firing even if the player could not pick up the item. 2011-06-23 01:25:08 -04:00
Dinnerbone
98098481e9 Fixed default command alias to do an array 2011-06-22 19:20:14 +01:00
Dinnerbone
0a3b89c8f8 Implemented new alias system 2011-06-22 19:10:29 +01:00
Dinnerbone
e73b10cf9e Fire WorldLoad events on default worlds for plugins who load:startup 2011-06-22 18:33:23 +01:00
Dinnerbone
7f0126a364 You may now set a generator to a default world using plugin.yml 2011-06-22 18:27:52 +01:00
Dinnerbone
d647e2098e Implemented startup plugin loading 2011-06-22 18:27:51 +01:00
EvilSeph
ff67eda4c4 Fixed players not healing in other worlds when spawn-monsters is false. 2011-06-22 12:52:02 -04:00
Rigby
7efaa1a02e Inform the client when a move event is cancelled. 2011-06-22 12:49:50 -04:00
Dinnerbone
568731f29c Line endings. 2011-06-22 16:55:04 +01:00
EvilSeph
79337d3aab Added SpawnReasons to CreatureSpawn events. Thanks winsock! 2011-06-21 16:37:07 -04:00
EvilSeph
faab690dc7 Added Sky biome for the Skylands. Thanks robin0van0der0v! 2011-06-21 15:46:02 -04:00
EvilSeph
cd1c3858eb Fixed spawn location offset. 2011-06-21 00:24:20 -04:00
Rigby
0648302078 Implements isBedSpawn() to the PlayerRespawnEvent. 2011-06-21 00:21:11 -04:00
Rigby
138c70183d Changed Nether portals to be handled by a customiseable PortalTravelAgent and updated the PlayerPortalEvent 2011-06-20 18:33:21 -04:00
sunkid
214d412505 Added the abitility to spawn fireballs. 2011-06-20 16:26:22 -04:00
EvilSeph
8df3fe62f4 Remove Squid spawning restriction as Squids seem to obey spawn flags. 2011-06-20 12:45:33 -04:00
EvilSeph
5335508c2e Possible fix for furnaces leaving items behind. 2011-06-20 01:40:11 -04:00
EvilSeph
918f488d23 Added Furnace smelt and burn events. 2011-06-20 00:15:32 -04:00
sunkid
6cf0fc4a7b No more ghastly pigs! 2011-06-19 18:39:47 -04:00
sk89q
57d677d1e8 Fixed CraftWorld.spawn() having all the inheritance checks backwards. 2011-06-19 12:59:36 -07:00
EvilSeph
7ac53dfc8b Fixed NPEs in infinite item loss fix 2011-06-19 13:58:38 -04:00
EvilSeph
cb7b82d452 Added API to allow plugins to set the world's spawn flags. 2011-06-19 06:34:22 -04:00
EvilSeph
89a524678a Added getOnlineMode() for the Server. Thanks Rigby! 2011-06-19 06:34:21 -04:00
EvilSeph
a6e5c97223 Fixed losing an infinite item when interacting with an entity. Thanks for the help Rigby! 2011-06-19 04:25:57 -04:00
EvilSeph
12b7499c4f Added Entity target events to EntityGhast. Thanks winsock! 2011-06-19 01:44:42 -04:00
EvilSeph
98f05f7756 Fixed hostile entities continuously targeting dead entities. Thanks Rigby! 2011-06-19 00:53:45 -04:00
EvilSeph
b292a9dfbc Added more events for Wolves. Thanks Deaygo!
Added events for when wolf owner attacks an entity, or is attacked. Also added event for when a non-tame wolf targets a sheep.
2011-06-18 22:37:52 -04:00
sunkid
155874eec9 Implemented the concept of a projectile. 2011-06-18 22:21:02 -04:00
sunkid
546e1306d8 Fix for spawnMinecart. 2011-06-18 21:56:42 -04:00
Rigby
0ef0bdb61c I'm sorry Paintings... please come back... 2011-06-19 09:05:28 +08:00
sk89q
a6b8b80fad Added PlayerToggleSneakEvent.isSneaking(). 2011-06-18 14:35:51 -07:00
EvilSeph
4cefee5be7 Added world seed display to 'Preparing level' log message for each world 2011-06-18 00:29:34 -04:00
EvilSeph
87b421767c Added wolf damage and target events. Thanks Deaygo! 2011-06-18 00:12:47 -04:00
EvilSeph
b0fcbe7fca Fixed several NPEs within World. Thanks Deaygo! 2011-06-18 00:12:47 -04:00
EvilSeph
68695fb9d6 Fixed EntityTame event firing too many times. 2011-06-17 23:06:20 -04:00
EvilSeph
d48e9c22f5 Added BlockSpread, BlockForm and BlockFade events. 2011-06-17 22:19:43 -04:00
EvilSeph
22f26895ec Added Redstone event support for detector rails. 2011-06-17 20:11:16 -04:00
EvilSeph
b92f54639a Added recommended work-around for handling player movement in such a way that it doesn't trigger the movement speed check. Thanks for the help Rigby!
Plugins are advised to no longer teleport players in the PlayerMove event and to use setTo instead, as we now trigger a teleport when setTo is used.
2011-06-17 19:22:57 -04:00
EvilSeph
f3d25e647f Added EntityRegainHealthEvent. Thanks TimWolla! 2011-06-17 16:55:00 -04:00
sunkid
fadd962b9c Added the implementation of the concept of an Explosive. 2011-06-17 16:55:00 -04:00
EvilSeph
10fb5dc843 Added ChunkSnapShot improvements. Thanks mikeprimm!
Added support for biome data to chunk snapshot
Added method for returning empty chunk snapshot (for ungenerated chunks)
2011-06-17 09:23:19 -04:00
EvilSeph
105cc5393c Forgot to account for code shuffling with player.dat fixes. 2011-06-17 08:59:03 -04:00
EvilSeph
39332e5c87 Added Instrument enum, Note class and get/setNote functions. Thanks xZise! 2011-06-17 03:16:18 -04:00
EvilSeph
cc1b0a005c Added per player time support. Thanks eisental, Shamebot and needspeed10! 2011-06-17 02:29:16 -04:00