Interface in @minecraft/server
Basalt’s own: the plugin as its manifest names it.
import type { PluginInfo } from '@minecraft/server';Example
Section titled “Example”import { server, type PluginInfo } from '@minecraft/server';
const pluginInfo: PluginInfo = server.plugin;console.log(pluginInfo.name);import { server } from '@minecraft/server';
const pluginInfo = server.plugin;console.log(pluginInfo.name);Properties
Section titled “Properties”read-only
readonly name: string;version
Section titled “version”read-only
readonly version: string;