Translations:Contributing/53/en
De DragonMineZ Wiki
- Coding standards
- Use descriptive variable and method names.
- Format code consistently (indentation, spacing and so on).
- Write comments for complex logic.
- Documentation
- Update or add documentation for new or changed features.
- Make sure this wiki reflects major changes.
- Testing
- Test thoroughly across the relevant scenarios, including a dedicated server (
runServer) when your change touches client classes, networking or server logic. - Fix any linting or compilation issues before submitting your pull request.
- Test thoroughly across the relevant scenarios, including a dedicated server (
- Compatibility
- Many systems read JSON that players, server owners and add-on authors edit (configs, quests, wishes, Dragon Ball packs). Don't rename or remove config keys, JSON fields, NBT save keys or registry names without discussing it first: older worlds and configs must still load.
- Network packets are identified by registration order: add new packets at the end of
NetworkHandler.register(), never in the middle. - Validate everything a client sends on the server; never trust the client for stats, unlocks, quests, wishes or progression.
- Project docs
CLAUDE.mdand theAI/folder (Agents.md,Context.md,Memory.md,QuestAddonAPI.md) describe the architecture, data systems, build and release automation in detail. They are written for AI coding assistants but are just as useful for human contributors: readAI/Context.mdbefore larger changes.