How does it work? Player walks near a block, and bada-bing, bada-boom, they now have a short timed potion effect on them. This can be used to create interesting quality of life improvements - or disadvantages based on the environment the player is in.
Examples The config comes with 5 example effects, here is the one that brought life to this plugin: Gravel-Speed effect
This encourage players to build paths or use existing paths by giving them a speed boost when walking on gravel! Less teleporting when traversing is fun!
All Options Example Potion Effect Names Here | Block Names Here Default config uses Materials from 1.16, Make sure the Effects & Blocks exist in your version (For example Grass Path does not exist in 1.7.X) - Nothing breaks, but the effect won't be loaded if something is missing.)
Code (Text):
Effects:
Example_Options:
Permission: 'example.permission' # If not specified, everyone can use effect
Length: 30 # If not specified defaults to 7, some effects require higher values
Strength: 2 # If not specified defaults to 1
Show_particles: false # If not specified defaults to true
Effects:
- SPEED
- FIRE_RESISTANCE
# Conditions below, mix & match as you wish.
Blocks:
- GRAVEL
- AIR
Above_y: 50 # See examples in 1.1.0 change log
Below_y: 100 # See examples in 1.1.0 change log
Region: "worldguard region id"
Also_for_mobs: false # If not specified defaults to false
Commands
Code (Text):
littlefx reload | Reloads the config | littlefx.reload