Mineuniverse
Log in Register
Plugins

Mattress

Simple property protection system, simply place a bed to protect its surroundings
by GrumpyChunks
Download Claim this project
3,286 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Anti-Griefing Tools General Mechanics

** Overview **

This plugin implements a simple protection system into a Minecraft/Bukkit server.

When a player places a bed somewhere in the world, the area around their bed becomes protected. When an area is protected, other players are no longer able to build, destroy, or interact with any objects within the protected area. The player that placed the bed has no restrictions imposed.

This allows players to build a house, store their possessions in chest without worrying about other players stealing their possessions or destroying their creations.

Other players are allowed to wander into protected areas, however this can be prevented by placement of walls/doors within their protected area. Other players will be unable to open doors or destroy walls that are located within the protected area.

** Player Commands **

/protection gives the player some basic information about their location. This includes if the area is protected (and by who), or if they are close to a protected area. It also details how many protected areas the player has, as well as the limit to the number of protected areas allowed for each player.

/protections <PlayerName-Filter> lists protected areas on the server matching the optional filter parameter. Only the first five matching results are displayed. For example, /protections ed will match list protected areas belonging to players with names containing the text ed (case insensitive), for example Fred or Edward.

** Configurable Options**

  • The radius of the protected area is measured in blocks. this is a global setting
  • The minimum distance that beds have to be placed apart
  • Access to the commands is controlled by permissions built into Bukkit
  • The maximum number of protected areas per player
  • Whether ops can override player protected areas
  • Whether ops can override admin protected areas
  • Ops receive a message when they interact/build/destroy blocks within a protected area (assuming they have the ability to override protection)
  • An op can remove a protected area belonging to another player by destroying their bed.
  • Option to allow interactions with levers, buttons and pressure plates in the -admin- protection area

** Other Features **

Server admins can create admin protected areas on their server by editting the 'Protections' file, which uses the following file format (one protected area per line).

-admin-,<world>,<xPos>,<yPos>,<zPos>

A bed does not have to exist in the world for the protection to work. Note that an entry with the playername '-admin-' is treated differently to other entries.

** Features to be Implemented**

Please see the issues listed on the github page for the project.

** Notes **

If the plugin is added to an existing server, any beds previously placed in the world will not form a protected area and will not be counted in a player's total bed count.

** Issues & Development **

For all known issues (or to report new issues) and to see progress of the development of the plugin, please refer to the github page for the project.

** Version 1.0 Release notes **

Fixed a bug that prevented non destructive interactions from being performed in other player's protected areas, e.g. eating, reading books, placing a boat, etc.

** Current Status **

As of 04/09/2014, this project is now abandoned. Development will continue with the release of the official Mojang Minecraft API

Mattress-1.0
MC CB 1.5.2-R1.0
Release 2013-06-17 Get
0.7 pre-release
MC CB 1.3.1-R1.0
Beta 2012-08-21 Get
0.6 pre-release
MC CB 1.3.1-R1.0
Beta 2012-08-19 Get
0.5 pre-release
MC CB 1.3.1-R1.0
Beta 2012-08-18 Get
Mattress-0.3.jar
MC CB 1.3.1-R1.0
Beta 2012-08-16 Get
0.4 pre-release
MC CB 1.3.1-R1.0
Beta 2012-08-16 Get

More from GrumpyChunks

More Default Options
965,470
Pacifist Mobs
5,135
Best Friend
4,716
JourneyMap Defaults
23,847
Scarper
205,731

You Might Also Like

WorldGuard
WorldGuard
9,807,705
Residence
Residence
992,603
SWatchdog
SWatchdog is ultralightweight blocklogger, similar to bigbrother. Also allows to rollback griefs in specified area
93,216
Limited Creative
Separated inventories for diffrent GameModes. No Diamand Armor
86,801
Account
Account
9,918
ChunkAutoClaimer
A 100 % automatic Anti-Grief plugin. Claims chunks wherever you build.
9,810