-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathExampleConfig.txt
More file actions
31 lines (31 loc) · 1.13 KB
/
ExampleConfig.txt
File metadata and controls
31 lines (31 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Additionally you can edit the Config. An Example of a Config File is below.</p>
<h2>Example config</h2>
<code>
maxDelay: 50<br>
minParticleDistance: 5<br>
minSoundDistance: 0<br>
commands:<br>
- command: spawn<br>
argRegex: ''<br>
spawnParticles: -1<br>
playSound: 1<br>
- command: home<br>
spawnParticles: 0<br>
- command: warp<br>
argRegex: 'Special'<br>
- command: warp<br>
argRegex: 'Normal'<br>
playSound: 0<br>
<br>
#Do NOT change this or your config is destroyed!<br>
version: 3<br>
#Do NOT change this or your config is destroyed!
</code><br><br>
This config will do the following:
<ul>
<li>Only spawn particles if the player teleported more than 5 blocks</li>
<li>Play sound if player uses '/spawn' (without any arguments), particles are never spawned (even for ops)</li>
<li>Play sound if player uses '/home' (any arguments allowed, since the default regex is '.*')</li>
<li>Spawn particles if player warps to the warp 'normal' using the warp command</li>
<li>Spawn particles and play sound if player warps to the warp 'special' using the warp command</li>
</ul>