Commit graph

506 Commits

Autor SHA1 Nachricht Datum
EvilSeph
5b7b46593c Added various utility methods to make chunk handling easier. Thanks Meaglin! 2011-07-28 00:32:58 -04:00
EvilSeph
226318d8af 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.
2011-07-27 23:25:21 -04:00
Dinnerbone
7ad853a51b Implemented maxheight 2011-07-20 00:03:47 +01:00
Dinnerbone
5d2a195835 Implemented new permission system 2011-07-17 17:19:41 +01:00
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
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
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
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
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
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
0993e6cbd1 Okay, back to arbitrary offsets! 2011-07-07 20:29:57 +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
Erik Broes
68506e2a4a Forgot version in CraftBukkit 2011-07-01 14:24:59 +02:00
EvilSeph
49df44ad6c Possible fix for cancelled CraftScheduler tasks still running. 2011-06-30 13:42:18 -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
Dinnerbone
528e8c7221 Don't register commands only on init 2011-06-26 02:46:04 +01: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
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
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
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
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
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
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
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
EvilSeph
4cefee5be7 Added world seed display to 'Preparing level' log message for each world 2011-06-18 00:29:34 -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
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
sunkid
a70a5abc3d Added implementation of general spawn method. 2011-06-17 01:57:33 -04:00
sunkid
a8817b7bd1 Implemented extended createExplosion methods. 2011-06-17 01:44:32 -04:00
Dinnerbone
7aadc3d666 Moved spawn-protection from server.properties into (settings.)spawn-radius in bukkit.yml 2011-06-17 04:49:58 +01:00
Dinnerbone
c0244eda04 Implemented bukkit.yml command aliases 2011-06-17 04:09:43 +01:00
Dinnerbone
7e22faf9d6 Moved some craftbukkit stuff down from WorldServer to World; should fix a few NPEs during generation, and saves on a lot of casting 2011-06-17 03:06:45 +01:00
EvilSeph
6f1d6a4ca8 Fixed EntityTame event. 2011-06-15 15:01:09 -04:00
Erik Broes
9adc03abab Generic cleanup of the org.bukkit.craftbukkit classes. 2011-06-12 12:51:54 +02:00
EvilSeph
73e34c2fe3 Added ItemSpawnEvent. Thanks myers! 2011-06-11 02:00:05 -04:00
EvilSeph
5b93f5565a Fixed from and to worlds being the same for a PlayerTeleportEvent for crossworld teleports. Thanks for the help Rigby and Verrier! Tahg is responsible for the mess. 2011-06-11 01:33:37 -04:00
sk89q
e5c6b329d5 Whoops, need this commit too. 2011-06-09 23:56:42 -07:00
sk89q
bf4a4a767c Added some missing @Override. 2011-06-09 23:30:38 -07:00
sk89q
ccabbcbf0a Added World.createExplosion() that takes a Location, instead of just raw X, Y, Z values. 2011-06-09 23:13:38 -07:00
sk89q
a25ab644df Cleaned up some Javadocs. 2011-06-09 23:11:37 -07:00
sk89q
e45c502ec1 Moved playSound/Effect(Player, ...) to Player.playEffect(Location, ...) to be consistent, and because the code didn't really do what the Javadoc said. 2011-06-09 23:08:00 -07:00
sk89q
846bd468d4 Changed sound playing to effect dispatching, since these seem more like more like encompassing effect than mere sounds. 2011-06-09 22:57:32 -07:00
sk89q
baf9a9f501 Merge branch 'sound' of https://github.com/sunkid/CraftBukkit 2011-06-09 22:38:44 -07:00
sunkid
5fe9ac362b implementations of the playSound methods 2011-06-09 12:37:27 -07:00
EvilSeph
4a0eb0a4a1 Added method to create an explosion in world. Thanks Zaraza107! 2011-06-09 04:17:19 -04:00
EvilSeph
b0714775e1 Added EntityTame event. Thanks halvors! 2011-06-09 04:03:15 -04:00
raphfrk
8320917363 Adds update chunk method for sending fake chunk updates to the client. This is to match the sendBlockChange method. 2011-06-08 19:05:01 -04:00
Tahg
5296f97cde Portal changes. 2011-06-08 16:57:46 -04:00
Dinnerbone
864f8d2f0d Fixed nether's identity crises 2011-06-07 19:25:44 +01:00
EvilSeph
d33c06ead2 Added UniqueId to entities. Thanks Afforess! 2011-06-07 04:21:33 -04:00
EvilSeph
95c19d5f22 Added ChunkSnapshot for efficient, thread-safe copies of Chunk data. Thanks mikeprimm! 2011-06-07 03:34:23 -04:00
EvilSeph
68608169cd Implemented unloadWorld(). Thanks Rigby! 2011-06-07 03:16:07 -04:00
Dinnerbone
d40c690c8f Fix for generator stuff now being class 2011-06-06 21:12:03 +01:00
Dinnerbone
fedcbdf256 Implemented custom chunk generators and block populators 2011-06-06 18:38:47 +01:00
EvilSeph
891dfbcef8 Possible fix for some chunk loading issues experienced when teleporting. Thanks akrieger! 2011-06-05 12:38:56 -04:00
Tahg
5f684ef163 fixed environments 2011-06-03 18:36:14 -04:00
Tahg
ebc478388c fixed cross world teleport 2011-06-01 18:35:57 -04:00
Tahg
8835cb905f More multiworld fixes 2011-05-31 21:19:37 +02:00
Erik Broes
62b5da4e3a Update for 1.6.6 2011-05-31 15:56:05 +02:00
Erik Broes
6dbd710bbf Update for 1.6.5 2011-05-30 22:37:34 -04:00
Dinnerbone
1784e42d5f Fixed a bunch of multiworld issues (entity tracking etc) 2011-05-27 00:11:45 +01:00
Dinnerbone
9934dd8561 Version fix 2011-05-26 15:21:54 +01:00
Dinnerbone
dc76d3a64a Update for 1.6.3 2011-05-26 14:30:16 +01:00
Dinnerbone
6903f20242 Implemented 1.6! 2011-05-26 13:48:22 +01:00
EvilSeph
949634ad67 Fixed animals not spawning when spawn-monsters is set to false. 2011-05-22 15:33:34 -04:00
stevenh
8b0924bbb4 Fixed duplicate console and player messages when built in server commands where used or an unknown command was issued 2011-05-22 20:30:01 +01:00
Dinnerbone
6319a19073 Possible fix for -nojline printing blank lines 2011-05-19 21:46:47 +01:00
EvilSeph
480c1b9877 Fixed -nojline. 2011-05-19 14:15:13 -04:00
EvilSeph
eac5b9623d Added -nojline CLI option to emulate vanilla console behaviours. Added JLine disabling compatibility (removes the '>').
-nojline disables JLine, removes the '>', sets the timestamp to vanilla's and sets the language to English.

-Djline.terminal=jline.UnsupportedTerminal disables JLine and removes the '>'.
2011-05-18 21:36:30 -04:00
EvilSeph
7f73594aa8 Added get/setLastDamageCause. Thanks sunkid! 2011-05-16 00:26:22 -04:00
EvilSeph
3439b7f9d9 Made setHealth(0) trigger EntityDeathEvent and drops. Thanks yetanotherx! 2011-05-15 22:16:46 -04:00
Erik Broes
309846d732 Whitespace + general cleanup 2011-05-15 13:41:46 +02:00