PayForCommand

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

 
 
 
 

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

This Plugin requires Vault

 
/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.)

 


Version: 1.12

#If you want to add a new command, you can choose any name you like.
TestCommand:
  #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: /TestCommand give
  Aliases:
  - /TC give
  - /TC i
  Price: 49.50
#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.*

 (plugins/PayForCommand/Commands.yml)


 

Version: 1.12
'[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
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.

 (plugins/PayForCommand/Messages.yml)

 


 

 


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    255114
  • Created
    Dec 14, 2016
  • Last Released File
    Jul 23, 2018
  • Total Downloads
    1,136
  • License

Categories

Members

Recent Files

Bukkit