It doesn't do anything if i or my players try to buy an airstrike from the plugin with the chat command "/airstrike buy strike (or squad)". My code in "Airstrikes" is the following:
{
"Cooldown Options": {
"Squad cooldown time (seconds)": 1800,
"Strike cooldown time (seconds)": 1800,
"Use cooldown timers": true
},
"Other Options": {
"Broadcast strikes to chat": true,
"Can call squad strikes using a supply signal": true,
"Can call standard strikes using a supply signal": true,
"Random timer (minimum, maximum. In seconds)": [
1800,
3600
],
"Use random airstrikes": false,
"Use random squad strikes": false
},
"Plane Options": {
"Distance from target to engage": 800.0,
"Flight speed (meters per second)": 105.0,
"Height modifier": 0.0
},
"Purchase Options": {
"Can purchase squad strike": true,
"Can purchase standard strike": true,
"Cost to purchase a squad strike (shortname, amount)": {
"Economics": 2000
},
"Cost to purchase a standard strike (shortname, amount)": {
"Economics": 1250
},
"Require permission to purchase squad strike": false,
"Require permission to purchase strike": false
},
"Rocket Options": {
"Accuracy of rocket (a lower number is more accurate)": 1.5,
"Amount of rockets to fire": 12,
"Chance of a fire rocket (when using both types)": 4,
"Damage modifier": 1.27,
"Interval between rockets (seconds)": 0.6,
"Speed of the rocket": 110.0,
"Type of rocket (Normal, Napalm)": "Normal",
"Use both rocket types": true
}
}
"AbsolutGifts" also does not work anymore like it should (adding new gifts). Though i'm not sure if Economics causes this, but i think it has stopped working correctly since i installed Economics. Will test it.
EDIT: Testet it and yes, when i delete economics.cs "AbsolutGifts" is working again.
{
"Cooldown Options": {
"Squad cooldown time (seconds)": 1800,
"Strike cooldown time (seconds)": 1800,
"Use cooldown timers": true
},
"Other Options": {
"Broadcast strikes to chat": true,
"Can call squad strikes using a supply signal": true,
"Can call standard strikes using a supply signal": true,
"Random timer (minimum, maximum. In seconds)": [
1800,
3600
],
"Use random airstrikes": false,
"Use random squad strikes": false
},
"Plane Options": {
"Distance from target to engage": 800.0,
"Flight speed (meters per second)": 105.0,
"Height modifier": 0.0
},
"Purchase Options": {
"Can purchase squad strike": true,
"Can purchase standard strike": true,
"Cost to purchase a squad strike (shortname, amount)": {
"Economics": 2000
},
"Cost to purchase a standard strike (shortname, amount)": {
"Economics": 1250
},
"Require permission to purchase squad strike": false,
"Require permission to purchase strike": false
},
"Rocket Options": {
"Accuracy of rocket (a lower number is more accurate)": 1.5,
"Amount of rockets to fire": 12,
"Chance of a fire rocket (when using both types)": 4,
"Damage modifier": 1.27,
"Interval between rockets (seconds)": 0.6,
"Speed of the rocket": 110.0,
"Type of rocket (Normal, Napalm)": "Normal",
"Use both rocket types": true
}
}
"AbsolutGifts" also does not work anymore like it should (adding new gifts). Though i'm not sure if Economics causes this, but i think it has stopped working correctly since i installed Economics. Will test it.
EDIT: Testet it and yes, when i delete economics.cs "AbsolutGifts" is working again.