Commit graph

586 commits

Author SHA1 Message Date
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
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