Fire rockets and control where they hit by looking at the target destination.
The way this works is as follows;
When a player activates the function a cooldown is applied.
Once the function is activated the player can fire as many rockets as they wish, providing they have sufficient resources in their inventory.
When they no longer have enough resources to use another rocket the function will be disabled and they must wait for the cooldown to expire before they can use the command again
As always, all my plugins come with a guarantee that they will function correctly. If there are any issues feel free to contact me and I will happily resolve them.
In the event of breaking changes to the game I will do my best to keep all plugins maintained and working
Permissions
"tracerrockets.use" - Required for all non-admin players to use this function
"tracerrockets.admin" - By applying this permission the player will bypass the cooldown and costs to use
Chat Commands
/tracer - Activates/Deactivates tracer rockets
Config
The way this works is as follows;
When a player activates the function a cooldown is applied.
Once the function is activated the player can fire as many rockets as they wish, providing they have sufficient resources in their inventory.
When they no longer have enough resources to use another rocket the function will be disabled and they must wait for the cooldown to expire before they can use the command again
As always, all my plugins come with a guarantee that they will function correctly. If there are any issues feel free to contact me and I will happily resolve them.
In the event of breaking changes to the game I will do my best to keep all plugins maintained and working
Permissions
"tracerrockets.use" - Required for all non-admin players to use this function
"tracerrockets.admin" - By applying this permission the player will bypass the cooldown and costs to use
Chat Commands
/tracer - Activates/Deactivates tracer rockets
Config
Code:
{
"CooldownTime": 300, // Time in seconds between use's
"CostToUse": [ // Costs to use per rocket fired.
{
"AmountRequired": 1,
"ItemID": 1755466030,
"Name": "Explosives"
},
{
"AmountRequired": 1,
"ItemID": 1471284746,
"Name": "Tech Trash"
}
],
"DetonationTime": 20.0, // Time in seconds before the rocket will detonate
"DisableRocketBeep": false, // Disables the beeping sound of the tracer rocket
"DisableSmokeEffects": false, // Disables the smoke trail of the tracer rocket
"RocketSpeed": 18.0 // The speed of the rocket
}