Charging for Precious Stones?

Discussion in 'Archived: Plugin Requests' started by TheMacGenius, Oct 28, 2012.

  1. Offline



    Today I have come to ask if anyone knows a plugin that would allow me to charge for placing specific blocks with the precious stones plugin. I have been working on a server for about 2 months now and the only thing that I have had problems with is people placing protection stones for free. I have set limits but I would like it to be more of money thing. I want to charge people 2500 for placing a ps stone diamond block to protect land but I still want them to be able to place diamond blocks regularly. I have been on a server before that said "Successfully Charged 5000 for placing [Block]" when you placed a type of protection block. I have the Precious Stones plugin and iConomy, which might have a feature to do this. If i need another economy plugin to do this then I can also do that. I have tried unsuccessfully to write 3 plugins to make this happen and have looked around for a while but can't seem to find a solution. Any help would be greatly appreciated.
  2. Offline


    No answers?
  3. Offline


    It is always good to be supportive when requesting. Now I had to search for the PreciousStones plugin myself. Maybe if you would have reduced the reader's effort to help you, you would have gotten more answers.

    I just had a look at the plugins' table of content and there is a chapter called "Economy Support":
    Is this what you are looking for?
  4. Offline


    Okay, that help me out a little bit :) I have figured out now that you need to add the cost flag to the list of flags under the block

    - title: City Protection
    block: 57
    radius: 20
    custom-height: 256
    - 0
    - 10
    - 20
    - 100
    prevent-fire: true
    prevent-place: true
    prevent-destroy: true
    prevent-vehicle-destroy: true
    prevent-explosions: true
    prevent-unprotectable: true
    prevent-flow: true
    prevent-teleport: false
    welcome-message: true
    farewell-message: true
    can-change-owner: true
    enable-on-src: true
    mixing-group: 1
    cuboid: true
    mask-on-disabled: 80
    price: 2500

    It is there at the bottom. The thing I need to find now is how to make my players pay that much. I read somewhere that you need to add a permissions node to the player group but I cannot find that permissions node anywhere. Does anybody know what the node is? It is PreciousStones and not ProtectionStones. On the flags page it says that you need to add the price: [amount] flag to the block but it does not apply this to an of my players. I know it can be done because I have been charged by the economy on other server for placing ps stones.

Share This Page