r/minecraftdev

I built Paperwright: an end-to-end testing framework for Paper plugins using real headless bots
▲ 15 r/minecraftdev+1 crossposts

I built Paperwright: an end-to-end testing framework for Paper plugins using real headless bots

Hey everyone,

If you develop or maintain custom plugins for your servers, you probably know the pain of manual testing. You write a feature, build the jar, restart your local test server, launch two alt accounts to test a trade or click through a custom GUI, realize you missed a null check, and have to do it all over again.

MockBukkit is great for unit testing pure Bukkit API logic, but once you start touching NMS, reflection, or need to test complex GUI interactions alongside other plugins, mock environments usually start to break down.

I wanted to bring modern web-dev testing standards (like Playwright) to Minecraft, so I put together an open-source framework called Paperwright. Instead of mocking the server, it tests your plugin by spinning up a real Paper server and connecting real, headless Mineflayer bots.

Quick rundown:

  • Headless bots actually join the server, move around, type in chat, and click through GUIs.
  • Tests are written in JS or TS, so if you've used Playwright for web testing, the API will already feel familiar.
  • No more hardcoding exact inventory slots, either. Locators let you find items dynamically and click them.
  • Assertions are built in, e.g. await expect(player).toContainItem('emerald', { count: 5 });
  • It runs as a Gradle plugin: ./gradlew paperwrightInit gets you set up, and there's an official GitHub Action if you want it running on every push.

If you're tired of doing manual QA for every minor plugin update, feel free to check it out.

Source code, docs, and a working example plugin are on GitHub: https://github.com/Drownek/paperwright

I'd love to hear your feedback, or answer any questions from other devs here about how it handles the server/bot orchestration under the hood!

u/Drownek — 9 hours ago
▲ 3 r/minecraftdev+1 crossposts

Necesito que alguien cree el siguiente mod - Idea para Mod relacionado con los lobos/ perros. ¿ya existe uno?

Existe algún mods que mejore a los perro/ lobos? para Fabric preferiblemente.
De lo contrario me gastaría que sea se la siguiente forma y cualquier otro añadido como resucitar a los compañeros sea una opción deshabilitadle.

-Mejor inteligencia

- que nunca se coloque frente al jugador

- cuando tenga poca vida se coloque lejos de los enemigos o detrás de ti.

- que se aleje de los creepers.

- que tenga cuidado con los precipicios o lagos de lava

-Que se pueda configurar dos botones para dar ordenes desde la distancia;

Boton A:

-Ataque.

-no ataque

-A salvo lejos de los enemigos.

Boton B:

-Sentarse

-que te siga a 5 bloques de distancia

-Automatico (comportamiento normal).

-El perro/lobo cuente con un inventario que se asemeje al saco/ bundle. Con capacitad de llevar 32 objetos.

-Que pueda subir de nivel y aumente su vida, daño, velocidad o tiempo de reacción y el espacio de su inventario (+5 por nivel). agregar un tope razonable, nada demasiado op.

reddit.com
u/Itchy_Fan5756 — 1 day ago
▲ 1 r/minecraftdev+1 crossposts

Selling small Minecraft plugins / bots (cheap 2–10$)

Hey, I make small Minecraft plugins and Discord bots.
If you need something simple like /sethome, /heal, scoreboard or a basic bot, just DM me 👍
Prices are low (2–10$ depending on complexity)

reddit.com
u/TrashUnlikely91 — 8 days ago