Change the 0.0 to however often you want to call it in seconds.Code:"CallHeliEverySeconds": 0.0,
You can also change the "DisableDefaultHeliSpawns" to true, if you don't want Rust to spawn any Helicopters on it's own, just letting the plugin do it.
HeliControl
Moved
Total Downloads: 35,361 - First Release: Sep 18, 2015 - Last Update: Apr 19, 2018
- 5/5, 74 likes
-
So if I set the "DisableDefaultHeliSpawns" to true and set the cooldown to 7200, then will it only spawn a chopper every 2 hours?
-
-
Thank you very much for the help, just the plugin I have been looking for. If you could maybe introduce an update which makes it so you can set a minimum amount of players that need to be online before the heli spawns then it would be amazing.
Other than that I love this plugin, thank you again. -
(13:08:50) | [Oxide] 16:09 [Error] HeliControl.cs(319,29): error CS1525: Unexpected symbol `end-of-file' -
-
I can't figure out how to get player cooldowns working, they are assigned to the cooldown.1 but it doesn't do anything
Last edited by a moderator: Sep 24, 2016 -
If it's still not working, does it show a message, or is it just blank/not working? -
No errors, just doesn't work, players can call in multiple heli's immediately.
Also, the call to target doesn't work at all unless they have the /callheli granted also... -
I am working with FTM on this. We are currently trying to set a cooldown of 1 hours by changing the Cooldown.5 in the .json file to 3600.0 and then by typing "grant user elderly helicontrol.cooldown.5" in console. there is no error when typing this, but it does not prevent me from calling multiple helicopters with no cooldown.
edit: also, i have callheli and callhelitarget permissions. -
EDIT: Just saw FTM's post. If you're not able to get it to work without granting callheli, there must be an issue. Let me know. -
If we revoke the callheli permission and only grant me callhelitarget, i am given the message "you do not have permission to use this command!" when trying to call in a heli on a target via the chat command /callheli "playername"
-
Furthermore, make sure you haven't accidentally granted a cooldown that is set to '0', if it's set to 0 it will probably not work at all. -
All that is assigned is helicontrol.callhelitarget and that says "You do not have permissions to use this command" -
Code:oxide.show user YourUserName
-
The cooldown we have edited in the .json file is Cooldown.5, which was changed to 3600.0
edit: ignore this, didn't see your reply ^ -
User 'Elderly John Stamos (76561198300192002)' permissions:
helicontrol.callheliself, helicontrol.update, helicontrol.destination, helicontrol.callhelitarget, helicontrol.cooldown.5, betterchat.group.default, wellfed.onlogin, wellfed.onspawn, autogrades.all, automaticauthorization.use
User 'Elderly John Stamos (76561198300192002)' groups:
default -
Also, just to confirm, you are on the latest version of the plugin, yes? -
So adding in a limit permission made the cooldown work. I have no idea why, but thanks a lot for your help!
-
Regardless, I'll take a look into this a bit further, and if I can confirm and fix the issue on my end, I'll release an update to fix it. Thanks.