Denizen Script Meta Documentation Search


Learn about how Denizen works in The Beginner's Guide.
Showing 4 search results for coreprotect out of 3928 meta-documentation entries...

Partial Name Match Results



Mechanism


Namecoreprotect_log_interaction
ObjectLocationTag
InputElementTag
DescriptionAdds a CoreProtect log entry for this block location of somebody interacting with a block.
Input is just the name of who interacted (not a PlayerTag).
RequiresDepenizen, CoreProtect
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/coreprotect/CoreProtectLocationProperties.java#L140
Namecoreprotect_log_placement
ObjectLocationTag
InputMapTag
DescriptionAdds a CoreProtect log entry for this block location of somebody placing a block.
Input map must have 'user' (a name, not a PlayerTag) and 'material' (a block MaterialTag)
For example: - adjust <context.location> coreprotect_log_placement:[user=<player.name>;material=stone]
RequiresDepenizen, CoreProtect
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/coreprotect/CoreProtectLocationProperties.java#L90
Namecoreprotect_log_removal
ObjectLocationTag
InputMapTag
DescriptionAdds a CoreProtect log entry for this block location of somebody removing a block.
Input map must have 'user' (a name, not a PlayerTag) and 'material' (a block MaterialTag)
For example: - adjust <context.location> coreprotect_log_removal:[user=<player.name>;material=stone]
RequiresDepenizen, CoreProtect
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/coreprotect/CoreProtectLocationProperties.java#L115

Tag


Name<LocationTag.coreprotect_logs[<duration>]>
ReturnsListTag(MapTag)
DescriptionReturns a list changes to the given block within the given duration.
Each Map has keys:
"action" ("removal", "placement", or "interaction"),
"is_rolled_back" (true/false),
"material" (MaterialTag),
"player_name" (player username, not a PlayerTag instance),
"time" (TimeTag)
Generated Example
- foreach <player.location.coreprotect_logs[1m]> as:entry:
    - narrate "found <[entry]>"
RequiresDepenizen, CoreProtect
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/coreprotect/CoreProtectLocationProperties.java#L50