• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Not count X Logged

Teddy

SweStream.se
Joined
Oct 2, 2008
Messages
3,797
Reaction score
10
Location
Sweden 172
i just added
http://otland.net/f451/how-not-count-x-logged-players-81370/
and i have modern acc .. so i wonder if i can get it to work with modern..? all the other scripts are for geisor..
part of index right now just count not X logged player.

part of layout script this only count not AFK players
Code:
							<div class="vt_panel_module">
								<div class="header">Server Status</div>
								{foreach from=$worlds key=id item=world}
								<div>
									<b>World:</b> {$world} <br />
									<b>Status:</b>  
									{if $serverOnline[$id]}
										<span style="color: green;font-weight: bold;">Online</span><br />
										<b>Uptime:</b> {$serverUptime[$id]} <br />
										<b>Players:</b> {$serverPlayers[$id]}/{$serverMax[$id]}<br /><br />
									{else}
										<span style="color: red;font-weight: bold;">Offline</span>
									{/if}
								</div>
								{/foreach}
							</div>
						</div>
					</div>
				</div>
			</div>
 
Last edited:
Back
Top