Permissions not workingFixed

(16:44:29) | [RCON][*] oxide.grant group admin diseases.admin

(16:44:29) | Permission 'diseases.admin' doesn't exist

(16:45:13) | [RCON][*] oxide.grant group admin diseases.info

(16:45:13) | Permission 'diseases.info' doesn't exist

Looks like the permissions aren't even being registered; which should have been caught in review. These need to be registered in Init() in order for them to work.

then I have to wait for the creator to correct it, right?

You can re-add these lines in the Init() hook area:

            permission.RegisterPermission(PermissionInfo, this);
            permission.RegisterPermission(PermissionAdmin, this);​

For reference, you can look at version 1.0.0 to see where these go as they were removed for some reason.

Lo siento, no sé en qué archivo poner esas líneas :(, ok i look at it now

Looks like the author updated it now as well.

Thank you all, sorry that the registration was overlooked initially. Update 1.0.2 fixes this and correctly registers them.

mr01sam

Thank you all, sorry that the registration was overlooked initially. Updated 1.0.2 fixes this and correctly registers them.

No worries, not sure how that got missed by 3 people. :P

mr01sam thanks for this add-on it is very good for my server to give a little role to the doctor! and thanks wulf for being attentive and helping me

Ih7DvRmRMBTIcGa.jpg relaxito

mr01sam thanks for this add-on it is very good for my server to give a little role to the doctor! and thanks wulf for being attentive and helping me

Awesome! Hope it generates a lot of fun and memorable experiences :)

One question I have is "randomOutbreaksOccur": false. It means that the virus does not spread, right? that only the infected person has it and that's it

AZgg6bFKO7qupAh.jpg relaxito

One question I have is "randomOutbreaksOccur": false. It means that the virus does not spread, right? that only the infected person has it and that's it

Not quite, "Random Outbreaks" being set to false means that people won't spontenously get the infection. In that case, the only way to get infected (for the Norovirus anyways) would be if someone ate any of the foods that cause it (see itemsThatCauseOutbreaksOnConsumption) or if they contract it by spreading from another person that already has it.

If you would like the disease to not spread to other people once its on a person you can set the infectionSpreadDistance=0. Then the disease will still give the infected individual symptoms, but will not spread to others.

okey, Thanks :D!

D8voN9klq6b8QRK.jpg relaxito

okey, Thanks :D!

Just a heads up, I found some pretty nasty bugs that were causing server crashes. I fixed them with 1.0.3, so make sure to grab that version if you plan on using it on your server!

updated thanks: P

Locked automatically