-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml
139 lines (119 loc) · 4.38 KB
/
config.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
general:
#sets debug mode on or off. Turn off if you do not want to see as much info on in the server console or log files
debugMode: false
cannonLimits:
#limits regarding how many cannons a player can build. set to false if you dont need it
useLimits: false
buildLimitA: 1
buildLimitB: 100
keepProjectileAlive:
#projectile will only be updated by minecraft if a player is close to it. Enable this to keep them alive forever
enabled: true
#teleports the projectile to the expected location when the difference is too big
teleportProjectile: 5.0
tools:
#the item a player needs to be holding to adjust the aim of a cannon. Default is none.
ajust: '0:0'
#the item used to autoaim a cannon. Default is clock
autoaim: '347:0'
#the item used to fire a cannon. Default is flint and steel. Not every cannon needs a FiringItem.
#a data value of -1 means that every durability is accepted for flint and steel
firing: '259:-1'
#required for cleaning a cannon after firing and pushing a projectile against the gunpowder
ramrod: '269:-1' # Wooden shovel
#item used to rotate a cannon 90 degrees. Not implemented yet
rotatingItem: '-1:-1'
#item to measure the cannon temperature. Default is a gold nugget
thermometer: '371:0'
#fake blocks/sound that are send to the player, to make effects visible at large distance
imitatedEffects:
#is the player closer than this distance, there will be no fake block
minimumBlockDistance: 80
#if the player is above this distance, there will be no fake block
maximumBlockDistance: 200
#if the player is above this distance, there will be no sound
maximumSoundDistance: 200
explosion:
#are imitated blocks enabled
enabled: true
#size of the impact imitated explosion
sphereSize: 3
#material of the imitated explosion (default is a active redstone lamp '124:0')
material: '124:0'
#how long the effect will be displayed [s]
time: 2
#firing effect if the player is far away and display the aiming angle of the cannon
aiming:
#set to true to show a line of blocks while aiming
enabled: true
#how long the aiming vector will be. Longer means it is easier to see where you are aiming
length: 5
#this block will used to display the angle
block: '20:0'
#how long the effect will be displayed [s]
time: 0.5
firing:
#will show fake blocks for players which are far away
enabled: true
#firing will show fire blocks if the player is far away
fireBlock: '35:14'
#firing will show smoke blocks if the player is far away
smokeBlock: '30:0'
#how long the effect will be displayed [s]
time: 2
predictor:
#shows the impact of the projectile for a loaded cannon
enabled: true
#how many iterations until the projectile hits the surface
maxIterations: 500
#the predictor will work for this distance (muzzle to impact)
maxDistance: 200.0
#fake block which shows the impact location
material: '124:0'
#how long the effect will be displayed [s]
time: 0.5
#enter here the blocks which require the superbreaker ability to destroy.
#e.g. if you enter here the enchantment table it requires a projectile with superbreaker to be destroyed.
#else it can be destroyed by normal explosions
superbreakerBlocks:
#water
- 8
- 9
#lava
- 10
- 11
#obsidian
- 49
#blocks which can't be destroyed by penetration of the projectile.
#normal minecraft explosions are not affected by this option.
unbreakableBlocks:
# bedrock
- 7
#some items will consumed when used as projectile (e.g. a egg will be thrown) and the event has to be canceled, else the item can't be used as projectile
#you can also enter here a lever to use it as right click trigger not as redstone trigger.
cancelEventForLoadingItem:
#EGG
- 344
#SNOW_BALL
- 332
#SPAWN_EGG
- 383
#ENDER_PEARL
- 368
#FIREWORK
- 401
#REDSTONE
- 331
database:
#database implementation. Default is SQLite, can be changed to MySql if you change the driver.
username: bukkit
password: walrus
isolation: SERIALIZABLE
driver: org.sqlite.JDBC
url: jdbc:sqlite:{DIR}{NAME}.db
#mysql example
#username: {USERNAME}
#password: {PASSWORD}
#isolation: SERIALIZABLE
#driver: com.mysql.jdbc.Driver
#url: jdbc:mysql://{IP}:{PORT}/{DATABASENAME}