mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 07:13:58 -05:00
fixed !setlevel
fixed previous alias displayed on welcome announcement fixed duplicate events on profile page tweaked display of non event meta on mobile you can view other's stats from the webconsole penalties show privileged client's level don't have commands to chat history
This commit is contained in:
@ -1,6 +1,16 @@
|
||||
function executeCommand() {
|
||||
const serverId = $('#console_server_select').val();
|
||||
const command = $('#console_command_value').val();
|
||||
|
||||
if (command.length === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (command[0] !== '!') {
|
||||
$('#console_command_response').text('All commands must start with !').addClass('text-danger');
|
||||
return false;
|
||||
}
|
||||
|
||||
$.get('/Console/ExecuteAsync', { serverId: serverId, command: command })
|
||||
.done(function (response) {
|
||||
$('#console_command_response').html(response);
|
||||
|
Reference in New Issue
Block a user