A powerful admin-only forcefield plugin designed to help server owners and administrators work without player interference. Perfect for building, maintenance, and administrative tasks.
This plugin is specifically designed for server owners and administrators who need to:
- Build or work without players getting in the way
- Clear areas quickly during construction projects
- Maintain focus during detailed administrative tasks
- Set up events or areas without interruption
- Admin/OP Only: Restricted to operators and specific permissions
- Dual Push System: Continuous gentle push + powerful sneak-blast
- Smart Whitelisting: Add trusted players who won't be affected
- Persistent Storage: Whitelist saves across server restarts
- Rich Messaging: Beautiful MiniMessage formatting with action bars
- Configurable: Adjust radius, strength, and visual effects
- Thread Safe: Reliable performance with concurrent data structures
- Modern Architecture: Clean, maintainable code built for Paper 1.21+
- Download the latest release from releases
- Drop it in your
plugins/folder - Restart your server
- As an OP, use
/ffto toggle your forcefield!
- When enabled, gently pushes players away from you
- Configurable radius and strength
- Shows "ADMIN AREA - STAY BACK" in action bar
- Release sneak to trigger a powerful blast
- Much larger radius and stronger force
- Launches players up and away
- Pro tip: Spam sneak to launch persistent players even further!
- Add trusted builders/admins who won't be pushed
- Persistent across server restarts
- Easy toggle on/off per player
| Command | Description | Usage |
|---|---|---|
/forcefield |
Toggle your forcefield on/off | /ff |
/forcefield <player> |
Add/remove player from whitelist | /ff Steve |
/forcefield list |
View your whitelist | /ff list |
/forcefield status |
Check if forcefield is active | /ff status |
/forcefield clear |
Clear your entire whitelist | /ff clear |
/forcefield reload |
Reload configuration | /ff reload |
/forcefield info |
View plugin statistics | /ff info |
Alias: ff
| Permission | Description | Default |
|---|---|---|
forcefield.use |
Use forcefield commands | OP |
forcefield.admin |
Access admin commands (info, clear) | OP |
forcefield.reload |
Reload plugin configuration | OP |
forcefield.bypass |
Bypass all forcefield effects | OP |
Note: All permissions default to OP level. Regular players have no access by default.
# Push effect (continuous)
push_radius: 8
push_strength: 1.5
# Force effect (sneak release)
force_radius: 12
force_strength: 3.0
# Task timing
task_interval_ticks: 2
# Visual effects
show_action_bar: true
particle_effects: trueFull MiniMessage support with admin-themed messages:
messages:
forcefieldEnabled: "<gold>⚡ <green>Admin Forcefield <bold>ENABLED</bold> <gold>⚡"
actionBarEnabled: "<gold>⚡ <green><bold>ADMIN AREA - STAY BACK</bold> <gold>⚡"
# ... more customizable messages- Download the latest
Forcefield-1.0.0.jarfrom releases - Place in your server's
plugins/folder - Restart your server
- Configure in
plugins/Forcefield/config.ymlif desired - Use
/ffas an OP to start pushing players away!
- Server: Paper 1.21.4 or newer
- Java: Java 21 or newer
- Permissions: OP status or manual permission assignment
- Dependencies: None required
git clone https://github.com/LoralonMC/Forcefield.git
cd Forcefield
./gradlew buildThe compiled plugin will be in build/libs/Forcefield-1.0.0.jar
/ff # Enable forcefield
# Build in peace while players are gently pushed away
# Spam sneak to blast away persistent players
/ff Steve # Whitelist your builder friend
/ff # Disable when done/ff # Clear the area
/ff list # Check who's whitelisted
/ff clear # Remove all whitelist entries
/ff status # Confirm it's active/ff # Enable for server maintenance
# Work without player interference
/ff reload # Apply config changes without restartBuilt with modern, modular architecture:
- Forcefield.java: Main plugin initialization
- ForcefieldManager: Core logic and data management
- ConfigManager: Configuration handling and validation
- MessageManager: MiniMessage formatting and localization
- ForcefieldInstance: Individual forcefield data and persistence
- ForcefieldCommand: Command processing and tab completion
- ForcefieldListener: Event handling (sneak detection, cleanup)
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: Report bugs
- Feature Requests: Suggest improvements
- Questions: GitHub Discussions
- Initial release
- Admin-only forcefield system
- Dual push/force mechanics with sneak blasting
- Persistent whitelist system
- MiniMessage formatting
- Modern Paper 1.21+ architecture
- OP permission defaults
Made for server administrators who need to get work done! 💪