What is no Break? No Break is an extremely easy to use, extremely lightweight plugin that disables block breaking and placing for players without a permission.
Intro
Ever wanted to disable block placing/breaking without the hassle of having a huge plugin where you have to configure everything? Hate it how players you don't trust can grief to their hearts content? Then No Break is the plugin for you! No Break is great for hub servers, because super lightweight, using the least amount of code possible, doesn't interfere with the gameplay, and it's extremely simple to install and use! No Break is also great for new players on your server, so you can make sure that you trust them before you allow them to build!
Installation
- Download No Break
- Stop your server
- Drag the .jar file to your plugins folder in your server
- Restart your server
- You're done! If you want someone being able to break blocks, simply give them the permission nobreak.ignore
Features
- Extremely lightweight
- Permission support
- No advanced configuring to do
Permissions
Permission Description Default
nobreak.ignore — allows the player to break and place blocks — default: OP
nobreak.interact — allows the player to interact with blocks like doors and buttons — default: OP
nobreak.toggle — allows the the player to toggle nobreak — default: NONE
Commands
/nobreak toggle — toggles nobreak on or off — nobreak.toggle
/nobreak status — tells you whether or not nobreak is on — nobreak.toggle
Configuration
enabled — whether or not nobreak is enabled — true/false
reset on restart — whether or not to set "enabled" to "reset to" on server restart — true/false
reset to — what to set "enabled" to on server restart if "reset on restart" is true — true/false
enable messages — whether or not players should be sent messages when they don't have permission to do something — true/false
API for Developers
PlayerBlockEditEvent will be called whenever a player breaks, places, ignites, or for any other reason changes a block:
@EventHandler
public void onPlayerBlockEdit(PlayerBlockEditEvent event){
Player player = event.getPlayer();
Location location = event.getLocation();
player.sendMessage("You just changed the block at " + location);
}
PlayerBlockEditEvent can be cancelled, which will undo whatever the player did
Feature Suggestions
If you have any suggestions for No Break, don't hesitate to post them in the comments!
Donations
Any and all donations are appreciated! They help me bring updates to No Break.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta


