PhantomSMP v1.0.2

Better Phantom handling for SMP

  1. SimonOrJ
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.13
    Source Code:
    https://github.com/SimonOrJ/PhantomSMP
    This plugin was created to combat phantom issues in the survival Multiplayer server environment.

    Normally, phantoms spawn above players who had three or more Minecraft days of restlessness. After the phantom spawn, when the player uses the bed or is killed, phantoms will continue to haunt the same player until they cannot find the player, in which case they will move on to assult any other player regardless of if they rested.

    In single player, the above will not be any problem since the player can skip the night and let the sun kill off the phantoms. However, that's not the case for multiplayer servers where players have to endure phantom attacks until the next sunrise.

    This plugin corrects this issue. Features:
    • Phantoms ignore players who used the bed within last three Minecraft days
    • Phantoms will ignore players who uses the bed or is killed.
    • Configuration option to control if the phantoms should despawn when they try to target a rested player

    There is only one option to configure. The configuration details, reproduced below, are inside the config file and will appear after first server run with this plugin.

    Code (YAML):

    # PhantomSMP by SimonOrJ

    # Remove phantoms that try to target player slept within three (Minecraft) days?
    #   true = remove phantom targeting rested player
    #   false = Keep phantoms (and make phantoms try to target another player)
    remove-targeting-rested
    : true
     
    Hope this comes in handy!
    ~Simon

Recent Reviews

  1. SethGandy
    SethGandy
    5/5,
    Version: v1.0.2
    Excellent plugin! This is a god send! Everyone on my server was mad about having to sleep all at once, now, with this, just getting in a bed until the fading gets it's darkest is enough to reset the sleep count and make those damn phantoms go away! Truly thankful for your work!
    1. SimonOrJ
      Author's Response
      I'm happy to hear that this is working out so well on your server! :D

      By the way, sleeping as you described above resets the sleep counter (Time since rest statistic) and stops further phantom spawns even without the use of this plugin. All this plugin does is despawn phantoms when phantoms try to target the rested player or make phantoms ignore the rested player.

      Thank you very much for the review. Good luck in your server hosting!
      ~Simon