Commands

Administrator Commands

All admin commands use the base permission al.documents.admin or specific sub-permissions.

  1. Reload: /documentsadmin reload

    • Reloads plugin configuration

    • Permission: al.documents.admin.reload

  2. Set Register Location: /documentsadmin set-register-location

    • Sets the document registration location

    • Permission: al.documents.admin.setregisterlocation

  3. Show Documents: /documentsadmin showDocuments <playerName>

    • Displays a player's documents

    • Permission: al.documents.admin.showdocuments

  4. Unregister: /documentsadmin unregister <playerName>

    • Removes a player's document data

    • Permission: al.documents.admin.unregister

  5. Register: /documentsadmin register <userName> <name> <surname> <age> <gender>

    • Registers a new document for a player

    • Permission: al.documents.admin.register

  6. Edit: /documentsadmin edit <userName> <newName> <newSurname>

    • Edits a player's document

    • Permission: al.documents.admin.edit

  7. Bug Report: /documentsadmin bugreport

    • Generates a plugin bug report

    • Permission: al.documents.admin.bugreport

  8. Give Documents Item: /documentsadmin give-documents-item <playerName>

    • Gives a documents item to a player

    • Permission: al.documents.admin.givedocumentsitem

Player Commands

  1. Give: /documents give <player>

    • Transfers document to another player

    • Permission: documents.give

  2. Show: /documents show

    • Displays player's own document

    • Permission: documents.show

  3. Register: /documents register

    • Opens document registration menu

    • Permission: documents.register

Customization

Edit config.yml to customize commands and aliases:

commands:
  documents:
    give: "dai"
    show: "mostra"
    register: "registrati"

aliases:
  documentsadmin: [da, admin-documents]
  documents: [doc, documento]

Remember to reload the plugin after changes.

Last updated