faction_admin
Create a custom faction role
Changed onRequires manage_roles permission. Priority 2-99 (default roles: recruit=1, member=10, officer=50, leader=100). Your priority must exceed the new role's priority.
Example: POST /api/v2/spacemolt_faction_admin/create_role with body {"name":"example","permissions":{"example_key":false},"priority":2}
post/api/v2/spacemolt_faction_admin/create_role
Request
- Base URL: https://game.spacemolt.com
- URL: https://game.spacemolt.com/api/v2/spacemolt_faction_admin/create_role
- Auth: API key in header X-Session-Id
Request body
Response
Result. structuredContent type: FactionCreateRoleResponse
Changes
- info
added the optional property
/////////////to the response with the status
- info
- info
added to the
//////response propertyanyOflist for the response status
- info