Skip to content

Commit 013c36f

Browse files
committed
💣 destroy player listing
1 parent d3220fa commit 013c36f

File tree

2 files changed

+4
-23
lines changed

2 files changed

+4
-23
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
1212
### Changed
1313
* Servers are now queued for deletion to allow for cancellation of deletion, as well as run in the background to speed up page loading.
1414

15+
### Removed
16+
* Removed online player listing due to inconsistency in query library and an assortment of query related bugs. This will return in future versions when we get it working correctly.
17+
1518
## v0.5.0-pre.3 (Bodacious Boreopterus)
1619

1720
### Added

resources/views/server/index.blade.php

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,6 @@
6464
<div id="pw_resp" style="display:none;margin-top: 15px;"></div>
6565
</div>
6666
</div>
67-
<div class="row">
68-
<div class="col-md-12" id="stats_players">
69-
<h3>Active Players</h3><hr />
70-
<div id="players_notice" class="alert alert-info">
71-
<i class="fa fa-spinner fa-spin"></i> Waiting for response from server...
72-
</div>
73-
<span id="toggle_players" style="display:none;">
74-
<p class="text-muted">No players are online.</p>
75-
</span>
76-
</div>
77-
</div>
7867
</div>
7968
</div>
8069
</div>
@@ -353,18 +342,7 @@ function (callback) {
353342
354343
// Socket Recieves New Query
355344
socket.on('query', function (data){
356-
if($('#players_notice').is(':visible')){
357-
$('#players_notice').hide();
358-
$('#toggle_players').show();
359-
}
360-
if(typeof data['data'] !== 'undefined' && typeof data['data'].players !== 'undefined' && data['data'].players.length !== 0){
361-
$('#toggle_players').html('');
362-
$.each(data['data'].players, function(id, d) {
363-
$('#toggle_players').append('<code>' + d.name + '</code>,');
364-
});
365-
}else{
366-
$('#toggle_players').html('<p class=\'text-muted\'>No players are currently online.</p>');
367-
}
345+
// Disabled.
368346
});
369347
370348
// New Console Data Recieved

0 commit comments

Comments
 (0)