
MinePermit 2.0
尚未发布。预计10号前推出!
经典的 MinePermit!现已完全重构并更新,新增部分功能:
- 支持多世界!
- 自定义领地范围(不同区域收取不同费用?在彼此内部无限嵌套可自定义的区域?没问题!)
- 为管理员提供更多自定义选项
- 仅在特定高度以下才需要许可证
- 使未跟踪的方块变为不可/可挖掘
- 新型许可证!
- 通用许可证!
支持 1.7.2!
安装
首先,安装 MineCore。它是 MinePermit 的必要依赖项,因为它负责管理所有经济系统和权限设置,并用于存储玩家数据。请访问 http:dev.bukkit.org/bukkit-plugins/minecore 获取。
接下来,将 MinePermit.jar 复制到你的 plugins 目录中。如果你之前使用过 V 2.0 之前的任何版本的 MinePermit,请删除 /plugins/minepermit/ 文件夹以允许其重新生成。一切生成完毕后,你可以根据需要进行自定义配置。插件自带一些基础设置,虽然开箱即用,但你肯定需要对配置文件进行自定义调整。
旧版本不再提供支持
用法
管理员用
命令
目前尚无管理员/控制台命令!需要某个命令吗?提出来,我会将其加入待办事项列表。
配置
这是 MinePermit 所有自定义功能的来源。目前没有任何在游戏内编辑这些功能的命令,因此必须直接在配置文件中管理,并且服务器必须重新加载以使更改生效。配置文件位于 /plugins/minepermit/config.yml
默认文件:
allowDataCollection: true #如果设置为 false,将禁用此插件的状态报告。参见“注意事项”
WorldPermitAreas: #所有世界配置均在此之下。
world: #世界的名称
allowMiningUnspecifiedBlocks: false #是否允许挖掘未在 'prices'(价格)下指定的方块
effectiveDepth: 65 #在什么深度以下需要许可证?
prices: #此许可区域中许可证的价格。不会向下级继承。
UNIVERSAL: #材质类型。如果名称为 'UNIVERSAL',则价格信息用于通用许可证
types: #要使用的不同类型的许可证
COUNTED: #许可证的类型
price: 1000 #购买许可证的价格
amount: 50 #玩家可以使用/挖掘该许可证的时间/方块数量。
TIMED:
price: 10000
amount: 3600
GOLD_ORE:
types:
COUNTED:
price: 100
amount: 30
TIMED:
price: 300
amount: 1000
IRON_ORE:
types:
COUNTED:
price: 50
amount: 40
LAPIS_ORE: #如果为空,则无法挖掘。
types: #只需确保包含 'types' 部分即可
COAL:
types:
COUNTED:
price: 30
amount: 70
STONE:
types:
TIMED:
price: 10
amount: 60000
children: #包含在此许可区域内的子许可区域
DasMine: #名称(实际上不起任何作用)
x1: 123 #世界内的坐标。不相对于父级许可区域
z1: 2
x2: 321
z2: 56
allowMiningUnspecifiedBlocks: true
effectiveDepth: 70
prices:
STONE:
types:
COUNTED:
price: 600
amount: 60
只要互不交叉,任何区域内都可以包含无限数量的子区域。世界和子许可区域的配置选项与上述说明完全相同。
目前有两种类型的许可证:COUNTED(按数量计)和 TIMED(按时长计)。Counted 会计算玩家挖掘的方块数量,并在达到配置中定义的限制时失效。Timed 仅基于时间计算,因此方块数量无关紧要,其在配置和命令中以秒为单位进行计数。
当方块被破坏时,MinePermit 首先使用特定许可证(如铁矿或煤矿),然后使用通用许可证。通用许可证可以拥有与普通许可证完全相同的类型,并且工作方式也完全相同,但它允许玩家挖掘任何指定的方块。因此,如果 allowMiningUnspecifiedBlocks 设置为 false,你仍然无法挖掘配置中未定义的方块。
权限
- minepermit.exempt - 不需要许可证
- minepermit.buy - 购买许可证的核心权限
- minepermit.admin - 使用管理员命令所需的权限(目前还没有任何管理员命令)
对于玩家
命令
- /permit - 命令列表
- /permit buy [id/"universal"] - 购买许可证
- /permit cost [id] - 显示特定许可证的费用。无参数则显示通用许可证的价格
- /permit time {id} - 显示许可证的剩余时间。无参数则显示所有拥有的许可证
- /permit view {id} - 返回是否需要此方块的许可证。无参数则返回所有必需的许可证
待办事项
备注:
MineCore 现已迁移至 http:dev.bukkit.org/bukkit-plugins/minecore,MinePlot 也已迁移至 http:dev.bukkit.org/bukkit-plugins/mineplot。两者均已完全实现并更新至 1.7.2,欢迎尝试!
~~~~~~~~~~~~~~~~~~
本插件使用 Metrics 来记录关于插件使用情况的数据。这仅用于记录有关插件使用方式的简单匿名数据,包括服务器规格(如架构、核心数、操作系统)、大致位置(国家)、Java 版本、游戏版本以及在线玩家数量。所有记录的数据均可在 http:mcstats.org/plugin/MinePlot 获取。如果您希望退出数据收集,请将配置文件中的 "allowDataCollection" 属性更改为 false 并重启服务器。此举不会对插件的运行产生任何影响。使用本插件即表示您同意按照本页定义的方式收集有关您服务器的数据。此页面仅反映最新版本,不反映 Github 或其他渠道上可用的版本。
本插件不会自动更新或检查更新。

MinePermit 2.0
It is NOT YET RELEASED. Look for it by the 10th!
The original iconic MinePermit! Now completely rebuilt and updated, some of the new features:
- Multi-World support!
- Custom Permit Areas (charge differently for different areas in the world? Nest an infinite number of customizable areas inside each other? Done!)
- Greater customization for admins
- Make permits only necessary below a certain point
- Make un-tracked Blocks un/minable
- New types of permits!
- Universal Permits!
1.7.2 Support!
Installation
First, install MineCore. It is a required dependency of MinePermit, as it manages all its economy and permissions settings, and is used to store player data. Go get it at http:dev.bukkit.org/bukkit-plugins/minecore
Next, copy MinePermit.jar into your plugins directory. If you used any version of MinePermit before V 2.0, please delete the /plugins/minepermit/ folder in order to allow it to regenerate. Everything will be generated and then you can proceed to customizing to your hearts content. The plugin starts with some basic settings, and though it will work out-of-the-box, you WILL want to customize the configuration.
Old versions are NOT SUPPORTED
Usage
For Admins
Commands
No admin/console commands yet! Need one? Ask, and ill add it to the ToDo list.
CONFIGURATION
This is where all the customization of MinePermit comes from. There do not consist any commands currently to edit these features in-game, so they must be managed directly in the configuration file, and the server must be re-loaded for the changes to propagate. The configuration file is located at /plugins/minepermit/config.yml
The default file:
allowDataCollection: true #If set to false, will disable stat reporting for this plugin. See "Notes"
WorldPermitAreas: #All world configs go under here.
world: #The name of the world
allowMiningUnspecifiedBlocks: false #Whether blocks not specified under 'prices' can be mined
effectiveDepth: 65 #Below what depth should permits be required?
prices: #Prices for the permits in this permit area. Does not cascade to children.
UNIVERSAL: #The material type. If the name is 'UNIVERSAL', then the price information is used for the UniversalPermit
types: #The different types of permits to use
COUNTED: #The type of permit
price: 1000 #The price to buy the permit
amount: 50 #How much time/blocks the player gets to use/mine for the permit.
TIMED:
price: 10000
amount: 3600
GOLD_ORE:
types:
COUNTED:
price: 100
amount: 30
TIMED:
price: 300
amount: 1000
IRON_ORE:
types:
COUNTED:
price: 50
amount: 40
LAPIS_ORE: #If its empty, it cannot be mined.
types: #Just make sure to have the 'types' section
COAL:
types:
COUNTED:
price: 30
amount: 70
STONE:
types:
TIMED:
price: 10
amount: 60000
children: #PermitAreas that are contained by this Permit Area
DasMine: #The name (doesnt really do anything)
x1: 123 #Coordinates within the world. NOT respective to parent permit area
z1: 2
x2: 321
z2: 56
allowMiningUnspecifiedBlocks: true
effectiveDepth: 70
prices:
STONE:
types:
COUNTED:
price: 600
amount: 60
There can be an indefinite number of children areas inside any one area, as long as they do not intersect in any way. The configuration options for the worlds and the children permit areas is identical, except for where noted above.
Currently, there are 2 types of permits, COUNTED and TIMED. Counted counts the number of blocks a player mines, and expires when the limit is reached, as defined by the config. Timed goes purely by time, so number of blocks does not matter, and it is counted in seconds in the Configuration and in commands.
When blocks are broken, MinePermit First uses specific permits (like for iron or coal), then uses Universal permits. The Universal permit can have the exact same types and works the exact same way as a normal permit, except that it allows the player to mine any SPECIFIED blocks. Thus, if allowMiningUnspecifiedBlocks is false, you would still not be able to mine anything not defined in the config.
Permissions
- minepermit.exempt - Permits are not required
- minepermit.buy - Core permission for using buying permits
- minepermit.admin - Necessary to use admin commands (there arent any yet though)
For Players
Commands
- /permit - List of commands
- /permit buy [id/"universal"] - Buys permit
- /permit cost [id] - Display cost of certain permit. No param displays price for universal permit
- /permit time {id} - Displays remaining time for permit. No param displays all owned permits
- /permit view {id} - Returns if a permit is required for this block. No param returns all required permits
ToDo List
Notes:
MineCore has now moved to http:dev.bukkit.org/bukkit-plugins/minecore and MinePlot has moved to http:dev.bukkit.org/bukkit-plugins/mineplot. Both are now fully implemented and updated to 1.7.2, so give them a try!
~~~~~~~~~~~~~~~~~~
This plugin uses Metrics to record data about the plugin's use. All this does is record simple anonymous data about how the plugin is used, including server specs like architecture, number of cores, OS, general location (country), java version, game version, and players online. All the recorded data can be retrieved at http:mcstats.org/plugin/MinePlot. If you would like to opt-out, change the property in the configuration file "allowDataCollection" to false and restart the server. This will not impact the plugin's execution in any way. By using this plugin, you are agreeing to the collection of data about your server as defined on this page. This page will only reflect the latest release version, and doesn't reflect versions available on Github or elsewhere.
This plugin does not auto-update or check for updates.
评论 0
登录后参与评分
还没有评论,来抢沙发吧