CommandCosts

Discussion in 'Plugin Requests' started by KAMKEEL, Feb 3, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    KAMKEEL

    Hi Everyone,

    I am looking for some assistance in creating a small plugin that allows me to attach a cost to a command. I want to allow the use of both Essentials Balance and PlayerPoints plugin.

    https://dev.bukkit.org/projects/playerpoints

    A good example of a config would be:

    /spawn:
    playerpointprice:2
    cost: 12.0

    The cost will refer to the essentials money, while the player point price will refer to the player points the user has. If both requirements are not meant the command cannot be run. Also if it would be possible to attack a permission to these prices. For example

    CommandCosts.spawn

    If they have this permission then they will have to fulfill the paid requirements for typing /spawn into chat. If they do not have the permission, it will not charge them.
     
  2. Offline

    nahkd123

    What about using Vault? Essentials Money support Vault, so I can use Vault API for cost part.
     
  3. Offline

    timtower Administrator Administrator Moderator

    That would work for the essentials part but the playerpoints part needs to implemented on its own.
     
Thread Status:
Not open for further replies.

Share This Page