-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontrol-room.php
More file actions
34 lines (25 loc) · 1.44 KB
/
control-room.php
File metadata and controls
34 lines (25 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php if ( !defined( 'STUZZPANEL' ) ) exit; ?>
<input id="req_key" type="hidden" value="<?php echo $session_key; ?>">
<section>
<h2>Start</h2>
<p>Starts the server. This may take a few minutes, especially if it is the first time the server has started. </p>
<button id="button_start_server" disabled class="btn enable-when-offline">Start server</button>
</section>
<hr>
<section>
<h2>Stop</h2>
<p>Sends the command <tt>stop</tt> to the server console. This is generally the safest way to shut down the server.</p>
<button id="button_stop_server" disabled class="btn btn-primary enable-when-online">Stop server</button>
</section>
<hr>
<section>
<h2>Terminate</h2>
<p>Asks the server to shut down by sending it a <code>SIGTERM</code>. This still allows the server to save maps and players, but does not require the console to be responding. This can damage data in rare cases.</p>
<button disabled class="btn btn-warning enable-when-online">Terminate server</button>
</section>
<hr>
<section>
<h2>DANGER ZONE</h2>
<p>Immediately kills the server by sending <code>SIGKILL</code>. The server does not get a chance to shut down gracefully. You are very likely to corrupt your data if you use this, especially if it is in the middle of being saved. StuzzHosting is not responsible for anything that happens as a result of you clicking this button.</p>
<button disabled class="btn btn-danger enable-when-online">YOU WILL REGRET CLICKING THIS BUTTON</button>
</section>