PayForCommand [1.9-1.13] 1.1.8

This plugin allows you to set a price for a command.

  1. F_o_F_1092
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://github.com/fof1092/PayForCommand




    [​IMG]

    [​IMG]

    This plugin allows you to set a price for a command.

    This Plugin requires Vault

    [​IMG]

    /pfc help (Page) (This command shows you the help page.)
    /pfc info (This command shows you the info page.)
    /pfc yes (This command accepts the buying of the command.)
    /pfc no (This command denys the buying of the command.)
    /pfc reload (This command is reloading the files.)


    Admin permissions:

    PayForCommand.Reload (/pfc reload)
    PayForCommand.UpdateMessage (You get a message, if there is a new update for this plugin.)

    [​IMG]

    Code (Text):

    Version: 1.15

    #If you want to add a new command, you can choose any name you like.
    TestCommand1:
      #The name of the command must be set here. (Every command in this example, that starts with "/TestCommand give" will cost the price below.)
      Name: /TestCommand1 give
      Aliases:
      - /TC give
      - /TC i
      #If you are using Vault, you can set the price for the command here.
      Price:
        Money: 49.5
        #Set the Permission to the permission of the command if the PayForCommand should check the permission before buying the command.
      Permission: The.Default.Command.Permission.*
    TestCommand2:
      Name: /TestCommand2 give
      Aliases:
      - /TC give
      - /TC i
      #If you don't want to use Vault, you can set a Item price. (You can find the Material-List here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html )
      Price:
        Item:
          Material: DIAMOND
          Amount: 5
          SubID: 0
      Permission: The.Default.Command.Permission.*

     

    Code (Text):

    Version: 1.18

    #自定义指令名称.
    TestCommand1:
    #原指令
    Name: /TestCommand1 give
    #指令别名
    Aliases:
    /TC give
    /TC i
    #如果你装了 Vault 插件,您可以自定义这个指令的价格.
    Price:
    Money: 49.5
    #运行这个指令需要的权限.
    Permission: The.Default.Command.Permission.*
    TestCommand2:
    Name: /TestCommand2 give
    Aliases:
    /TC give
    /TC i
    #如果您没有 Vault 插件,你也可以以物品的形式来设置价格. (您可以在这里找到物品列表: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html )
    Price:
    Item:
    Material: DIAMOND
    Amount: 5
    SubID: 0
    Permission: The.Default.Command.Permission.*
     

    (plugins/PayForCommand/Commands.yml)


    Code (Text):

    Version: 1.15
    '[PayForCommand]': '&a[&2PayForCommand&a] '
    Color:
      '1': '&2'
      '2': '&a'
    Message:
      '1': You have to be a player, to use this command.
      '2': You do not have the permission for this command.
      '3': "Do you whant to pay &a&l[MONEY]$&2 to use the \ncommand: &a&l[COMMAND]&2?"
      '4': '&a&lYES'
      '5': '&c&lNO'
      '6': '&a&m&l---------&r '
      '7': There is no command you can accept or deny.
      '8': You do not have enought money to use this command.
      '9': You payed &a&l[MONEY]$&2 to use this command.
      '10': You canceled the purchase of the command &a&l[COMMAND]&2.
      '11': The plugin is reloading...
      '12': Reloading completed.
      '13': Try [COMMAND]
      '14': The Plugin vault has not been found on the server!
      '15': There is a new update available for this plugin. &a( https://fof1092.de/Plugins/PFC )&2
      '17': You need &a&l[NUMBER]&2 more &a&l[ITEM](s)&2 to use this command.
      '18': You payed &a&l[NUMBER]&2 &a&l[ITEM](s)&2 to use this command.
      '19': Unable to find an command Price.
      '20': You have to hold the Item in your hand.
    HelpTextGui:
      '1': '&a[&2Click to use this command&a]'
      '2': '&a[&2Next page&a]'
      '3': '&a[&2Last page&a]'
      '4': '&7&oPage [PAGE]. &7Click on the arrows for the next page.'
    HelpText:
      '1': This command shows you the help page.
      '2': This command shows you the info page.
      '3': This command accepts the buying of the command.
      '4': This command denys the buying of the command.
      '5': This command is reloading the Config.yml and Commands.yml file.

     

    Code (Text):

    #版本号,请勿修改
    Version: 1.18
    #前缀名称
    '[PayForCommand]': '&a[&2PayForCommand&a] '
    #指定文本颜色
    Color:
    '1': '&2'
    '2': '&a'
    #文本内容
    Message:
    '1': 该指令需要在游戏里面运行.
    '2': 您没有足够的权限来运行这个指令.
    '3': "您确定要花费 &a&l[MONEY]$&2 来使用这个指令吗? \n指令: &a&l[COMMAND]&2?"
    '4': '&a&l确定'
    '5': '&c&l否定'
    '6': '&a&m&l---------&r '
    '7': 没有任何指令需要来确认或否认.
    '8': 您没有足够的金钱来运行这个指令.
    '9': 您花费了 &a&l[MONEY]$&2 来运行这个指令.
    '10': &a&l[COMMAND] &f指令的购买已被您取消&2.
    '11': 插件正在重载中...
    '12': 重载完毕.
    '13': 试试 [COMMAND]
    '14': 插件将不会在服务器运行,因为没有找到前置插件 Vault!
    '15': 一个可用于本服务器的插件更新: &a( https://fof1092.de/Plugins/PFC )&2
    '17': 您需要 &a&l[NUMBER]&2 和 &a&lITEM&2 来运行这个指令.
    '18': 您支付了 &a&l[NUMBER]&2 &a&lITEM&2 来运行这个指令.
    '19': 指令的价格无法查询.
    '20': 您必须把要交付的物品拿在手上.
    HelpTextGui:
    '1': '&a[&2点击以使用以下命令&a]'
    '2': '&a[&2下一页&a]'
    '3': '&a[&2上一页&a]'
    '4': '&7&o第 [PAGE] 页. &7点击箭头来翻到下一页.'
    HelpText:
    '1': 获取帮助.
    '2': 获取信息页.
    '3': 同意购买此指令.
    '4': 拒绝购买此指令.
    '5': 重载 Config.yml 和 Commands.yml.
     

    (plugins/PayForCommand/Messages.yml)



    [​IMG]


    If you have a problem or a question about the Plugin, message me first before leaving a review!
    pinkpig likes this.

Recent Reviews

  1. ItsDiaaaaaaa
    ItsDiaaaaaaa
    5/5,
    Version: 1.1.8
    very useful plugin for me!
    Could I put this plugin on Chinese MinecraftForum ?
    Let more Chinese people know this useful plugin
    ---------------------
    I will provide zh_CN.lang on Github:D
    i have bad english,sorry.
  2. RafricOFC
    RafricOFC
    5/5,
    Version: 1.1.8
    ----------------------------------
    Great plugin!!! ♥
    -----------------------------------


    Awesome!!!
  3. ZetaGaming
    ZetaGaming
    5/5,
    Version: 1.1.6 MC1.9-1.11
    I din't know a plugin like this exists! Thanks god I found this! I was having a hard time with essentials :3
  4. pinkpig
    pinkpig
    5/5,
    Version: 1.1.2
    Absolutely amazing plugin and developer. Offers many features that are very useful for various gamemodes. Personally I use it for a gamemode similar to factions. Players can pay for using /back and other commands.

    Any bugs found the developer updates very quickly. I greatly appreciate all his hard work on this plugin.
  5. ViscousHurricane
    ViscousHurricane
    5/5,
    Version: 1.1.1
    Good updates and offers much to server owners for server features. This is an original but that's good because many people can use these mechanics. If I had a suggestion for you it'd be:

    - in-game configuration (commands/GUI)
    - GUI showing commands that can be purchased
    - Option in config for unlimited pages of commands
    - Option to pick what item-id the page clickers are for going to the next page or back

    Thanks for developing this resource, love it a lot!