Server Spook is a very customizable plugin that adds a "Phantom" to the server. The phantom can randomly cause status effects and other world interactions to players. Positive and negative effects are possible. When a haunting occurs, the player that the haunting occurs to can receive a customizable message from one of the phantoms. Timing, effects, messages, and even the worlds that the event takes place on are customizable for each haunting.
Usage
Usage is very simple; drop the .jar into your plugins folder, run it once to generate the default config, and edit the config to create the desired effects. Reload the plugin after modifying the config.
Config
The config is split into 2 sections: positive and negative effects. While you can put positive effects in the negative section (and vice versa), the sections are mainly to differentiate what the messages look like when the are sent to the player.
Effects are set up like so:
positive:
boost:
message: RUN!
potion:
speed:
level: 2
time: 60
freq: 20
skipWorlds:
- world
- world_the_end
The config above would create a haunting effect called boost, which causes the player to gain the effects of a Speed II potion for 60 seconds, and sends the player the message "RUN!" as the haunting begins. The haunting would occur on average every 20 minutes and would not occur on the normal overworld and the end.
See SampleConfig for an example.
Permissions
Permissions can be optionally added to disallow specific players from receiving the effects.
- serverspook.positive - Access to positive effects
- serverspook.negative - Access to negative effects
Commands
Note: commands are OP only.
- /removehaunt [positive/negative] [username] - prevents the specified user from receiving haunts of the specified kind.
- /addhaunt [positive/negative] [username] - allows the specified user to receive haunts of the specified kind.
Shoutouts
- @phantomace1111 for concept