Type `MiniCopter' does not contain a definition for `fuelStorageInstance'Fixed
Why isn't that you and some others are adding so much code to the fix? There isn't much to the code (below) vs what you and another have provided.
StorageContainer fuelContainer = mini.GetFuelSystem().GetFuelContainer();​

You are making the server work more than it is needed.
GibboDaBeast

Can confirm this works Thanks!

Code is on line 257 & 331.

This worked for me as well - thank you for calling out both lines!

5ef2a73dd9715.png DMB7
Why isn't that you and some others are adding so much code to the fix? There isn't much to the code (below) vs what you and another have provided.
StorageContainer fuelContainer = mini.GetFuelSystem().GetFuelContainer();​

You are making the server work more than it is needed.

Just the first thing I tried that worked, there wasn't a thread for the fix so I wasn't aware it was resolved with a better resolution. You're right though, changed my original post.

Lines 257 and 331 worked for me too. Thanks!

ive tried the following code and is still throwing the same error in my server :/

edited: Working correctly  thank you everyone!!! I tried to enter mini for shortname and was dispatching error just using mini but still made a plugin work correctly

Sorry, for the confusion, if you used the method that I posted.  I have modified the plugin for the server I moderate and had copied over a shorten version.

This,
5ef2a73dd9715.png DMB7
Why isn't that you and some others are adding so much code to the fix? There isn't much to the code (below) vs what you and another have provided.
StorageContainer fuelContainer = mini.GetFuelSystem().GetFuelContainer();​

You are making the server work more than it is needed.

Should actually be this:

StorageContainer fuelContainer = minicopter.GetFuelSystem().GetFuelContainer();

Since, SpooksAU and the rest that have worked on the plugin, used minicopter not mini as I have.

Error while compiling: SpawnMini.cs(320,61): error CS1061: Type `MiniCopter' does not contain a definition for `fuelStorageInstance' and no extension method `fuelStorageInstance' of type `MiniCopter' could be found. Are you missing an assembly reference?

Mine isn't working either.  None of the perms work, nothing.

Zt42y40.png

Well even the latest version is still broken... It fails to even compile with the latest Umod update. 

I'm having an issue with the default cooldown being stuck at 1 day. Even though I set the VIP 1 2 and 3 to 60 sec and made sure the default player group had the perms even myself the admin is affected by this bug. I don't want to apply the NOCD perm if I can avoid it... @DMB7
My players really enjoyed being able to spawn a mini.  I hope they fix this soon.  It won't compile with the new update.

@Crunchy We have a patch for it. But there is still a bug with the Cool down being stuck at 1 day. No matter what I have tried with VIP or coding it's broke at 1 day cool down. The current maintainer re-wrote the code and for some reason thought it would be okie to add this section of code into it completely ruining it... fU3MbnE.png

Updated working but bugged.

Fixed sorry for the delay, I've only just gotten home.

Merged post

Also are you aware that you have to actually assign the permission to them? considering that you've clearly read the code.
Lmao oh i did in game 

Merged post

If i try to set to 60 sec it wont work, I mean the point of a config option is to be able to change the cool down times right? It breaks if you change 1 to 60 sec

Merged post

If i leave it default it works...
you change the cooldown and then assign that permission ie o.grant user spooks spawnmini.tier1
Locked automatically