Skip to content

kfcisme/WorldBorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WorldBorder

A Minecraft plugin that calculates the distance between a player and the world border.

License Status Minecraft


✨ Overview

WorldBorder is a simple Minecraft plugin to calculate the distance between a player and the world border. This is useful for monitoring when players approach the edge of the world, sending warnings, or restricting access.


✅ Features

  • Real-time calculation of player distance to the world border
  • Lightweight and low performance impact
  • Compatible with Bukkit, Spigot, Paper, and forks

⚙️ Installation

  1. Download or build the plugin .jar
  2. Place the .jar file into your server’s plugins/ folder
  3. Start or restart your server

The plugin should now be active.


🚀 Usage

  • On player movement, the plugin can calculate and log/display the distance to the world border
  • If commands are implemented, players/admins can query their current distance
  • If API hooks are exposed, other plugins may retrieve this value

🗃️ Project Structure

WorldBorder/
├─ src/main/java/com/yourname/worldborder/
│  ├─ WorldBorder.java       # Main plugin class
│  └─ BorderListener.java    # Listener handling distance checks
├─ plugin.yml                 # Plugin metadata
├─ pom.xml / build.gradle     # Build configuration
├─ LICENSE
└─ README.md

🔧 Configuration (Planned / Optional)

Possible future config.yml options:

warning-distance: 10   # Alert players when closer than this distance
show-distance-in-hud: true
units: blocks
disable-worlds:
  - world_nether
permissions:
  worldborder.use

🛣️ Roadmap

  • Add commands for players to check distance
  • HUD overlay with border distance
  • Configurable warnings and notifications
  • Multi-world border support

🤝 Contributing

  1. Fork this repository
  2. Create a feature branch (feat/...) or fix branch (fix/...)
  3. Implement and test changes
  4. Submit a Pull Request

📜 License

This project is licensed under the Apache License 2.0. See LICENSE for details.

About

A minecraft plugins which can count the distance between plyaer and worldborder.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages