#(justacez_) grief prevention x denizen / depenizen
33 messages · Page 1 of 1 (latest)
(justacez_) grief prevention x denizen / depenizen
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
he said this should be the ocde ut doesnt work. i tried a ton of placeholders and such too but doesnt as well
!m bonus_blocks
Sets the player's bonus claim blocks.
Depenizen, GriefPrevention
PlayerTag
ElementTag(Number)
<PlayerTag.griefprevention.blocks.bonus> Returns the number of bonus claim blocks the player has.
!c adjust
core
adjust [<ObjectTag>/def:<name>|...] [<mechanism>](:<value>)
Adjusts an object's mechanism.
Many object tag types contains options and properties that need to be adjusted.
Denizen employs a mechanism interface to deal with those adjustments.
To easily accomplish this, use this command with a valid object mechanism, and sometimes accompanying value.
Specify "def:<name>" as an input to adjust a definition and automatically save the result back to the definition.
You can optionally adjust a MapTag of mechanisms to values.
To adjust an item in an inventory, use !command inventory...
can you make an example as per my request?
Did you mean to search for materialtag.is_block?
Multiple possible tags: <MaterialTag.age>, <MaterialTag.half>, <ElementTag.abs>, <ElementTag.ln>, <MaterialTag.name>, <EntityTag.scale>, <ColorTag.alpha>, <ElementTag.min[<#.#>]>, <QuaternionTag.scale[<factor>]>, <essentials.warp[<warp_name>]>, <MaterialTag.item>, <PlayerTag.locale>, <EntityTag.health>, <MaterialTag.type>, <MaterialTag.delay>, <MaterialTag.faces>, <MaterialTag.level>, <MaterialTag.mode>, <MaterialTag.note>, <MaterialTag.shape>, ...
!t all
Find all Tags at https://meta.denizenscript.com/Docs/Tags/
- define current_bonus <player.griefprevention.blocks.bonus>
- adjust <player> bonus_blocks:<[current_bonus].add[100]>```
hmm, can you run /ex narrate <player.griefprevention.blocks.bonus>
does it error if you have no bonus blocks?
try uh /ex adjust <player> bonus_blocks:<player.griefprevention.blocks.bonus.add[100]>
it worked
nice
another question, out of denizen topic but how'd you make that command have a black-ish background
` these ` at the start and end```
alright, thanks so much
yw