Vista previa con plugins de ejemplo Estos plugins son inventados para enseñar cómo quedará el sitio: ninguno existe y no se puede descargar nada. Salir de la vista previa
VanillaMine Plugins
Icono de libPebbleForms

libPebbleForms 1.3.0

Virion for Bedrock forms with closures: menus, modals and custom forms in a few lines, with input validation.

Datos de ejemplo Virion Versión anterior Funciona en la API 5.46.0 Plugins de APIHerramientas para desarrolladores
Descargar .phar
12k 5.0 (1) 2025-09-15

Descripción

libPebbleForms

Forms without the boilerplate. Bundle it with your plugin (.poggit.yml → libs) and build menus with closures.

use brambleworks\pebbleforms\MenuForm;

MenuForm::create("Teleport")
	->button("Spawn", fn(Player $p) => $p->teleport($spawn))
	->button("Home", fn(Player $p) => $this->home($p), icon: "textures/items/bed_red")
	->send($player);

Custom forms validate their inputs before your closure runs:

CustomForm::create("Pay")
	->input("player", "Player")
	->input("amount", "Amount", validate: fn(string $v) => is_numeric($v) && $v > 0)
	->onSubmit(fn(Player $p, array $data) => $this->pay($p, $data["player"], (float) $data["amount"]))
	->send($player);

.poggit.yml

libs:
  - src: brambleworks/libPebbleForms/libPebbleForms
    version: ^2.0.0

Cambios

  • Image buttons

Versiones

VersiónAPIPublicadaDescargas
2.1.0 5.0.0 – 5.99.0 2026-09-05 6,846 –
2.0.0 5.0.0 – 5.99.0 2026-04-03 3,423 –
1.3.0 5.0.0 – 5.99.0 2025-09-15 1,711 –

Reseñas

tinderbox_dev ★★★★★ 2026-09-10

Saved me hundreds of lines.

Las reseñas están desactivadas en la vista previa.