Snitch: Difference between revisions

link civ
(typo)
(link civ)
 
(13 intermediate revisions by the same user not shown)
Line 1:
[[File:JukeAlertCheatsheet.png|thumb|350px| A summary of snitch mechanics on [[CivClassic]]. "JukeAlert" refers to the name of the snitch plugin.]]
{{Mechanics series}}
 
A '''snitch''' is a block commonly included in civ[[Civ]] servers which records nearby player movement or actions. Snitches provide different abilities based on their varianttype. Some can send a message to a [[NameLayer|NameLayer group]] when it detects player movement, allowing for real-time tracking of players. Other snitches can log nearby actions and can be examined after the fact to determine a recounting of events, even if nobody was present at the time.
 
Snitches are frequently placed in high-traffic areas to provide real-time insight into player movement, and in high-value areas so that any attacks can be traced back to a particular player or group.
 
Historically,Civ servers generally use [[Citadel|reinforced]] noteblocks and jukeboxes have been used as snitch blocks, with each providing different capabilities.
 
First introduced by [[Civcraft]], snitches have been included in every [[mainline]] civ server since.
 
== Mechanics ==
 
{| class="wikitable"
{{Table alignment}}
<tabber>
|-|CivMC=
{| class="wikitable defaultcenter sortable"
|+
!Type
!{{diagonal split header|Property|Variant}}
!Noteblock
!Jukebox
|-
!Radius
!Dormant after
|11 blocks (cube)
!Culled after
|11 blocks (cube)
![[Snitch#Movement|Detects movement]]
![[Snitch#Actions|Detects actions]]
![[Snitch#Logs|Preserves logs]]
![[Snitch#Redstone Interaction|Emits redstone]]
|-
!|Noteblock
!Dormancy Time
|11 blocks (cube)
|4 weeks
|6 weeks
|-
!Cull Time
|8 weeks
|{{noyes}}
|12 weeks
|{{no}}
|{{no}}
|{{no}}
|-
!|Jukebox
!Detects movement
|11 blocks (cube)
|6 weeks
|12 weeks
|{{yes}}
|{{yes}}
|-
!Detects actions
|{{no}}
|{{yes}}
|{{yes}}
|-}
|-|CivCraft 1.0=
{| class="wikitable defaultcenter sortable"
|-+
!Type
!Radius
!Dormant after
!Culled after
![[Snitch#Movement|Detects movement]]
![[Snitch#Actions|Detects actions]]
![[Snitch#Logs|Preserves logs]]
![[Snitch#Redstone Interaction|Emits redstone]]
|-
|Noteblock
!Preserves logs
|11 blocks (configurable)
|{{n/a}}
|3 weeks
|{{yes}}
|{{no}}
|{{no}}
|{{no}}
|-
|Jukebox
|11 blocks (configurable)
|{{n/a}}
|3 weeks
|{{yes}}
|{{yes}}
|{{yes}}
|{{yes}}
|}
</tabber>
 
=== Creation ===
Line 47 ⟶ 81:
 
=== Movement ===
When a player enters the radius of a snitch with the ability to detect movement, the snitch will send a message to the [[NameLayer|group]] it is reinforced to. The format of this message canvaries vary depending on theby server, but itis generally has the form <code><player name> entered snitch at <snitch name> [world <x>,<y>,<z>]</code>.
 
Snitches that track movement will also track if a player logs in or logs out within their radius. This sends a message in the same way player movement does.
Line 102 ⟶ 136:
 
=== Breaking ===
When a player breaks a snitch that is not theirs, it will print the name of the group they are reinforced to, along with the primary owner of the group. This wasprovides addedplayers toa allowclue playersas to determine who had placed snitchesthe onsnitch, theirwhich landmight otherwise be very difficult to determine.
 
This mechanic was first introduced in [[CivClassic]] and is present in every proceeding [[mainline]] server.
 
== Logs ==
Line 141 ⟶ 175:
== Redstone Interaction ==
 
JukeboxSnitches snitcheswith canthe be configuredability to causeemit leversredstone oncan thebe blocksbe onconfigured orto adjacentemit toa theredstone jukeboxpulse sideswhen toit outputrecords a redstonespecific pulseaction. This behavior whichmust isfirst disabledbe byenabled defaultfor cana bespecific enabledsnitch with <code>/jaToggleLeversjatogglelevers</code> (<code>/jatogglelevers 1</code> andto disabledenable, byand <code>/jaToggleLeversjatogglelevers 0</code> into radiusdisable). Then, place a lever on one of the four cardinal faces of the snitch block — i.e., anywhere but top or bottom.
 
The directionface the lever is placed on changes the action typewhich thatwill causescause itthe snitch to triggeremit a redstone pulse.
 
{|class="wikitable"
|+
|+Redstone signal
!| DirectionSnitch face
!| Trigger
|-
Line 162 ⟶ 196:
| Block break
|}
 
Nearby levers will be turned on for a duration of approximately 750ms. This duration can vary due to server lag. Levers that have already been enabled by players will also be turned off after 750ms.
 
== Kira ==
2,232

edits