Permissions needed for modifiers to work?Solved

Hey there! I updated my config file with the durations I'd like, but they don't seem to work (even after reloading the plugin and the server).

Are there certain persmissions that need to be granted for the default group or anyone else to make the durations work? 

I don't see any listed in the documentation. 

Thanks!

There are no permissions for this plugin. It changes the teas globally. Can you please share your config so I can take a look?

Thanks for the quick response! Here is the config file (attempting to make them all 1 hour long and nothing else): 

{
  "Item Modifiers": {
    "maxhealthtea.advanced": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.125,
        "Buff source": "Tea",
        "Buff type": "Max_Health"
      }
    ],
    "maxhealthtea": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.05,
        "Buff source": "Tea",
        "Buff type": "Max_Health"
      }
    ],
    "maxhealthtea.pure": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.2,
        "Buff source": "Tea",
        "Buff type": "Max_Health"
      }
    ],
    "oretea.advanced": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.35,
        "Buff source": "Tea",
        "Buff type": "Ore_Yield"
      }
    ],
    "oretea": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.2,
        "Buff source": "Tea",
        "Buff type": "Ore_Yield"
      }
    ],
    "oretea.pure": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.5,
        "Buff source": "Tea",
        "Buff type": "Ore_Yield"
      }
    ],
    "radiationresisttea.advanced": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.15,
        "Buff source": "Tea",
        "Buff type": "Radiation_Resistance"
      },
      {
        "Buff duration (Seconds)": 0.0,
        "Buff amount": 0.5,
        "Buff source": "Tea",
        "Buff type": "Radiation_Exposure_Resistance"
      }
    ],
    "radiationresisttea": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.05,
        "Buff source": "Tea",
        "Buff type": "Radiation_Resistance"
      },
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.5,
        "Buff source": "Tea",
        "Buff type": "Radiation_Exposure_Resistance"
      }
    ],
    "radiationresisttea.pure": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.25,
        "Buff source": "Tea",
        "Buff type": "Radiation_Resistance"
      },
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.5,
        "Buff source": "Tea",
        "Buff type": "Radiation_Exposure_Resistance"
      }
    ],
    "scraptea.advanced": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 1.0,
        "Buff source": "Tea",
        "Buff type": "Scrap_Yield"
      }
    ],
    "scraptea": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.5,
        "Buff source": "Tea",
        "Buff type": "Scrap_Yield"
      }
    ],
    "scraptea.pure": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 2.0,
        "Buff source": "Tea",
        "Buff type": "Scrap_Yield"
      }
    ],
    "woodtea.advanced": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 1.0,
        "Buff source": "Tea",
        "Buff type": "Wood_Yield"
      }
    ],
    "woodtea": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 0.5,
        "Buff source": "Tea",
        "Buff type": "Wood_Yield"
      }
    ],
    "woodtea.pure": [
      {
        "Buff duration (Seconds)": 3600.0,
        "Buff amount": 2.0,
        "Buff source": "Tea",
        "Buff type": "Wood_Yield"
      }
    ]
  }
}

Merged post

To follow up, a restart of the server fixed it. I may have messed something up or was just reloading the plugin thinking that would work. 

Thanks again for responding and I'm sorry for wasting your time! The plugin works great, thanks also for making it!

Yeah, my guess would be the reload but glad to hear it's working now.

Hey MJSU, speaking of this...since it's not included, could we possibly get a permissions option added? It could be enabled with a true/false in config so it's not sat to use permissions without you turning it on.

ruSSHld1m8mUYR1.jpg SharkAHolic

Hey MJSU, speaking of this...since it's not included, could we possibly get a permissions option added? It could be enabled with a true/false in config so it's not sat to use permissions without you turning it on.

The way this is designed is it's similar to StackSizeController being a global change to the item itself. Doing a permission system would require a full rewrite of the plugin.

MJSU

The way this is designed is it's similar to StackSizeController being a global change to the item itself. Doing a permission system would require a full rewrite of the plugin.

Bummer, okay, thank you!
diKSGiX4Ff9XPmI.jpg SharkAHolic

Hey MJSU, speaking of this...since it's not included, could we possibly get a permissions option added? It could be enabled with a true/false in config so it's not sat to use permissions without you turning it on.

Permissions have been added in version 2.0.0

MJSU

Permissions have been added in version 2.0.0

You rock MJSU, thank you so much for your dedication and for adding this feature!

Locked automatically