Commit graph

680 commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
92365a5bf2 You may now set a generator to a default world using plugin.yml
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-22 18:27:27 +01:00
CraftBukkit/Spigot
59c6da8305 Implemented startup plugin loading
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-22 17:46:12 +01:00
CraftBukkit/Spigot
9e46607f98 Added SpawnReasons to CreatureSpawn events. Thanks winsock!
By: EvilSeph <evilseph@unaligned.org>
2011-06-21 16:20:11 -04:00
CraftBukkit/Spigot
82899bb5e6 Added Sky biome for the Skylands. Thanks robin0van0der0v!
By: EvilSeph <evilseph@unaligned.org>
2011-06-21 15:46:02 -04:00
CraftBukkit/Spigot
0eafeb5ce0 Changed Nether portals to be handled by a customiseable PortalTravelAgent and updated the PlayerPortalEvent
By: Rigby <rigby@onarandombox.com>
2011-06-20 06:34:17 +01:00
CraftBukkit/Spigot
525e5a4052 Added the abitility to spawn fireballs.
By: sunkid <sunkid@iminurnetz.com>
2011-06-20 12:36:46 -07:00
CraftBukkit/Spigot
afd33dd591 No more ghastly pigs!
By: sunkid <sunkid@iminurnetz.com>
2011-06-19 15:03:54 -07:00
CraftBukkit/Spigot
8ce55e1c91 Fixed CraftWorld.spawn() having all the inheritance checks backwards.
By: sk89q <the.sk89q@gmail.com>
2011-06-19 12:59:17 -07:00
CraftBukkit/Spigot
e144eddaf2 Added API to allow plugins to set the world's spawn flags.
By: EvilSeph <evilseph@unaligned.org>
2011-06-19 06:09:05 -04:00
CraftBukkit/Spigot
ef3aaa62f3 Added getOnlineMode() for the Server. Thanks Rigby!
By: EvilSeph <evilseph@unaligned.org>
2011-06-19 06:13:52 -04:00
CraftBukkit/Spigot
b20ba5be29 Implemented the concept of a projectile.
By: sunkid <sunkid@iminurnetz.com>
2011-06-18 08:10:31 -07:00
CraftBukkit/Spigot
e1f49291ce Fix for spawnMinecart.
By: sunkid <sunkid@iminurnetz.com>
2011-06-18 09:30:50 -07:00
CraftBukkit/Spigot
cd27191ee2 Added world seed display to 'Preparing level' log message for each world
By: EvilSeph <evilseph@unaligned.org>
2011-06-17 23:23:34 -04:00
CraftBukkit/Spigot
4a33e32be6 Added the implementation of the concept of an Explosive.
By: sunkid <sunkid@iminurnetz.com>
2011-06-14 11:03:29 -07:00
CraftBukkit/Spigot
ab72163bb4 Added ChunkSnapShot improvements. Thanks mikeprimm!
Added support for biome data to chunk snapshot
Added method for returning empty chunk snapshot (for ungenerated chunks)

By: EvilSeph <evilseph@unaligned.org>
2011-06-17 09:23:19 -04:00
CraftBukkit/Spigot
5b6c2eb1b3 Added Instrument enum, Note class and get/setNote functions. Thanks xZise!
By: EvilSeph <evilseph@unaligned.org>
2011-06-17 03:16:18 -04:00
CraftBukkit/Spigot
51e0c1409b Added per player time support. Thanks eisental, Shamebot and needspeed10!
By: EvilSeph <evilseph@unaligned.org>
2011-06-17 02:29:16 -04:00
CraftBukkit/Spigot
28d4d95e86 Added implementation of general spawn method.
By: sunkid <sunkid@iminurnetz.com>
2011-06-08 15:47:27 -07:00
CraftBukkit/Spigot
3ccb93bc97 Implemented extended createExplosion methods.
By: sunkid <sunkid@iminurnetz.com>
2011-06-12 15:49:52 -07:00
CraftBukkit/Spigot
f251e14478 Moved spawn-protection from server.properties into (settings.)spawn-radius in bukkit.yml
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-17 04:49:58 +01:00
CraftBukkit/Spigot
fd043a8342 Implemented bukkit.yml command aliases
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-17 04:09:43 +01:00
CraftBukkit/Spigot
a944350d16 Moved some craftbukkit stuff down from WorldServer to World; should fix a few NPEs during generation, and saves on a lot of casting
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-17 03:06:45 +01:00
CraftBukkit/Spigot
c8b101b9de Fixed EntityTame event.
By: EvilSeph <evilseph@unaligned.org>
2011-06-12 23:38:35 -04:00
CraftBukkit/Spigot
9bf573516b Generic cleanup of the org.bukkit.craftbukkit classes.
By: Erik Broes <erikbroes@grum.nl>
2011-06-12 01:12:43 +02:00
CraftBukkit/Spigot
889f8d765d Added ItemSpawnEvent. Thanks myers!
By: EvilSeph <evilseph@unaligned.org>
2011-06-11 02:00:05 -04:00
CraftBukkit/Spigot
81ef43a0cc 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.
By: EvilSeph <evilseph@unaligned.org>
2011-06-10 22:59:54 -04:00
CraftBukkit/Spigot
648b50c4f4 Whoops, need this commit too.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:56:42 -07:00
CraftBukkit/Spigot
6592607d08 Added some missing @Override.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:30:38 -07:00
CraftBukkit/Spigot
1ae5d72f3a Added World.createExplosion() that takes a Location, instead of just raw X, Y, Z values.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:13:38 -07:00
CraftBukkit/Spigot
048a10371b Cleaned up some Javadocs.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:11:37 -07:00
CraftBukkit/Spigot
2f20b4ba3c Moved playSound/Effect(Player, ...) to Player.playEffect(Location, ...) to be consistent, and because the code didn't really do what the Javadoc said.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:08:00 -07:00
CraftBukkit/Spigot
7b6df709cf Changed sound playing to effect dispatching, since these seem more like more like encompassing effect than mere sounds.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 22:57:32 -07:00
CraftBukkit/Spigot
b50bf26cfc Merge branch 'sound' of https://github.com/sunkid/CraftBukkit
By: sk89q <the.sk89q@gmail.com>
2011-06-09 22:38:44 -07:00
CraftBukkit/Spigot
34135216d9 implementations of the playSound methods
By: sunkid <sunkid@iminurnetz.com>
2011-06-09 12:37:27 -07:00
CraftBukkit/Spigot
747d1962ab Added method to create an explosion in world. Thanks Zaraza107!
By: EvilSeph <evilseph@unaligned.org>
2011-06-09 04:17:19 -04:00
CraftBukkit/Spigot
0965fddfe3 Added EntityTame event. Thanks halvors!
By: EvilSeph <evilseph@unaligned.org>
2011-06-09 04:03:15 -04:00
CraftBukkit/Spigot
114ebd7a74 Added UniqueId to entities. Thanks Afforess!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 04:21:33 -04:00
CraftBukkit/Spigot
08d7a5ecb0 Added ChunkSnapshot for efficient, thread-safe copies of Chunk data. Thanks mikeprimm!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 03:34:23 -04:00
CraftBukkit/Spigot
c9032d99bb Implemented unloadWorld(). Thanks Rigby!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 02:54:14 -04:00
CraftBukkit/Spigot
b686823bc0 Fix for generator stuff now being class
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-06 21:12:03 +01:00
CraftBukkit/Spigot
6777cdd241 Implemented custom chunk generators and block populators
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-06 14:52:02 +01:00
CraftBukkit/Spigot
f9895d3ca5 Possible fix for some chunk loading issues experienced when teleporting. Thanks akrieger!
By: EvilSeph <evilseph@unaligned.org>
2011-06-05 12:38:56 -04:00
CraftBukkit/Spigot
88299f417b fixed environments
By: Tahg <tahgtahv@gmail.com>
2011-06-03 18:35:05 -04:00
CraftBukkit/Spigot
d20f1b7bdc fixed cross world teleport
By: Tahg <tahgtahv@gmail.com>
2011-06-01 18:35:57 -04:00
CraftBukkit/Spigot
900268f301 More multiworld fixes
By: Tahg <tahgtahv@gmail.com>
2011-05-31 13:04:52 -04:00
CraftBukkit/Spigot
f456b6d57b Update for 1.6.6
By: Erik Broes <erikbroes@grum.nl>
2011-05-31 15:55:45 +02:00
CraftBukkit/Spigot
9a94449dbf Update for 1.6.5
By: Erik Broes <erikbroes@grum.nl>
2011-05-28 22:50:08 +02:00
CraftBukkit/Spigot
95eebbac72 Fixed a bunch of multiworld issues (entity tracking etc)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-26 22:15:27 +01:00
CraftBukkit/Spigot
7cf235f516 Version fix
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-26 15:21:54 +01:00
CraftBukkit/Spigot
357ad0717b Update for 1.6.4
By: Erik Broes <erikbroes@grum.nl>
2011-05-26 16:20:11 +02:00
CraftBukkit/Spigot
32a18304a8 Update for 1.6.3
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-26 14:28:58 +01:00
CraftBukkit/Spigot
dda3416326 Implemented 1.6!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-26 13:48:22 +01:00
CraftBukkit/Spigot
31ed3023b5 Fixed animals not spawning when spawn-monsters is set to false.
By: EvilSeph <evilseph@unaligned.org>
2011-05-22 15:29:55 -04:00
CraftBukkit/Spigot
76ba24db30 Fixed duplicate console and player messages when built in server commands where used or an unknown command was issued
By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-22 20:24:44 +01:00
CraftBukkit/Spigot
e03c45c1ec Adds update chunk method for sending fake chunk updates to the client. This is to match the sendBlockChange method.
By: raphfrk <raphfrk@gmail.com>
2011-05-21 20:27:34 +01:00
CraftBukkit/Spigot
e48a127bc2 Portal changes.
By: Tahg <tahgtahv@gmail.com>
2011-06-08 13:40:40 -04:00
CraftBukkit/Spigot
6d2aad732e Fixed nether's identity crises
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-07 19:25:44 +01:00
CraftBukkit/Spigot
5f5de88a00 Possible fix for -nojline printing blank lines
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-19 21:46:47 +01:00
CraftBukkit/Spigot
e1a2b1f90a Fixed -nojline.
By: EvilSeph <evilseph@unaligned.org>
2011-05-19 14:15:13 -04:00
CraftBukkit/Spigot
b16f6c647f 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 '>'.

By: EvilSeph <evilseph@unaligned.org>
2011-05-18 15:23:27 -04:00
CraftBukkit/Spigot
27618da8f3 Added get/setLastDamageCause. Thanks sunkid!
By: EvilSeph <evilseph@unaligned.org>
2011-05-16 00:26:22 -04:00
CraftBukkit/Spigot
455065ef94 Made setHealth(0) trigger EntityDeathEvent and drops. Thanks yetanotherx!
By: EvilSeph <evilseph@unaligned.org>
2011-05-15 22:16:46 -04:00
CraftBukkit/Spigot
776b9efd3e Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-05-14 16:29:42 +02:00
CraftBukkit/Spigot
045c14c210 Edited src/main/java/org/bukkit/craftbukkit/entity/CraftPig.java via GitHub
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-05-11 17:42:42 -07:00
CraftBukkit/Spigot
7391f7871f Merge pull request #268 from xPaw/master
Implemented hasSaddle/setSaddle

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-05-11 17:40:13 -07:00
CraftBukkit/Spigot
bf5e68b18b Added World.strikeLightningEffect() that does no damage.
By: sk89q <the.sk89q@gmail.com>
2011-05-06 19:25:44 -07:00
CraftBukkit/Spigot
4023a32a54 Added an update on load feature for plugins. Thanks Raphfrk!
Any files placed in the configurable update folder are automatically copied into the plugins directory the next time a reload happens. This allows safe updating of the plugin .jar files. The name of the update folder is configurable through bukkit.yml.

By: EvilSeph <evilseph@unaligned.org>
2011-05-05 16:57:22 -04:00
CraftBukkit/Spigot
c06f71942e Made teleporting between worlds 'smoother'. Thanks Raphfrk!
By: EvilSeph <evilseph@unaligned.org>
2011-05-04 22:16:26 -04:00
CraftBukkit/Spigot
8dcebbc6fd Added services manager framework.
By: sk89q <the.sk89q@gmail.com>
2011-05-02 11:31:02 -07:00
CraftBukkit/Spigot
8af1fd6017 Added method to fake a block change request for a player.
By: sk89q <the.sk89q@gmail.com>
2011-05-02 01:51:53 -07:00
CraftBukkit/Spigot
e6d2bd6b5e Added Player.playNote().
By: sk89q <the.sk89q@gmail.com>
2011-05-02 01:29:45 -07:00
CraftBukkit/Spigot
5a16cb501e Added NoteBlock.play(instrument, note).
By: sk89q <the.sk89q@gmail.com>
2011-05-02 01:20:15 -07:00
CraftBukkit/Spigot
1d515d9a86 AnimalTamer implementations, refactor and clean-up of code
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-05-03 00:46:38 +10:00
CraftBukkit/Spigot
57f89d4651 Added hasSaddle/getSaddle
By: xPaw <xpaw@mail.ru>
2011-04-26 07:29:25 -07:00
CraftBukkit/Spigot
726a64db9c Fixed the fix of Creeper.setPowered
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 18:55:20 +01:00
CraftBukkit/Spigot
7b2076bf67 Fixed creeper.setPowered
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 18:41:47 +01:00
CraftBukkit/Spigot
b06922ac07 Implemented Weather and WeatherStorm
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 16:51:58 +01:00
CraftBukkit/Spigot
3e7cc3c7b5 Implemented Creeper.is/setPowered
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 16:15:44 +01:00
CraftBukkit/Spigot
35621b2667 Java compat
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 15:43:09 +01:00
CraftBukkit/Spigot
c955a4d5d4 Update for 1.5_02.
By: Erik Broes <erikbroes@grum.nl>
2011-04-20 22:47:26 +02:00
CraftBukkit/Spigot
dfa9522464 Reapplying changes lost with our new system in CraftInventory and CraftInventoryPlayer.
By: EvilSeph <evilseph@unaligned.org>
2011-04-21 00:24:27 -04:00
CraftBukkit/Spigot
02c5d21f7f Oops don't break the pom.xml
By: Erik Broes <erikbroes@grum.nl>
2011-04-20 19:11:22 +02:00
CraftBukkit/Spigot
070c214267 Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break.
By: Erik Broes <erikbroes@grum.nl>
2011-04-20 19:05:14 +02:00
CraftBukkit/Spigot
91e69e54b4 Don't want the scheduler taking invalid arguments as well.
By: sk89q <the.sk89q@gmail.com>
2011-04-18 23:52:19 -07:00
CraftBukkit/Spigot
c4d411e2bf Fixed CraftScheduler to catch exceptions thrown by tasks, rather than crash the server.
By: sk89q <the.sk89q@gmail.com>
2011-04-18 23:47:49 -07:00
CraftBukkit/Spigot
5382906706 The @Override annotation should only be used when overriding a method.
Not when implementing an interface.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-04-14 12:58:04 +10:00
CraftBukkit/Spigot
81df3f5812 Made fauxSleeping persist on death and cross-world teleport.
By: sk89q <the.sk89q@gmail.com>
2011-04-11 17:10:17 -07:00
CraftBukkit/Spigot
8eff7522ff Fixin' the problem of AFK people not in bed.
By: sk89q <the.sk89q@gmail.com>
2011-04-11 11:48:31 -07:00
CraftBukkit/Spigot
7ad3f8b835 Fix isSitting()/setSitting(), add isTame()/setTame()/getOwner()/setOwner() methods
By: Mike Primm <mike@primmhome.com>
2011-04-08 09:33:03 -05:00
CraftBukkit/Spigot
45474ceb10 We build for Java 1.5, so no @Override for interface implementations
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-05-02 23:55:18 +10:00
CraftBukkit/Spigot
7bbe446bd6 Improved the Scheduler.
Adds nag message when async tasks are not properly shut down and adds a limiter for sync tasks. Once they use 35ms in a single tick, any remaining tasks are not executed until later ticks. Adds a method to report the pending tasks and one to report active worker threads

By: Raphfrk <raphfrk@gmail.com>
2011-04-28 20:10:39 +01:00
CraftBukkit/Spigot
421600527f Added a setArmorContents method to PlayerInventory.
It handles error checking.  Null item stacks and air item stacks are both converted to clear slot calls to prevent crashing the client.

By: Raphfrk <raphfrk@gmail.com>
2011-04-29 00:26:04 +01:00
CraftBukkit/Spigot
4ae1ef6d1d Added per world PVP setting support.
By: Rigby <rigby@onarandombox.com>
2011-04-29 23:34:37 +01:00
CraftBukkit/Spigot
c1e9a053fb Implemented addRecipe method in CraftServer and associated recipe classes.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-04-15 22:11:13 -04:00
CraftBukkit/Spigot
2980396ae5 Added events related to weather in 1.5. Thanks wizjany!
By: EvilSeph <evilseph@unaligned.org>
2011-04-25 19:47:25 -04:00
CraftBukkit/Spigot
18394a8207 Added the ability to retrieve a world's Seed.
By: Rigby <rigby@onarandombox.com>
2011-04-23 17:57:25 +01:00
CraftBukkit/Spigot
e5a4f1c9cc Fix TextWrapping issues; Now limits the packets send to the client to either: 119 chars or 320 width. This will strip disallowed characters, propagate colors properly to the next line and not 'eat' multiple color-codes.
By: Erik Broes <erikbroes@grum.nl>
2011-04-25 18:14:06 +02:00
CraftBukkit/Spigot
3415ecea14 Updated README for lineending demands
By: Erik Broes <erikbroes@grum.nl>
2011-04-25 12:51:53 +02:00
CraftBukkit/Spigot
42fedb41a8 Add methods to control thunder.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 03:13:21 -07:00
CraftBukkit/Spigot
8f0c812b0a Added weather control methods.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 02:18:13 -07:00
CraftBukkit/Spigot
fbd280daa2 Added World.strikeLightning(). Also renamed WeatherStorm -> LightningStrike.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 01:25:55 -07:00
CraftBukkit/Spigot
adf7ef5ccd Changed Block.setTypeId() back to old behavior before the new translation process.
By: sk89q <the.sk89q@gmail.com>
2011-04-21 23:28:58 -07:00
CraftBukkit/Spigot
5a413e5deb Implemented stats/achievement giving
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 20:57:09 +01:00
CraftBukkit/Spigot
6c3edc4921 Made reload support allow-flight.
By: EvilSeph <evilseph@unaligned.org>
2011-04-21 15:40:22 -04:00
CraftBukkit/Spigot
2ddf5d1504 Made what should be the last change missed in translation that might cause chunk issues.
By: EvilSeph <evilseph@unaligned.org>
2011-04-07 19:51:29 -04:00
CraftBukkit/Spigot
a726b7db68 And Bukkit only provide avaje.ebean, oops :D
By: Erik Broes <erikbroes@grum.nl>
2011-04-08 00:21:55 +02:00
CraftBukkit/Spigot
440da13883 Prevent maven shade-duplication spam where not needed
By: Erik Broes <erikbroes@grum.nl>
2011-04-08 00:19:41 +02:00
CraftBukkit/Spigot
07082e80ca Added bed events and methods.
By: sk89q <the.sk89q@gmail.com>
2011-04-07 11:26:51 -07:00
CraftBukkit/Spigot
1486672b8a Fixed firstEmpty() by making it search for the first null instead of Material.AIR.
By: EvilSeph <evilseph@unaligned.org>
2011-04-07 13:06:55 -04:00
CraftBukkit/Spigot
498de23ae2 Made another change that was missed in translation that might cause chunk issues. This should address one of the chunk issues experienced when teleporting.
By: alron <alron@bloodmagic.com>
2011-04-06 02:29:14 -07:00
CraftBukkit/Spigot
67a1520bb5 Fixed Compile error
By: Tahg <tahgtahv@gmail.com>
2011-04-06 21:51:20 -04:00
CraftBukkit/Spigot
8a6f57b746 Fixed some NPE issues caused by previous commit
By: Tahg <tahgtahv@gmail.com>
2011-04-06 21:34:50 -04:00
CraftBukkit/Spigot
fd1e6156c0 Fixed stupidity in CraftInventory return types
By: Tahg <tahgtahv@gmail.com>
2011-04-06 13:20:50 -04:00
CraftBukkit/Spigot
39b417df5d getContents now returns null for items whose underlying item is null
By: Tahg <tahgtahv@gmail.com>
2011-04-06 12:45:03 -04:00
CraftBukkit/Spigot
ce4ef77ead Restored .gitignore
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-05 16:46:36 +01:00
CraftBukkit/Spigot
65201e75c6 Added prerequisite org.avaje.ebean 2.7.3 to pom.xml
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-05 16:42:40 +01:00
CraftBukkit/Spigot
b09f01d4f7 added some API for entities
By: Tahg <tahgtahv@gmail.com>
2011-04-04 00:48:40 -04:00
CraftBukkit/Spigot
cebf24179e Added player.saveData and player.loadData.
By: afforess <afforess@gmail.com>
2011-04-03 11:40:08 -04:00
CraftBukkit/Spigot
4ac4aa674c Prevent junit:junit from being packaged as its not needed to run
By: Erik Broes <erikbroes@grum.nl>
2011-04-03 11:21:40 +02:00
CraftBukkit/Spigot
b2456309ff Fix chunk.getEntities
By: Erik Broes <erikbroes@grum.nl>
2011-04-02 17:56:06 +02:00
CraftBukkit/Spigot
7dc8bdfeaa Implemented entity.getNearbyEntities()
By: Stephen <stephen@jazer.com>
2011-03-27 19:50:43 -04:00
CraftBukkit/Spigot
7b406bfc1e implementation of Entity.isDead
By: afforess <afforess@gmail.com>
2011-04-02 01:08:57 -04:00
CraftBukkit/Spigot
f8292a5eb6 Forces clients to update to the new time immediately when setTime or setFullTime is called.
By: afforess <afforess@gmail.com>
2011-04-02 04:04:57 -04:00
CraftBukkit/Spigot
3547e8a410 Implemented the new SpawnChangeEvent in CraftWorld.setSpawnLocation()
By: William Bowers <william.bowers@gmail.com>
2011-03-29 02:04:42 -07:00
CraftBukkit/Spigot
7deee386c8 Changed default database location to {NAME}.db instead of database.db
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-01 16:52:00 +01:00
CraftBukkit/Spigot
57d84a1582 Added mysql dep
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-01 16:00:34 +01:00
CraftBukkit/Spigot
959d335a0e Implemented ebeans
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 02:35:08 +01:00
CraftBukkit/Spigot
16a666c20e Made Server a singleton
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-30 14:55:42 +01:00
CraftBukkit/Spigot
ba7e83927e Fix Entity.setVelocity
By: Erik Broes <erikbroes@grum.nl>
2011-04-01 12:28:55 +02:00
CraftBukkit/Spigot
26be6db6d5 Fix world.getFullTime()
By: Erik Broes <erikbroes@grum.nl>
2011-04-01 09:24:42 +02:00
CraftBukkit/Spigot
f3fe2a426c Capture errors in plugins onLoad
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 22:33:06 +01:00
CraftBukkit/Spigot
57fa7c0118 Implemented Wolf
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 22:10:48 +01:00
CraftBukkit/Spigot
adcc9c9ddf Updated to Minecraft version 1.4
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 21:40:00 +01:00
CraftBukkit/Spigot
3669bb0d8b CreatureSpawnEvent: Fix forgotten inheritance with CreatureType
By: Erik Broes <erikbroes@grum.nl>
2011-03-30 08:51:42 +02:00
CraftBukkit/Spigot
2fddd09aea world.spawnCreature cast fix
By: Erik Broes <erikbroes@grum.nl>
2011-03-30 00:40:46 +02:00
CraftBukkit/Spigot
58ba4e379d Add MONSTER to CreatureSpawnEvent
By: Erik Broes <erikbroes@grum.nl>
2011-03-29 23:18:48 +02:00
CraftBukkit/Spigot
0258613d15 Move passenger-handling to CraftEntity
By: Erik Broes <erikbroes@grum.nl>
2011-03-29 23:06:53 +02:00
CraftBukkit/Spigot
eb1386fbbb RegisterInterface reload bug fix
By: Stephen <stephen@jazer.com>
2011-03-07 13:58:19 -05:00
CraftBukkit/Spigot
44f7dca0de Ctrl+C saves world before stopping
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-29 21:01:04 +01:00
CraftBukkit/Spigot
6f8ecc04e5 Moved WORLD_LOAD event to after world is actually loaded
By: Drakia <Contact@TheDgtl.net>
2011-03-26 20:50:52 -07:00
CraftBukkit/Spigot
fe15903b22 Line endings, damnit!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-27 20:57:46 +01:00
CraftBukkit/Spigot
6f8786f02e Fix some wrong event creations after previous change
By: Erik Broes <erikbroes@grum.nl>
2011-03-26 23:20:35 +01:00