Commit graph

2712 commits

Author SHA1 Message Date
blablubbabc
e167e549af Clarify MerchantInventory#getSelectedRecipe. 2019-02-21 03:21:47 +01:00
blablubbabc
3a1d5b8f81 Apply default permissions by registration order.
When permissibles recalculate their permissions they set the default permission values in the order as the default permissions are provided by the plugin manager.

This order is currently arbitrary and can even change depending on the number of buckets of the underlying hashset which stores those default permissions.

When a plugin defines default permissions inside its plugin.yml (eg. permission 'A' with default value 'true') and a server admin defines different default values for these permissions inside the permissions.yml (eg. permission 'myDefaultPerms' with default value 'true' and with child 'A' set to 'false'), then the outcome will depend on the order in which those default permissions (and their childs) get evaluated inside PermissableBase#recalculatePermissions().
The permission which gets processed last will overwrite the permission value of 'A' according to its definition. Since this order is arbitrary and inconsistent, the server admin will experience weird behavior with his defined default permissions sometimes working and sometimes not.
2019-02-18 10:00:22 +11:00
Matthew Miller
c64cc93f20 Make tags Keyed 2019-02-17 16:18:46 +11:00
Matthew Miller
ec037ed711 Added a method to get a list of tags 2019-02-17 16:18:46 +11:00
Bjarne Koll
bfb6ef8681 Introduce rotation methods to the Vector class 2019-02-17 15:01:32 +11:00
md_5
fc727372d6 Remove draft API from FluidLevelChangeEvent 2019-02-16 18:02:41 +11:00
bermudalocket
a88873890d Make AreaEffectCloudApplyEvent cancellable 2019-02-06 23:19:04 -05:00
md_5
43b46cbdc5 SPIGOT-4608: Improve quality of MapMeta APIs 2019-02-05 21:28:09 +11:00
md_5
bb813f6f69 SPIGOT-4605: Warn against hacking physics 2019-02-02 11:09:03 +11:00
md_5
3108e64a6a SPIGOT-4193: API for selecting entities by strings 2019-01-31 15:08:12 +11:00
md_5
d58803c2b6 SPIGOT-4597: Make BlockDropItemEvent use a list 2019-01-30 11:19:51 +11:00
md_5
d450fdf1f1 Add note about Maven repository usage to pom.xml 2019-01-29 10:01:15 +11:00
md_5
60268ac8be Recipe choice lists should be copied once handed over to Bukkit 2019-01-25 14:04:38 +11:00
md_5
7ab335f242 Consistent multiple choice APIs for RecipeChoice. 2019-01-25 13:58:30 +11:00
Bjarne Koll
2b6f3d7f79 SPIGOT-4586: Change PotionEffectType#value to not include null
As the PotionEffectType class is containing a bunch of constant values
the values method now fits the general idea of the Enum#values method as
it no longer returns a null object at index 0
2019-01-25 10:50:02 +11:00
md_5
d38ac1bef4 Update compiler 2019-01-23 12:41:26 +11:00
md_5
2844ce2038 Add CookTimeTotal API to Furnace 2019-01-23 10:26:35 +11:00
Brokkonaut
c64197df52 SPIGOT-4584: Call events for hatching turtle eggs 2019-01-18 02:57:27 +01:00
md_5
f54588bdfb Add some missing vanilla tags 2019-01-17 13:44:27 +11:00
md_5
dacf8f8d53 Fix stray asterisk in BukkitScheduler javadocs 2019-01-16 12:24:15 +11:00
md_5
18cda9366d Fix variant of unloadChunkRequest that was incorrectly never deprecated 2019-01-14 21:01:38 +11:00
md_5
00763e1bc5 Deprecate some methods 2019-01-14 20:43:09 +11:00
md_5
35a83d54e6 SPIGOT-4572: Make default no permission message clearer 2019-01-14 10:07:31 +11:00
md_5
6163343da7 Fix some misplaced material enum entries 2019-01-13 10:59:44 +11:00
md_5
8736469c49 Fix typo in TechnicalPiston documentation 2019-01-13 10:16:32 +11:00
md_5
d4e8c8b3b3 SPIGOT-4570: Add FluidLevelChangeEvent 2019-01-08 21:23:05 +11:00
md_5
6de6ac4a8b BlockDropItemEvent should refer to getBlockState rather than getBlockData 2019-01-07 16:10:14 +11:00
md_5
2b555a7535 Fix BlockDropItemEvent for Skulls and Shulker Boxes 2019-01-07 13:57:28 +11:00
md_5
5b680f0b32 Note maximum objective score length in documentation 2019-01-05 16:21:07 +11:00
md_5
79f6ba259c Skip tests on default builds 2019-01-04 20:25:23 +11:00
md_5
b85cc32fcc Further discourage World.regenerateChunk 2019-01-03 15:45:16 +11:00
md_5
6ffe5a68d1 Add RecipeChoice.ExactChoice API for NBT matches on ingredients 2019-01-02 15:56:17 +11:00
md_5
ffccf6b7e9 SPIGOT-4560: Add HumanEntity.sleep and related APIs 2019-01-02 14:37:43 +11:00
md_5
7fca5fd456 SPIGOT-4558: Preserve user order in the face of copied defaults in configurations 2018-12-31 17:10:56 +11:00
md_5
15c9b1eb5a Ignore spurious slot IDs sent by client, e.g. in enchanting tables 2018-12-30 22:27:16 +11:00
md_5
5d2a10c5c5 SPIGOT-3747: Add API for force loaded chunks 2018-12-27 12:44:43 +11:00
md_5
d6dd2bb344 SPIGOT-3538: Add getHitBlockFace for ProjectileHitEvent 2018-12-27 12:19:29 +11:00
md_5
771db4aa6b SPIGOT-794: Call EntityPlaceEvent for Minecart placement 2018-12-27 10:45:59 +11:00
md_5
55462509c6 Add InventoryView#getSlotType 2018-12-26 10:44:42 +11:00
md_5
2f3ce5b66e Remove EntityTransformEvent and CustomItemTagContainer from draft API 2018-12-26 08:00:00 +11:00
md_5
f04ad7b601 Make ProjectileLaunchEvent extend EntitySpawnEvent 2018-12-26 08:00:00 +11:00
Andy Shulman
ccb85808d4 Define EntitySpawnEvent 2018-12-26 08:00:00 +11:00
md_5
b8cc3ebed4 Add PlayerItemDamageEvent 2018-12-26 08:00:00 +11:00
md_5
184a495dcb Ease ClassLoader Deadlocks Where Possible
With Java 7 we can register the classloader as parallel capable to prevent deadlocks caused by certain scenarios. Due to the nature of PluginClassLoader this isn't completely safe, but we can make it safer by switching to concurrency focused collections. Either way this is far better than crashing the server.
2018-12-26 08:00:00 +11:00
md_5
11ac4728cf Expand Boolean Prompt Values in Conversation API 2018-12-26 08:00:00 +11:00
Alex Bennett
aae62d51ac Added getAllSessionData() to the Conversation API. 2018-12-26 08:00:00 +11:00
md_5
9290ff91ef Add InventoryView#getInventory API 2018-12-26 08:00:00 +11:00
md_5
995e530fb1 Add API to get / set base arrow damage 2018-12-26 08:00:00 +11:00
md_5
0969eedc88 Clarify furnace burn time behaviour as per SPIGOT-844 2018-12-22 11:03:48 +11:00
md_5
16453bfddb SPIGOT-4503: Add API to insert complete ItemStack into Jukebox 2018-12-22 10:50:51 +11:00