GitLab Commit is coming up on August 3-4. Learn how to innovate together using GitLab, the DevOps platform. Register for free: gitlabcommitvirtual2021.com

TUTORIAL.txt 3.07 KB
Newer Older
Giov4's avatar
Giov4 committed
1
2
3
4
These are the steps to follow in order to create and configure an 
arena:


5

Giov4's avatar
Giov4 committed
6
7
8
1) Creating the arena using:

/skywars create <arena name> [min players] [max players]
9
10

Where min players is equal to the minimun amount of players to make 
Giov4's avatar
Giov4 committed
11
12
13
14
the arena start, and max players to the maximum amount of players that
an arena can have.


15

Giov4's avatar
Giov4 committed
16
17
2) Saving the map area using:

Giov4's avatar
Giov4 committed
18
19
/skywars pos1 <arena name>
/skywars pos2 <arena name>
20
21

In order to kill players that go out of the map and to properly recognize
Giov4's avatar
Giov4 committed
22
23
24
25
26
27
the arena you have to define a map area; to do so, simply specify its 
corners by using the two commands above.
Once you've done this you can put "@" instead of the arena name in any command
to automatically get the one you're standing in. 


28

Giov4's avatar
Giov4 committed
29
3) Editing the arena using:
Giov4's avatar
Giov4 committed
30
31

/skywars edit <arena name>
32
33

In this menu you can add spawn points, set up the timer and the sign to
34
enter the arena: the spawn points are where the players will spawn when 
Giov4's avatar
Giov4 committed
35
36
they enter the arena, the timer's a value decrementing from whatever you set 
it until 0, and the sign is just the way to  enter the arena (by clicking it).
Giov4's avatar
Giov4 committed
37
38


39

Giov4's avatar
Giov4 committed
40
4) Setting the arena treasures (the items that can spawn in the 
Giov4's avatar
Giov4 committed
41
chests):
Giov4's avatar
Giov4 committed
42

43
44
45
/skywars addtreasure <arena name> <item> <count> <preciousness>
<rarity (min 1.0, max 10.0)>

Giov4's avatar
Giov4 committed
46
47
48
49
50
51
item: the item name;
rarity: how often it will spawn in chests;
preciousness: in which chests it can be put, for example a chest with
a preciousness range 2-4 can just spawn items with a preciousness
between 2 and 4;
count: the item amount.
Giov4's avatar
Giov4 committed
52

53
54
55
56
57
58
59
60

You can also use:

/skywars addtreasure hand <arena name> <preciousness>
<rarity (min 1.0, max 10.0)> 

that will get the item name and count from the one in your hand.

Giov4's avatar
Giov4 committed
61

62

Giov4's avatar
Giov4 committed
63
5) Setting the chests in the arena using:
Giov4's avatar
Giov4 committed
64

Giov4's avatar
Giov4 committed
65
/skywars addchest <min_preciousness> <max_preciousness> 
Giov4's avatar
Giov4 committed
66
<min_treasures_amount (min. 1)> <max_treasures_amount>
67
68

To add a chest that will be filled with the right treasures when the match
69
70
starts, this will set the position to the node you're looking at (not over it).

71

72
73
74
75
! WARNING !
To modify a map you must use use /skywars reset <arena name> and then disable 
the arena, otherwise your changes may get lost.
Everything you change when the arena's disabled won't be saved, so make
76
sure to properly reset your map before doing so.
Giov4's avatar
Giov4 committed
77
78


79

Giov4's avatar
Giov4 committed
80
81
6) (Optional) Creating and setting the kits using: 

82
83
84
/skywars createkit <kit name> <texture name>

<texture name> is the texture that the kit button will have in the selector menu at the start of the match,
Giov4's avatar
Giov4 committed
85
it must be a file name that you put in the "<SKYWARS MOD FOLDER>/textures" folder.
Giov4's avatar
Giov4 committed
86

87
88

/skywars additem <kit name> <item> <count> 
89
90
or
/skywars additem hand <kit name>
Giov4's avatar
Giov4 committed
91

92
93
94
95
96
97
98
With this you can add items to it.


/skywars arenakit add <arena name> <kit name>

Each arena has a "kits" property that contains the choosable kits, with this command you add one to it.

Giov4's avatar
Giov4 committed
99
100
101


7) Enabling the arena using
Giov4's avatar
Giov4 committed
102
103

/skywars enable <arena name>
104

Giov4's avatar
Giov4 committed
105

106
107


Giov4's avatar
Giov4 committed
108
Once you've done this you can click the sign and start playing :).
Giov4's avatar
Giov4 committed
109
You should use /help skywars to read all the commands.
110
To modify the game settings (such as the messages prefix or the
111
hub spawn point) you can edit the "<SKYWARS MOD FOLDER>/SETTINGS.lua" file.