Interface StatsMenuProvider
- All Superinterfaces:
MenuProvider
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidOpens the stats menu for the specified player, allowing them to view the statistics of a given target player.voidOpens the stats menu, allowing the player to view the statistics of a specific target player.
-
Method Details
-
open
Opens the stats menu for the specified player, allowing them to view the statistics of a given target player.If the provided arguments are invalid (missing or incorrect type), an exception will be thrown.
- Specified by:
openin interfaceMenuProvider- Parameters:
player- The player opening the stats menu.args- The arguments passed to the provider (should include a String target).- Throws:
UnsupportedOperationException- if arguments are not valid (missing target string).
-
open
Opens the stats menu, allowing the player to view the statistics of a specific target player.- Parameters:
player- The player opening the stats menu.target- The target player's statistics to be displayed.
-