PhantomSMP
Better Phantom handling for SMP
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(s) spawn, when the player uses the bed or is killed, phantoms will continue to haunt the same player until they cannot find the player! While they still exist, they will move on to assault any other players regardless of if they rested.
In single player, the above will not be any problem since the lone player can skip the night and let the sun kill off the phantoms. However, that's not the case on multiplayer servers where players have to endure phantom attacks until the next sunrise.
This plugin addresses this issue. Features:
- Phantoms will ignore players who used the bed within last three Minecraft days. In addition, this duration is configurable.
- Phantoms will ignore or despawn on players who uses the bed or is killed. This is configurable as well.
- Control if the phantoms should despawn when they try to target a rested player using a configuration option.
Configuration
There are three core configuration options that you can set.
remove-targeting-rested
: Default: true. Remove phantoms that try to target players who recently rested.remove-when-sleeping
: Default: false. Remove phantoms as soon as player gets in the bed.disallow-targeting-for
: Default: 72000. Ticks since player's last rest before a phantom starts targeting them.
Permissions
All permission nodes are not applied by default, even to server operators.
phantomsmp.disallowspawn
: If given, phantoms will not spawn on this player.phantomsmp.ignore
: If given, phantoms will essentially ignore this player.
For more information, please visit the project page on GitHub.
bStats
Hope this comes in handy!
~Simon
Hello
Thanks for this mod. Do you plan to add "days number" in the config file ? (1.12)
In reply to Forge_User_12261306:
I'm not sure what you mean by "days number". Can you please explain what you mean by that?
In reply to SimonOrJ:
Sorry. I mean :
To be able to edit "three Minecraft days" on your sentence above.
In reply to Forge_User_12261306:
The "three Minecraft days" is the vanilla default. I'll see what I can do about that. Follow up on https://github.com/SimonOrJ/PhantomSMP/issues/3
In reply to Forge_User_12261306:
Plugin is now updated to include your request. Try the latest version v1.1.0!
~Simon
In reply to SimonOrJ:
Awesome man. Thank you for your work. This "days number" is just perfect.
In reply to Forge_User_12261306:
I'm glad to hear that it works well for you. Thanks for reporting back about it! :D
Thank God for this plugin :'D
In reply to therealtpho: