Index

A C E F H I O P R S T U V W 
All Classes and Interfaces|All Packages

A

AsyncPlaceholderContext - Record Class in com.cotani.placeholder.api
Immutable context available to asynchronous placeholder handlers.
AsyncPlaceholderContext(UUID, UUID, Map) - Constructor for record class com.cotani.placeholder.api.AsyncPlaceholderContext
Creates an instance of a AsyncPlaceholderContext record class.
AsyncPlaceholderHandler - Interface in com.cotani.placeholder.api
Functional handler for asynchronous non-blocking placeholder evaluation.
author() - Method in interface com.cotani.placeholder.api.PlaceholderExpansion
Author of this expansion.

C

close() - Method in interface com.cotani.placeholder.api.PlaceholderService
 
com.cotani.placeholder - package com.cotani.placeholder
 
com.cotani.placeholder.api - package com.cotani.placeholder.api
 
CotaniPlaceholders - Class in com.cotani.placeholder
Entrypoint factory for the cotani-placeholder module.
create(Plugin) - Static method in class com.cotani.placeholder.CotaniPlaceholders
Creates and registers a new PlaceholderService for the given plugin.
create(Plugin, PaperTaskScheduler) - Static method in class com.cotani.placeholder.CotaniPlaceholders
Creates and registers a new PlaceholderService using the given scheduler.

E

empty() - Static method in record class com.cotani.placeholder.api.PlaceholderContext
Creates an empty placeholder context with no viewer or target.
equals(Object) - Method in record class com.cotani.placeholder.api.AsyncPlaceholderContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.cotani.placeholder.api.PlaceholderContext
Indicates whether some other object is "equal to" this one.
expansions() - Method in interface com.cotani.placeholder.api.PlaceholderService
Returns an unmodifiable set of all registered expansion identifiers.

F

findExpansion(String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Finds an expansion by its identifier.
from(PlaceholderContext) - Static method in record class com.cotani.placeholder.api.AsyncPlaceholderContext
Creates an async-safe view of a synchronous context.

H

handle(PlaceholderContext, String) - Method in interface com.cotani.placeholder.api.PlaceholderHandler
Handles and evaluates the placeholder parameter under the given context.
handleAsync(AsyncPlaceholderContext, String) - Method in interface com.cotani.placeholder.api.AsyncPlaceholderHandler
Handles and evaluates the placeholder parameter asynchronously under the given context.
handleRelational(Player, Player, String) - Method in interface com.cotani.placeholder.api.RelationalPlaceholderHandler
Handles and evaluates a relational placeholder between two players.
hashCode() - Method in record class com.cotani.placeholder.api.AsyncPlaceholderContext
Returns a hash code value for this object.
hashCode() - Method in record class com.cotani.placeholder.api.PlaceholderContext
Returns a hash code value for this object.

I

identifier() - Method in interface com.cotani.placeholder.api.PlaceholderExpansion
Unique identifier / prefix for this expansion (e.g.
isRelational() - Method in interface com.cotani.placeholder.api.PlaceholderExpansion
Indicates whether this expansion is relational (requiring viewer and target players).
isRelational() - Method in interface com.cotani.placeholder.api.RelationalPlaceholderExpansion
 

O

of(UUID) - Static method in record class com.cotani.placeholder.api.PlaceholderContext
Creates a placeholder context bound to the given player UUID.
onAsyncRequest(AsyncPlaceholderContext, String) - Method in interface com.cotani.placeholder.api.PlaceholderExpansion
Evaluates a placeholder request asynchronously and non-blockingly.
onContextRequest(PlaceholderContext, String) - Method in interface com.cotani.placeholder.api.PlaceholderExpansion
Evaluates a placeholder request under a full PlaceholderContext.
onRelationalRequest(Player, Player, String) - Method in interface com.cotani.placeholder.api.PlaceholderExpansion
Evaluates a relational placeholder request comparing two players.
onRelationalRequest(Player, Player, String) - Method in interface com.cotani.placeholder.api.RelationalPlaceholderExpansion
 
onRequest(Player, String) - Method in interface com.cotani.placeholder.api.PlaceholderExpansion
Evaluates a placeholder request with a Bukkit player.

P

parameter(String) - Method in record class com.cotani.placeholder.api.AsyncPlaceholderContext
Retrieves a custom parameter by key.
parameter(String) - Method in record class com.cotani.placeholder.api.PlaceholderContext
Retrieves a custom parameter by key.
parameters() - Method in record class com.cotani.placeholder.api.AsyncPlaceholderContext
Returns the value of the parameters record component.
parameters() - Method in record class com.cotani.placeholder.api.PlaceholderContext
Returns the value of the parameters record component.
parse(PlaceholderContext, String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses placeholders in the given text under a custom PlaceholderContext.
parse(String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses placeholders in the given text with an empty context.
parse(UUID, String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses placeholders in the given text for the specified player UUID.
parse(Player, String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses placeholders in the given text for the specified player.
parseAsync(PlaceholderContext, String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses placeholders in the given text asynchronously under a custom context.
parseAsync(String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses placeholders in the given text asynchronously with an empty context.
parseAsync(UUID, String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses placeholders in the given text asynchronously for the specified player UUID.
parseAsync(Player, String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Deprecated.
capture the UUID at the platform boundary and call PlaceholderService.parseAsync(UUID, String)
parseComponent(PlaceholderContext, String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses placeholders under a context and returns an Adventure Component.
parseComponent(String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses placeholders and returns an Adventure Component parsed via MiniMessage.
parseComponent(Player, String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses placeholders for a player and returns an Adventure Component.
parseRelational(UUID, UUID, String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses relational placeholders between two player UUIDs.
parseRelational(Player, Player, String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses relational placeholders between two players.
parseRelationalAsync(UUID, UUID, String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Parses relational placeholders asynchronously between two player UUIDs.
parseRelationalAsync(Player, Player, String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Deprecated.
capture both UUIDs at the platform boundary and call the UUID overload
persist() - Method in interface com.cotani.placeholder.api.PlaceholderExpansion
Whether this expansion persists across plugin/PAPI unregistrations.
PlaceholderContext - Record Class in com.cotani.placeholder.api
Immutable context used for placeholder resolution.
PlaceholderContext(UUID, UUID, Map) - Constructor for record class com.cotani.placeholder.api.PlaceholderContext
Creates an instance of a PlaceholderContext record class.
PlaceholderExpansion - Interface in com.cotani.placeholder.api
Represents a modular placeholder provider/expansion that can be registered to the PlaceholderService.
PlaceholderHandler - Interface in com.cotani.placeholder.api
Functional handler for synchronous placeholder evaluation.
PlaceholderService - Interface in com.cotani.placeholder.api
Service managing placeholder registration, high-speed parsing, and external bridges.
player() - Method in record class com.cotani.placeholder.api.PlaceholderContext
Resolves the primary player from its identifier.

R

register(PlaceholderExpansion) - Method in interface com.cotani.placeholder.api.PlaceholderService
Registers a custom placeholder expansion.
register(String, PlaceholderHandler) - Method in interface com.cotani.placeholder.api.PlaceholderService
Registers a simple synchronous placeholder handler.
registerAsync(String, AsyncPlaceholderHandler) - Method in interface com.cotani.placeholder.api.PlaceholderService
Registers an asynchronous placeholder handler.
registerRelational(String, RelationalPlaceholderHandler) - Method in interface com.cotani.placeholder.api.PlaceholderService
Registers a relational placeholder handler comparing two players.
relational(UUID, UUID) - Static method in record class com.cotani.placeholder.api.PlaceholderContext
Creates a relational placeholder context between a viewer UUID and a target UUID.
RelationalPlaceholderExpansion - Interface in com.cotani.placeholder.api
Specialized expansion contract for relational placeholders.
RelationalPlaceholderHandler - Interface in com.cotani.placeholder.api
Functional handler for relational placeholder evaluation comparing two players.

S

supportsAsync() - Method in interface com.cotani.placeholder.api.PlaceholderExpansion
Returns whether this expansion implements a thread-safe asynchronous handler.

T

tagResolver(PlaceholderContext) - Method in interface com.cotani.placeholder.api.PlaceholderService
Creates an Adventure TagResolver dynamically resolving placeholders in MiniMessage.
target() - Method in record class com.cotani.placeholder.api.PlaceholderContext
Resolves the target player from its identifier.
targetId() - Method in record class com.cotani.placeholder.api.AsyncPlaceholderContext
Returns the value of the targetId record component.
targetId() - Method in record class com.cotani.placeholder.api.PlaceholderContext
Returns the value of the targetId record component.
toString() - Method in record class com.cotani.placeholder.api.AsyncPlaceholderContext
Returns a string representation of this record class.
toString() - Method in record class com.cotani.placeholder.api.PlaceholderContext
Returns a string representation of this record class.

U

unregister(String) - Method in interface com.cotani.placeholder.api.PlaceholderService
Unregisters an expansion by its identifier.

V

version() - Method in interface com.cotani.placeholder.api.PlaceholderExpansion
Version of this expansion.
viewer() - Method in record class com.cotani.placeholder.api.PlaceholderContext
Resolves the viewer player from its identifier.
viewerId() - Method in record class com.cotani.placeholder.api.AsyncPlaceholderContext
Returns the value of the viewerId record component.
viewerId() - Method in record class com.cotani.placeholder.api.PlaceholderContext
Returns the value of the viewerId record component.

W

with(String, Object) - Method in record class com.cotani.placeholder.api.PlaceholderContext
Returns a new context with the given parameter appended or overwritten.
A C E F H I O P R S T U V W 
All Classes and Interfaces|All Packages