BeaconPlus - Historical

Applied By BlueObsidian: May 14, 2019 at 10:37 PM

BeaconPlus
BeaconPlus
Add more effects to your beacon
1.0 Introduction
BeaconPlus is a spigot server plugin that allows server owner to add more special effects to beacon. Not just potion effect.

2.0 Built-in Effect Type

  • Attribute Beacon Effect - Apply generic attributes to all entities inside beacon range.
  • Basic Beacon Effect - Apply potion effect to all entities inside beacon range.
  • Experience Booster - Multiply exp when gaining exp inside beacon range.
  • Fire Hydrant - Extinguish entities or blocks within beacon range.
  • Furnace Speed Up - Boost cook time of a furnace within beacon range.
  • Special Life Steal - Gain extra health bonus when damaging other creatures.
  • Speed Up Basic Effect - Speed up applied potion effect duration.
  • Stupid A.I. - Remove creature target, make mobs instantly stupid.
  • Time Effect - Simulate fake time to all players inside beacon range.
  • Weather Effect - Simulate fake weather to all players inside beacon range.
3.0 Configuration
  • config-version (Do not change this)
  • interval (Interval/Delay between beacon updates, in miliseconds)
  • performance-debug (When enabled, it will warns you about beacon plus performance lag)
  • beacon-range (Specify beacon range for every beacon power level)
  • height-ranged (When enabled, the Y distance for beacon range will be also calculated)
  • max-modifer-log (Maximum log for beacon modifier)
  • menu-scheme (Menu Scheme/Theme for Beacon GUI)
  • special-beacon-permission (Permission to open and edit special beacon effects)
  • vanilla-beacon-permission (Permission to open vanilla beacon)
  • max-pyramid-height-check (Maximum amount of pyramid height allowed to calculate)
  • must-through-sky (When enabled, beacon will turned off when it has blocks above it)
  • disable-vanilla-beacon (Disable vanilla beacon, set it to true if you run this plugin on 1.8 server)
  • beacon-power-sources-must-perfect (Beacon power structures must be a pyramid, otherwise it won't be calculated)
  • beacon-power-sources (Contains all block power values)
  • effect-display (Item display for beacon effects)
  • max-effects (Maximum allowed effects to be enabled)
  • beacon-effects (Contains all beacon effects)
    • Time Effect
      • type (set it to TimeEffect)
      • power-usage (The effect power usage)
      • time (the fake time)
      • relative (is the time relative?)
      • display (Display name for this effect)
      • description (Description for this effect)
    • Weather Effect
      • type (set it to WeatherEffect)
      • power-usage (The effect power usage)
      • weather (the weather, only CLEAR or DOWNFALL)
      • display (Display name for this effect)
      • description (Description for this effect)
    • Experience Booster
      • type (set it to ExpBooster)
      • power-usage (The effect power usage)
      • multiplier (Experience multiplier)
      • display (Display name for this effect)
      • description (Description for this effect)
    • Stupid A.I.
      • type (set it to StupidAI)
      • power-usage (The effect power usage)
      • display (Display name for this effect)
      • description (Description for this effect)
    • Furnace Speed Up
      • type (set it to FurnaceSpeedUp)
      • power-usage (The effect power usage)
      • display (Display name for this effect)
      • speedup-percentage (The percentage of furnace speed up)
      • description (Description for this effect)
    • Fire Hydrant
      • type (set it to FireHydrant)
      • power-usage (The effect power usage)
      • display (Display name for this effect)
      • mode (ALL / ONLY_PLAYER / ONLY_MONSTER / ONLY_ANIMAL / ONLY_PLAYER_AND_ANIMAL / NONE)
      • include-blocks (Extinguish block?)
      • fire-ticks-reduction (Fire tick reduction for entities)
      • description (Description for this effect)
    • Speed Up Basic Effect
      • type (set it to SpeedupBasicEffect)
      • effects (Boosted potion effect)
      • duration-speedup (The duration of booster)
      • mode (ALL / ONLY_PLAYER / ONLY_MONSTER / ONLY_ANIMAL / ONLY_PLAYER_AND_ANIMAL / NONE)
      • power-usage (The effect power usage)
      • display (Display name for this effect)
      • description (Description for this effect)
    • Basic Beacon Effect
      • type (set it to BasicBeaconEffect)
      • effect (the potion effect)
      • amplifier (the effect amplifier)
      • duration (the effect duration)
      • power-usage (The effect power usage)
      • mode (ALL / ONLY_PLAYER / ONLY_MONSTER / ONLY_ANIMAL / ONLY_PLAYER_AND_ANIMAL / NONE)
      • display (Display name for this effect)
      • remove-when-leave (Should we remove the potion effect when player leaving the beacon range?)
      • description (Description for this effect)
    • Attribute Beacon Effect
      • type (set it to AttributeBeaconEffect)
      • attribute (the attribute)
      • amount (the amount)
      • power-usage (The effect power usage)
      • operation (the operation, 0 = add, 1 = multiply)
      • display (Display name for this effect)
      • description (Description for this effect)
      • mode (ALL / ONLY_PLAYER / ONLY_MONSTER / ONLY_ANIMAL / ONLY_PLAYER_AND_ANIMAL / NONE)
4.0 Configuration File
Code (YAML):
config-version: "1.2cfg"

# Beacon Interval. (Miliseconds)
# do not set it less than 1000, otherwise your client will receive a lot of update packets.
interval
: 3000
# i love you 3000

performance-debug
: false

beacon-range
:
  '0'
: 0
  '9'
: 10
  '34'
: 20
  '83'
: 30
  '164'
: 40
  '285'
: 50

# Calculate and get entities within Y distance
# if disabled, Y distance will be ignored but still
# using X and Z distance
#  Y
#  |
#  |_____ X
#   \
#    \
#     Z
height-ranged
: false

max-modifer-log
: 10

# Menu Schemes
# POTION
# DYE
# DUST
# WOOL
# BANNER
# GLASS
# GLASS_PANE
# CLAY
menu-scheme
: POTION

special-beacon-permission
: "beacon.special"
vanilla-beacon-permission
: "beacon.vanilla"

# Block To Check Table
#---------------------------
# Pyramid   |  Total
#  Height   |  Blocks
#---------------------------
# 1         |   0
# 2         |   9
# 3         |   34
# 4         |   83
# 5         |   164
# 6         |   285
# 7         |   454
# 8         |   679
# 9         |   968
# 10        |   1329
# 11        |   1770
# 12        |   2299
# 13        |   2924
# 14        |   3653
# 15        |   4494
# 16        |   5455
# 17        |   6544
# 18        |   7769
# 19        |   9138
# 20        |   10659
# 21        |   12340
# 22        |   14189
# 23        |   16214
# 24        |   18423
# 25        |   20824
# 26        |   23425
# 27        |   26234
# 28        |   29259
# 29        |   32508
# 30        |   35989
max-pyramid-height-check
: 6
# Check if there's no blocks above the beacon.
# and cancel all effects if there's a block above the beacon
must-through-sky
: true

# 1.8 inventories are buggy. So 1.8 servers must set this to true.
disable-vanilla-beacon
: false

# Only receive power from perfect power sources structure
# example of perfect power sources
#       B
#      PPP
#     PPPPP
#    PPPPPPP
#      etc.
# example of not-perfect power sources
#       B
#      PPP
#     P PPP
#    P    PP
# another example of not perfect power sources
#        B
#       PPP
#       PPP
#       PPP
#       PPP
# (its like a tower!)
#
# B = Beacon
# P = Power Source
beacon-power-sources-must-perfect
: true

beacon-power-sources
:
  GOLD_BLOCK
: 2
  IRON_BLOCK
: 2
  EMERALD_BLOCK
: 4
  DIAMOND_BLOCK
: 3
  REDSTONE_BLOCK
: 1

effect-display
: "&3&l> &a{0} &3&l<"
max-effects
: 5
beacon-effects
:
# changing names may affect to the saved block datas
  sunrise
:
    type
: TimeEffect
    power-usage
: 25
    time
: 21000
    relative
: true
    display
: "Sunrise Time Effect"
    description
:
   - "Simulate time to sunrise."
  midnight
:
    type
: TimeEffect
    power-usage
: 25
    time
: 18000
    relative
: true
    display
: "Midnight Time Effect"
    description
:
   - "Simulate time to midnight."
  night
:
    type
: TimeEffect
    power-usage
: 25
    time
: 13000
    relative
: true
    display
: "Night Time Effect"
    description
:
   - "Simulate time to night."
  sunset
:
    type
: TimeEffect
    power-usage
: 25
    time
: 10000
    relative
: true
    display
: "Sunset Time Effect"
    description
:
   - "Simulate time to sunset."
  noon
:
    type
: TimeEffect
    power-usage
: 25
    time
: 6000
    relative
: true
    display
: "Noon Time Effect"
    description
:
   - "Simulate time to noon."
  day
:
    type
: TimeEffect
    power-usage
: 25
    time
: 1000
    relative
: true
    display
: "Day Time Effect"
    description
:
   - "Simulate time to day."
  morning
:
    type
: TimeEffect
    power-usage
: 25
    time
: 0
    relative
: true
    display
: "Morning Time Effect"
    description
:
   - "Simulate time to morning."
  suneffect
:
    type
: WeatherEffect
    power-usage
: 36
    weather
: CLEAR
    display
: "Sunny Effect"
    description
:
   - "Simulate Sunny effect on"
    - "your vision."
  raineffect
:
    type
: WeatherEffect
    power-usage
: 16
    weather
: DOWNFALL
    display
: "Rain Effect"
    description
:
   - "Simulate Rain effect on"
    - "your vision."
  expbooster
:
    type
: ExpBooster
    power-usage
: 189
    multiplier
: 2
    display
: "Experience Booster"
    description
:
   - "Boost your Experience."
  stupidai
:
    type
: StupidAI
    power-usage
: 144
    display
: "Stupid Intelegence"
    description
:
   - "Make monsters nearby AI stupid."
  furn-spdup
:
    type
: FurnaceSpeedUp
    power-usage
: 36
    display
: "Furnace Speed Up"
    speedup-percentage
: 45
    description
:
   - "Speed up your furnace within"
    - "beacon radius by {speedup-percentage}%"
  entityfirehydrant
:
    type
: FireHydrant
    power-usage
: 64
    display
: "Entity Fire Hydrant"
    mode
: ALL
    include-blocks
: false
    fire-ticks-reduction
: 90
    description
:
   - "Extinguish any entities/monster"
    - "or players within beacon radius."
  blockfirehydrant
:
    type
: FireHydrant
    power-usage
: 64
    display
: "Block Fire Hydrant"
    mode
: NONE
    include-blocks
: true
    fire-ticks-reduction
: 20
    description
:
   - "Help you extinguish the block that"
    - "burns around the beacon."
  potspdup
:
    type
: SpeedupBasicEffect
    effects
:
   - HUNGER
    - HARM
    - WITHER
    - SLOW
    - SLOW_DIGGING
    - CONFUSION
    - WEAKNESS
    - POISON
    - LEVITATION
    - UNLUCK
    duration-speedup
: 20
    mode
: ONLY_PLAYER
    power-usage
: 36
    display
: "Bad Effect Removal"
    description
:
   - "Speed up your bad effect duration"
    - "by 1 second."
  hero
:
    type
: BasicBeaconEffect
    effect
: HERO_OF_THE_VILLAGE
    amplifier
: 0
    duration
: 17
    power-usage
: 256
    mode
: ONLY_PLAYER
    display
: "Hero Of The Village"
    remove-when-leave
: true
    description
:
   - "Get special gifts and discounts"
    - "from villagers."
  dgrace
:
    type
: BasicBeaconEffect
    effect
: DOLPHINS_GRACE
    amplifier
: 0
    duration
: 17
    power-usage
: 54
    mode
: ONLY_PLAYER
    display
: "Dolphins Grace"
    remove-when-leave
: false
    description
:
   - "Increases swim speed."
  conduitp
:
    type
: BasicBeaconEffect
    effect
: CONDUIT_POWER
    amplifier
: 0
    duration
: 17
    power-usage
: 81
    mode
: ONLY_PLAYER
    display
: "Conduit Power"
    remove-when-leave
: false
    description
:
   - "Combination of Water Breathing, Night"
    - "Vision, and Haste effect."
  fireresists
:
    type
: BasicBeaconEffect
    effect
: FIRE_RESISTANCE
    amplifier
: 0
    duration
: 17
    power-usage
: 100
    mode
: ONLY_PLAYER
    display
: "Fire Resistance"
    remove-when-leave
: true
    description
:
   - "When applied, you will be immune"
    - "from fire."
  saturation
:
    type
: BasicBeaconEffect
    effect
: SATURATION
    amplifier
: 0
    power-usage
: 72
    duration
: 17
    mode
: ONLY_PLAYER
    display
: "Saturation"
    remove-when-leave
: true
    description
:
   - "Regenerate your food level."
  regeneff
:
    type
: BasicBeaconEffect
    effect
: REGENERATION
    amplifier
: 0
    power-usage
: 54
    duration
: 17
    mode
: ONLY_PLAYER
    display
: "Regeneration"
    remove-when-leave
: true
    description
:
   - "Regenerate your health."
  nightvis
:
    type
: BasicBeaconEffect
    effect
: NIGHT_VISION
    amplifier
: 0
    duration
: 17
    power-usage
: 16
    mode
: ONLY_PLAYER
    display
: "Night Vision"
    remove-when-leave
: true
    description
:
   - "Makes you able to see in the dark."
  absorption
:
    type
: BasicBeaconEffect
    effect
: ABSORPTION
    amplifier
: 2
    power-usage
: 49
    mode
: ONLY_PLAYER
    duration
: 50000
    display
: "Absorption Effect"
    remove-when-leave
: true
    description
:
   - "Absorp more health."
  invis
:
    type
: BasicBeaconEffect
    effect
: INVISIBILITY
    amplifier
: 0
    power-usage
: 100
    mode
: ONLY_PLAYER
    duration
: 17
    display
: "Invisibility Effect"
    remove-when-leave
: true
    description
:
   - "Hide yourself from your enemies."
  jump
:
    type
: BasicBeaconEffect
    effect
: JUMP
    amplifier
: 1
    power-usage
: 16
    duration
: 17
    mode
: ONLY_PLAYER
    display
: "Jump Boost"
    remove-when-leave
: true
    description
:
   - "Boost your jump power."
  fastdig
:
    type
: BasicBeaconEffect
    effect
: FAST_DIGGING
    amplifier
: 0
    power-usage
: 25
    mode
: ONLY_PLAYER
    display
: "Haste"
    duration
: 17
    remove-when-leave
: true
    description
:
   - "Digging blocks more faster like never before."
  dmgresists
:
    type
: BasicBeaconEffect
    effect
: DAMAGE_RESISTANCE
    amplifier
: 0
    power-usage
: 16
    mode
: ONLY_PLAYER
    duration
: 17
    display
: "Resistance"
    remove-when-leave
: true
    description
:
   - "Increase your resistance level of any damages."
  wtrbrth
:
    type
: BasicBeaconEffect
    effect
: WATER_BREATHING
    amplifier
: 1
    power-usage
: 16
    mode
: ONLY_PLAYER
    duration
: 17
    remove-when-leave
: true
    display
: "Water Breathing"
    description
:
   - "Makes you able to breath under water."
  blind
:
    type
: BasicBeaconEffect
    effect
: BLINDNESS
    amplifier
: 0
    power-usage
: 25
    mode
: ALL
    remove-when-leave
: true
    display
: "Blindness"
    duration
: 17
    description
:
   - "Make yourself blind."
  glowing
:
    type
: BasicBeaconEffect
    effect
: GLOWING
    amplifier
: 0
    power-usage
: 25
    mode
: ALL
    remove-when-leave
: true
    duration
: 17
    display
: "Glow In The Dark"
    description
:
   - "Highlight nearest mobs/players."
  slowmove
:
    type
: BasicBeaconEffect
    effect
: SLOW
    amplifier
: 0
    power-usage
: 36
    mode
: ONLY_MONSTER
    duration
: 17
    remove-when-leave
: true
    display
: "Slow Motion Mobs"
    description
:
   - "Slow down monsters movement."
  strength
:
    type
: BasicBeaconEffect
    effect
: INCREASE_DAMAGE
    amplifier
: 0
    power-usage
: 25
    mode
: ONLY_PLAYER
    duration
: 17
    remove-when-leave
: true
    display
: "Strength"
    description
:
   - "Increase your damage to monsters."
  slowfall
:
    type
: BasicBeaconEffect
    effect
: SLOW_FALLING
    amplifier
: 0
    power-usage
: 36
    mode
: ALL
    duration
: 17
    remove-when-leave
: true
    display
: "Slow Motion Fall"
    description
:
   - "Slow down your movement when"
    - "falling."
  spd
:
    type
: BasicBeaconEffect
    effect
: SPEED
    amplifier
: 1
    power-usage
: 25
    duration
: 17
    mode
: ONLY_PLAYER
    remove-when-leave
: true
    display
: "Movement Speed"
    description
:
   - "Move more faster just like what"
    - "Sonic the hedgehog did."
  unluckeff
:
    type
: BasicBeaconEffect
    effect
: UNLUCK
    amplifier
: 1
    power-usage
: 9
    duration
: 17
    mode
: ONLY_MONSTER
    display
: "Unluck Effect"
    remove-when-leave
: true
    description
:
   - "Unluck give monsters bad luck."
  luckeff
:
    type
: BasicBeaconEffect
    effect
: LUCK
    duration
: 17
    amplifier
: 1
    power-usage
: 9
    mode
: ONLY_PLAYER
    display
: "Luckness Effect"
    remove-when-leave
: true
    description
:
   - "You will be more lucky."
  weakeff
:
    type
: BasicBeaconEffect
    effect
: WEAKNESS
    duration
: 17
    amplifier
: 1
    power-usage
: 16
    mode
: ONLY_MONSTER
    display
: "Weakness Effect"
    description
:
   - "Weaken nearby monsters."
  lifesteal
:
    type
: SpecialLifeSteal
    percentage
: 0.008
    power-usage
: 25
    display
: "Life Steal"
    magic
: false
    mode
: ONLY_PLAYER
    description
:
   - "Gain health by damaging monsters by {percentage}%"
  mgclifesteal
:
    type
: SpecialLifeSteal
    percentage
: 0.1
    power-usage
: 25
    display
: "Magic Life Steal"
    magic
: true
    mode
: ONLY_PLAYER
    description
:
   - "Gain health by damaging monsters using"
    - "enchanted tools/weapons by {percentage}%"
  maxhealth
:
    type
: AttributeBeaconEffect
    attribute
: "generic.maxHealth"
    amount
: 10
    power-usage
: 81
    operation
: 0
    display
: "Extra Max Health"
    mode
: ONLY_PLAYER
    description
:
   - "Increase your max health."
  atkSpeed
:
    type
: AttributeBeaconEffect
    attribute
: "generic.attackSpeed"
    amount
: 3
    power-usage
: 16
    operation
: 0
    display
: "Attack Speed"
    mode
: ONLY_PLAYER
    description
:
   - "Increase your Attack Speed."
  armor
:
    type
: AttributeBeaconEffect
    attribute
: "generic.armor"
    amount
: 10
    power-usage
: 16
    operation
: 0
    display
: "Armor"
    mode
: ONLY_PLAYER
    description
:
   - "Protect your self by using Armor Effect."
  atkDmg
:
    type
: AttributeBeaconEffect
    attribute
: "generic.attackDamage"
    amount
: 3
    power-usage
: 16
    operation
: 0
    display
: "Attack Damage"
    mode
: ONLY_PLAYER
    description
:
   - "Increase your Attack Damage"
  kbResist
:
    type
: AttributeBeaconEffect
    attribute
: "generic.knockbackResistance"
    amount
: 2
    power-usage
: 9
    operation
: 0
    display
: "Knockback Resistance"
    mode
: ONLY_PLAYER
    description
:
   - "Increase your knockback resistance."
  armorToughness
:
    type
: AttributeBeaconEffect
    attribute
: "generic.armorToughness"
    amount
: 4
    power-usage
: 16
    operation
: 0
    display
: "Armor Toughness"
    mode
: ONLY_PLAYER
    description
:
   - "Increase your Armor toughness"