Comprehensive Guide:Protection: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(→‎Namelayer: 15 groups limit)
(ref to citadel)
Line 3: Line 3:


== Citadel ==
== Citadel ==
''Protect blocks {[https://github.com/CivClassic/Citadel source], [https://github.com/CivClassic/AnsibleSetup/tree/master/templates/public/plugins/Citadel config]}''
[[File:Citadel block break animation.gif|thumb|305px| '''Example of a reinforced block being broken.''' The block break animation plays and the block breaks but because it is reinforced, the block reappears.]]


See [[Citadel]].
Spend resources to reinforce blocks to [[Comprehensive_Guide:Protection#Namelayer|private groups]]; players not on the group must to break the block multiple times in order to destroy it.

===Overview===
Reinforcing blocks costs one item of the corresponding reinforcement material. This item is returned only when a player who is on the reinforcement group mines the block or uses the relevant Citadel command. Choice of reinforcement material is selected by punching the block with a chosen item or using Citadel commands.

{| class="wikitable"
|+Reinforcement materials {{refn|group=note|There also exists a bedrock reinforcement that takes 147483646 breaks to destroy, accessible only to server operators.}}
!Material
!Number of breaks to destroy
!Maturation time
!Acid maturation
|-
|Paper {{refn|group=note|Patreon reward paid by [[wjkroeker]]<ref>https://www.reddit.com/r/civclassics/comments/crz0fi/admins_chadmins_paper_is_real/</ref>}}
|1
|1 minutes
|1 minutes
|-
|Stone
|50
|5 minutes
|20 minutes
|-
|Iron
|300
|30 minutes
|6 hours
|-
|Diamond
|2000
|4 hours
|2 days
|-
|}

{|class="wikitable"
|+Citadel commands
!+class="nowrap" | Usage
! Alias
! Description
|-
| '''/ctfortify [groupname]'''
| /ctf
| Reinforces all blocks placed until reinforcement material runs out or command used to exit reinforcement mode. Requires holding reinforcement material items when typing command
|-
| {{nowrap|'''/ctreinforce [groupname]'''}}
|/ctr
| Reinforces blocks punched while holding a reinforcement material
|-
| '''/ctinfo'''
| /cti
| Will give reinforcement information about blocks clicked on.
|-
| '''/ctoff'''
| /cto
| Turns off all reinforcement and information modes
|-
| '''/ctacid'''
|
| Activates an acid block
|-
| /ctbypass
|/ctb
| Bypasses a reinforcement and gives the reinforcement back when you break it
|-
| /ctinsecure
|/ctin
| Toggles insecure reinforcment
|-
|/rein
|
|List all possible materials you can reinforce with, in a GUI
|-
| /help Citadel
|
| List all commands
|}

* Tool durability will not go down when damaging a reinforced block
* Because a moment passes between block break animation and reinforced block reappearing it is possible to 'reach' behind reinforced block. The block will reappear before a player can fall or walk though, however
* It is possible to double reinforce a double chest by placing it while using <code>/ctf</code>
* Explosions will do one reinforcement damage to all blocks in blast range. This only applies to blocks that the explosion would have been able to damage had they been unreinforced.

====== Acid blocks ======

Reinforcing a gold block creates an acid block. An acid block can remove the reinforced block directly above it regardless of respective reinforcement groups. The acid block must be allowed to mature and must use the same reinforcement type as the block directly above it. When enough time has passed such that the acid block is mature, looking at the acid block and doing /ctacid will remove the blocks. The block on the top will be removed an the gold block will be dropped on the ground. /ctacid has a range of 40 blocks. It can remove several blocks at the same as long as they line up with the player's cursor. Acid blocks can be used in traps.

====== Insecure reinforcements ======
A reinforcement can be set to insecure using /ctin or /ctinsecure and hitting it. This allows hoppers to move items out.

====== Redstone interactions ======

* Reinforced buttons will only emit a signal if someone from the namelayer is nearby (distance?)
* Comparators cannot inspect the content of a reinforced container block (e.g: chests, furnaces, droppers)
* Droppers and hoppers will not transfer items if the destination block is not on the same reinforcement group.
* Blocks can not be attached to a reinforced redstone component (e.g dropper, dispenser, hopper?) if not on the reinforcement groups.
* Reinforced doors, trapdoors and fences gate will only respond to a redstone signal if someone on the reinforcement group is less than 7 blocks away from it <ref>https://www.reddit.com/r/civeconomics/comments/9qwas2/on_citadel_redstone/</ref>

====== Decay ======

Reinforcements placed under a group will decay if the group becomes inactive (no player in the groups logs in).

Currently, reinforcements will start decaying after 3 months of inactivity and the damage multiplier doubles every year.
The damage multiplier is applied to every block break. This means that with a damage multiplier of 2, reinforced blocks can be broken twice as fast.

Since a single player logging in is enough to reinitialize the decay clock and since the decay rate is rather slow, decayed buildings aren't common.

{|class="wikitable"
|+Decay steps
! Decay state
! Inactivity
! Damage multiplier
|-
| Not decayed
| < 3 months
| x1 (normal)
|-
| Partially decayed
| > 3 months but < 1 year
| 2-8
|-
| Highly decayed
| > 1 year but < 2 years
| 16-128
|-
| Heavily decayed
| > 2 years but < 3 years
| 256-1024
|-
| Completely decayed
| > 3 years
| >= 2048
|}

====== Terminology ======
A common abbreviation series is DRO/IRO/SRO/PRO, standing for for Diamond/Iron/Stone/Paper reinforced obsidian.

=== Advanced features ===

* Note that reinforced blocks are not affected by gravity (e.g. reinforced sand will float). However if the block by default breaks when block beneath is removed, it will break even if reinforced (e.g. rails whose base is broken will also break).
* Being in reinforcement or fortify mode will prevent the use of citadel buttons. Walking over pressure plates while in this mode will reinforce them to currently selected group.
* Reinforcing farmland will give crops planted on it citadel protection.
* Reinforce leaf blocks and destroying the tree they are apart of will lead to loss of reinforcment.

===== Known bugs =====

* Placing a reinforced button/sign and breaking the block at the base will make it drop but will leave a reinforced air block behind. As this is an exploit its use should be avoided.

===Reinforcement values===

An online calculator can be found at: https://okx.sh/break/

===Non reinforceable blocks===

Some blocks cannot be reinforced. This includes blocks with unique properties such as TNT, bedrock and portal blocks. Most plants cannot be reinforced. Finally liquids and entities are also unreinforcable (they are not blocks).

{| class="wikitable mw-collapsible mw-collapsed"
|+ class="nowrap" | Non reinforceable blocks (excluding plants)
!Block name
|-
|BEDROCK
|-
|END_GATEWAY
|-
|END_PORTAL_FRAME
|-
|END_PORTAL
|-
|PISTON_EXTENSION
|-
|PISTON_MOVING_PIECE
|-
|TNT
|-
|FIRE
|-
|SNOW (only layers of snow, the full block can be reinforced)
|-
|ICE (only normal ice)
|-
|PORTAL
|-
|CAKE_BLOCK
|-
|WEB
|}

{| class="wikitable mw-collapsible mw-collapsed"
|+ class="nowrap" | Non reinforceable plants
!Block name
|-
|CROPS
|-
|CARROT
|-
|POTATO
|-
|NETHER_WARTS
|-
|VINE
|-
|CACTUS
|-
|SUGAR_CANE_BLOCK
|-
|RED_ROSE (Includes all single block tall flowers)
|-
|YELLOW_FLOWER
|-
|BROWN_MUSHROOM
|-
|RED_MUSHROOM
|-
|SAPLING
|-
|LONG_GRASS
|-
|DEAD_BUSH
|}


==Namelayer==
==Namelayer==