Jump to content

Citadel

From Civnodes Wiki

Citadel lets you reinforce blocks so other players can't break them in one go. A reinforced block has health, and every break attempt takes some of it off before the block finally comes out. Each reinforcement belongs to a Name Layer group, and that group's permissions decide who can open, use and remove the block.

Reinforcement materials

Reinforcing a block costs one item of a reinforcement material. The material sets the health of the reinforcement.

Material Item spent Health Maturation time Acid time
Stone 1 Stone 50 30 minutes 30 minutes
Iron 1 Iron Ingot 300 4 hours 6 hours
Diamond 1 Diamond 2,000 12 hours 24 hours

Stone means the Stone block, which you get by smelting Cobblestone or by mining with Silk Touch. Cobblestone is not a reinforcement material.

A mature reinforcement loses 1 health per break, so the health column is the number of times an attacker has to break the block.

All three materials only work in the overworld. They do not reinforce in The End or in Descent Into Darkness caves.

/ctdl opens a menu that lists the materials with these numbers.

Blocks you can't reinforce

Plants and crops can't hold a reinforcement of their own. They are protected by the block they grow on, so reinforce the soil.

The other blocks that can't be reinforced are pistons and sticky pistons, TNT, ice, snow, powder snow, scaffolding, cobwebs, cake, fire, glow lichen, sculk veins, resin clumps, bedrock and portal blocks.

Reinforcing blocks

Every way of reinforcing needs the REINFORCE permission on the group you are reinforcing to. Mods, Admins and Owners have it by default. Members don't.

Easy mode

Easy mode is on for everyone unless they turn it off. It reinforces to your default group, which you set with /group <group>.

Hold a reinforcement material in your main hand and left click a block to reinforce it. To reinforce blocks as you place them, hold the material in your off hand and build with your main hand.

The catch is that punching any block with stone, an iron ingot or a diamond in your hand reinforces it. If you build with stone and don't want that, /cte switches easy mode off until you log out, and the Citadel section of /config switches it off for good.

Fortification mode

/ctf [group] starts fortification mode with the material in your main hand. From then on every block you place is reinforced with that material on that group, taking one item from your inventory each time. Leave the group out to use your default group.

When you run out of the material the mode ends and the block you just tried to place is refused. Run /ctf again or /cto to leave the mode yourself.

Reinforcing mode

/ctr [group] is for blocks that are already placed. Click a block while holding a material to reinforce it.

Clicking a block that is already reinforced changes it. With a different material in hand, the reinforcement is swapped to that material at full health and its maturation starts over. With the same material in hand, or anything that is not a reinforcement material, the reinforcement is moved to the group you named. Both need the bypass permission on the group the block is currently on.

Every click on a block is used up by the mode, so chests and doors won't open until you leave it with /cto.

Advanced fortification

/cta [group] lets you fortify different blocks with different materials and groups at the same time. Hold the block in your main hand and the material in your off hand, then run the command. Repeat it for each block type you want to set up. Blocks you place that have no setup are not reinforced. Leave the mode with /cto.

Permissions

Citadel adds these permissions to every group. You can change which rank holds them in the /nl menu.

Permission Default ranks What it allows
REINFORCE Mod, Admin, Owner Reinforcing blocks on the group
BYPASS_REINFORCEMENT Mod, Admin, Owner Breaking the group's reinforced blocks in one break, and changing their material or group
REPAIR_REINFORCEMENT Mod, Admin, Owner Repairing damaged reinforcements in patch mode
ACIDBLOCK Mod, Admin, Owner Activating acid blocks reinforced on the group
MODIFY_BLOCK Mod, Admin, Owner Editing signs, stripping logs, tilling and pathing dirt, waxing and scraping copper, lighting candles, taking honey, using shelves and flower pots
CHESTS Member and above Opening containers, and using anvils and lecterns
DOORS Member and above Opening doors, trapdoors and fence gates
CROPS Member and above Harvesting and planting on reinforced soil
REINFORCEMENT_INFO Member and above Seeing the group name in information mode
INSECURE_REINFORCEMENT Member and above Switching a block between secure and insecure
BEACONS Member and above Opening a beacon
HANGING_PLACE_BREAK Member and above Placing and breaking item frames and paintings on reinforced blocks
ITEM_FRAME_PUT_TAKE Member and above Putting items into those item frames and taking them out
ITEM_FRAME_ROTATE Member and above Rotating the item in those item frames

Bypass

With bypass on, breaking a block reinforced on a group where you hold BYPASS_REINFORCEMENT takes it out in a single break. Bypass is on by default. /ctb toggles it.

A bypassed reinforcement can give its material back. The chance is its current health divided by its full health, so an undamaged one always returns the item and one at half health returns it half the time.

With bypass off, or without the permission, you damage the reinforcement like anyone else.

Breaking a reinforcement

Each time you break a reinforced block the break is cancelled and the reinforcement takes damage. When its health reaches zero the block breaks for real. The material is destroyed; an attacker gets nothing back.

A mature reinforcement takes 1 damage per break. A reinforcement that has not finished maturing takes more. The damage is 1 divided by the share of the maturation time that has passed. A stone reinforcement placed 10 minutes ago is a third of the way through its 30 minutes, so it takes 3 damage per break and falls in 17 breaks instead of 50. A wall thrown up during a fight does not hold.

Breaking reinforcements wears tools slowly. Each hit has a 1 in 50 chance of costing one point of durability.

Explosions damage reinforcements instead of removing the block. A blast counts as one break on every reinforced block it reaches, and TNT and TNT minecarts count as five.

Information mode

/cti toggles information mode. Click a block to see its health and its material. If you hold REINFORCEMENT_INFO on its group you also see the group name, how far along maturation is and whether the block is insecure.

Hitting a reinforced block shows its health over the block, with or without information mode.

Patch mode

/ctp toggles patch mode. Click a damaged reinforcement to bring it back to full health. It needs REPAIR_REINFORCEMENT and one item of the same material in your inventory. The item is kept with the same health based chance as a bypass return, so a block at 90% health is repaired for free nine times out of ten.

Repairing restarts maturation, so a patched block takes extra damage per break again until it has matured. Don't patch a wall while it is under attack.

Containers, doors and redstone

A reinforced container only opens for players with CHESTS on its group, and a reinforced door, trapdoor or fence gate only for players with DOORS. You can't place a chest next to a locked chest to make a double chest out of it, and you can't put a comparator against a container you can't open. Reinforcing one half of a double chest protects both halves.

Hoppers and droppers only move items between two containers when both are reinforced on the same group. A plain hopper under a reinforced chest pulls nothing out. To allow a transfer across groups, or to and from unreinforced blocks, mark the reinforced side as insecure. /ctin toggles insecure mode, and clicking a block in that mode flips its insecure flag.

Redstone opens a reinforced door only when a player with DOORS on its group uses a button, lever or pressure plate that touches the door or sits on a block touching the door. Longer redstone lines don't open it. An insecure door does open from any redstone signal, as long as a player with DOORS on its group is within 6 blocks of it.

What else a reinforcement stops

Pistons can't push or pull a reinforced block. Fire can't burn it, and water and lava can't wash it away. Reinforced sand and gravel don't fall. Zombies can't break a reinforced door without wearing the reinforcement down first, and mobs can't open reinforced doors at all.

Crops, saplings and other plants on reinforced soil can only be broken or harvested by players with CROPS on the soil's group, and only they can plant on it. Nobody tramples reinforced farmland. Item frames and paintings hanging on a reinforced block are protected by that block.

Acid blocks

An acid block removes the reinforced block directly above it without anyone having to break it. Use it to get through a block you can't reach or can't afford to break by hand.

  1. Place a Block of Gold directly under the target and reinforce it.
  2. Wait out the acid time. The timer starts when the gold block is reinforced, and /cti on the gold block shows the time left.
  3. Look at the gold block and run /ctacid. You need ACIDBLOCK on the gold block's group.

The acid time comes from the material on the target block, so a diamond reinforced target takes 24 hours whatever the gold block is reinforced with. The gold block's own material has to be at least as strong as the target's.

Gold block reinforced with Can remove
Stone Stone
Iron Stone, Iron
Diamond Stone, Iron, Diamond

When the acid fires, the target's reinforcement is destroyed and the block breaks and drops as an item. The gold block breaks too, dropping itself and its reinforcement material. If the block above is not reinforced, the gold block still breaks and nothing else happens.

Nodes

Inside the protected chunks of a claimed node, only players with NODE_ACCESS on the node's group can create reinforcements. Anyone else is refused, and every refused attempt takes 1 health off the node controller. See Nodes for how that wears a node down.

NODE_ACCESS comes on top of REINFORCE and does not replace it. Members of the node's group have NODE_ACCESS by default, but they still need REINFORCE on the group they reinforce to. That group can be a different one from the node's group.

A node controller has to be placed in fortification mode, which claims the node for the group you are fortifying to. The controller gets its own Node Controller reinforcement with 10,000 health, and it follows its own rules for bypass, acid and explosions. Those are on the Nodes page.

A node with the Reinforcement Module holds tanks of stone, iron ingots and diamonds that pay for reinforcing inside the node. Reinforcements paid from a tank have the usual health and acid time and take ten times as long to mature. The commands and figures are on Node Specialisations.

Commands

Command What it does
/ctf [group] Fortification mode. Blocks you place are reinforced with the material in your main hand.
/ctr [group] Reinforcing mode. Click placed blocks to reinforce them, change their material or move them to the group.
/cta [group] Advanced fortification. Sets a material and group per block type.
/cte Turns easy mode on or off until you log out.
/cti Information mode. Click a block to see its reinforcement.
/ctb Turns bypass on or off.
/ctp Patch mode. Click a damaged reinforcement to repair it.
/ctin Insecure mode. Click a block to flip its insecure flag.
/ctacid Fires the acid block you are looking at.
/ctdl Opens the list of reinforcement materials.
/cto Leaves fortification, reinforcing, advanced, patch and insecure mode, and turns information mode off. Bypass and easy mode stay as they are.