Cost to use command

Discussion in 'Plugin Requests' started by Chessnutter, Apr 27, 2017.

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

    Chessnutter

    Plugin category: Economy

    Minecraft version: Spigot Latest Version
    Suggested name: CommandPrice

    What I want: Yes before we start I know there is a plugin like this out there called commandcost. However it has a lot of bugs and there isnt a way to format the messages. It also looks for the command anywhere in the typed command, so /fix all will trigger the /fix cost.

    Basically I want a plugin that takes a configurable command out of a players balance when they execute a certain command.

    For example if someone types /fix i want the console to execute /eco take 10000 %player%, and i also want it to say a configurable message; such as "You paid %money% to use this command!"

    If a player goes /fix all i want the console to do /eco take 100000 %player% and "You paid %money% to use this command!".

    I want the plugin to be exact, not look for the group of words anywhere in the command. For example, if you have the command /sell costing $1000 i dont want /sell hand being triggered by $1000.

    An alias system would be ok too but not necessary.


    Ideas for commands:

    CP could be the base command
    /cp add [command, WITH a slash] [price]
    /cp list
    /cp remove [command]


    Ideas for permissions: player.canread. commandprice.add

    When I'd like it by: The next week would be cool thanks! Appreciate any help i can get!
     
  2. Offline

    808sFinest

    what are the bugs?
     
    Last edited: Apr 27, 2017
  3. Offline

    Chessnutter

    mainly it looks for the command in the entire command, so /fix all triggers the cost for /fix. Also u cant change the messages in config.
     
Thread Status:
Not open for further replies.

Share This Page