CustomItems icon indicating copy to clipboard operation
CustomItems copied to clipboard

Detonate command does not work

Open untuned opened this issue 3 years ago • 3 comments

Describe the bug When attempting to run .detonate in the in-game console without holding the detonator item, an error is produced.

To Reproduce Steps to reproduce the behavior:

  1. Give yourself C4-119
  2. Place it on the ground
  3. Run .detonate in the console
  4. Observe the error

Expected behavior The C4 charge detonates.

Server logs There are no error logs in the server's console, but this shows in the in-game console: in-game console

EXILED Version ("latest" is not a version): Exiled.Loader:4.1.6

Results of show plugins command in console: https://paste.hep.gg/gymub.yaml

Additional context It should probably show a message saying "You don't have the detonator (Radio) in your hand!" if it is enabled.

untuned avatar Dec 11 '21 20:12 untuned

You might have the config on that requires the player to have a radio on them. Check the C4 config and make sure require_detonator is set to false

DinoNuggets2 avatar Dec 13 '21 21:12 DinoNuggets2

You might have the config on that requires the player to have a radio on them. Check the C4 config and make sure require_detonator is set to false

I did notice this fact afterwards. Thank you! I would like to see maybe a message saying that they don't have the required item though.

untuned avatar Dec 13 '21 22:12 untuned

Yeah, I had the same issue when I started using this plugin, that would also be cool if it told the player they need the specific item

DinoNuggets2 avatar Dec 31 '21 05:12 DinoNuggets2