To spawn a nuke, you need to enter the command /nuke detonate <x> <y> <z> After that, the player will be charged 2750 currency using Vault. A "detonator" will appear in the inventory, which disappears after the player places it on any block. After activation, a hologram will appear at the coordinates that were specified in the command. A 5-minute countdown will begin, after which an explosion will follow.
--- Important note: the plugin is defined as NukePlugin, not NukeX ---
Commands:
The command /nuke detonate <x> <y> <z> - will issue a detonator and write off money. The command /nuke help - shows help. The command /nuke reload - reloads the plugin. The /nuke detonate <player> <x> <y> <z> command will issue a detonator via console. The /nuke give <player> [x y z] command will allow admins to issue a detonator to players.
Permissions:
nuke.use - basic rights. nuke.admin - all rights.
The plugin is very raw, so I am ready to listen to any suggestions and adequate criticism.