TargetPlatform

mpm が動作しているサーバーの種類

ダウンロード時に上流APIへ渡すローダー/プラットフォームの指定と、 ダウンロードしたJARがこのサーバーで動くかどうかの判定に使う。

Entries

Link copied to clipboard

Paper(Bukkit 系)サーバー

Link copied to clipboard

Velocity プロキシ(プロキシの /mpm はバックエンドへ転送されなくなるため、別名の /mpmv を使う)

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard

mpm のコマンドのルート名(Velocity ではバックエンドの /mpm と衝突しないよう mpmv にする)

Link copied to clipboard

Hangar のダウンロードで優先するプラットフォーム名

Link copied to clipboard

Modrinth のバージョン一覧APIに渡す loaders の値

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun supports(pluginData: PluginData): Boolean

プラグイン記述子がこのプラットフォーム向けかを判定する