Skip to content

[SUGGESTION] Make player break block effect #888

@underscore95

Description

@underscore95

Suggestion

Currently the only ways to make the player break a block are using PriSKm, an addon with under 100 downloads, or using skript-reflect.

SkBee has similar functionality for breaking a block using a specific tool: https://skripthub.net/docs/?id=11939
This effect could be expanded to optionally specify a player instead of an item.
The reason the existing effect isn't enough is that any other Skripts or plugins such as a mined blocks counter or protections like WorldGuard won't trigger.

The existing syntax is:
break %blocks% [naturally] with effects [[and] with (experience|exp|xp)] [using %itemtype%]

Additional syntax could be:
break %blocks% [naturally] with effects as %player%

Additional Information

https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html#breakBlock(org.bukkit.block.Block)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions