edit
.edit() is used to edit the contents of a file in the file manager
.edit(SessionID, path, newContent)
Delete a file or folder in a servers file manager.
Parameter
Type
Required
Description
SessionID
string
true
The session ID that you want to perform this action on
path
string
true
The path of the file you wish to edit
newContent
string
true
The new content to place in the file
Example:
Read the guide on session IDs: https://pondwadermc.gitbook.io/cubed-api/tutorials-and-guides/sessions
Last updated
Was this helpful?