Skip to content

Block Break Tutorial

Narimm edited this page Jul 6, 2018 · 2 revisions

Block Break Tutorial

By AddstarMC

How to make very simple game, which main goal is to destroy enemy beacon and protect ours?

Step 1: Map

Simple map

I made a simple beacon map, just to show how it works.
You need to make place for: lobby, start location for red/blue team, and red and blue base with beacon.
Better and bigger map can of course attract more people.

Step 2: Region additional plugin files

If you didn't install, or you are not sure, check this page about Regions and Nodes Tutorial.

Step 3: Make a multiplayer game

Now it's time, to make new minigame with command:
/mg create BeaconWar multiplayer
This will create minigame called BeaconWar and set as Multiplayer

To edit most of the thing, use command:
/mg edit BeaconWar
You will see GUI for setup a minigame. Of course you can change it however you want, but a few thing you have to set like this (Green word

  • active):
    Enabled: true
    Game type: Multiplayer
    Game mechanic: custom
    Min. Score: 1
    Max. Score: 1
    Min. Players: at least 2, but for teamt 4 would be preffered.
    Regeneration delay: 0

Still in this menu choose Player Setting and change Player Gamemode on Survival and Block Break/Block Place to True
Other configuration you can change as you wish.
REMEMBER TO CLICK RIGHT REDSTSTONE TORCH WITH “SAVE”.

Step 4: Make teams

In this tutorial we gonna use Red and Blue team. Easiest way is to use command:
/mg set BeaconWar team add red It will add Red team in BeaconWar minigame.
Now we have to go back to edit menu via command:
/mg edit BeaconWar
And on next page click on Team Options. There will be two teams, Red and Blue. If you click any, you can customize them.
Most important is to set Max players in both team.

Step 5: Set up locations

We've got map and teams, so it's time to spawn them somewhere.
Go to location where you want to spawn Red team players, and type:
/mg set BeaconWar start red 1 This will choose the place you stand, to spawn at start first player of Red team. You need to repeat that command in order to spawn second, third and another member of Red team (and Blue as well).
If you dont have, you need some lobby (minigame teleport players that join to special location, where they can wait for other players). Go to your lobby and type:
/mg set BeaconWar lobby

And you need quit location (place where players will be teleported if they quit), and end location (when the game end): /mg set BeaconWar quit /mg set BeaconWar end

Step 6: Set up win event

In this one i like to work with minigame tool:
/mg tool
/mg minigame BeaconWar

We will get usefull tool that work with minigame BeaconWar.
Go stand on Red beacon and type: /mg set BeaconWar region select 1
/mg set BeaconWar region select 2
/mg set BeaconWar region create RedBeacon

We made a little 1 block selection, our red Beacon. Now we will add event to it. Hold your Minigame tool in hand, hold Shift and click right mouse button. Last one item is “Region and Node editor”, choose it.
Now right click on Red beacon, click “Add executor”, click “Block break”. Click on Region executor we made, click “Actions”, “Add actions”. “Team actions”, “Add_team_score”. Now breaking Red beacon have 1 action, add score to team, but which? You need to click “Add_Team_score”, and change “Specific team” to BLUE (Blue team will got a point when Read beacon will be destroyed).
Remember to click “Back” a few time so you get “Save” button.
Also remember, to make the same thing on Blue Beacon.

This configuration dont protect Blue beacon to be destroyed by Blue player, you can make some CommandBlock under Beacon that will constantly set Beacon in his place, but i don't know, this one need tests.