arma-server-web-admin/public/js/app/models/server.js
2019-10-18 11:06:47 +02:00

27 lines
558 B
JavaScript

var Backbone = require('backbone')
module.exports = 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/'
})