Overview
XyraPanel includes a powerful file management system that lets you browse directories, edit configuration files, upload/download files, and manage permissions—all through your browser without needing FTP or SFTP access.File Browser
Access your server’s files at:- Directories and files in the current location
- File sizes, permissions, and modification dates
- Breadcrumb navigation showing your current path
- Quick actions toolbar
Navigation
Browse Directories
Click on any directory name to navigate into it. The path updates in the breadcrumb bar above.
File Actions
The toolbar provides quick actions:New File
Create a new text file in the current directory. Opens a modal to enter the file name.
New Folder
Create a new directory. Opens a modal to enter the folder name.
Upload
Upload files from your computer. Opens your system’s file picker dialog.
Pull File
Download a file from a remote URL directly to your server. Useful for downloading plugins, mods, or worlds.
File Operations
Creating Files and Folders
- New File
- New Folder
- Click New File in the toolbar
- Enter the file name (e.g.,
config.yml) - Click Create File
- The file is created and opened in the editor
Uploading Files
Choose Files
Select one or more files to upload. Large files may take time depending on your connection.
Pull from URL
Download files directly from remote URLs:Enter URL
Paste the direct download URL (e.g.,
https://example.com/plugin.jar).The file will be downloaded to your current directory.Request Body Example
Request Body Example
Bulk Operations
Select multiple files or folders to perform bulk actions:Selection
- Click the checkbox next to any file/folder to select it
- Click the checkbox in the header to select all items
- Selected items are highlighted
Bulk Actions Bar
When items are selected, an actions bar appears:Copy
Copy selected items to the same directory with
_copy suffix.Move
Move selected items to a different directory. Opens a modal to specify destination.
Archive
Compress selected files into a
.tar.gz archive.Delete
Delete all selected files and folders. Requires confirmation.
Copy Files
API endpoint:Request Body
Request Body
/plugins/MyPlugin_copy.jarMove Files
- Select files/folders
- Click Move in the bulk actions bar
- Enter the destination path (e.g.,
/backups/) - Click Move Items
Archive Files
API endpoint:
Extract Archives
To extract a compressed file:- Select a
.tar.gz,.zip, or similar archive - Click Unarchive in the bulk actions bar
- Files are extracted to the current directory
Monaco Code Editor
Click on any text file to open it in the Monaco editor (the same editor that powers VS Code).Editor Features
Syntax Highlighting
Syntax Highlighting
Automatic language detection based on file extension:
.yml,.yaml→ YAML.json→ JSON.js→ JavaScript.ts→ TypeScript.conf,.properties,.ini→ INI/Config.md→ Markdown.log,.txt→ Plain text
IntelliSense
IntelliSense
- Auto-completion for JSON, JavaScript, TypeScript
- Bracket matching and auto-closing
- Real-time syntax validation
Keyboard Shortcuts
Keyboard Shortcuts
- Ctrl+S (Cmd+S on Mac): Save file
- Ctrl+F: Find in file
- Ctrl+H: Find and replace
- Ctrl+Z: Undo
- Ctrl+Shift+Z: Redo
Editing Files
Make Changes
Edit the file content in the Monaco editor. The editor shows your changes in real-time.
Save Changes
Click the Save Changes button or press Ctrl+S.The button is disabled until you make changes.
Request Body Example
Request Body Example
Reset Changes
If you make changes you don’t want to save:- Click Reset Changes
- The file reverts to its saved state
- This discards all unsaved edits
Individual File Actions
Right-click on any file or use the three-dot menu to access:- Rename
- Download
- Permissions
- Delete
Change the file or folder name:
- Click Rename
- Enter the new name
- Click Rename to confirm
PUT /api/client/servers/{server}/files/renameFile List API
List files in a directory:Response Example
Response Example
Permissions
File management requires specific permissions:- Read files:
server.files.read - Write/edit files:
server.files.write - Delete files:
server.files.delete - Download files:
server.files.read - Upload files:
server.files.write
Best Practices
Backup Before Editing
Create a backup before modifying important config files. Use the copy function or the Backups tab.
Test Changes
After editing configs, restart your server to test changes work correctly.
Use Proper Syntax
The Monaco editor validates syntax, but double-check YAML indentation and JSON structure.
Organize Files
Keep files organized in folders. Use the archive feature to backup old configs.
Troubleshooting
File won't save
File won't save
- Check you have
server.files.writepermission - Ensure the server is not running out of disk space
- Verify the file is not locked by another process
Upload fails
Upload fails
- Check file size limits (may need SFTP for large files)
- Ensure you have
server.files.writepermission - Verify you have enough disk space allocated
Can't extract archive
Can't extract archive
- Only
.tar.gzand.zipfiles can be extracted - The file must be a valid archive (not corrupted)
- Check you have enough disk space for the extracted files
Next Steps
Schedules
Automate file backups and cleanup tasks
Backups
Create full server backups including all files