AutoKits
版本 1.1.0
关于此插件
该插件添加了一项有趣的功能,可能在许多通用服务器和角色扮演服务器中具有潜在用途。它实现了一个自动发放套装的系统,系统会按照指定的时间间隔向每位玩家发放套装。你可以通过如下所示的配置文件更改此时间间隔。这些套装是使用配置文件中定义好的内容设计的,配置文件同样展示在下面。未来可能会支持使用 Essentials 的套装。
权限
你可以使用 'autokits.recieve' 权限让接收者获得套装。该权限默认赋予 OP(管理员),否则玩家将无法收到任何套装。
命令
目前没有命令,但我计划实现一个用于控制时间间隔的停止/启动系统。
配置文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 | #AutoKits Configuration
#Should be defined as so:
#kits:
# kitname:
# - itemid amount
# - 320 1
# anothername:
# - 1 64
kits:
one:
- 320 1
- 311 2
two:
- 100 1
- 42 1
#What kits should be give to the player?
kitsToGive: one,two
#How often should this be done in minutes?
interval: 1
#What message should be sent when receiving a kit?
recieveMessage: You have received kit - %KIT
|
配置文件非常直观易懂,但这里有一些使用提示供你参考:
时间间隔 (Interval)
- 1 小时 = 60
- 2 小时 = 120
- 6 小时 = 360
- 12 小时 = 720
- 24 小时 = 1440
- 48 小时 = 2880
接收消息 (Receive Message)
这部分非常简单……它就是玩家获得套装时收到的提示信息。如果你想指定具体的套装名称,请将 `%KIT` 放在你想显示的位置。例如,如果你有一个名为 'tools' 的套装,默认的接收消息将会显示:“You have received kit - tools”(你获得了套装 - tools)。
待办事项
AutoKits
Version 1.1.0
About the Plugin
This plugin adds a fun feature which could have potential use in many general servers, and roleplaying servers. It implements a kit system that is given to every player in a specified time interval. This time interval can be changed using the configuration as shown below. These kits are designed using the config file which is also shown below. It may be in the near future that essentials kits can be used.
Permissions
You can use 'autokits.recieve' to have the player recieve the kit(s). This is defaulted to OP, otherwise players won't recieve any kits.
Commands
There are no commands, however I am planning on implementing a stop/start system for the interval.
Config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 | #AutoKits Configuration
#Should be defined as so:
#kits:
# kitname:
# - itemid amount
# - 320 1
# anothername:
# - 1 64
kits:
one:
- 320 1
- 311 2
two:
- 100 1
- 42 1
#What kits should be give to the player?
kitsToGive: one,two
#How often should this be done in minutes?
interval: 1
#What message should be sent when receiving a kit?
recieveMessage: You have received kit - %KIT
|
The configuration is pretty self explanatory, however here are some tips for you to use:
Interval
- 1 hour = 60
- 2 hours = 120
- 6 hours = 360
- 12 hours = 720
- 24 hours = 1440
- 48 hours = 2880
The Receive Message
For this, its really simple... All it is, is the message the player receives when he/she gets their kit(s). If you want to specify what kit, put %KIT where you want it to be. For example if you have a kit called 'tools', the default receive message would say: "You have received kit - tools".
To-Do
- Different languages?
- Any requests?
评论 0
登录后参与评分
还没有评论,来抢沙发吧