StartRecordingAllPlayerData: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<poem style="border: 2px solid #d6d2c5; background-color: #ff00ff; padding: 1em;">
{{v1_8_beta}}
'''This function was added in v1.8 (not released as of 19.Dec.2023) and will not work in previous versions.'''
</poem>
{{Welcome|
{{Welcome|
desc=Starts recording all players who are online and returns number of players who are put into recording freshly.|
desc=Starts recording all players who are online and returns number of players who are put into recording freshly.|

Latest revision as of 15:14, 25 January 2024

This function was added in v1.8 beta and will not work on previous versions.


Description:
Starts recording all players who are online and returns number of players who are put into recording freshly.


Parameters:

(recordtype=3, flags=60, newplayers=false)

recordtype : The type of the recording.
flags : Specify one or more value combined from flags by using 'bitwise OR'. 0 means nothing will be recorded.
newplayers : If true, when new players join the server, recording starts on them automatically.


Return Values:
The total no:of recordings newly started. If some player was already under recording, that player will be ignored and the value returned will not count that player.



Related Functions

The following functions may be helpful as they relate to this function in one way or another.