Başvuru
Başvuru
Herkese açık WIT arayüz grupları ve bileşen dünyası, ilgili sözleşmeden üretilir.
API referenceThe exact WIT declarations of the script contract, one page per interface.Not in the script APIPaper features that have no equivalent in the script API.achievementsAchievements a server defines and players unlock; Play Strawberry shows them on the profile and the server page.advancementAdvancement descriptions and progress records.attributesEntity attribute kinds, modifiers, and operations.bedrock-packetsTyped Bedrock clientbound and serverbound packet records.biomesBiome identifiers used by the component contract.block-entityBlock-entity handles and typed block-specific operations.boss-barBoss-bar colors, divisions, metadata, viewers, and updates.commandCommands, argument types, suggestions, senders and sensitive commands.commonShared positions, colors, game modes, locales, and NBT values.connection-checkA check at the door: hold a connection before the player joins, ask the client for a cookie, admit or refuse.contentFiles and items for the server's own resource pack: textures, models, fonts, sounds, translations and custom items.contextThe script context: event, extension-event, command and permission registration, the login gate, data folder and server.custom-blocksCustom blocks with a model of their own from the server's resource pack, including passable and multi-state blocks.damage-typesDamage type identifiers used by gameplay operations.data-componentsItem data-component definitions and patch values.datapackDatapack information and enable/disable management.displayDisplay and interaction resources and transform types.enchantmentsCustom enchantment definitions, errors, and registration.entityShared entity pose types.entity-statusesEntity status values that a script can send to clients (animations and effects).entity-typesEntity type identifiers.eventEvery event, its data record, handler options, the failure verdict and extension events.formsBedrock simple, modal, and custom form definitions.friendsA game's lobby lists the viewer's Play Strawberry friends who are playing this game, and joins one.game-eventsThe vanilla game event values (block, entity and item game events).game-rulesGame-rule definitions and typed values.gametestThe GameTest declarations of world gametest-plugin, for tests and simulated players on developer servers.guiInventory-style GUI resources and item-movement settings.i18nNamespaced translations and locale-aware lookup.inventoryInventory and player-inventory resources and slot operations.ipcScript identifiers, byte messages, and synchronous request/response.item-stackItem-stack resources and typed item data operations.java-dialogsJava dialog bodies, inputs, actions, links, and buttons.java-packetsTyped Java clientbound and serverbound packet records.loggingLogging levels and structured or plain log calls.login-gateThe login gate's form before an unverified player joins the world (offline-mode servers).merchantTrading windows of your own, and the offers of a villager or a wandering trader.metadataScript metadata fields exported to the server.modulesModule scripts: typed functions one script exports and other scripts of the same owner call.particlesTyped particle identifiers and parameters.passwordArgon2id password hashing and checking done by the server, as jobs the script polls.permissionPermission nodes, defaults and operator levels.playerPlayers, Java and Bedrock player handles, kicks, bans, links, client details and login-gate admission.player-dataSmall values per player that Play Strawberry keeps for the servers of one game.Script worldsThe script worlds: what every script imports and exports, and the two optional worlds.potionsThe potion type values used by items and effects.recipeRecipe definitions and registration functions.schedulerSync and async tasks counted in game ticks, and cancellation.scoreboardJava and Bedrock scoreboard resources, scores, and Java teams.screensInventory screen and window type identifiers.serverServer resources, world/player lookup, and server-side operations.skinsLooking up the skin of a Minecraft account by its name, for skin scripts on offline-mode servers.soundsThe sound and sound category values used by playback functions.statisticsStatistic categories and custom-statistic identifiers.status-effectStatus-effect identifiers and instance data.sub-serversThe other servers of a server's group, and moving a player to one.teleportMoving a player with a cause, as Paper's teleport causes.textText components, translations, styling, clicks, and hover actions.uuidUUID records with string parsing and formatting.valuesThe value bus: short texts a script publishes that any script reads or watches.worldWorld, entity, mob, chunk, border, and generation resources.