|
327 | 327 | "description": "Formats a duration into a special format.", |
328 | 328 | "subgroup": "Time", |
329 | 329 | "essential": false, |
330 | | - "additionalDescription": "Here are some examples: \n\n#1) \"HH:SS\"\nShows only minutes and seconds, perfect for round timers or cooldowns.\nResult: 01:30\n\n#2) \"DD days, HH hours and MM minutes\"\nCreates a readable sentence. The system automatically handles the spaces and commas.\nResult: 2 days, 04 hours and 15 minutes\n\n#3) \"MMm SSs FFFms\"\nDisplays minutes, seconds, and milliseconds for pinpoint accuracy.\nResult: 01m 22s 450ms", |
| 330 | + "additionalDescription": "Here are some examples: \n\n#1) \"MM:SS\"\nShows only minutes and seconds, perfect for round timers or cooldowns.\nResult: 01:30\n\n#2) \"DD days, HH hours and MM minutes\"\nCreates a readable sentence. The system automatically handles the spaces and commas.\nResult: 2 days, 04 hours and 15 minutes\n\n#3) \"MMm SSs FFFms\"\nDisplays minutes, seconds, and milliseconds for pinpoint accuracy.\nResult: 01m 22s 450ms", |
331 | 331 | "requiredFramework": null, |
332 | 332 | "returns": "text value", |
333 | 333 | "arguments": [ |
|
351 | 351 | "argumentKind": "TextArgument", |
352 | 352 | "mustBeProvided": true, |
353 | 353 | "type": "Any text e.g. \"Hello, World!\"", |
354 | | - "description": "Use these tags to format your time: DD for days, HH for hours, MM for minutes, and SS for seconds. \nYou can separate them with colons (:) or dashes (-).", |
| 354 | + "description": "Use these tags to format your time: DD for days, HH for hours, MM for minutes, and SS for seconds. \nFFF shows milliseconds. Any other text, including apostrophes, is shown exactly as you wrote it.", |
355 | 355 | "defaultValue": null, |
356 | 356 | "consumesRemainingValues": false, |
357 | 357 | "syntax": "\"format\"", |
|
2539 | 2539 | "options": null |
2540 | 2540 | } |
2541 | 2541 | ], |
2542 | | - "errors": [] |
| 2542 | + "errors": [ |
| 2543 | + "The chosen property cannot be used to filter players. Pick a real player property, not 'none'." |
| 2544 | + ] |
2543 | 2545 | }, |
2544 | 2546 | "Intersect": { |
2545 | 2547 | "syntax": "Intersect @first_value @other_values...", |
|
2612 | 2614 | }, |
2613 | 2615 | "Overlapping": { |
2614 | 2616 | "syntax": "Overlapping @first_value @other_values...", |
2615 | | - "description": "Checks if provided player variables have the exact same players.", |
| 2617 | + "description": "Checks if provided player variables have the exact same players, in any order.", |
2616 | 2618 | "subgroup": "PlayerValue", |
2617 | 2619 | "essential": false, |
2618 | 2620 | "additionalDescription": null, |
|
4235 | 4237 | }, |
4236 | 4238 | "AddPickupToInventory": { |
4237 | 4239 | "syntax": "AddPickupToInventory @player *pickup", |
4238 | | - "description": "Forces a pickup to be added to the player's inventory.", |
| 4240 | + "description": "Moves a pickup from the ground into the player's inventory.", |
4239 | 4241 | "subgroup": "Pickup", |
4240 | 4242 | "essential": false, |
4241 | | - "additionalDescription": "Pickup will not be added if the player's inventory is full.", |
| 4243 | + "additionalDescription": "The pickup disappears from the ground once the player has it. If the player's inventory is full, nothing happens and the pickup stays where it is.", |
4242 | 4244 | "requiredFramework": null, |
4243 | 4245 | "returns": null, |
4244 | 4246 | "arguments": [ |
|
4964 | 4966 | "arguments": [ |
4965 | 4967 | { |
4966 | 4968 | "name": "number to round", |
4967 | | - "argumentKind": "FloatArgument", |
| 4969 | + "argumentKind": "ValueArgument`1", |
4968 | 4970 | "mustBeProvided": true, |
4969 | | - "type": "Any number", |
4970 | | - "description": null, |
| 4971 | + "type": "a value of type NumberValue", |
| 4972 | + "description": "Any number.", |
4971 | 4973 | "defaultValue": null, |
4972 | 4974 | "consumesRemainingValues": false, |
4973 | 4975 | "syntax": "number_to_round", |
|
4981 | 4983 | "name": "decimal places", |
4982 | 4984 | "argumentKind": "IntArgument", |
4983 | 4985 | "mustBeProvided": false, |
4984 | | - "type": "A whole number bigger or equal 0", |
4985 | | - "description": "The number of decimal places to round to.", |
| 4986 | + "type": "A whole number between 0 and 28 (inclusive)", |
| 4987 | + "description": "The number of decimal places to round to, from 0 to 28. Halves round away from zero, so 2.5 becomes 3.", |
4986 | 4988 | "defaultValue": "rounds to whole number (0)", |
4987 | 4989 | "consumesRemainingValues": false, |
4988 | 4990 | "syntax": "decimal_places?", |
|
10410 | 10412 | }, |
10411 | 10413 | "CRole.SetCallbacks": { |
10412 | 10414 | "syntax": "CRole.SetCallbacks custom_role on_spawning? on_removing?", |
10413 | | - "description": "Sets the callbacks for a provided custom role. Calling it again from the same script replaces that role's callbacks without changing callbacks for other roles.", |
| 10415 | + "description": "Sets the callbacks for a provided custom role. Calling it again from the same script replaces both of that role's callbacks: a callback you leave out is turned off. Callbacks for other roles and from other scripts stay as they are.", |
10414 | 10416 | "subgroup": "CustomRole", |
10415 | 10417 | "essential": false, |
10416 | 10418 | "additionalDescription": null, |
|
11323 | 11325 | "argumentKind": "DurationArgument", |
11324 | 11326 | "mustBeProvided": true, |
11325 | 11327 | "type": "Duration in format #ms, #s, #m, #h (e.g. 5s or 2m)", |
11326 | | - "description": null, |
| 11328 | + "description": "Broadcasts are shown in whole seconds, so a part of a second rounds up (500ms shows for 1 second). The longest broadcast is 65535 seconds (about 18 hours).", |
11327 | 11329 | "defaultValue": null, |
11328 | 11330 | "consumesRemainingValues": false, |
11329 | 11331 | "syntax": "duration", |
|
11349 | 11351 | "options": null |
11350 | 11352 | } |
11351 | 11353 | ], |
11352 | | - "errors": [] |
| 11354 | + "errors": [ |
| 11355 | + "A broadcast can last at most 65535 seconds (about 18 hours). Use a shorter duration." |
| 11356 | + ] |
11353 | 11357 | }, |
11354 | 11358 | "ClearBroadcasts": { |
11355 | 11359 | "syntax": "ClearBroadcasts @players", |
|
16306 | 16310 | }, |
16307 | 16311 | { |
16308 | 16312 | "name": "arguments", |
16309 | | - "description": "The arguments that this command expects in order to run. \nThe script cannot run unless every single argument is specified. \n\nWhen the command is ran, the provided values for the arguments turn into their own literal local variables for you to use in the script. \nFor example: making a command with an argument 'name' will then create a local variable '$name' in your script.\n\nIf you want some arguments to be optional, you can use the '?' symbol after the argument name. \nFor example: 'reason?' argument will be optional, and if the sender does not provide a value for it, the script will still run.\nThen, the '$reason' command will not be created in your script.\n\n(the '?' suffix is NOT added to the variable names)", |
| 16313 | + "description": "The arguments that this command expects in order to run. \nThe script cannot run unless every single argument is specified. \n\nWhen the command is ran, the provided values for the arguments turn into their own literal local variables for you to use in the script. \nFor example: making a command with an argument 'name' will then create a local variable '$name' in your script.\nThe variable keeps your exact spelling, so an argument 'Name' creates '$Name'.\nEach argument needs a different name (upper and lower case count as the same).\n\nIf you want some arguments to be optional, you can use the '?' symbol after the argument name. \nFor example: 'reason?' argument will be optional, and if the sender does not provide a value for it, the script will still run.\nThen, the '$reason' command will not be created in your script.\n\n(the '?' suffix is NOT added to the variable names)", |
16310 | 16314 | "required": false, |
16311 | 16315 | "example": "-- arguments id time reason?" |
16312 | 16316 | } |
|
0 commit comments