lib/rubyfox/server/data/config/admin/descriptors/runtime_room.txt in rubyfox-server-2.13.7.3 vs lib/rubyfox/server/data/config/admin/descriptors/runtime_room.txt in rubyfox-server-2.16.0.0
- old
+ new
@@ -10,193 +10,203 @@
// ROOM ID
{
"name":"id",
"label":"Room ID",
"tooltip":"The Room identification number",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"NumericStepper",
"value":{$BasicValue=room.id},
"edit":false
},
// GROUP ID
{
"name":"groupId",
"label":"Group ID",
"tooltip":"The Group to which the Room belongs",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"TextInput",
"value":"{$BasicValue=room.groupId}",
"edit":false
},
// ROOM NAME
{
"name":"adminHelper.name",
"label":"Room name",
"tooltip":"The Room name",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"TextInput",
"value":"{$BasicValue=room.name}",
"validator":"notNull"
},
// PASSWORD (not hidden, in case the Admin needs to access the Room)
{
"name":"adminHelper.password",
"label":"Password",
"tooltip":"The Room password",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"TextInput",
"value":"{$BasicValue=room.password}"
},
// ACTIVE ROOM
{
"name":"active",
"label":"Is active",
"tooltip":"Rooms are active by default; turning this flag off will make the Room un-joinable",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"CheckBox",
"value":{$BasicValue=room.active}
},
// UPTIME
{
"name":"uptime",
"label":"Uptime",
"tooltip":"Elapsed time since Room creation",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"TextInput",
"value":"{$BasicValue=helper.uptime}",
"edit":false
},
// PUBLIC ROOM
{
"name":"public",
"label":"Is public",
"tooltip":"Determines if the access is public or not",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"CheckBox",
"value":{$BasicValue=room.public},
"edit":false
},
// CAPACITY
{
"name":"capacity",
"label":"Maximum capacity",
"tooltip":"The capacity of the Room",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"NumericStepper",
"value":{$BasicValue=room.capacity},
"edit":false
},
// MAX USERS
{
"name":"adminHelper.maxUsers",
"label":"Maximum # of users",
"tooltip":"The maximum number of users/players allowed",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"NumericStepper",
"value":{$BasicValue=room.maxUsers},
- "componentParams":
+ "componentParams": // DEPRECATED
{
"minimum":1,
"maximum":2147483647
+ },
+ "attributes":
+ {
+ "min":1,
+ "max":2147483647
}
},
// MAX SPECTATORS
{
"name":"adminHelper.maxSpectators",
"label":"Maximum # of spectators",
"tooltip":"The maximum number of spectators allowed",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"NumericStepper",
"value":{$BasicValue=room.maxSpectators},
- "componentParams":
+ "componentParams": // DEPRECATED
{
"minimum":0,
"maximum":2147483647
+ },
+ "attributes":
+ {
+ "min":0,
+ "max":2147483647
}
},
// OWNER NAME
{
"name":"ownerName",
"label":"Owner name",
"tooltip":"The name of the creator of this Room",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"TextInput",
"value":"{$BasicValue=helper.ownerName}",
"edit":false
},
// ROOM SIZE: TOTAL USERS
{
"name":"totalUsers",
"label":"Current total # of users",
"tooltip":"The total amount of users (users + spectators)",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"NumericStepper",
"value":{$BasicValue=roomSize.totalUsers},
"edit":false
},
// ROOM SIZE: USERS
{
"name":"userCount",
"label":"Current # of users/players",
"tooltip":"Current number of users/players",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"NumericStepper",
"value":{$BasicValue=roomSize.userCount},
"edit":false
},
// ROOM SIZE: SPECTATORS
{
"name":"spectatorCount",
"label":"Current # of spectators",
"tooltip":"Current number of spectators",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"NumericStepper",
"value":{$BasicValue=roomSize.spectatorCount},
"edit":false
},
// IS DYNAMIC
{
"name":"dynamic",
"label":"Is dynamic",
"tooltip":"The state of the 'Dynamic' flag",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"CheckBox",
"value":{$BasicValue=room.dynamic},
"edit":false
},
// IS GAME
{
"name":"game",
"label":"Is game",
"tooltip":"The state of the 'Game' flag",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"CheckBox",
"value":{$BasicValue=room.game},
"edit":false
},
// IS HIDDEN
{
"name":"hidden",
"label":"Is hidden",
"tooltip":"The state of the 'Hidden' flag",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"CheckBox",
"value":{$BasicValue=room.hidden},
"edit":false
},
@@ -204,37 +214,38 @@
{
"name":"autoRemoveMode",
"label":"Auto-remove mode",
"tooltip":"The auto-remove mode",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"ComboBox",
"value":"{$BasicValue=room.autoRemoveMode}",
- "componentParams":
+ "componentParams": // DPRECATED
{
"dataProvider":"DEFAULT,WHEN_EMPTY,WHEN_EMPTY_AND_CREATOR_IS_GONE,NEVER_REMOVE"
},
+ "dataProvider":"DEFAULT,WHEN_EMPTY,WHEN_EMPTY_AND_CREATOR_IS_GONE,NEVER_REMOVE",
"edit":false
},
// IS WORDS FILTER ACTIVE
{
"name":"useWordsFilter",
"label":"Is bad words filter active",
"tooltip":"The state of the bad words filter",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"CheckBox",
"value":{$BasicValue=helper.useWordsFilter},
"edit":false
},
// ALLOW JOIN INVITATIONS FOR ROOM OWNERS ONLY
{
"name":"allowOwnerInvitations",
"label":"Restrict JoinRoom invitations to Room owner",
"tooltip":"If enabled, only the Room's owner will be able to invite users in the Room. If disabled any User will be able to invite more users, with the exception of spectators in a game-type Room",
- "category":"Runtime Room settings",
+ "category":"Runtime Room Settings",
"type":"CheckBox",
"value":{$BasicValue=room.allowOwnerInvitations},
"edit":true
},
@@ -245,33 +256,39 @@
// PERMISSION AND EVENT FLAGS
{
"name":"permissionflags",
"label":"Permission and event flags",
"tooltip":"List of permissions and events active in this Room",
- "category":"Permissions and events",
+ "category":"Permissions & Events",
"type":"DualList",
"value":"{$BasicValue=helper.flags}",
- "componentParams":
+ "componentParams": // DEPRECATED
{
"selectableValues":"{$BasicValue=helper.availableFlags}",
"height":250
},
+ "dataProvider":"{$BasicValue=helper.availableFlags}",
"edit":false
},
// MAX ROOM VARIABLES ALLOWED
{
"name":"maxRoomVariablesAllowed",
"label":"Maximum # of Room Variables",
"tooltip":"The maximum number of Room Variables allowed in the Room",
- "category":"Permissions and events",
+ "category":"Permissions & Events",
"type":"NumericStepper",
"value":{$BasicValue=room.maxRoomVariablesAllowed},
- "componentParams":
+ "componentParams": // DEPRECATED
{
"minimum":0,
"maximum":2147483647
+ },
+ "attributes":
+ {
+ "min":0,
+ "max":2147483647
}
},
//-------------------------------------------
// RUNTIME ROOM VARIABLES
@@ -282,11 +299,11 @@
"name":"roomVariables",
"label":"Room Variables",
"tooltip":"The list of Room Variables. If the owner is set to 'null', the Variable is owned by the server itself; otherwise a string containing the main user details is displayed",
"category":"Runtime Room Variables",
"type":"DataGrid",
- "componentParams":
+ "componentParams": // DEPRECATED
{
"height":200
},
"defaultListItem":
[
@@ -297,28 +314,37 @@
"type":"TextInput",
"value":"",
"validator":"notNull"
},
{
- "name":"owner",
- "label":"Owner",
- "tooltip":"Owner",
- "type":"TextInput",
- "value":""
- },
- {
"name":"type",
"label":"Type",
"tooltip":"The data type",
"type":"ComboBox",
"value":"STRING",
- "componentParams":
+ "componentParams": // DEPRECATED
{
"dataProvider":"BOOLEAN,INT,DOUBLE,STRING,OBJECT,ARRAY"
- }
+ },
+ "dataProvider":"BOOLEAN,INT,DOUBLE,STRING,OBJECT,ARRAY"
},
{
+ "name":"value",
+ "label":"Value",
+ "tooltip":"Primitive value or JSON block",
+ "type":"TextInput",
+ "value":"",
+ "validator":"notNull"
+ },
+ {
+ "name":"ownerAsString",
+ "label":"Owner",
+ "tooltip":"Owner",
+ "type":"TextInput",
+ "value":""
+ },
+ {
"name":"private",
"label":"Private",
"tooltip":"The 'private' flag",
"type":"CheckBox",
"value":false
@@ -343,18 +369,17 @@
"tooltip":"The 'hidden' flag",
"type":"CheckBox",
"value":false
},
{
- "name":"value",
- "label":"Value",
- "tooltip":"Primitive value or JSON block",
- "type":"TextInput",
- "value":"",
- "validator":"notNull"
+ "name":"storable",
+ "label":"Storable",
+ "tooltip":"The 'storable' flag",
+ "type":"CheckBox",
+ "value":false
}
],
- "listValues":{$List=variables, instance=room, fields=name;owner;type;private;persistent;global;hidden;value},
+ "listValues":{$List=variables, instance=room, fields=name;type;value;ownerAsString;private;persistent;global;hidden;storable},
"edit":false
},
//-------------------------------------------
// ROOM EXTENSION
\ No newline at end of file