Citadel: Difference between revisions

3,228 bytes added ,  16 days ago
(sortable reinforcement table)
 
(35 intermediate revisions by 3 users not shown)
Line 1:
[[File:Citadel ctinfo example.png|thumb|An obsidian block reinforced with stone. From top to bottom, as shown by <code>[[Citadel#Info Mode|/ctinfocti]]</code>: durability, [[NameLayer]] group, reinforcement material. ]]
{{Featured article}}
{{Mechanics series}}
'''Citadel''' is a common plugin on civ servers which allows blocks to be reinforced at the cost of resources. Reinforced blocks must be broken many times before they are destroyed. The durability of a reinforced block can be increased by reinforcing it with a more expensive material. Reinforced blocks also prevent certain player interactions, such as a reinforced door from being opened.
'''Citadel''' is a common plugin on [[Civ]] servers which allows blocks to be reinforced at the cost of resources. Reinforced blocks must be broken many times before they are destroyed. The durability of a reinforced block can be increased by reinforcing it with a more expensive material. Reinforced blocks also prevent certain player interactions, such as a reinforced door from being opened.
 
Citadel interacts closely with the [[NamelayerNameLayer]] plugin. Blocks are reinforced to a particular NamelayerNameLayer group, and users on that group can bypass the protections of Citadel for that block.
 
Citadel is primarily used as a defensive tool. Players generally reinforce their builds, or defensive structures like [[Vault|vaults]], to make them harder to grief or attack.
Line 29 ⟶ 30:
|50
|30 minutes
|30 minutes
|2 hours
|Overworld
|-
Line 35 ⟶ 36:
|300
|4 hours
|126 hours
|Overworld
|-
Line 47 ⟶ 48:
|50
|30 minutes
|30 minutes
|2 hours
|Nether
|-
Line 53 ⟶ 54:
|300
|4 hours
|126 hours
|Nether
|-
Line 100 ⟶ 101:
|Stone
|50
|1 hour
|5 minutes
|2 hours
|20 minutes
|-
|Iron Ingot
|300250
|12 hours
|30 minutes
|615 hours
|-
|Emerald
|500
|1 day
|1 day
|-
|Diamond
|2000
|42 hoursdays
|2 days
|-
Line 198 ⟶ 204:
|-
|}
|-|CivRealms 2.0=
</tabber>
{| class="wikitable sortable"
!Material
!Durability
!Maturation time
!Acid maturation
|-
|Stone
|100
|10 minutes
|30 minutes
|-
|Iron Ingot
|750
|1 hour
|8 hours
|-
|Diamond
|3000
|10 hours
|36 hours
|-
|Bedrock
|3000000
|5 minutes
|5 minutes
|-
|}
</tabber>{{Notelist}}
 
=== Restricted Usage ===
 
Unless they have permissions on the NamelayerNameLayer group the block is reinforced to, players cannot interact with reinforced blocks in any way. This includes:
 
* Opening reinforced containers, such as chests, barrels, or hoppers
* Pulling items out of — or putting them into — a reinforced container with a hopper (unless the container has been marked as [[Citadel#Insecure Mode|insecure]])
* Opening or closing reinforced apertures, such as doors or trapdoors
* Tilling reinforced grass or destroying reinforced farmland
Line 222 ⟶ 256:
 
== Modes ==
Citadel has several modes which players can enter into or exit from at any time. These modes change how players reinforce blocks or interact with reinforced blocks.
 
=== Reinforcement Modes ===
 
To reinforce a block, you must switch to a reinforcement mode. There are several of these modes, but all work functionally identically: blocks can be reinforced with a reinforcement material (see {{section link||Reinforcement Materials}}), and doing so consumes one of that material. The exact mechanism by which a block is reinforced depends on what mode you are in.
 
Most reinforcement modes take an optional <code>group</code> argument. This is the Namelayer group that the block will be reinforced to while in that mode. If no group argument is supplied, it will use your [[default group]].
 
{| class="wikitable"
!Type
!Mode
!Command
|-
! rowspan="6" |[[Citadel#Reinforcement Modes|Reinforcement Modes]]
! Mode name !! Command !! Description
|[[Citadel#Reinforce Mode|Reinforce Mode]]
|<code>/ctr [group]</code>
|-
|[[Citadel#Fortify Mode|Fortify Mode]]
| Reinforce Mode || <code>/ctr [group]</code> || The most basic reinforcement mode. While in Reinforce mode, left or rick click on a block with a reinforcement material in your hand to reinforce that block.
|<code>/ctf [group]</code>
|-
|[[Citadel#Easy Mode|Easy Mode]]
| Fortify Mode || <code>/ctf [group]</code> || Run this command with a reinforcement material in your hand. While in Fortify mode, this material will automatically be used to reinforce any blocks you place. While in fortify mode, any blocks placed are automatically reinforced reinforced with that material. If you run out of reinforcement material, or a reinforcement fails for any reason, Fortify mode will exit.
|<code>/cte</code>
|-
|[[Citadel#Advanced Mode|Advanced Mode]]
| Easy Mode || <code>/cte</code> || Unlike other modes this only allows reinforcing to your default group. On easy reinforce you can hold a reinforcement material on your off-hand and automatically reinforce blocks you place with it, or hold the reinforcement material on your main-hand and punch blocks to reinforce them. Unlike Reinforce mode this won't generate warnings when attempting to interact with blocks without a reinforcement material, letting you leave it on. However, doing so may lead to accidental reinforcement
|<code>/cta [group]</code>
|-
|[[Citadel#Patch Mode|Patch Mode]]
| Advanced Mode || <code>/cta [group]</code> || The command must be run while holding the type of block you intend to reinforce in your main hand and a reinforcement material in your offhand, you may do so again to add more targeted block types. Advanced mode behaves like fortify mode while allowing you to choose individual groups and different reinforcement types (or, by default, none) for each type block there is.
|<code>/ctp</code>
|-
|[[Citadel#Normal Mode|Normal Mode]]
| Patch Mode || <code>/ctp</code> || Used to repair existing reinforcements instead of creating them. While in Patch mode, left or right click an existing reinforced block. It will be repaired to full durability if you have the reinforcement material used to reinforce the block in your inventory. The chance of consuming the reinforcement material is proportional to how damaged the block is. For instance, a block at 95% durability would have a 5% chance of consuming the material.
|<code>/cto</code>
|-
! rowspan="3" |[[Citadel#Toggle Modes|Toggle Modes]]
| Normal Mode || <code>/cto</code> || Exits any reinforcement mode and returns to Normal mode. This is the default mode for all players.
|[[Citadel#Insecure Mode|Insecure Mode]]
|<code>/ctin</code>
|-
|[[Citadel#Info Mode|Info Mode]]
|<code>/cti</code>
|-
|[[Citadel#Bypass Mode|Bypass Mode]]
|<code>/ctb</code>
|}
 
=== Reinforcement Modes ===
 
These modes change the mechanism by which players reinforce blocks.
 
By default, players are in [[Citadel#Normal Mode|Normal mode]], which does not allow blocks to be reinforced.
 
==== Reinforce Mode ====
{{hatnote|<code>/ctr [group]</code>}}
 
Reinforce mode is the most basic reinforcement mode. While in Reinforce mode, left or rick clicking on a block with a reinforcement material in the player's hand will reinforce that block.
 
<code>group</code> is the NameLayer group blocks will be reinforced to. If not supplied, it will use the player's [[default group]].
 
==== Fortify Mode ====
{{hatnote|<code>/ctf [group]</code>}}
 
The command for Fortify mode must be run while holding a reinforcement material in the player's hand. While in Fortify mode, any blocks the player placees will automatically be reinforced with that material. If the player runs out of reinforcement material, or a reinforcement fails for any reason, Fortify mode will exit.
 
<code>group</code> is the NameLayer group blocks will be reinforced to. If not supplied, it will use the player's [[default group]].
 
==== Easy Mode ====
{{hatnote|<code>/cte</code>}}
 
While in Easy mode, left clicking a block with a reinforcement material in the player's hand will reinforce that block. Although similar to Reinforce mode, Easy mode allows players to right click blocks without the risk of accidentally reinforcing them. Additionally, Easy mode does not take a <code>group</code> argument, and can only reinforce to a player's default group.
 
==== Advanced Mode ====
{{hatnote|<code>/cta [group]</code>}}
 
The command for Advanced mode must be run while holding a block in the player's main hand and a reinforcement material in the player's offhand. Until Advanced mode exits, whenever that block type is placed, it will be reinforced with the corresponding material.
 
The command for Advanced mode may be repeated multiple times to tie different block types to different reinforcement materials. These associations last only until the player exits Advanced mode.
 
<code>group</code> is the NameLayer group the corresponding block type will be reinforced to. If not supplied, it will use the player's [[default group]].
 
==== Patch Mode ====
{{hatnote|<code>/ctp</code>}}
 
Used to repair existing reinforcements instead of creating them. While in Patch mode, left or right click an existing reinforced block. It will be repaired to full durability if you have the reinforcement material used to reinforce the block in your inventory. The chance of consuming the reinforcement material is proportional to how damaged the block is. For instance, a block at 95% durability would have a 5% chance of consuming the material.
 
==== Normal Mode ====
{{hatnote|<code>/cto</code>}}
 
Exits any reinforcement mode and returns to Normal mode. This is the default mode for all players. While in Normal mode, reinforcements cannot be created.
 
=== Toggle Modes ===
Line 250 ⟶ 340:
These modes allow you to retrieve information about reinforcements or affect reinforcements in some other way besides creating a reinforcement. These modes can be toggled on or off independently of a reinforcement mode or of each other. In other words, you could have info mode, bypass mode, and reinforce mode all active at the same time.
 
==== Insecure Mode ====
{| class="wikitable"
{{hatnote|<code>/ctin</code>}}
|-
 
! Mode name !! Command !! Description
Insecure mode allows you to left click a reinforced container to turn it into an "insecure" reinforcement. An insecure reinforcement allows hoppers to move items in and out of the container, in contrast to a normal reinforcement, which will not.
|-
 
| Insecure Mode || <code>/ctin</code> || Insecure mode allows you to left click a reinforced container to turn it into an "insecure" reinforcement. An insecure reinforcement allows hoppers to move items in and out of the container, in contrast to a normal reinforcement, which will not.
==== Info Mode ====
|-
{{hatnote|<code>/cti</code>}}
| Info Mode || <code>/cti</code> || While in Info mode, left or right clicking a block will cause information about its reinforcement to be displayed, including its reinforcement material and durability. This can be used even on blocks reinforced to a group you do not have permissions on.
 
|-
While in Info mode, left or right clicking a block will cause information about its reinforcement to be displayed, including its reinforcement material and durability. This can be used even on blocks reinforced to a group you do not have permissions on.
| Bypass Mode || <code>/ctb</code> || Bypass mode allows you to bypass reinforcements on a group have permissions on. This means that you can treat reinforced blocks as unreinforced blocks when in Bypass mode. When breaking a reinforced block in Bypass mode, the reinforcement material originally used will be returned to you.
 
|}
==== Bypass Mode ====
{{hatnote|<code>/ctb</code>}}
 
Bypass mode allows you to bypass reinforcements on a group have permissions on. This means that you can treat reinforced blocks as unreinforced blocks when in Bypass mode. When breaking a reinforced block in Bypass mode, the reinforcement material originally used will be returned to you.
 
== Acid Block ==
[[File:Icenia obbybomb acid.png|thumb|Acid (here gold) blocks being used to clean up an [[obbybombing]] of [[Icenia]] on [[CivMC]]. ]]
An acid block is the name given to a particular block which can be used to clear reinforced blocks at scale, without manually breaking each reinforced block. Gold blocksServers have historically been used gold blocks as acid blocks since their introduction on Civcraft.
 
To use an acid block, place it underneath a reinforced block, then reinforce the acid block with the same material that the block above it is reinforced with. Depending on this material, the acid block will take a certain amount of time to mature (see {{section link||Reinforcement Materials}}). Once matured, run <code>/ctacid</code> while looking at the acid block to destroy the block above it. This works regardless of how much durability the reinforced block has. Only users with permissions on an acid block's reinforcement group can run <code>/ctacid</code> on it.
Line 282 ⟶ 376:
 
{| class="wikitable"
|+
|+Decay steps
!Decay state
!Inactivity
Line 307 ⟶ 401:
| >= 2048
|}
 
On CivMC, decay follows https://www.desmos.com/calculator/awern3k4ol, where the y axis is the multiplier and the x axis is the time passed in months.
 
==Redstone Interactions==
Line 317 ⟶ 413:
*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>
 
 
== Command Reference ==
 
{| class="wikitable"
!Category
! +class="nowrap" |Usage
!Command
!Alias
!Description
!Alias
|-
! rowspan="2" |Info
|<code>/ctfortify [groupname]</code>
|<code>/ctfhelp citadel [page]</code>
|Lists all Citadel commands.
|Toggles fortify mode
|{{n/a}}
|-
|<code>/ctreinforce [groupname]ctdl</code>
|Shows an interface of all reinforcement materials.
|<code>/ctr</code>
|{{n/a}}
|Toggles reinforce mode
|-
! rowspan="5" |[[Citadel#Reinforcement Modes|Reinforcement Modes]]
|<code>/ctadvanced [groupname]</code>
|<code>[[Citadel#Fortify Mode|/ctactf [group]]]</code>
|TogglesEnters advancedfortify mode.
|<code>/ctfortify</code>
|-
|<code>[[Citadel#Reinforce Mode|/cteasyctr [groupnamegroup]]]</code>
|Enters reinforce mode.
|<code>/cte</code>
|<code>/ctreinforce</code>
|Toggles easy mode
|-
|<code>[[Citadel#Advanced Mode|/ctinfocta [group]]]</code>
|Enters advanced mode.
|<code>/cti</code>
|<code>/ctadvanced</code>
|Toggles info mode
|-
|<code>[[Citadel#Normal Mode|/cto]]</code>
|Enters normal mode.
|<code>/ctoff</code>
|<code>/cto</code>
|Turns off all reinforcement and information modes
|-
|<code>[[Citadel#Easy Mode|/ctacidcte [group]]]</code>
|Enters easy mode.
|
|<code>/cteasy</code>
|Activates an acid block
|-
! rowspan="3" |[[Citadel#Toggle Modes|Toggle Modes]]
|<code>[[Citadel#Info Mode|/cti]]</code>
|Toggles info mode.
|<code>/ctinfo</code>
|-
|<code>[[Citadel#Bypass Mode|/ctb]]</code>
|Toggles bypass mode.
|<code>/ctbypass</code>
|<code>/ctb</code>
|Toggles bypass mode
|-
|<code>[[Citadel#Insecure Mode|/ctin]]</code>
|Toggles insecure mode.
|<code>/ctinsecure</code>
|<code>/ctin</code>
|Toggles insecure mode
|-
![[Citadel#Acid Block|Acid Block]]
|<code>/ctdl</code>
|<code>/ctacid</code>
|
|Activates an acid block.
|List all possible materials you can reinforce with, in a GUI
|{{n/a}}
|}
 
== History ==
{| class="wikitable"
|+
! colspan="3" |[[CivMC]]
|-
!'''July 16, 2023'''
|Acid maturation durations changed for Stone (2 hours -> 30 minutes), Iron Ingot (12 hours -> 6 hours), Nether Brick (2 hours -> 30 minutes), and Gold Ingot (12 hours -> 6 hours)
|-
!'''April 5, 2023'''
|Maturation durations changed for Stone (5 minutes -> 30 minutes), Iron Ingot (30 minutes -> 4 hours), Diamond (4 hours -> 12 hours), Nether Brick (5 minutes -> 30 minutes), Gold Ingot (30 minutes -> 4 hours), and Gilded Blackstone (4 hours -> 12 hours).
 
Acid maturation durations changed for Stone (20 minutes -> 2 hours), Iron Ingot (6 hours -> 12 hours), Diamond (2 days -> 1 day), Nether Brick (20 minutes -> 2 hours), Gold Ingot (6 hours -> 12 hours), and Gilded Blackstone (2 days -> 1 day).
|-
!'''September 19, 2022'''
|Diamond and Netherite blocks are added as acid blocks, which apply acid vertically and in all directions respectively. Gold blocks still only apply acid upwards.
|-
!'''June 2, 2022'''
|Server launches with Citadel.
|-
! colspan="2" |[[CivClassic 2.0]]
|-
!June 2, 2017
|Server launches with Citadel.
|-
! colspan="2" |[[Devoted 3.0]]
|-
!September 17, 2016
|Server launches with Citadel.
|-
! colspan="2" |[[Civcraft 3.0]]
|-
!July 30, 2016
|Server launches with Citadel.
|-
! colspan="2" |[[Civcraft 2.0]]
|-
!May 19, 2013
|Server launches with Citadel.
|-
! colspan="2" |[[Civcraft 1.0]]
|-
!March 24, 2012
|<code>/help Citadel</code>
|Server launches with Citadel.
|
|List all commands
|}
 
2,232

edits