Skip to content

commands

goflishMC edited this page Apr 21, 2025 · 6 revisions

📜 Commands

Divinity includes several powerful admin commands for testing, debugging, and configuring items directly in-game. These commands are primarily used by server owners, developers, or high-ranking staff.

⚠️ Item modification commands are intended for testing or development only. Players should receive properly configured gear via Divinity’s module systems, not direct command usage.


🔧 Development & Debug Commands

Command Description Permission
/divinity reload Reloads all configuration files without restarting the server. divinity.admin
/divinity modify Edits NBT/meta of the item in your hand. Used for dev testing. divinity.admin
/divinity debug (coming soon) Toggles verbose debug output for your session. divinity.admin

🧪 Item Attribute Commands

These commands allow you to inject custom stats and tags into items for testing purposes.

Command What It Does
/divinity set stat <type> <value> <position> Adds or changes a stat (e.g. strength, crit) at a socket or position.
/divinity set level <number> <position> Applies a level requirement to the item.
/divinity set class <class1,class2,...> [position] Sets class requirements for using the item.
/divinity set damage <type> <min> <max> [position] Applies a damage type (e.g. fire) with min/max values.
/divinity set defense <type> <value> [position] Adds a defense value of a certain type (e.g. armor, block).
/divinity set ammo <type> [position] Tags a bow/crossbow to use a specific ammo type.
/divinity hand <type> [position] Sets the weapon as one-handed or two-handed.
/divinity set socket <type> [position] Inserts an empty socket for gems, runes, or upgrades.

📝 The optional [position] parameter defines which socket or section the attribute is applied to. Leave it out to apply to the first available position.


🧍 Player Buff Commands

Command What It Does
/divinity buff <player> <type> <id> <amount> <duration> Temporarily buffs a player with a custom attribute or damage/defense bonus. Useful for testing combat.

📌 Tips

  • These commands do not validate against module rules or item logic — they’re intended for developers.
  • Modified items should not be given directly to players unless verified safe.
  • Always use /divinity reload after making changes to config files.

🔗 Related Pages

Clone this wiki locally