{"id":29342992,"url":"https://github.com/rvost/dayz-ce-schema","last_synced_at":"2025-07-08T11:11:48.636Z","repository":{"id":197665301,"uuid":"694834796","full_name":"rvost/dayz-ce-schema","owner":"rvost","description":"VS Code extension for schema validation of DayZ CE configuration files","archived":false,"fork":false,"pushed_at":"2024-04-12T09:50:35.000Z","size":1910,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-12T16:57:04.518Z","etag":null,"topics":["dayz","dayzserver","dayzstandalone","xml"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rvost.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-09-21T19:43:07.000Z","updated_at":"2024-04-14T17:34:59.197Z","dependencies_parsed_at":null,"dependency_job_id":"944c40a3-4479-4970-8242-491b8045146d","html_url":"https://github.com/rvost/dayz-ce-schema","commit_stats":null,"previous_names":["rvost/dayz-ce-schema"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/rvost/dayz-ce-schema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvost%2Fdayz-ce-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvost%2Fdayz-ce-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvost%2Fdayz-ce-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvost%2Fdayz-ce-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvost","download_url":"https://codeload.github.com/rvost/dayz-ce-schema/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvost%2Fdayz-ce-schema/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264257661,"owners_count":23580469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dayz","dayzserver","dayzstandalone","xml"],"created_at":"2025-07-08T11:11:48.004Z","updated_at":"2025-07-08T11:11:48.629Z","avatar_url":"https://github.com/rvost.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DayZ CE Schema for VS Code\n[![Visual Studio Marketplace Version (including pre-releases)](https://img.shields.io/visual-studio-marketplace/v/rvost.dayz-ce-schema?style=for-the-badge\u0026logo=visualstudiocode\u0026label=VS%20Marketplace\u0026color=informational)\n](https://marketplace.visualstudio.com/items?itemName=rvost.dayz-ce-schema)\n[![Open VSX Version](https://img.shields.io/open-vsx/v/rvost/dayz-ce-schema?style=for-the-badge\u0026logo=vscodium\u0026color=informational)](https://open-vsx.org/extension/rvost/dayz-ce-schema)\n\nDayZ Central Economy mission files modding made easy!\n\nThis extension aims to provide accurate validation that not only detects broken XML (the only type of error that online validators can detect), but also checks for DayZ-specific schema compliance and semantic errors such as referencing non-existent files, spelling errors in flag names and other referenced values, and so on.\nIt also provides context sensitive auto-completion to make typing those lengthy classnames faster and less error-prone.\nAs you would expect from a modern editor, the extension provides code actions to automate common tasks and encourage good habits (such as file splitting).\nAnd other useful features such as tooltips and the \"Open Documentation\" command.\n\nHappy editing!\n\n\u003e If you found this extension helpful, please consider [starring ⭐the repository](https://github.com/rvost/dayz-ce-schema/stargazers) on Github or rating (or reviewing) it on marketplaces ([[1]](https://marketplace.visualstudio.com/items?itemName=rvost.dayz-ce-schema\u0026ssr=false#review-details), [[2]](https://open-vsx.org/extension/rvost/dayz-ce-schema/reviews)).\n\n## Features\n\n### Autocompletion\n\n![Autocompletion](./assets/Autocompletion.gif)\n\n### Validation\n\n![Validation](./assets/Validation.png)\n\n### Code Actions (WIP)\n\n![Code Actions](./assets/CodeActions.gif)\n\n### Tooltips on hover (WIP)\n\n![Tooltips](./assets/TooltipsOnHover.gif)\n\n### Documentation:\n\n![Open Documentation](./assets/OpenDocumentation.gif)\n\n### Snippets\n\nThe following snippets are currently available:\n\n- `typ` - type snippet for `types.xml`, including all elements except `tag`;\n- `evn` - event snippet for `events.xml`;\n- `msg-d` - message snippet with a deadline;\n- `msg-r` - repeating message snippet;\n- `msg-c` - on connection message snippet;\n- `spwn-a` - spawnable type with attachment snippet;\n- `spwn-c` - spawnable type with cargo snippet;\n- `spwn-p` - spawnable type with preset snippet;\n- `ldt-s` - loadout slot snippet for spawning gear configuration;\n- `ldt-i` - loadout item snippet for spawning gear configuration.\n\n### Planed features\n\n- Provide full project validation.\n- Provide quick fixes for common validation errors.\n- More code actions for day-to-day task automation.\n- Classnames auto-completion in JSON files\n\n## Requirements\n\n**This extension requires [Java](https://www.java.com/)** (17 or newer), so make sure you have this installed.\n\nIt also relies on the [XML extension](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml) for schema validation, but this can be installed automatically if you don't have it.\n\n## Known Issues\n\n- Only open files can be validated. You won't get any validation errors until you open the file in the editor.\n\n- Completion and validation for Object Spawner custom lists currently only works  for json files in the `objectSpawners` folder.\nFor example, the `objectSpawners/nwaf.json` file will have completion and validation according to the [Object Spawner](https://community.bistudio.com/wiki?title=DayZ%3AObject_Spawner) rules, but `custom/berezino.json` or `altartrader.json` will not.\n*This is due to limitations of the VS Code JSON Schema API and may be resolved in the future.* \n\n- Completion and validation for Spawning Gear Configuration currently only works for json files in the `spawnPresets` folder **or** files which name ends with `_loadout` (e.g. `deathmatch_loadout.json`).\n\n- Fragments inserted by code actions may not be formatted correctly. You can easily fix this with auto-formatting (`Shift+Alt+F` by default).\n\n## Related projects\n\nThe DayZ CE Schema extension focuses on direct XML (and JSON) file editing. \nIf you prefer a more high-level Excel-like approach, you may be interested in my [DayzServerTools](https://github.com/rvost/DayzServerTools) or Shawminator's [DayZeEditor](https://github.com/Shawminator/DayZeEditor). Both are standalone Windows applications.\n\n## Release Notes\n\n### 1.3.0\n\n- Added automatic saving of changes applied by Code Actions.\n- Fixed dependency packaging. Extension package size significantly reduced.\n- Fixed blocking of the XML extension initialization.\n\n### 1.2.0\n\n- Added support for copying external event spawns configurations.\n- Added extract/inline functionality for random presets in `cfgspawnabletypes.xml` files.\n- Added diagnostics for value and usage flags in `types.xml` files that can be replaced with user flags.\n- Added quick fix for flags that can be replaced with user flags.\n- Added extract/inline functionality for value and usage flags in `types.xml` files.\n- Added support for renaming symbols. See [CHANGELOG](CHANGELOG.md#120) for more details.\n- Added more `Find Reference`/`Find All References` support. See [CHANGELOG](CHANGELOG.md#120) for more details.\n- Added code lens for references. See [CHANGELOG](CHANGELOG.md#120) for more details.\n\n### 1.1.0\n\n- Fixed `Ambient` event category validation.\n- Added hover tooltips for user-defined flags in `types.xml`(and custom files).\n- Added hover tooltips with human-readable time format for time values. See [CHANGELOG](CHANGELOG.md#110) for more details.\n- Added link navigation for file references.\n- Added `Go To Declaration` support.  See [CHANGELOG](CHANGELOG.md#110) for more details.\n- Added `Find Reference`/`Find All References` support. See [CHANGELOG](CHANGELOG.md#110) for more details.\n- Added diagnostics for events that not referenced in `cfgeventspawns.xml`.\n- Added diagnostics for group references in `cfgeventspawns.xml`.\n- Added diagnostics for map group references in `cfgeventgroups.xml`.\n- Added autocompletion for map group names in `cfgeventgroups.xml`.\n\n### 1.0.0\n\n- Stable release of Language server for DayZ mission XML files.\n- Added support for copying elements from external custom files.\n- Added snippets for `types.xml`, `events.xml`, `messages.xml`, `cfgspawnabletypes.xml` and spawning gear configuration.\n- Added automatic schema resolution for custom files.\n- Added support for new files when moving and copying elements of custom files.\n- Fixed noisy errors in external files. Disabled mission-scoped validation for files outside the mission folder.\n\n### 0.9.0\n\n- Added completion and validation for `events.xml`.\n- Added completion and validation for `cfgeventspawns.xml`.\n- Added validation for `globals.xml`.\n- Added completion and validation for `cfgenvironment.xml`.\n- Added completion and validation for `mapgroupproto.xml`.\n- Added completion and validation for `mapgrouppos.xml`.\n- Added diagnostic for unused custom files (not registered in `cfgeconomycore.xml`).\n- Added informational diagnostics for files outside the mission folder.\n- Added error diagnostics for the case where the type registered in the `cfgeconomycore.xml` file doesn't match the contents of the file.\n- Added quick fix for registering unused custom files in `cfgeconomycore.xml`. External files would be copied to the mission folder.\n- Added quick fix for file type mismatch.\n- Added refactoring action to move and copy elements between registered custom files.\n\n### 0.7.1\n\n- Added classnames completion and validation for `types`, `spawnabletypes` and `cfgrandompresets.xml` files.\n- Improved completion and validation. See [CHANGELOG](CHANGELOG.md#071) for more details.\n- Fixed high CPU usage at idle.\n- Fixed completion for folder names in `cfgeconomycore.xml`.\n\n### 0.7.0\n\n- Added [Language server](https://microsoft.github.io/language-server-protocol/) for DayZ mission files. See [CHANGELOG](CHANGELOG.md#070) for more details.\n\n### 0.6.0\n\n- Stable release for the DayZ 1.23 Update.\n\n### 0.5.0\n\n- Updated schemas for DayZ 1.23 Experimental.\n- Added schema for Spawning Gear Configuration.\n\n### 0.4.0\n\n- Added Ability for users to add documentation links.\n- Added schema for the Object Spawner custom lists.\n- Updated release workflow. From now on, odd minor version numbers will indicate pre-releases.\n\n### 0.2.0\n\n- Added schema associations for modded CE files.\n- Added context aware documentation.\n\n### 0.1.0\n\nInitial release of the extension.\n\n- Added schema association on activation for standard CE files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvost%2Fdayz-ce-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvost%2Fdayz-ce-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvost%2Fdayz-ce-schema/lists"}