最MC论坛

标题: 怎么设置金币购买地皮,求大神 [打印本页]

作者: 小cheng    时间: 2016-11-22 23:10
标题: 怎么设置金币购买地皮,求大神
怎么实现,让玩家用金币购买地皮,比如一个物品右键它,然后就可以使用地皮了,或者其他方式,谢谢!

作者: 燃烧    时间: 2016-11-23 17:20
在essentials的config里添加
找到
command-costs:选项
然后在下面添加plotme指令

假如购买地皮需要1000游戏币 就这样设置
command-costs:
  plot-auto: 1000
  plot-claim: 1000
作者: 小cheng    时间: 2016-11-23 17:25
燃烧 发表于 2016-11-23 17:20
在essentials的config里添加
找到
command-costs:选项

格式说明一下 还有购买的指令是什么

作者: 燃烧    时间: 2016-11-23 17:53
sorry
这个方法有一点问题 其实还有一个方法 可以直接在plotme上添加的(这是刚刚在某bbs get到的)
我就将两个方法都说出来吧

方法①:
在essentials的config里添加

  1. command-costs:
  2.   plot-auto: 1000
  3.   plot-claim: 1000
  4.    #指令之间的空格用-代替 汉化过的都有说
  5.    #开头空两格“:”号后空一格输入价格
复制代码

方法②:
在plotme的config里
  1. usemySQL: true
  2. mySQLconn: xx
  3. mySQLuname: root
  4. mySQLpass: xx
  5. globalUseEconomy: false
  6. allowWorldTeleport: true
  7. defaultWEAnywhere: false
  8. NbClearSpools: 3
  9. NbBlocksPerClearStep: 50000
  10. AdvancedLogging: false
  11. worlds:
  12.   plotworld:
  13.     PlotAutoLimit: 1000
  14.     DaysToExpiration: 7
  15.     ProtectedBlocks:
  16.     - 54
  17.     - 61
  18.     - 54
  19.     - 62
  20.     - 120
  21.     - 94
  22.     - 93
  23.     - 84
  24.     - 25
  25.     - 355
  26.     - 118
  27.     - 117
  28.     - 138
  29.     - 140
  30.     - 145
  31.     - 154
  32.     - 23
  33.     - 158
  34.     PreventedItems:
  35.     - '351:15'
  36.     - '259'
  37.     - '328'
  38.     - '343'
  39.     - '342'
  40.     - '333'
  41.     economy:
  42. UseEconomy: true------------------这里设置为true
  43. CanPutOnSale: false
  44.       RefundClaimPriceOnReset: false
  45.       RefundClaimPriceOnSetOwner: false
  46.       ClaimPrice: 1000.0-------------------这里是领取地皮所花费的价格
  47. ClearPrice:  0.0----------应该是使用/p clear指令所花费的价格
  48. AddPlayerPrice: 0.0--------这里应该是/p add的价格
  49. DenyPlayerPrice: 0.0-------/p deny
  50.       RemovePlayerPrice: 0.0-----/p remove
  51.      UndenyPlayerPrice: 0.0------/p undeny
  52. PlotHomePrice: 0.0
  53.       SellToPlayerPrice: 0.0
  54.       BiomeChangePrice: 0.0
  55.       ProtectPrice: 0.0
  56.       DisposePrice: 0.0
  57.     AutoLinkPlots: true
  58.     DisableExplosion: true
  59.     DisableIgnition: true
  60.     UseProgressiveClear: false
  61.     Projectiles: true
复制代码






作者: 燃烧    时间: 2016-11-23 17:55
燃烧 发表于 2016-11-23 17:53
sorry
这个方法有一点问题 其实还有一个方法 可以直接在plotme上添加的(这是刚刚在某bbs get到的)
我就将 ...

wc....plotme代码全乱了?
算了 我这样发吧

    economy:
      UseEconomy: true -------修改这里
      CanPutOnSale: false
      RefundClaimPriceOnReset: false
      RefundClaimPriceOnSetOwner: false
      ClaimPrice: 1000.0 --------还有这里
      ClearPrice:  0.0
      AddPlayerPrice: 0.0
      DenyPlayerPrice: 0.0
      RemovePlayerPrice: 0.0
      UndenyPlayerPrice: 0.0
      PlotHomePrice: 0.0
      SellToPlayerPrice: 0.0
      BiomeChangePrice: 0.0
      ProtectPrice: 0.0
      DisposePrice: 0.0
    AutoLinkPlots: true
    DisableExplosion: true
    DisableIgnition: true
    UseProgressiveClear: false
    Projectiles: true


作者: 电竞男神唐子沐    时间: 2017-7-7 12:39
燃烧 发表于 2016-11-23 17:55
wc....plotme代码全乱了?
算了 我这样发吧

这个世界的经济被禁用 怎么解决 经济前置 经及插件都加了 地皮config里的购买也改了
作者: 233666gg    时间: 2017-7-22 20:21
你可以这样
地皮不给玩家权限
然后让他们自己去商店买居住证
你装一个加右键物品能使用命令的插件
然后他们买好后右键后就有权限了
这样子就能了
作者: 刘伟大大    时间: 2019-8-10 14:39
怎么修改 合并地皮 需要钱呢?




欢迎光临 最MC论坛 (http://www.zuimc.com/) Powered by Discuz! X3.2