Ton's Guide to Create Events: Difference between revisions
Jump to navigation
Jump to search
TonTheKidRS (talk | contribs) No edit summary |
mNo edit summary |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Infopage]] | |||
In this I will be discussing how to create an event from a technical point of view. | In this I will be discussing how to create an event from a technical point of view. | ||
Note: this guide uses command blocks that are configured to run all the commands necessary for the event to make the admins lives easier. | Note: this guide uses command blocks that are configured to run all the commands necessary for the event to make the admins lives easier. | ||
Line 5: | Line 6: | ||
# Build a spawn or entrance room for people when | # Build a spawn or entrance room for people when they first join the event. <br /> <br /> | ||
#; | #; ''Team Event:'' | ||
## In your spawn room, select areas for people to join the event. <br /> These should be 3x3 areas obviously separated. <br /> Under the center of | ## In your spawn room, select areas for people to join the event. <br /> These should be 3x3 areas obviously separated, one for each team. <br /> Under the center of each 3x3 area, you want to place 1 command block. <br /> <br /> | ||
### The | ### The command block for each team's 3x3 area should be: | ||
###; team join '' | ###; team join ''Teamname'' @a[dx=-1,dy=1,dz=-1] | ||
###: This command block adds players on top of it to the team | ###: This command block adds players on top of it to the team that is specified | ||
###: This command block should be Repeat, Unconditional, and Always Active | ###: This command block should be Repeat, Unconditional, and Always Active <br /> <br /> | ||
# | #: Note: Make sure the team you are using exists with /team list. <br /> <br /> | ||
#; ''Solo Event:'' | |||
#; | |||
## Under the spawn block of your event, place a command block. | ## Under the spawn block of your event, place a command block. | ||
## This command block should be: | ## This command block should be: | ||
##; | ##; team join ''Teamname'' @a[dx=-1,dy=1,dz=-1] | ||
##: This command block adds players on top of it to the | ###: This command block adds players on top of it to the team that is specified | ||
##: This command block should be Repeat, Unconditional, and Always Active | ###: This command block should be Repeat, Unconditional, and Always Active <br /> <br /> | ||
# Now you need to build a control room/area for the admin to run the event. | #: Note: Make sure the team you are using exists with /team list. <br /> <br /> | ||
# | # Now you need to build a control room/area for the admin to run the event. There should be a large area for the command blocks to stay, preferably out of sight. Make sure the following command blocks are connected to one button<br /> <br /> | ||
#; eventset x= | ## Command Block 1: | ||
#: This sets the place where people end up when they do /event | ##; eventset x=''coord'' y=''coord'' z=''coord'' world=''name''. | ||
#: This command block should be Impulse, Unconditional, and Triggered by Redstone | ##: This sets the place where people end up when they do /event | ||
#: This command block should be powered by its own button. | ##: This command block should be Impulse, Unconditional, and Triggered by Redstone | ||
# | ##: This command block should be powered by its own button. <br /> <br /> | ||
#; | ### If you want to have a respawning team event, the following Command Blocks must be included: | ||
#: This | #### Command Block 1: | ||
#: This command block should be Impulse, Unconditional, and Triggered by Redstone | ####; eventset x=''coord'' y=''coord'' z=''coord'' world=''name'' team=''Team 1'' | ||
#: This command block should be | ####: This sets the respawn point for ''Team 1'' | ||
# | ####: If you want players to keep their inventory when they die, add an additional argument: keepinventory=true. | ||
#; | ####: This command block should be Impulse, Unconditional, and Triggered by Redstone | ||
#: This | ####: This command block should be included in the ''Start Event'' Sequence. <br /> <br /> | ||
#: This command block should be | #### Command Block 2: | ||
#: This command block should be powered by | ####; eventset x=''coord'' y=''coord'' z=''coord'' world=''name'' team=''Team 2'' | ||
####: This sets the respawn point for ''Team 2'' | |||
####: If you want players to keep their inventory when they die, add an additional argument: keepinventory=true. | |||
####: This command block should be Impulse, Unconditional, and Triggered by Redstone | |||
####: This command block should be included in the ''Start Event'' Sequence. <br /> <br /> | |||
## Command Block 2: | |||
###; ea true ''Event Name'' | |||
###: This opens the event and announces it in chat | |||
###: This command block should be Impulse, Unconditional, and Triggered by Redstone | |||
###: This command block should be powered by its own button. <br /> <br /> | |||
# The next button controls a string of command blocks: | # The next button controls a string of command blocks: | ||
## The first set of command blocks should be: | ## The first set of command blocks should be: | ||
##; | ##; ''Team Event'' | ||
### Command Block 1: | ### Command Block 1: | ||
###; tp @a[team=''Team 1''] ''x'' ''y'' ''z'' | ###; tp @a[team=''Team 1''] ''x'' ''y'' ''z'' | ||
###: This command teleports the 1st team to their area. | ###: This command teleports the 1st team to their area. | ||
###: This command block should be Impulse, Unconditional, and Triggered by Redstone | ###: This command block should be Impulse, Unconditional, and Triggered by Redstone <br /> <br /> | ||
### Command Block 2 | ###: Command Block 2 | ||
###; tp @a[team=''Team 2''] ''x'' ''y'' ''z'' | ###; tp @a[team=''Team 2''] ''x'' ''y'' ''z'' | ||
###: This command teleports the 1st team to their area. | ###: This command teleports the 1st team to their area. | ||
###: This command block should be Impulse, Unconditional, and Triggered by Redstone | ###: This command block should be Impulse, Unconditional, and Triggered by Redstone <br /> <br /> | ||
##; Solo Event | ##; ''Solo Event'' | ||
### Solo Events with one spawn: | ### Solo Events with one spawn: | ||
###; tp @a[ | ###; tp @a[team=''teamname''] ''x'' ''y'' ''z'' | ||
###: This command teleports all players in the event to one location. | ###: This command teleports all players in the event to one location. | ||
###: This command block should be Impulse, Unconditional, and Triggered by Redstone | ###: This command block should be Impulse, Unconditional, and Triggered by Redstone <br /> <br /> | ||
### Solo Events with spread players: | ### Solo Events with spread players: | ||
###; spreadplayers ''Center X'' ''Center Z'' ''Min Distance Between Target'' ''Max Distance Between Targets'' false @a[ | ###; spreadplayers ''Center X'' ''Center Z'' ''Min Distance Between Target'' ''Max Distance Between Targets'' false @a[team=!] | ||
###: This command spreads the players randomly around the map based on certain predefined settings. | ###: This command spreads the players randomly around the map based on certain predefined settings. | ||
###: This command block should be Impulse, Unconditional, and Triggered by Redstone | ###: This command block should be Impulse, Unconditional, and Triggered by Redstone <br /> <br /> | ||
## The second set of command blocks should be: | ## The second set of command blocks should be: | ||
##; give @a[team=!] ''item'' | |||
'' | ##: This command gives all players in the event the specified item items. | ||
##: This command block should be Impulse, Unconditional, and Triggered by Redstone | |||
##: Note: You will need 1 command block for every different item you want to give to the players. <br /> <br /> | |||
## The last command block in this string closes the event so no one can join mid-event: | |||
##; ea false | |||
##: This command block should be Impulse, Unconditional, and Triggered by Redstone <br /> <br /> | |||
# The next command block string is again all powered by one button: | |||
## Command Block 1: | |||
##; endevent | |||
##: This command ends the event, clears the player's inventory, and returns them to the normal world. | |||
##: This command block should be Impulse, Unconditional, and Triggered by Redstone <br /> <br /> | |||
## Command Block 2: | |||
##; team leave @a | |||
##: This command removes all players from any team. | |||
##: This command block should be Impulse, Unconditional, and Triggered by Redstone<br /> <br /> | |||
# Finally, make sure to convert all coordinates that are used in command blocks to static coordinates. Static coordinates are the ones that use tildes. | |||
##: You can do this using the /relativecoords command, or ask MoWobbler for a calculator. | |||
If you have any other questions feel free to contact me on the Forum, Discord, or In-Game <br /> | |||
[[TonTheKidRS]] |
Latest revision as of 03:53, 19 February 2021
In this I will be discussing how to create an event from a technical point of view. Note: this guide uses command blocks that are configured to run all the commands necessary for the event to make the admins lives easier.
Once you have built the physical event, I suggest building some sort of control room for the Admin to go be in during the event.
- Build a spawn or entrance room for people when they first join the event.
- Team Event:
- In your spawn room, select areas for people to join the event.
These should be 3x3 areas obviously separated, one for each team.
Under the center of each 3x3 area, you want to place 1 command block.
- The command block for each team's 3x3 area should be:
- team join Teamname @a[dx=-1,dy=1,dz=-1]
- This command block adds players on top of it to the team that is specified
- This command block should be Repeat, Unconditional, and Always Active
- The command block for each team's 3x3 area should be:
- Note: Make sure the team you are using exists with /team list.
- Solo Event:
- Under the spawn block of your event, place a command block.
- This command block should be:
- team join Teamname @a[dx=-1,dy=1,dz=-1]
- This command block adds players on top of it to the team that is specified
- This command block should be Repeat, Unconditional, and Always Active
- Note: Make sure the team you are using exists with /team list.
- Now you need to build a control room/area for the admin to run the event. There should be a large area for the command blocks to stay, preferably out of sight. Make sure the following command blocks are connected to one button
- Command Block 1:
- eventset x=coord y=coord z=coord world=name.
- This sets the place where people end up when they do /event
- This command block should be Impulse, Unconditional, and Triggered by Redstone
- This command block should be powered by its own button.
- If you want to have a respawning team event, the following Command Blocks must be included:
- Command Block 1:
- eventset x=coord y=coord z=coord world=name team=Team 1
- This sets the respawn point for Team 1
- If you want players to keep their inventory when they die, add an additional argument: keepinventory=true.
- This command block should be Impulse, Unconditional, and Triggered by Redstone
- This command block should be included in the Start Event Sequence.
- Command Block 2:
- eventset x=coord y=coord z=coord world=name team=Team 2
- This sets the respawn point for Team 2
- If you want players to keep their inventory when they die, add an additional argument: keepinventory=true.
- This command block should be Impulse, Unconditional, and Triggered by Redstone
- This command block should be included in the Start Event Sequence.
- Command Block 1:
- Command Block 2:
- ea true Event Name
- This opens the event and announces it in chat
- This command block should be Impulse, Unconditional, and Triggered by Redstone
- This command block should be powered by its own button.
- Command Block 1:
- The next button controls a string of command blocks:
- The first set of command blocks should be:
- Team Event
- Command Block 1:
- tp @a[team=Team 1] x y z
- This command teleports the 1st team to their area.
- This command block should be Impulse, Unconditional, and Triggered by Redstone
- Command Block 2
- tp @a[team=Team 2] x y z
- This command teleports the 1st team to their area.
- This command block should be Impulse, Unconditional, and Triggered by Redstone
- Solo Event
- Solo Events with one spawn:
- tp @a[team=teamname] x y z
- This command teleports all players in the event to one location.
- This command block should be Impulse, Unconditional, and Triggered by Redstone
- Solo Events with spread players:
- spreadplayers Center X Center Z Min Distance Between Target Max Distance Between Targets false @a[team=!]
- This command spreads the players randomly around the map based on certain predefined settings.
- This command block should be Impulse, Unconditional, and Triggered by Redstone
- The second set of command blocks should be:
- give @a[team=!] item
- This command gives all players in the event the specified item items.
- This command block should be Impulse, Unconditional, and Triggered by Redstone
- Note: You will need 1 command block for every different item you want to give to the players.
- The last command block in this string closes the event so no one can join mid-event:
- ea false
- This command block should be Impulse, Unconditional, and Triggered by Redstone
- The first set of command blocks should be:
- The next command block string is again all powered by one button:
- Command Block 1:
- endevent
- This command ends the event, clears the player's inventory, and returns them to the normal world.
- This command block should be Impulse, Unconditional, and Triggered by Redstone
- Command Block 2:
- team leave @a
- This command removes all players from any team.
- This command block should be Impulse, Unconditional, and Triggered by Redstone
- Command Block 1:
- Finally, make sure to convert all coordinates that are used in command blocks to static coordinates. Static coordinates are the ones that use tildes.
- You can do this using the /relativecoords command, or ask MoWobbler for a calculator.
If you have any other questions feel free to contact me on the Forum, Discord, or In-Game
TonTheKidRS