Skip to content

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

@featxeven

Description

@featxeven

Just making sure

  • I have read the wiki and made sure, this feature is not yet in the plugin.
  • I believe, that this feature is possible to implement.
  • I made sure, that this feature has not been requested yet.

Problem

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

Feature

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.

Alternatives

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions