Skip to content

Additional commands to be able to create custom menus! #124

@featxeven

Description

@featxeven

Since menus are not customizable at all, it could be interesting to add commands to complement this and let users use external menu plugins to create custom duel menus!

The only exception would be if item betting is enabled

Additional commands:
/duels force [player1] [player2] [arena] [useinventory] [kitselected]

Example of use:
/duels force player1 player2 arena:arena1 useinventory:true kitselected:kit1

  • arena:[arena] | if not specified, it will use a random one (argument optional)
  • useinventory: true | true by default (true/false) (argument required)
  • kitselected:[kit] | if not specified, it won't select any kit (argument optional)

Once the command is executed the player1 will send a duel request with those specified arguments to player2 (it should not ignore the duel toggle status)

Apart from this, if it's not possible, I'm really looking forward to see if it's possible to make the menus more customizable, perhaps a new folder with the menus files in there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions