mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
2e3f5eff79
Options can be defined globally in config.js or per server in web ui
35 lines
762 B
JavaScript
35 lines
762 B
JavaScript
define(function (require) {
|
|
|
|
"use strict";
|
|
|
|
var $ = require('jquery'),
|
|
_ = require('underscore'),
|
|
Backbone = require('backbone');
|
|
|
|
return Backbone.Model.extend({
|
|
defaults: {
|
|
additionalConfigurationOptions: '',
|
|
admin_password: '',
|
|
allowed_file_patching: 1,
|
|
auto_start: false,
|
|
battle_eye: false,
|
|
file_patching: false,
|
|
forcedDifficulty: '',
|
|
max_players: null,
|
|
mods: [],
|
|
motd: '',
|
|
number_of_headless_clients: 0,
|
|
parameters: [],
|
|
password: '',
|
|
persistent: false,
|
|
port: 2302,
|
|
state: null,
|
|
title: '',
|
|
von: false,
|
|
verify_signatures: false,
|
|
},
|
|
urlRoot: '/api/servers/',
|
|
});
|
|
|
|
});
|