Simple & Clean Server Creator [Web]

EscuderoKevin

Well-Known Member
Jul 2, 2015
380
181
130
PHP:
<input name="slots" readonly type="text" value="100"/>

To
PHP:
<select name="slots">
<option value="5">5</option>
<option value="5">5</option>
<option value="5">5</option>
</select>
 

mkll11one

ServerGeek
VIP
Apr 26, 2016
262
136
157
The code you write, it's "overwrite" this code:
Code:
$slots = 100;

(Example: I choose 5 slots) > it creating 100 slots.
 

Alligatoras

Administrator
Mar 31, 2016
2,570
12
2,855
381
The code you write, it's "overwrite" this code:
Code:
$slots = 100;

(Example: I choose 5 slots) > it creating 100 slots.
In that case you need to replace the line 13
from this:
PHP:
$slots = 100;
back to the line you had at the beggining:
PHP:
$slots = $_POST['slots'];
 

Pain

Member
Feb 20, 2016
102
17
53
it is possible to make an auto delete for the servers , for example after 3 days , the server is deleted ,
Thank you for support !
 

EscuderoKevin

Well-Known Member
Jul 2, 2015
380
181
130
Yep , but need mysql..

We need save SERVER ID.

Then use cron for Delete Server ID.
 

EscuderoKevin

Well-Known Member
Jul 2, 2015
380
181
130
server slot limit 100 , but they can open more how can i fix it?

Use Putty.

U21ZrPJ.png


Code:
login serveradmin PASSWORD
error id=0 msg=ok
servergroupautodelperm sgtype=45 permsid=b_virtualserver_modify_maxclients|permsid=i_needed_modify_power_virtualserver_modify_maxclients|permsid=b_virtualserver_snapshot_deploy|permsid=b_virtualserver_snapshot_create|permsid=i_needed_modify_power_virtualserver_snapshot_deploy|permsid=i_needed_modify_power_virtualserver_snapshot_create
error id=0 msg=ok
use port=ENTER_ANY_ACTIVE_VOICE_PORT
error id=0 msg=ok
servergroupdelperm sgid=3 permsid=b_virtualserver_modify_maxclients|permsid=i_needed_modify_power_virtualserver_modify_maxclients|permsid=b_virtualserver_snapshot_deploy|permsid=b_virtualserver_snapshot_create|permsid=i_needed_modify_power_virtualserver_snapshot_deploy|permsid=i_needed_modify_power_virtualserver_snapshot_create
error id=0 msg=ok
 
Top