Snitch: Difference between revisions
link civ
(start rewrite snitch page) |
(link civ) |
||
(19 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
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.
First introduced by [[Civcraft]], snitches have been included in every [[mainline]] civ server since.
== Mechanics ==
{{Table alignment}}
<tabber>
|-|CivMC=
{| 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
|11 blocks
|4 weeks
|8 weeks
|{{yes}}
|{{no}}
|{{no}}
|{{no}}
|-
|Jukebox
|11 blocks
|6 weeks
|12 weeks
|{{yes}}
|{{yes}}
|{{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
|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
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.
=== Actions ===
When a player takes one of a predefined list of actions within the radius of a snitch that can detect
The following is an complete list of actions which snitches record in their logs.
{| class="wikitable"
|+
!Action
!Description
|-
|<code>BLOCK_BREAK</code>
|A player broke a block.
|-
|<code>BLOCK_PLACE</code>
|A player
|-
|<code>DESTROY_VEHICLE</code>
|A player
|-
|<code>DISMOUNT_ENTITY</code>
|A player
|-
|<code>EMPTY_BUCKET</code>
|A player emptied a bucket (such as placing water).
|-
|<code>ENTER_VEHICLE</code>
|A player entered a vehicle (such as a minecart).
|-
|<code>EXIT_VEHICLE</code>
|A player exited a vehicle (such as a minecart).
|-
|<code>FILL_BUCKET</code>
|A player filled a bucket (such as taking water).
|-
|<code>IGNITE_BLOCK</code>
|A player ignited a block (such as lighting a block with flint and steel).
|-
|<code>KILL_MOB</code>
|A player killed a mob.
|-
|<code>KILL_PLAYER</code>
|A player killed another player.
|-
|<code>MOUNT_ENTITY</code>
|A player mounted an entity (such as a horse).
|-
|<code>OPEN_CONTAINER</code>
|A player opened a container (such as a chest).
|}
=== 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
This mechanic was first introduced in [[CivClassic]] and is present in every proceeding [[mainline]] server.
== Logs ==
[[File:Jainfo example.png|thumb|<code>/ja</code> as seen in-game. Each block denotes a recorded action.]]
If a snitch preserves logs, you can run <code>/ja</code> to open an interface containing the logs of the nearest snitch. <code>/jainfo</code> can also be used to print the logs of the nearest snitch to the chat (only visible to you). You can run these commands only on snitches reinforced to a group you have permissions on.
Line 113 ⟶ 175:
== Redstone Interaction ==
The
{|class="wikitable"
|+
!|
!| Trigger
|-
Line 134 ⟶ 196:
| Block break
|}
== Kira ==
|