Protector-1.4.3.jar
Curse Maven Snippet
What's new
Sistema de Protección y Eventos
Independencia de Flags (Fix Crítico): Se corrigió el conflicto donde la flag build (construcción) bloqueaba la apertura de cofres (chests) o el uso de botones (interact).
Lógica de Cortafuegos: Implementación de EventPriority.HIGHEST en interacciones para interceptar clics antes que el sistema de construcción de Minecraft.
Silenciador de Construcción: Uso de setUseItem(FALSE) al abrir contenedores permitidos. Esto evita que el servidor intente colocar un bloque de la mano, eliminando mensajes de error innecesarios.
Refactorización de Mensajes: Los mensajes de "No puedes construir" ahora solo aparecen en acciones de construcción real (romper/poner), no al abrir inventarios.
Comandos y Administración
Mejora del /protector admin trust: El comando ahora usa findCoreAt. Ya no requiere mirar el píxel exacto del bloque; funciona estando dentro del radio o mirando cualquier bloque protegido.
Fallback de Posición: Si el administrador mira al aire, el comando ahora detecta el núcleo basándose en la posición de sus pies.
🇺🇸 English
Protection & Event System
Flag Independence (Critical Fix): Fixed the conflict where the build flag would block opening chests (chests) or using buttons (interact).
Firewall Logic: Implemented EventPriority.HIGHEST on interactions to intercept clicks before Minecraft's placement system.
Build Silencer: Utilized setUseItem(FALSE) when opening allowed containers. This prevents the server from trying to place a block from the player's hand, eliminating ghost error messages.
Message Refactoring: "Cannot build" messages now only trigger on actual building actions (break/place), not when opening inventories.
Commands & Administration
/protector admin trust Enhancement: The command now uses findCoreAt. It no longer requires looking at the exact block pixel; it works by being inside the radius or looking at any protected block.
Position Fallback: If the administrator looks at the sky/air, the command now detects the core based on the player's feet position.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

