This plugin is currently marked as broken and unavailable for download
Adds the option to set off C4 manually without a timer

Supported Games
GameServerKingsGameServerKings

Triggered Explosive Charges allows players to deploy C4 in two different modes, the standard timed mode, in which C4 explodes after 10 seconds, and the new triggered mode, where C4 explodes when the player triggers it.

Features

New Item: Trigger
  • Right mouse button: switch between timed & triggeredmode
  • Left mouse button: trigger explosion of all C4 that was deployed in triggered mode
  • Triggers can be obtained in three ways:
    • From a Trigger Shop
    • By crafting the Trigger
    • Using "tec.givetrigger_"_ chat/console command (admin only)
  • Admin or players with permission triggeredexplosivecharges.notrigger can use chat commands /tec.mode and /tec.explode to toggle C4 mode and trigger C4 without using a Trigger
  • (It's actually two bone club skins, but pssst... don't tell anyone)

timedmode.jpgtriggeredmode.jpg

Trigger Shop
  • By using the chat command /tec.shop, server admin or any player with permission triggeredexplosivecharges.place can spawn a shop at their current location
  • Shops sell Triggers, the currency and needed amount of currency can be set in the configuration file (default: 5 Tech Trash)
  • Shops are indestructible, block building access around them, and are automatically restocked with Triggers
  • Alternative use of /tec.shop when looking at…
    • … a vending machine: adds Trigger selling order to the vending machine and automatically restocks it with Triggers
    • … a sign: applies the trigger shop image to the sign

triggershop.jpg

Trigger Crafting
  • IMPORTANT: Trigger Crafting is disabled by default, because I like the idea, that a player doesn't have to use any chat commands, as if the plugin was a part of the game itself. Trigger Crafting can be enabled in the configuration file for all players or for selected players by giving them permission triggeredexplosivecharges.crafting
  • The chat command /tec.craft allows players to craft a Trigger provided they have the necessary items in their inventory
  • Crafting a Trigger takes two ingredients, the needed items and respective amount can be set in the configuration file (default: 50 High Quality Metal, 2 Tech Trash)

Permissions

  • triggeredexplosivecharges.place -- Allows player to place explosive charges
  • triggeredexplosivecharges.crafting -- Allows player to craft explosive charges
  • triggeredexplosivecharges.notrigger -- Allows player to use explosive charges without a trigger

Commands

Chat
  • /tec.craft -- Start crafting
  • /tec.shop -- Spawn a shop
  • /tec.mode -- Change mode of trigger
  • /tec.explode -- Trigger explosive charges
  • /tec.givetrigger <player name or id> [optional:amount] -- Give trigger to player
Console
  • tec.givetrigger <player name or id> [optional:amount] -- Give trigger to player

Configuration

{
  "SHOP | Currency item for buying a trigger [item shortname]": "techparts",
  "SHOP | Needed amount of currency item [number]": 5,
  "CRAFTING | Allow all players to craft triggers [true,false]": false,
  "CRAFTING | Ingredient 1 for crafting [item shortname]": "metal.refined",
  "CRAFTING | Needed amount of ingredient 1 [number]": 50,
  "CRAFTING | Ingredient 2 for crafting [item shortname]": "techparts",
  "CRAFTING | Needed amount of ingredient 2 [number]": 2,
  "TRIGGERED C4 | Disable beeping sound after duration (minimum: 5; infinite: -1) [seconds]": 10,
  "TRIGGERED C4 | Allow C4 pickup (only after beeping got disabled) [true, false]": false,
  "TRIGGERED C4 | Limit for number of C4 that can be deployed in triggered mode (minimum: 1; infinite: -1) [number]": -1,
  "TRIGGER | Trigger destroys itself after using it once [true, false]": false,
  "Event Manager | Block trigger usage during events [true, false]": false
}

Stored Data

This plugin creates a data file under data/TriggeredExplosiveCharges.json to store information about Trigger Shops and deployed C4, so a player can still trigger his deployed C4 after he disconnected from the server and connected again.

Known Issues

  • Warning: On server restart all deployed explosive charges disappear
  • When a player changes the C4 mode, sometimes the Trigger is not visible in first person view
This plugin is unlicensed and the original author reserves all rights to it.

The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.

Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.

10.3K downloads
45 watchers

mechanicsunmaintainedbroken