Protect the spawn and any area by radius: 114 flags, members, groups and rights, all in one menu
Requires Vystorm Core 0.71.0 or newer (free)
Vystorm Protect
Protect the spawn and other areas by radius. Areas, flags, people and groups are all set up in one menu: /protect.
Vystorm Protect is a protection plugin for admins. An area is a circle or a square around a centre, with an optional height range, in any world, and you can have as many as you like. You make it in the menu, decide what is allowed there and add the people who may build. A fresh install protects nothing: admins get one chat line with the buttons [Open /protect] and [Protect spawn, radius 32].
What your players notice
- In a protected spawn nobody can build or hurt other players, monsters do not spawn, and explosions, fire and griefing mobs break nothing. Doors, buttons, fall damage and hunger stay as in vanilla.
- "Entering spawn" and "Leaving spawn" in the action bar. Members of an area read "you may build here".
- "This area is protected." in the action bar when something is refused, at most once a second.
Features
Areas and the menu
- Open the menu with
/protect. Players with the Vystorm screens get a screen menu, everyone else the same menu as a 54-slot chest. Your areas are on the left (the one you stand in is marked), the selected area on the right with the parts Settings, Flags, Values and lists, People and More. - Protect the spawn with one click: the world spawn gets radius 32 and the spawn rules.
- Make an area where you stand with "New area here". A free name such as
area-3is already filled in, so one click is enough; the area gets radius 32 and the safe zone rules. - Change name, shape, radius (slider or exact number), centre, height range, priority and region kind in the Settings part.
- See the border: a particle preview that only you see (10 seconds by default). Teleport to the centre or delete the area (the menu asks first) under More.
- Let areas overlap: the higher priority wins, then the smaller area. A rule left on inherit is decided by the next area below, and in the end by vanilla.
- Use the presets spawn, safe, market (containers can be opened) and arena (PvP allowed, no item dropping).
- Lift the rules for yourself when you need to:
/protect bypass(also in the menu) lets staff build and use everything in every area, and the action bar reminds you while it is on.
Members, groups and rights
- Add players to an area as builder or manager, with one click for players who are online or by typing the name of a player who has been on the server. Builders may build and use everything in that area. Managers may also change the area in the menu, and they see only the areas they manage.
- Give access for a time: until removed, 1 hour, 1 day or 7 days. Ended access stops counting at once, and players are told on joining how long their access still lasts.
- Make groups with their own rights: players added by hand, a priority, and allow, deny or inherit per flag, with the presets builder, visitor (doors and buttons only) and manager. A group belongs to one area, or it is a global group that any area can use.
- Let a permission decide who is in a group. A new group gets
vystormprotect.group.<name>; type any other node, such as a rank of your permission plugin. Ranks are read when a player joins, every 5 seconds and after every change in the menu, never while a block is placed or broken. - Set a flag for everyone, for the members of an area, for everybody else, for one group or for one player. The player's own entry decides first, then the groups by priority (deny wins at the same priority), then members or everybody else, then everyone.
- Give a shop its own builders: people of an inner area are free of the outer area's player rules inside the inner one.
- Use tools with the same rights as building by hand: choosing a block or an area in a Vystorm Core menu, and bulk edits that ask Core, let builders, managers and admins in bypass work where they may build and refuse everybody else.
Flags
- Choose from 114 flags, each allow, deny or inherit. The menu groups them, and a search field finds one by part of its name.
- Building and blocks: placing and breaking, buckets, trampling crops, containers, doors, buttons, levers, work blocks one by one (anvils, crafting and enchanting tables, brewing stands, furnaces), lectern books, beds, ender chests and respawn anchors.
- Items and animals: bone meal, spawn eggs, flint and steel, fire charges, fireworks, throwing, fishing, trading, shearing, milking, leads, name tags, item frames and armour stands.
- Players: PvP, damage, fall damage, hunger, invincibility, keep inventory and levels, flying, elytra, ender pearls, chorus fruit, riptide, mounts, entry and exit (also by vehicle and by teleport), chat sending and receiving.
- Mobs and the world: monster, animal, phantom, patrol and wandering trader spawns, raids, every kind of mob griefing on its own (creepers, endermen, withers, ghasts, the dragon, ravagers, zombies on doors and more), explosions and TNT, fire, lava and lightning fire, lightning, portals, water and lava flowing in, pistons, dispensers and hoppers reaching across the border, falling blocks, trees and sponges reaching in, ice and snow forming and melting, grass, mycelium, vines, sculk and mushrooms spreading, crops growing, coral dying and leaf decay.
- Set a broad flag and its parts follow:
use-itemsholds bone meal, spawn eggs, flint and steel and fire charges,entity-griefholds every kind of mob griefing. A part set on its own decides for itself. - Set values per area: greeting and farewell texts (chat, action bar or title), game mode, healing and feeding over time, time and weather as the players inside see them, walking speed, a respawn place and a place players are taken to when they come in.
- Keep lists per area: blocks that may or may not be placed or broken, items that cannot be used, effects inside, blocked commands or only allowed commands, and mob types or spawn reasons that never spawn or always may.
- Lift one flag for one player with
vystormprotect.bypass.<flag>.
Works with the other Vystorm plugins
Every area is published to Vystorm Core as a region (kind spawn or safe). Vystorm plugins that read Core regions respect it: Winter Is Coming lays no snow inside unless the winter flag allows it, and plugins that read region flags such as build, pvp and explosions see the same rules. By default a plot of Vystorm Estates inside an area decides its own player rules, so a plot inside a protected spawn still works for its owner.
Placeholders: %vystorm_protect_area%, %vystorm_protect_area_id%, %vystorm_protect_pvp% and %vystorm_protect_count%. Core passes them on to PlaceholderAPI when it is installed.
Switch features on and off
Three switches in config.yml, in the menu and under /vadmin features apply at once: protection.enabled (off: nothing is denied, the areas stay saved and stay known to the other plugins), messages.enabled (entry and exit messages) and border-display.enabled (the particle preview). The config also holds the largest radius, the preview time, the first-run hint and the deny message. You edit it in game with /vadmin config.
Setup
- Install Vystorm Core 0.71.0 or newer, put the Vystorm Protect jar into
plugins/and restart. - Set
spawn-protection=0inserver.properties, so vanilla's own spawn protection does not stop players before this plugin decides. The plugin never changes that file. - Join as an admin and click [Protect spawn, radius 32], or type
/protectand build your areas there.
All texts ship in seven languages (English, German, French, Italian, Brazilian Portuguese, Russian, Simplified Chinese). The areas are saved in areas.yml. The plugin never writes over that file when it has a YAML error or was edited by hand since it was read; it refuses the change and says why. After editing by hand, run protect reload in the console.
Compatibility: tested on Purpur 26.3, Paper 1.20.6 and Spigot 26.2, Java 21 or newer. With a Core older than 0.71.0 the plugin stays off and names the Core version it needs in one console line.
Commands and permissions
/protect(/vprotect) opens the menu;/protect bypassswitches the bypass.- The console and scripts have subcommands for everything the menu does, for example
protect spawn 32,protect list,protect flag spawn pvp allowandprotect member spawn add Alex builder 1d. Players are not shown them. vystormprotect.admin(OP): the whole menu, every area, the global groups and the switchesvystormprotect.bypass(OP): the bypass togglevystormprotect.manage.<area>,vystormprotect.bypass.<flag>,vystormprotect.group.<name>(default false, so being OP does not put anyone into a group or lift a flag)
Known limits
- Players cannot claim areas of their own; areas are made by admins and managed by them and the managers of an area.
- Redstone switching has no flag: the server reports every change of a redstone signal, thousands a second on a busy server, and checking each one would cost far more than any other rule.
- There is no import of regions from other plugins yet. Make the areas in the menu.
- Access for a time is only for the builders and managers of an area, not for other groups. A whole Estates team cannot be trusted at once.
- Edits made with other world editing plugins are not checked.
- Other plugins read the published regions through Core: they order overlapping regions by priority only and see the flags for everyone, not the groups.
- Where a
block-placeorblock-breakdeny list applies, tools are refused, because they do not say which blocks they set.
Vystorm Protect is a first release. It gets at least one update every month. If it keeps your spawn safe, a review helps other server owners find the plugin.
More from Vystorm
Vystorm Core, Vystorm Rails, VystormPortals, CustomTrees, XPVaultEconomy, BlockIntegrations, Vystorm Veins, Winter Is Coming, Vystorm Insomnia, Vystorm Gallery, Vystorm Paddock, Vystorm Snapshot, Vystorm Boards, Vystorm Estates, Vystorm Chat, Vystorm Worlds, Vystorm Locks and Vystorm AntiXray, all free.
Free, licensed under GPL-3.0. The link to the source code follows here.
Information
Pinned Versions
- R1.20.6–26.3
Pages
Members
1Owner