SaplingRewards
功能说明
该插件允许玩家通过经济插件(经由 Vault)在种植树苗时获得报酬,同时设置了限制以防止滥用树苗刷屏。
工作原理
插件会记录每位玩家在最近 20 个区块坐标中种植树苗的情况(具体数量由配置文件中的 `reward.watch` 决定),并对其中最多 5 棵已种植的树苗给予奖励(具体上限由配置文件中的 `reward.limit` 决定)。一旦达到上限,若想获得更多收益,则需在其它区块种植树苗,从而使该玩家内存中记录的同一区块坐标内的树苗数量少于 5 棵。
特性
- 通过 Vault 为种植树苗的玩家提供报酬
- 限制每位玩家在单个区块内因种植树苗而获得报酬的数量
- 每次种植树苗时,有一定概率触发公告提示
- 每次破坏原木、树叶或树苗时,有一定概率提醒玩家种植树苗
- 提供命令(/saplingrewards 或 /sr)以查看种植树苗的奖励金额
- 完全可自定义的公告/奖励/提醒/命令信息字符串及设置项(包括概率、奖励金额和上限等)
- 新增默认选项以禁用树苗的破坏行为,并配套相应权限(包含破坏权限及覆盖权限)
安装设置
- 将插件复制到服务器的 plugins 文件夹中
- 确保已安装 Vault( )
- 重启服务器(或者必须的话进行重载)
- 根据需要修改 config.yml 文件
- 配置所需的相关权限(如有需要)
- 从拥有 sr.admin 权限的用户或控制台执行 /sr reload 命令
- 享受游戏吧!
命令列表
/sr - 显示奖励金额
/sr reload - 从磁盘重新加载配置文件
/sr version - 显示当前使用的版本
配置文件
配置文件在 v 0.4 版本中有所变更。
详情请参阅
权限说明
权限为可选配置,但在 v 0.4 版本中有所变更。
详情请参阅
捐赠
如果您愿意捐赠支持,我提供了一个链接:
感谢您的支持,这给了我继续的动力! :D
SaplingRewards
What it does
This allows players to get paid through an economy plugin (via Vault) for planting saplings with limitations to prevent sapling spamming.
How it works
The plugin keeps track of the last 20 (as determined by reward.watch in the config) chunk coordinates for each player that the player had planted a sapling in and rewards up to 5 (as determined by reward.limit in the config) of those saplings that were planted. Once the limit is hit, the only way to gain more money is to plant saplings in other chunks, so that there are less than 5 of the same chunk coordinates in memory for that player.
Features
- Pays players (via Vault) for planting saplings
- Limits the number of saplings in each chunk that a player gets paid for
- Each placement of a sapling has a chance for it to announce the feature
- Each destruction of a log, leaf or sapling has a chance to remind players to plant saplings
- A command (/saplingrewards or /sr) to see the reward for planting saplings
- Fully customizable announce/reward/remind/command info strings and settings ( for chance, reward amount and limits )
- Added a default option to disable the breaking of saplings and also permissions to go along (both for breaking and an override)
The set up
- Copy the plugin to your server/plugins folder
- Make sure you have Vault installed ( )
- Restart (or reload if you must) the server
- Make any changes to the config.yml file
- Set up any permissions you'll need (if any)
- Execute /sr reload from a user that has the sr.admin permission or the console
- Enjoy!
The commands
/sr - Shows the reward amount
/sr reload - Reloads the config from disk
/sr version - Displays the current version you are using
The config
The config has changed in v 0.4.
Read about it at
The permissions
The permissions are optional, but have changed in v 0.4.
Read about them at
Donations
If you'd like to donate, I have a link for that.
Thanks for keeping me motivated! :D
评论 0
登录后参与评分
还没有评论,来抢沙发吧