Updated What are Scenarios? (textile)
parent
85b624b9a3
commit
bf39cb7d06
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
<h1> Scenarios </h1>
|
||||
Scenarios for UHC are like plugins for server.
|
||||
Download them then put them in your scenarios folder to add them.
|
||||
To add a scenario to your UHC game, you need to be in waiting for more players, then type "/uhc scenarios add <****Scenario name>"
|
||||
To add a scenario to your UHC game, you need to be in waiting for more players, then type "/uhc scenarios add \<Scenario name>"
|
||||
|
||||
<h2> How to create a scenario?</h2>
|
||||
**Requirements**:
|
||||
|
@ -19,10 +19,10 @@ class YOUR_SCENARIO_NAME extends \Ad5001\UHC\scenario\Scenario {
|
|||
</code></pre>
|
||||
Great ! Now you know that, let's learn a bit about the functions of the API:
|
||||
<table style='border-width:0 0 1px;border-bottom:1px solid #cbcbcb'>
|
||||
<tr>
|
||||
<td> **__Function name__** </td>
|
||||
<td> **__Function parameters__** </td>
|
||||
<td> **__Description__** </td>
|
||||
<tr style='border-width:0 0 1px;border-bottom:1px solid #cbcbcb'>
|
||||
<td style='border-width:0 0 1px;border-bottom:1px solid #cbcbcb'> **__Function name__** </td>
|
||||
<td style='border-width:0 0 1px;border-bottom:1px solid #cbcbcb'> **__Function parameters__** </td>
|
||||
<td style='border-width:0 0 1px;border-bottom:1px solid #cbcbcb'> **__Description__** </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> onEnable </td>
|
||||
|
|
Loading…
Reference in a new issue