Translations:Add-on Development/14/en
From DragonMineZ Wiki
- Hook
com.dragonminez.commonalmost exclusively: it is the shared, most stable layer. On the client, the only hooks meant for add-ons areDMZClientEventand the utility menu slots. - Prefer reacting to DMZ events (changing their settable fields, or cancelling them) over changing DMZ data directly.
- Register your own network channel; never add packets to DMZ's channel.
- Never trust client input for stats, unlocks, quests, wishes or progression: validate it on the server.
- Don't depend on
com.dragonminez.mixinclasses or on DMZ internals that the guides don't mention; they can change without notice between versions. - Don't bundle or depend on Legendary Tooltips, Epic Fight or Better Combat: DMZ refuses to start alongside them.