Commit Graph

212 Commits

Author SHA1 Message Date
Shane Bee 8e69d981fa Player - Expose player score (#12243) 2025-03-08 11:38:50 -08:00
David 6cfa2f7f31 [ci skip] Add missing nullability annotation to sendEquipmentChange method (#12112)
Marked ItemStack parameter as `@Nullable` to explicitly indicate it can be null. This improves clarity, avoids nullability problems, and aligns with the method's documented behavior for handling null values.
2025-02-14 18:39:44 +01:00
Jason Penilla 61312fdb59 Switch to jspecify annotations for Player (#12042)
Fixes compilation issues for plugins from recent API addition with double-annotated parameter (JetBrains annotations are type-use and parameter, so nonnull array of nonnull elements ends up with duplicates)
2025-02-08 20:57:35 +01:00
masmc05 3af5e77132 Add Player#give (#11995) 2025-01-26 21:19:00 +01:00
Creeam 336ea9dfeb Check for empty when sending equipment changes (#12008) 2025-01-25 20:04:47 +01:00
Jake Potrebic ca8709b30f Fix more incorrect array nullability annotations (#11836) 2024-12-27 22:24:16 +01:00
Pedro d568e175ee Port basic lookAt methods from Player to Entity (#11775) 2024-12-24 23:00:07 +01:00
Jake Potrebic 4cd3060ff8 Improve entity effect API 2024-09-27 17:12:50 -07:00
nostalfinals daebdc24e7 Added API to get player ha proxy address 2024-04-08 23:24:38 +08:00
Flo0 c6e1625d87 API for checking sent chunks 2024-04-08 16:22:07 +02:00
Lukas Planz 26ad0bb45b Add experience points API 2023-09-05 20:33:52 +02:00
booky10 2fccf1c185 Add player idle duration API
Implements API for getting and resetting a player's idle duration.
2023-10-14 03:11:11 +02:00
Corey Shupe 3273a33a46 Add Listing API for Player 2023-01-11 16:40:31 -05:00
Jake Potrebic 1ce71b513e Fix BanList API 2023-07-04 11:27:18 -07:00
Lama06 7e5c1f612a Win Screen API 2023-01-21 13:45:22 +01:00
TreyRuffy 2d4a6d3f7d Flying Fall Damage API 2022-05-27 02:25:38 -06:00
dawon 850e3c2ea1 Add Sneaking API for Entities 2022-10-19 23:36:42 +02:00
dawon 9ef7128806 Add Player Warden Warning API 2022-10-15 00:46:32 +02:00
SoSeDiK ad084f6684 Elder Guardian appearance API 2022-10-11 20:38:47 +03:00
Owen1212055 e88a306a8c Custom Chat Completion Suggestions API 2022-07-30 11:23:11 -04:00
Owen1212055 4eafd09fd9 More Teleport API 2021-09-05 00:36:05 -04:00
Brody Beckwith da77e72dce Multi Block Change API 2022-01-14 00:40:42 -05:00
Jake Potrebic 93e2ecfd49 Add PlayerKickEvent causes 2021-05-15 20:30:34 -07:00
Mariell Hoversholm 41efb5322e Add sendOpLevel API 2020-12-29 15:02:57 +01:00
Trigary a3a9180c51 Player elytra boost API 2020-04-14 12:06:14 +02:00
DigitalRegent 5df47beccf Brand support 2020-04-06 20:30:09 +02:00
MiniDigger | Martin 6143a7a97b Add Player Client Options API 2020-01-20 21:38:34 +01:00
Aikar 2825ece820 Fix Spigot annotation mistakes
while some of these may of been true, they are extreme cases and cause
a ton of noise to plugin developers.

Use ApiStatus.Internal instead of Deprecated for actual internal API
that continues to have use (internally).

These do not help plugin developers if they bring moise noise than value.
2019-03-24 18:39:01 -04:00
BillyGalbreath 9ccfc565ff Expose attack cooldown methods for Player 2018-09-04 15:01:54 -05:00
Aikar 92482f8e92 Add Ban Methods to Player Objects
Allows a more logical API for banning players.

player.banPlayer("Breaking the rules");
2018-04-28 10:28:50 -04:00
Mark Vainomaa a97f03a018 Add openSign method to HumanEntity 2018-04-01 02:28:43 +03:00
Aikar 4447307899 Player.setPlayerProfile API
This can be useful for changing name or skins after a player has logged in.
2018-03-18 12:28:55 -04:00
Aikar 8bfc474fb4 Ability to apply mending to XP API
This allows plugins that give players the ability to apply the experience
points to the Item Mending formula, which will repair an item instead
of giving the player experience points.

Both an API To standalone mend, and apply mending logic to .giveExp has been added.
2017-12-20 17:38:07 -05:00
Minecrell 5de53af38b Expose client protocol version and virtual host
Add a NetworkClient interface that provides access to:
  - The socket address
  - The protocol version
  - The virtual host (the hostname/port the client used to connect
    to the server)
2017-10-10 18:44:42 +02:00
Zach Brown 0c37d20354 Fix upstream javadocs 2017-06-10 16:59:40 -05:00
Aikar e5e56e1ee1 Add String based Action Bar API 2016-12-20 15:55:55 -05:00
Jedediah Smith ecfabc25c7 Complete resource pack API 2015-04-04 22:59:54 -04:00
Techcable b8f6338201 Player Tab List and Title APIs
Co-authored-by: Fruxz <cedricspitzer@outlook.de>
2016-02-29 20:02:40 -06:00
Zach Brown b007bb8264 Graduate bungeecord chat API from spigot subclasses
Change Javadoc to be accurate
2016-02-29 19:54:32 -06:00
Byteflux 5fe2709f4c Add view distance API
Add per player no-tick, tick, and send view distances.

Also add send/no-tick view distance to World.
2016-02-29 18:05:37 -06:00
Jedediah Smith 978feffa80 Player affects spawning API 2016-02-29 17:22:34 -06:00
Aikar d4d8262f6e Timings v2
TODO: Add #isStopping to FullServerTickHandler#stopTiming in patch 191
expose isRunning
2016-02-29 18:48:17 -06:00
Riley Park 15081a5912 Adventure
Co-authored-by: zml <zml@stellardrift.ca>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Yannick Lamprecht <yannicklamprecht@live.de>
2021-01-29 17:21:55 +01:00
Bukkit/Spigot 28e80d52a4 BungeeCord Chat API
By: md_5 <git@md-5.net>
2014-12-13 02:59:14 +01:00
Bukkit/Spigot 666a89b3e3 Add support for fetching hidden players
By: Tux <write@imaginarycode.com>
2014-02-09 14:02:11 -05:00
Bukkit/Spigot 84ac5b3cf2 Add respawn API.
By: ninja- <xninja@openmailbox.org>
2013-10-08 14:35:58 +02:00
Bukkit/Spigot 43633a43a9 BungeeCord Support
By: md_5 <git@md-5.net>
2013-06-02 15:20:49 +10:00
Bukkit/Spigot 8de3a6a15d Skeleton API Implementations
By: md_5 <git@md-5.net>
2017-05-15 15:16:15 +10:00
Bukkit/Spigot 0023e5549a #1082: Add "since" to Deprecation annotations
By: DerFrZocker <derrieple@gmail.com>
2024-11-25 07:52:33 +11:00
Bukkit/Spigot c5deb83324 #1078: Improve Javadocs of Player#loadData() and Player#saveData()
By: Jan Boerman <jannyboy11@gmail.com>
2024-11-09 16:53:30 +11:00