Omichall's Restricted Adventure Mode
By default, Adventure Mode players can only explore the world, open and close doors, trapdoors and fence gates. They can't break things, access containers, interact with entities or damage mobs. Their hunger and saturation also won't go down, so they can freely run around without needing food.
Minecraft's Adventure Mode is useful for preventing players from breaking blocks, but it still lets them do quite a few things you probably don't want them to, such as taking items out of frames, interacting with armor stands or accessing chests.
RestrictedAdventureMode fixes that. It's a simple, lightweight plugin that makes Adventure Mode work more like an actual visitor mode, while still letting you choose what players should and shouldn't be able to do.
It can be useful for spawn areas, public builds, showcase worlds or really any server where you want people to explore without worrying about them messing something up.
Features
- Better protection — Prevents Adventure Mode players from modifying blocks, item frames, paintings, armor stands and other objects.
- Container protection — Blocks access to chests, barrels, shulker boxes and other inventories.
- Entity protection — Prevents players from attacking mobs, other players and protected entities.
- Normal exploration — Players can still walk, sprint, jump, swim and use doors, trapdoors and fence gates.
- No hunger loss — Hunger and saturation don't decrease by default.
- Fully configurable — Decide exactly what Adventure Mode players are allowed to do using in-game commands.
- Adventure Mode only — Survival and Creative players aren't affected.
- Lightweight — No dependencies, unnecessary background tasks or constant world scanning.
Configuration
Everything can be configured in-game using /ram. Only server operators can change the settings, and all changes are saved automatically.
Commands
| Command |
Description |
/ram help |
Shows available commands |
/ram status |
Shows the current settings |
/ram set <setting> on/off |
Changes a setting |
/ram reload |
Reloads the configuration |
/ram reset |
Restores the default settings |
Available settings
Here's everything you can configure using /ram set:
| Setting |
What it controls |
Default |
enabled |
Enables or disables the plugin's restrictions |
On |
doors |
Opening and closing doors |
On |
trapdoors |
Opening and closing trapdoors |
On |
gates |
Opening and closing fence gates |
On |
buttons |
Pressing buttons |
Off |
levers |
Using levers |
Off |
pressure-plates |
Activating pressure plates |
Off |
containers |
Opening chests and other containers |
Off |
entities |
Interacting with entities |
Off |
hanging |
Modifying item frames and paintings |
Off |
armor-stands |
Interacting with armor stands |
Off |
vehicles |
Using boats and minecarts |
Off |
damage |
Damaging mobs and other players |
Off |
pickup |
Picking up dropped items |
Off |
drop |
Dropping items |
Off |
item-use |
Using items |
Off |
block-break |
Breaking blocks |
Off |
block-place |
Placing blocks |
Off |
inventory |
Modifying inventories |
Off |
bypass-ops |
Exempting operators from restrictions |
Off |
hunger-loss |
Allowing hunger and saturation to decrease |
Off |
For example:
/ram set buttons on — Allows Adventure Mode players to press buttons.
/ram set containers on — Allows them to open containers.
/ram set damage on — Allows them to attack mobs and other players.
/ram set hunger-loss on — Restores normal hunger and saturation depletion.
/ram set bypass-ops on — Makes operators unaffected by the restrictions.
Most settings work the same way: on means allowed, off means blocked. The exceptions are enabled, bypass-ops and hunger-loss, which control their respective features directly.
Compatibility
- Server software: Paper, Spigot and Bukkit
- Minecraft versions: 1.8.8–26.3 (intended compatibility range)
- Dependencies: None
The plugin is designed to support older and newer Minecraft versions with the same JAR, although not every version has been tested.
Installation
- Download the plugin and put the JAR in your server's
plugins folder.
- Restart your server.
- Set players to Adventure Mode using
/gamemode adventure.
- That's it! The default restrictions will automatically apply.
You can always change the restrictions later using /ram.
RestrictedAdventureMode isn't meant to be a complicated protection plugin with hundreds of features. It just makes Adventure Mode more restrictive by default, while giving you control over what players can interact with.