Skip to content
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
Closed
@GershonR

Description

@GershonR

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

mcmonkey4eva commented on May 5, 2017

@mcmonkey4eva
Member

Random has been added via DenizenScript/Denizen2Core@bf0d66c

mcmonkey4eva

mcmonkey4eva commented on May 5, 2017

@mcmonkey4eva
Member

Also, I turned your issue into a checklist :D

mcmonkey4eva

mcmonkey4eva commented on May 5, 2017

@mcmonkey4eva
Member

Towards the purposes of making this work, I've also added a 'with_item:' switch for events to use.

Xenmai

Xenmai commented on May 5, 2017

@Xenmai
Contributor

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

GershonR commented on May 6, 2017

@GershonR
Author

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

mcmonkey4eva commented on May 6, 2017

@mcmonkey4eva
Member

You should default to using a command script, not using a command event. A command event is to partially override an existing command.

GershonR

GershonR commented on May 6, 2017

@GershonR
Author

Yeah, i'm trying to override a current command.

mcmonkey4eva

mcmonkey4eva commented on Oct 13, 2017

@mcmonkey4eva
Member

command event done!

Xenmai

Xenmai commented on Oct 15, 2017

@Xenmai
Contributor

Skull stuff is fixed so I added the tags!

mcmonkey4eva

mcmonkey4eva commented on Oct 15, 2017

@mcmonkey4eva
Member

@Xenmai I think we need more skull tags:
Skin, UUID, etc. not just name

mcmonkey4eva

mcmonkey4eva commented on Oct 17, 2017

@mcmonkey4eva
Member

All requests complete :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mcmonkey4eva@Xenmai@GershonR

        Issue actions

          Command/Event Requests · Issue #19 · DenizenScript/Denizen2Sponge