Monetary Death Penalty

插件

· 作者 Supavitax

害怕死亡吗?因为 MonetaryDeathPenalty 会在玩家死亡时从其账户中移除货币。

0 本站下载 0 关注 更新于 9 年前

最新 MonetaryDeathPenalty v2.23 · 1.8.1

一键开服(送7天)

Logo

Fear death as MonetaryDeathPenalty will remove currency from a player's account when they die. This is a great way to help balance a server's economy.

Description

This is the MonetaryDeathPenalty plugin you can add to your server to monetary penalise players that die. It is currently v2.23 and was designed for v.1.6.4, v1.7.2, v1.7.9 and v1.8.1. It requires Vault. MonetaryDeathPenalty also supports most permissions and most currency plugins. You can add regions to the worldguardBlacklist in the config.yml to disable any money loss within those regions.

I will continue to support this and add many more features. If you have any suggestions please let me know in the comments or through a pm.

Installation and configuration

Place the MonetaryDeathPenalty.jar into your plugins directory and then run the server.

Commands

  • /mdp - Current version of MonetaryDeathPenalty running.
  • /mdp reload - Reloads the config for MonetaryDeathPenalty.
  • /mdp set prefix <string> - Set the prefix for MonetaryDeathPenalty.
  • /mdp set pvppay <integer> - Set the pvppay for MonetaryDeathPenalty.
  • /mdp set usepercentage <boolean> - Set the usepercentage for MonetaryDeathPenalty.
  • /mdp set flatpercentage <integer> - Set the flatpercentage MonetaryDeathPenalty.
  • /mdp set flatamount <integer> - Set the flatamount MonetaryDeathPenalty.
  • /mdp set vipflatpercentage <integer> - Set the vipflatpercentage MonetaryDeathPenalty.
  • /mdp set vipflatamount <integer> - Set the vipflatamount MonetaryDeathPenalty.
  • /mdp set minamountforpenalty <integer> - Set the minamountforpenalty MonetaryDeathPenalty.
  • /mdp set flatamountbelowminamount <integer> - Set the flatamountbelowminamount MonetaryDeathPenalty.
  • /mdp set maxpercentagecap <integer> - Set the maxpercentagecap MonetaryDeathPenalty.
  • /mdp set currencysymbol <symbolr> - Set the currencysymbol MonetaryDeathPenalty.

Config

Click here for help with the config.yml

  • checkForUpdates - MonetaryDeathPenalty will check for updates. Set to false to disable this./
  • prefix - Display a prefix before the MonetaryDeathPenalty message. To disable type prefix: ''
  • pvpPay: 150 - Allow players who kill another player to earn a flat amount of currency (pvpCost must be set to true). To disable type pvpPay: 0.
  • usePercentage: true - If true will use the flatPercentage to calculate the amount that is lost upon death.
  • flatPercentage: 10 - Will remove this percentage of the players current money upon death.
  • flatAmount: 500 - Will remove this amount of money from the player upon death. Set usePercentage to false if you wish to use this.
  • vipFlatPercentage: 5 - Will remove the specified percentage of the total players money upon death.
  • vipFlatAmount: 250 - Will remove a set value rather than a percentage of the players money. Set usePercentage to false if you wish to use this.
  • minAmountForPenalty: 1000 - If a player has less than or equal to this amount no currency will be deducted when they die.
  • flatAmountBelowMinAmount: 100 - If a player has less than or equal to minAmountForPenalty then the value from flatAmountBelowMinAmount will be deducted from a player when they die. To disable type flatAmountBelowMinAmount: 0
  • maxPercentageCap: 5000 - Will cap the max amount of currency that can be removed from the usePercentage.
  • currencySymbol: $ - Will output currencySymbolX in the money lost message upon death.
  • customMessage: '&6You have died at {0} &6and due to dying you have lost &a{1}&9{2}&6.' - Will show a custom death message upon death. Click here for help with the config.yml.
  • customMessageForKiller: '&6You have earned &a{1}&9{4} &6for killing &d{3}&6.' - Will show a custom message when the player kills another player. Click here for help with the config.yml.
  • worlds: - world - world_nether - Worlds listed here will prevent players losing money through MonetaryDeathPenalty.
  • worldGuardBlackList:
    • region_name_here
    - 此处列出的区域将导致 MonetaryDeathPenalty 对玩家的货币无效。

权限

  • mdp.ignore
    description: 玩家死亡时不会被 MonetaryDeathPenalty 惩罚。给予管理员 --mdp.ignore 权限节点,以允许 MonetaryDeathPenalty 影响其现金。如果你希望管理员完全受到 MonetaryDeathPenalty 的影响,他们仍需具备 --mdp.vip 权限节点。
  • mdp.vip
    description: 玩家/组被标记为 VIP,并使用 vipFlatPercentage 或 vipFlatAmount 的值进行惩罚。给予管理员 --mdp.vip 权限节点,以允许 MonetaryDeathPenalty 完全影响其现金。
  • mdp.admin
    description: 玩家/组被授予管理员权限
    default: op
  • mdp.reload
    description: 重载 MonetaryDeathPenalty 的配置。
    default: op

更新日志

点击此处查看完整更新日志

统计指标

从 v2.0 版本开始,此插件会向服务器 发送使用统计数据。你可以通过在 \plugins\PluginMetrics\config.yml 中将 "opt-out" 设置为 true 来禁用它。

stats

自动检查更新

从 v2.0 版本开始,此插件会使用 Curse 的 ServerMods API 检查更新。它会始终将当前版本与 BukkitDev 上的版本进行比较,并通知管理员或任何拥有 mdp.admin 权限的玩家/组有可用更新。除非用户输入 /mdp update,否则它 绝不会 自动下载更新。所有更新均从 BukkitDev 下载。这些检查可以在 config.yml 中通过将 checkForUpdates 设置为 false 来禁用。

捐赠

由于有人请求添加捐赠按钮以帮助支持 MonetaryDeathPenalty 的开发,我决定添加一个。感谢现在和未来的捐赠,我对此深表感激。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源