• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Release Simple Server Hosting Script

Status
Not open for further replies.

BIOS

TeaSpeak Team
Staff member
TeaTeam
am einfachsten wäre ein cronjob den kannst du zeitlich so definieren wie du möchtest
 

BIOS

TeaSpeak Team
Staff member
TeaTeam
Das ist mir bewusst aber ich habe 2 teaspeak server auf denen ein Passwort ist und ich seitdem nie mehr auf den server war.

Und weißt du wo ich diese zeit editieren kann?
solltest du den query zugang noch haben entferne doch einfach das passwort ;)
 

DJKenzo

New member
solltest du den query zugang noch haben entferne doch einfach das passwort ;)
Das mit dem Passwort war ja ein test bezüglich des afk checkers.

Frage: Wo muss ich im Script die Zeit ändern damit des z.b. Erst server nach einem Monat inaktiv stellt?

Ich hab sehr wenig Erfahrung bezüglich HTML /Php und wollte mal wissen ob es möglich is das man server vom afk checker ausnehmen kann? Quasi wie eine Blacklist
 

BIOS

TeaSpeak Team
Staff member
TeaTeam
imscript selber nicht ich habe es wie schon erwähnt als cronjob laufen
 

panteLx

New member
can you upload all on github so we can create pull requests? :=)

so if you update the script its easier to pull the new version
 

BIOS

TeaSpeak Team
Staff member
TeaTeam
github added

wiki on github is done

looking for an ppls he wants to host the demo page.

PM me when interessted.
 
Last edited:

Kalle801

Active member
oh i didnt know you used my link as demo lol.
Ill set it up again if a Windows Server Version is available.
 
Last edited:

Kalle801

Active member
Thank you.

PS: Its online again.

Edit: You know that its possible to input any number (Slots) in your CMS? @BIOS
 
Last edited:

kajen

New member
Hey! nice, but where do i change max slots now i can create servers with 2000 slots how do i restrict that and where? :) Keep up the good work!
 

BIOS

TeaSpeak Team
Staff member
TeaTeam
Hey! nice, but where do i change max slots now i can create servers with 2000 slots how do i restrict that and where? :) Keep up the good work!
you can enter slots many you want. max is 1024
if you want to change the description so edit this line in index.php

Code:
<input name="slots" required="required" type="text" placeholder="max 32 more you cant connect" />
 
Last edited:

ZeroCz

Well-known member
ctrl + shift + i, delete min="2" max="32" and you can create the server with 1024 slots again.
 

BIOS

TeaSpeak Team
Staff member
TeaTeam
why not do that?

<input type="number" name="slots" min="2" max="32">
ctrl + shift + i, delete min="2" max="32" and you can create the server with 1024 slots again.
both of you are wrong edit this line

Code:
"virtualserver_maxclients" => $slots,
to

Code:
"virtualserver_maxclients" => 1024,
dont tell users not tested experimentals ;)

after this edit this line

Code:
<input name="slots" required="required" type="text" placeholder="max 32 more you cant connect" />
to

Code:
<input name="slots" required="required" type="text" placeholder="type an number, instant 1024 slot servers" />
 
Last edited:

REDOSS

TeaSpeak Team
Staff member
TeaTeam
both of you are wrong edit this line

Code:
"virtualserver_maxclients" => $slots,
to

Code:
"virtualserver_maxclients" => 1024,
dont tell users not tested experimentals ;)

after this edit this line

Code:
<input name="slots" required="required" type="text" placeholder="max 32 more you cant connect" />
to

Code:
<input name="slots" required="required" type="text" placeholder="type an number, instant 1024 slot servers" />
As a complement :)
Code:
$slots = $_POST['slots'] > 1024 ? 1024 : $_POST['slots'];
If the user specified more than 1024, then the server with 1024 slots is created, and if less, then the user slots.

P:S:. With your changes, a server with 1024 slots will always be created with that number of slots.
 

BIOS

TeaSpeak Team
Staff member
TeaTeam
As a complement :)
Code:
$slots = $_POST['slots'] > 1024 ? 1024 : $_POST['slots'];
If the user specified more than 1024, then the server with 1024 slots is created, and if less, then the user slots.

P:S:. With your changes, a server with 1024 slots will always be created with that number of slots.
its an good think
 
Status
Not open for further replies.