-
Notifications
You must be signed in to change notification settings - Fork 6
Configuration
DSH105 edited this page Mar 8, 2014
·
3 revisions
Configuration of SparkTrail can be done in the following two files:
- config.yml - Used for all main configuration
- language.yml - Allows control over messages sent by SparkTrail
On this page, you will learn how to:
- Configure HoloAPI to your liking
- Disable and alter how specific effects are played
Options inside of this file are as follows:
Option | Default value | Description |
---|---|---|
command |
trail |
Command alias used by SparkTrail so that conflicts with other plugins can be avoided. |
primaryChatColour |
a |
Primary chat colour used for SparkTrail messages. Will affect language.yml when first loaded. |
secondaryChatColour |
e |
Secondary chat colour used for SparkTrail messages. Will affect language.yml when first loaded. |
autoUpdate |
false |
If set to true, SparkTrail will update automatically from dev.bukkit.org. See the BukkitDev page for more information on this. |
checkForUpdates |
true |
If set to true, SparkTrail will check for updates from dev.bukkit.org and notify the console if one is available. See the BukkitDev page for more information on this. |
autosave |
true |
If true, SparkTrail will auto-save all trail data at the specified interval. |
autosaveTimer |
180 |
Auto-save interval |
maxEffectAmount.player |
1 |
Maximum number of effects allowed per player. Setting to -1 will allow an infinite number of effects |
maxEffectAmount.location |
1 |
Maximum number of effects allowed per location. Setting to -1 will allow an infinite number of effects |
maxEffectAmount.mob |
1 |
Maximum number of effects allowed per mob. Setting to -1 will allow an infinite number of effects |
The Effects section of the config.yml
allows control over the effects that SparkTrail offers. Each effect allows control over the following options:
- Enabled (
effects.<type>.enable
) - Effects can be disabled by setting this tofalse
- Play Frequency (
effects.<type>.frequency
) - Frequency at which this effect is played at. - Play Type (
effects.<type>.playType
) - Play type of this effect. Types are as follows:-
Normal
- Plays the effect normally. -
Circle
- Plays the effect in a circle around the origin location -
Double
- Plays the effect at the player's head and feet -
Above
- Plays the effect above the player's head -
Feet
- Only plays the effect when the player moves position.
-