13
0
geforkt von Mirrors/Paper

74 Commits

Autor SHA1 Nachricht Datum
Bukkit/Spigot
1321866724 Add isHardcore API to check if the server is in hardcore mode or not. Adds BUKKIT-2707
By: EvilSeph <evilseph@gmail.com>
2012-10-29 01:45:08 -04:00
Bukkit/Spigot
cef9873c0c Add Warning API and settings for Deprecated events
By: Wesley Wolfe <weswolf@aol.com>
2012-08-07 00:16:57 -05:00
Bukkit/Spigot
ef912f9658 Implement server.getMotd() for BUKKIT-1799
By: feildmaster <admin@feildmaster.com>
2012-07-03 17:39:12 -05:00
Bukkit/Spigot
ad7045596d Support asynchronous events; Addresses BUKKIT-1212
By: Wesley Wolfe <weswolf@aol.com>
2012-06-13 21:28:13 -05:00
Bukkit/Spigot
03af91781c Javadoc updates
Fixes BUKKIT-1653, Fixes BUKKIT-1383 and Fixes BUKKIT-1644

By: feildmaster <admin@feildmaster.com>
2012-06-03 05:40:54 -05:00
Bukkit/Spigot
05da0754c2 Add API for managing mob spawn limits per-world. Fixes BUKKIT-1565
By: Travis Watkins <amaranth@ubuntu.com>
2012-04-23 19:25:11 -05:00
Bukkit/Spigot
263b512e51 Added configurable Connection Throttle. Addresses BUKKIT-1274
By: EvilSeph <evilseph@gmail.com>
2012-03-22 08:02:38 -04:00
Bukkit/Spigot
a4ec97483e [Bleeding] Add getWorldType() and getGenerateStructures() methods to Bukkit and Server. Fixes BUKKIT-855
By: Mike Primm <mike@primmhome.com>
2012-03-10 01:27:38 -06:00
Bukkit/Spigot
10cd1cbb5c [Bleeding] Added Help API. Addresses BUKKIT-863
By: rmichela <deltahat@gmail.com>
2012-03-01 00:07:05 -05:00
Bukkit/Spigot
795a61bbeb Fix javadoc errors/warnings
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 10:35:17 -05:00
Bukkit/Spigot
c180de46e2 [Bleeding] Inventory framework and events. Addresses BUKKIT-856
New events:
- InventoryOpenEvent
- InventoryClickEvent - detects any clicks on a slot or outside the window
  - In the creative inventory view, only clicks on the quickbar are detected
- InventoryCloseEvent
- BrewEvent - when a potion finishes brewing
- CraftItemEvent (a subevent of InventoryClickEvent) - fired when taking the crafted item
- PrepareItemCraftEvent - fired just before updating the result slot
Changes to existing events:
- EnchantItemEvent extends InventoryEvent and also has a new whichButton() method
- PrepareItemEnchantEvent also extends InventoryEvent
- FurnaceBurnEvent and FurnaceSmeltEvent now extend BlockEvent (as does BrewEvent)
- PlayerInventoryEvent is deprecated (though it never did anything anyway)
New subclasses of Inventory:
- BrewerInventory
- CraftingInventory
- DoubleChestInventory
- EnchantingInventory
- FurnaceInventory
New methods in Inventory:
- getViewers()
- getTitle()
- getType()
- getHolder()
- iterator() - Yes, inventories are now iterable!
  - The iterator is a ListIterator that does not support add or remove
New methods in Player:
- getOpenInventory()
- openInventory()
- openWorkbench()
- openEnchanting()
- closeInventory()
- setWindowProperty()
- getItemOnCursor()
- setItemOnCursor()
Other changes:
- createInventory() methods in Server to make inventories not linked to an object
- ContainerBlock is deprecated in favour of InventoryHolder
- New InventoryView class gives direct access to an inventory window!
- Removed the Slot class which did nothing and was used nowhere

Some small credit goes to Afforess (initial conception of openInventory() methods) and Drakia (initial conception of InventoryOpenEvent and InventoryCloseEvent).

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-29 13:32:33 -05:00
Bukkit/Spigot
07ccb2a000 [Bleeding] Add ways to retrieve and delete crafting recipes and fixed some issues with the existing recipe API.
- New recipe iterator which enables deleting specific recipes
- Functions to delete all recipes or revert to vanilla recipe set
- Fixed the recipes API; you should now be able to define recipes that take brewed potions!
- Fetch all recipes that result in a specific item

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-07-23 23:18:58 -04:00
Bukkit/Spigot
75fd934339 Deprecation cleanup.
By: Erik Broes <erikbroes@grum.nl>
2012-01-30 21:32:48 +01:00
Bukkit/Spigot
af8929507e Added configurable animal and monster ticks per spawn setting.
By: EvilSeph <evilseph@gmail.com>
2012-02-10 10:23:21 -05:00
Bukkit/Spigot
bab651a1bb Fixed comment from earlier commit.
By: EvilSeph <evilseph@gmail.com>
2012-01-29 13:10:51 -05:00
Bukkit/Spigot
378815c162 Added useExactLoginLocation(). Closes BUKKIT-145
useExactLoginLocation() looks for settings.use-exact-login-location within bukkit.yml.

If true, we will bypass Vanilla's behaviour of checking for collisions and moving the player if needed when they login.

If false, we will continue to follow Vanilla's behaviour and move players that 'collide' with objects when they login.

By: EvilSeph <evilseph@gmail.com>
2012-01-29 06:33:50 -05:00
Bukkit/Spigot
4c80a49933 Generic cleaning
By: Erik Broes <erikbroes@grum.nl>
2012-01-15 14:37:30 +01:00
Bukkit/Spigot
48ecb11c09 Implemented new Plugin Message API - see http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-13 08:51:10 +00:00
Bukkit/Spigot
aaab1cba23 Generic cleanup of warnings, whitespace and style.
By: Erik Broes <erikbroes@grum.nl>
2011-12-25 16:02:30 +01:00
Bukkit/Spigot
2a9dad1626 Add Bukkit.getAllowEnd(). Thanks codename-B!
By: Erik Broes <erikbroes@grum.nl>
2011-12-09 18:50:49 +01:00
Bukkit/Spigot
56b92a4f45 Added method to retrieve all players on a server, online or offline
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 17:56:41 +00:00
Bukkit/Spigot
409c447cbd Added world.getWorldFolder, server.getWorldContainer
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-25 03:46:47 +00:00
Bukkit/Spigot
51b8a856bb Added getBukkitVersion to Server
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-31 04:01:56 +00:00
Bukkit/Spigot
3ea8302a86 Added Difficulty API.
By: EvilSeph <evilseph@gmail.com>
2011-10-03 01:25:39 -04:00
Bukkit/Spigot
0d3e401580 Added Server.getOperators to return all server operators
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:27:44 +01:00
Bukkit/Spigot
a8e72bdb91 Many javadoc fixes thanks to Celtic Minstrel
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 02:56:40 +01:00
Bukkit/Spigot
fd48f02fc3 Adds a method that returns the File representation of the update folder. The previous method just returns the filename and doesn't provide the path
By: raphfrk <raphfrk@gmail.com>
2011-08-14 05:34:15 +01:00
Bukkit/Spigot
530662e3b6 Deprecated Server.createWorld() methods, use "WorldCreator.name(x).seed(1234).createWorld()" now
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:04:43 +01:00
Bukkit/Spigot
9549d7be86 Added server.getConsoleSender, blocked access to create a ConsoleCommandSender
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-24 23:11:01 +01:00
Bukkit/Spigot
a3154f3ffc Added GameMode methods to Server and HumanEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-09 01:15:37 +01:00
Bukkit/Spigot
715dcf90c8 Moved all vanilla commands into Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 04:37:23 +01:00
Bukkit/Spigot
93040c71de Added new methods to Server, Player and OfflinePlayer for banning and unbanning
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 02:13:37 +01:00
Bukkit/Spigot
6d43d89f5e Added 3 methods to Server for IP banning and unbanning
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 01:59:08 +01:00
Bukkit/Spigot
498e63dbfa Added the ability to access offline players & more reverse lookup fixes in Permissible.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 00:41:22 +01:00
Bukkit/Spigot
2ba705febc Added new Server.broadcast method to broadcast to specific groups of users, including non-players
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 22:21:26 +01:00
Bukkit/Spigot
49a3d46b46 Added method to shutdown the server
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 20:18:10 +01:00
Bukkit/Spigot
90cd1c8c9b Revert "Interface for changing the view distance."
By: EvilSeph <evilseph@gmail.com>
2011-08-15 14:26:42 -04:00
Bukkit/Spigot
741f5e69ae Interface for changing the view distance.
Can be changed server wide, per world and per player.
Only server wide changes are kept between server restarts.

Setting the server or world view distance should fail if the
view distance is not between 3 and 15

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-08-12 00:19:52 +10:00
Bukkit/Spigot
cd7da9630a Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested!
By: EvilSeph <evilseph@gmail.com>
2011-08-12 21:59:10 -04:00
Bukkit/Spigot
52e317ee5e Added "getViewDistance()", "getAllowNether()", "hasWhitelist()" and "getAllowFlight()". Thanks robin0van0der0v!
By: EvilSeph <evilseph@gmail.com>
2011-08-07 20:24:43 -04:00
Bukkit/Spigot
fa0ea3b75c uuid changes
By: Tahg <tahgtahv@gmail.com>
2011-07-13 00:15:47 -04:00
Bukkit/Spigot
52c737b3c1 Implements World UID.
By: Rigby <rigby@onarandombox.com>
2011-07-05 04:49:03 +01:00
Bukkit/Spigot
244635242e The server config can now specify aliases to multiple (or none) commands, for example "debug: [version, plugin]" to run both version and plugin, or "plugins: []" to disable the plugins command
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-22 19:07:07 +01:00
Bukkit/Spigot
250810823d Added getOnlineMode() for the Server. Thanks Rigby!
By: EvilSeph <evilseph@unaligned.org>
2011-06-19 06:13:28 -04:00
Bukkit/Spigot
93406ae5d2 Added set/getSpawnRadius in Server
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-17 04:49:21 +01:00
Bukkit/Spigot
b02e6095bd Server administrators can now specify custom aliases in bukkit.yml which override any aliases set by plugins.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-17 04:07:17 +01:00
Bukkit/Spigot
516d253953 Implemented WorldUnloadEvent and unloadWorld().
By: Rigby <rigby@onarandombox.com>
2011-06-04 06:46:21 +01:00
Bukkit/Spigot
6ad28ba607 Added custom world generator API
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-06 13:23:30 +01:00
Bukkit/Spigot
855f4133b6 Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-05-14 23:22:54 +02:00
Bukkit/Spigot
d6f44121b1 Added support for an update on load feature for plugins. Thanks Raphfrk!
Any files placed in the new (optional) update folder are automatically copied into the plugins directory the next time a reload happens. This allows safe updating of the plugin .jar files.

By: EvilSeph <evilseph@unaligned.org>
2011-05-05 16:52:50 -04:00