-
Notifications
You must be signed in to change notification settings - Fork 0
How to use
The block files is located in the blocks folder and it stores all the blocks
Start by using /pvpbuilder setup to see a list of avaliable block files
when have the block you want to use in your hand and type /pvpbuilder setup fileName.yml
And /pvpbuilder reload for the changes to take effect
See the current templates in the blocks folder
overwrite: Over write blocks (true or false) delay-placed: 20 is 1 second delay-disappear: 20 is 1 second
face: (1) faces to you (2) faces right from you (3) faces left from you (4) faces away from you
RememberOriginalBlock: Remember original block for it to set it back to the block that was before (true or false optional if no more arguments)
<+x> <+y> <+z> <-x> <-y> <-z> <overwrite> <delay-placed> <delay-disappear> <face> <RememberOriginalBlock>

You can add to an block like this
block1:
material: ''
options: ''
commands:
set:
commands:
- command
random-commands:
amount: 1
list:
- command
remove:
commands:
- command
random-commands:
amount: 1
list:
- command
You can make an selection when a block file is building to add commands run when player is inside a area
start is the location of the postion 1
end is the location of the postion 2
And a area is created between start and end and it will run commands when inside that area
time is how long it should run, in seconds
You can also look at how trampoline_small.yml, trampoline_big.yml is made with areas
area:
start: 1 2 0 0 0 1
end: 0 4 0 1 0 3
delay: 45
delay-disappear: 230
groups:
default:
permission: pvpbuilder.area
all-players: false
time: 5
commands:
- 'pvpbuilder spawn effect jump {pvpbuilder_player} 1 20 false false'
- 'pvpbuilder spawn effect health_boost {pvpbuilder_player} 5 4 false false'
- 'pvpbuilder spawn effect heal {pvpbuilder_player} 1 2 false false'
- 'particle portal {pvpbuilder_x} {pvpbuilder_y} {pvpbuilder_z} 1 1 1 0.1 25'
commands-last:
- 'pvpbuilder message {pvpbuilder_player} &7[&bPvPBuilder&7] &cSorry all the jump boost in this area is used'