getAllViewersPaginated

Deprecated

Deprecated in v2.2.0. Will be removed in v2.5.0. Use getViewersPaginatedEntry instead.

Replace with

import dev.s7a.ktinventory.util.getViewersPaginatedEntry
getViewersPaginatedEntry(clazz)

Gets all online players currently viewing a paginated inventory of the specified type.

Return

Map of players to their open paginated inventory entries of type T

Since

2.0.0

Parameters

clazz

The KClass of the inventory type

Type Parameters

T

The type of inventory extending AbstractKtInventoryPaginated


Deprecated

Deprecated in v2.2.0. Will be removed in v2.5.0. Use getViewersPaginatedEntry instead.

Replace with

import dev.s7a.ktinventory.util.getViewersPaginatedEntry
getViewersPaginatedEntry<T>()

Gets all online players currently viewing a paginated inventory of the specified type.

Return

Map of players to their open paginated inventory entries of type T

Since

2.0.0

Type Parameters

T

The type of inventory extending AbstractKtInventoryPaginated