Well, by default, the cooldown is 24 hours. The default limit is 5, and that resets as soon as the server's time goes to the next day. If you want them to be able to call 10 per day with no cooldown, don't give them a cooldown permission, just the limit.
For example:
This would grant me the first limit, which by default, is 5. Without granting the cooldown permission, I can now call it 5 times today with no cooldown.Code:oxide.grant user Shady helicontrol.limit.1
HeliControl
Moved
Total Downloads: 35,361 - First Release: Sep 18, 2015 - Last Update: Apr 19, 2018
- 5/5, 74 likes
-
OK thanks. And permission must be on each player, or there is a permission for all the players of a sudden?
-
Code:oxide.grant group default helicontrol.limit.1
-
Hey, little issue.
When you have a cooldown for /callheli and the server restarts this happens:
-
-
Code:
(18:50:03) | [Oxide] 10:50 [Error] Failed to call hook 'OnServerInitialized' on plugin 'HeliControl v1.0.40' (JsonReaderException: After parsing a value an unexpected character was encountered: ". Path 'WeaponList.M249', line 6, position 2.) (18:50:03) | [Oxide] 10:50 [Debug] at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in <filename unknown>:0
-
-
Shady757 updated HeliControl with a new update entry:
1.0.41
-
Hey Shady, so after running the new calltoself permission on a few servers, it seems that /callheli still calls at Random :/
I revoked the old permission from everyone and readded the new one (with the cooldown and limit permissions operating as well) but it still seems to have the same behaviour as the old one. They come onto the map but it's still at a random place. Any ideas on what I could do to fix it? -
Try the attached one and let me know if it works how you want or how I described. ThanksAttached Files:
-
-
how to make that always drop m249?
-
-
-
Code:"UseCustomLoot": true,
Last edited by a moderator: Sep 15, 2016 -
-
Any idea what mod is used to announce who killed the chopper or that it was killed? I see the message after I chop the pieces to bits but not when it crashes. Thanks for your help
-
-
If I download this plugin, is there a way I can set a minimum amount of players needed online before a Chopper can begin to spawn?
Another question, is there a way to set the spawn timer for the Heli? For example, I could set the time for the Heli to make it only spawn every 2 hours normally? -
Currently, there's no way to set it so there has to be a certain amount of players online before it spawns. -
Which part of the config is it that I change to set how often the heli spawns?
Just so I know exactly.