Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require confirmation on CommandItem Items #882

Open
LadyCailinBot opened this issue Jun 24, 2014 · 4 comments
Open

Require confirmation on CommandItem Items #882

LadyCailinBot opened this issue Jun 24, 2014 · 4 comments
Labels
status:accepted This issue has been triaged and accepted type:feature-request Request for something new

Comments

@LadyCailinBot
Copy link

CRAFTBOOK-3023 - Reported by Kainzo

We have an item that changes a user to a certain Heroes class by running an admin command. Several users accidentally "right-click" the item when trying to access chests/etc - is there a way to add a confirmation to this? I could use a delay but it doesn't seem that its possible to INTERRUPT the delay?

Perhaps the better thing would be to have DELAY Commands be interrupted by a CLICK_ACTION.

CodexNecro:
    item: ENCHANTED_BOOK|§6§lCodex of Necromancy|§7§oRight-click to become|§7§oa Necromancer.|§e§oScholars of Death:|§e§oA Treatise on the Dark Arts.
    commands:
    - hero admin class @p Necromancer
    run-as: CONSOLE
    click-type: CLICK_RIGHT
    delay: 5
    cooldown: 10
    cancel-action: true
    consumed-items: []
    require-sneaking-state: NONE
    consume-self: true
    keep-on-death: false
    actions: {}
@LadyCailinBot
Copy link
Author

Comment by Kainzo

Would love to see if this is in planning or possible :D

@LadyCailinBot
Copy link
Author

Comment by Kainzo

Any updates to this?

@LadyCailinBot
Copy link
Author

Comment by Kainzo

Friendly bump

@LadyCailinBot
Copy link
Author

Comment by Kainzo

Bump.

@me4502 me4502 added status:accepted This issue has been triaged and accepted type:feature-request Request for something new labels Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:accepted This issue has been triaged and accepted type:feature-request Request for something new
Projects
None yet
Development

No branches or pull requests

2 participants