This repository was archived by the owner on Apr 12, 2022. It is now read-only.
This repository was archived by the owner on Apr 12, 2022. It is now read-only.
Command/Event Requests #19
Closed
Description
Drop Command:
- Drop any item at a certain location
On Player Right-Clicks With:
- An event that is triggered when a player is holding something in their hand, good for a token/loot system
On Player Executes Command
- An event that is triggered when a player runs a command, allows to intercept commands before plugins, create aliases etc.
Skull/Skull_Skin tags:
- Current using this for a lucky block script in D1, it's formatted like:
<context.location.skull_skin.contains[skin-uuid]> - Would be great if I can port it over to D2
Random:
Generate random numbers useful for lots of things
D1: <util.random.int[1].to[8]>drop
right click
skull tags
random
on player executes command
Activity
mcmonkey4eva commentedon May 5, 2017
Random has been added via DenizenScript/Denizen2Core@bf0d66c
mcmonkey4eva commentedon May 5, 2017
Also, I turned your issue into a checklist :D
mcmonkey4eva commentedon May 5, 2017
Towards the purposes of making this work, I've also added a 'with_item:' switch for events to use.
Xenmai commentedon May 5, 2017
I added that drop command and right click event. Skull tags seem to be giving me problems, so they'll have to wait until we manage to fix them.
GershonR commentedon May 6, 2017
Thanks for the updates did the documentation get updated for scripting?
Also, a on player executes command event would be really nice, I just realized I wanted to create some aliases for some commands for players to run, I added it to the checklist.
mcmonkey4eva commentedon May 6, 2017
You should default to using a command script, not using a command event. A command event is to partially override an existing command.
GershonR commentedon May 6, 2017
Yeah, i'm trying to override a current command.
mcmonkey4eva commentedon Oct 13, 2017
command event done!
Xenmai commentedon Oct 15, 2017
Skull stuff is fixed so I added the tags!
mcmonkey4eva commentedon Oct 15, 2017
@Xenmai I think we need more skull tags:
Skin, UUID, etc. not just name
mcmonkey4eva commentedon Oct 17, 2017
All requests complete :D