SafeTeleport: Enhance your Minecraft server's teleportation with unparalleled safety and efficiency.
Core Features Include:
Advanced Safety Checks: Utilizes smart algorithms to prevent teleporting players into hazardous environments, including lava, voids, and amidst hostile entities.
Customizable Hazard List: Easily define what constitutes a danger on your server, allowing for a personalized safety net tailored to your world's specific needs.
Debug Mode for Administrators: A dedicated debug mode provides detailed insights, aiding in the fine-tuning of teleportation logic and performance optimization.
Dynamic Safety Assessment: Introduces evaluations of potential fall risks and environmental hazards to ensure players land safely after teleportation.
Smooth Teleportation Experience: Enhanced mechanisms to reduce "moved too quickly!" messages, ensuring a seamless teleportation experience for players.
Cooldown Management: Implements cooldowns to prevent teleport spamming, enhancing gameplay fairness and server performance.
Code (YAML):
# SafeTeleport Configuration File
# Enable debug mode for detailed logging debugMode: false
# Define blocks that are considered dangerous and should trigger a safety teleport. # Players will not be teleported to locations near these blocks. # Add or remove block types as needed. Use uppercase and the exact names from the Material enum. dangerousBlocks: - LAVA
- FIRE
- CACTUS
# You can add more blocks here. For example, to add WATER, just put "- WATER" on a new line.
# Define entities that are considered dangerous. # Players will not be teleported to locations near these entities. # Use the entity type names exactly as they are defined in the EntityType enum. dangerousEntities: - CREEPER
- ZOMBIE
- SKELETON
- ENDER_DRAGON
- WITHER
# Add more entities as needed. Make sure each entry is on a new line and prefixed with "- ".
# Safety radius defines how close (in blocks) a player can be teleported to the dangerous blocks or entities. # Increasing this number will increase the distance from dangers where players can be teleported. # Decreasing this number allows players to be teleported closer to potential dangers. safetyRadius: 5
# Adjust this number based on your server's safety preferences. A larger number means more cautious teleportation.