Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

[Feature Suggestion] Command-Cost Confirmation

Open kaanakduman opened this issue 7 years ago • 6 comments

I have my essentials config set up so everyone can do /back for $100 per use. When someone dies, it tells them that they can /back to get back to their death spot, so they do it and it takes $100 from their balance. Then, they get upset because if they had known about the command cost, they wouldn't have /backed.

I would like to suggest adding a confirmation associated with commands under command-costs. So when someone does /back, it replies with something like "This command costs $100. type /back confirm to confirm"

kaanakduman avatar Aug 06 '18 20:08 kaanakduman

Edit backAfterDeath in this file and place it in your Essentials directory, however its still a valid feature request.

Xeyame avatar Aug 06 '18 20:08 Xeyame

aslong as it can be turned off im fine with the option for those that want to use the confirmation system

Scorpionvssub avatar Aug 14 '18 08:08 Scorpionvssub

With the current way that confirmations and command costs work, this would need to be added on a per-command basis. However, I'm not opposed to changing these to allow this feature to work.

mdcfe avatar Oct 13 '18 15:10 mdcfe

How long after the issuing the first command should it reset, so the user gets a confirmation message if issuing again? Should this value be configurable, and what's a reasonable default?

merenze avatar Mar 04 '25 01:03 merenze

I think that by default confirmation should be always needed, and without timeout, that would minimize confusion and user errors. If there would be a configurable timeout, it would be nice to have value 0 mean that confirmation will be always needed, and a negative value mean that it would be only one-time confirmation. That would give maximum flexibility.

oskarkk avatar Mar 04 '25 14:03 oskarkk

I think that by default confirmation should be always needed, and without timeout, that would minimize confusion and user errors. If there would be a configurable timeout, it would be nice to have value 0 mean that confirmation will be always needed, and a negative value mean that it would be only one-time confirmation. That would give maximum flexibility.

I think I worded my question wrong. What I mean is, if a player /backs, they get a confirmation message and have to /back again. If they wait five minutes and then /back, do they teleport? Or do they get a new confirmation message, because it's been too long since the last one?

merenze avatar Mar 04 '25 16:03 merenze