Updated What are Scenarios? (textile)

Ad5001 2016-06-10 20:23:03 +02:00
parent 85b624b9a3
commit bf39cb7d06

@ -1,7 +1,7 @@
<h1> Scenarios </h1> <h1> Scenarios </h1>
Scenarios for UHC are like plugins for server. Scenarios for UHC are like plugins for server.
Download them then put them in your scenarios folder to add them. 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> <h2> How to create a scenario?</h2>
**Requirements**: **Requirements**:
@ -19,10 +19,10 @@ class YOUR_SCENARIO_NAME extends \Ad5001\UHC\scenario\Scenario {
</code></pre> </code></pre>
Great ! Now you know that, let's learn a bit about the functions of the API: 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'> <table style='border-width:0 0 1px;border-bottom:1px solid #cbcbcb'>
<tr> <tr style='border-width:0 0 1px;border-bottom:1px solid #cbcbcb'>
<td> **__Function name__** </td> <td style='border-width:0 0 1px;border-bottom:1px solid #cbcbcb'> **__Function name__** </td>
<td> **__Function parameters__** </td> <td style='border-width:0 0 1px;border-bottom:1px solid #cbcbcb'> **__Function parameters__** </td>
<td> **__Description__** </td> <td style='border-width:0 0 1px;border-bottom:1px solid #cbcbcb'> **__Description__** </td>
</tr> </tr>
<tr> <tr>
<td> onEnable </td> <td> onEnable </td>