Jump to content

Effects


NubbbZ
 Share

Recommended Posts

Effects


Run effects on players or yourself! The plugins is primarily used as an API for other plugins like https://weoxide.net/index.php?/file/274-cookingeffectswrapper/

If you want other effects, message me and i can add them :)

Permissions:

  • effects.use

Commands:

  • /vomit <optional playername>
  • /blur <optional playername>
  • /shake <optional playername>
  • /breathe <optional playername>
  • /lick <optional playername>
  • /killeffects <optional playername>

Config:

{
  "Effects": {
    "vomit": {
      "Enabled": true,
      "InstantEffect": true,
      "EffectLengthInSeconds": 60,
      "EffectInterval": 6
    },
    "lick": {
      "Enabled": true,
      "InstantEffect": true,
      "EffectLengthInSeconds": 60,
      "EffectInterval": 6
    },
    "breathe": {
      "Enabled": true,
      "InstantEffect": true,
      "EffectLengthInSeconds": 60,
      "EffectInterval": 6
    },
    "shake": {
      "Enabled": true,
      "InstantEffect": true,
      "EffectLengthInSeconds": 60,
      "EffectInterval": 6
    },
    "blur": {
      "Enabled": true,
      "InstantEffect": true,
      "EnableFlashing": true,
      "StaticBlurOpacity": 0.5,
      "FlashingBlurOpacity": 0.3,
      "EffectLengthInSeconds": 60,
      "EffectInterval": 6
    }
  }
}

Hooks:

void EffectVomit(BasePlayer Player, int Length, float Interval, bool Instant)
void EffectShake(BasePlayer Player, int Length, float Interval, bool Instant)
void EffectBlur(BasePlayer Player, int Length, float Interval, bool Instant, bool Flashing)
void EffectLick(BasePlayer Player, int Length, float Interval, bool Instant)
void EffectBreathe(BasePlayer Player, int Length, float Interval, bool Instant)

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...