- ◆ 支持核心
- CatServer,Magma,Spigot,PaperSpigot
- ◆ 插件前置
- AyCore, NBTAPI
一、特性
默认配置文件使用的是 1.12.2 的物品名,其他版本请自行修改。
源码:https://github.com/blank038/OnlineReward
二、命令
/or - 查看自己的奖励(总在线)
/or open - 打开每日在线奖励界面 (需权限: onlinereward.open)
/or reload - 重载插件配置 (需权限: onlinereward.admin)
CustomModelData 配置项:custom-data
推荐 time-out 设置为 20
PlaceholderAPI变量:
-> %onlinereward_day% -今日在线时长
-> %onlinereward_all% - 总在线时长
-> %onlinereward_format_day% - 自定义格式今日在线时长
-> %onlinereward_format_all% - 自定义格式总在线时长
-> %onlinereward_is_gotten_<奖励编号>% - 返回在线奖励领取状态
三、图片
四、配置文件(仅展示,非最新版配置)
config.yml
gui.yml
!!! 欢迎各位加入 咸鱼交流群: 895403918 !!!
- 每日在线奖励
- GUI完全自定义
- 总在线时长奖励
- 自动发放奖励
- 支持 MySQL
默认配置文件使用的是 1.12.2 的物品名,其他版本请自行修改。
源码:https://github.com/blank038/OnlineReward
二、命令
/or - 查看自己的奖励(总在线)
/or open - 打开每日在线奖励界面 (需权限: onlinereward.open)
/or reload - 重载插件配置 (需权限: onlinereward.admin)
CustomModelData 配置项:custom-data
推荐 time-out 设置为 20
PlaceholderAPI变量:
-> %onlinereward_day% -今日在线时长
-> %onlinereward_all% - 总在线时长
-> %onlinereward_format_day% - 自定义格式今日在线时长
-> %onlinereward_format_all% - 自定义格式总在线时长
-> %onlinereward_is_gotten_<奖励编号>% - 返回在线奖励领取状态
三、图片
四、配置文件(仅展示,非最新版配置)
config.yml
YAML:
test:
time: 7200
name: "&c国庆厚礼"
commands:
- "pe %player% 6 1"
YAML:
Inventory:
size: 54
title: "&8&n每日在线奖励"
Items:
head:
type: SKULL_ITEM
amount: 1
data: 3
name: "&a个人信息"
lore:
- " "
- " &e今日在线: &f%online%分钟 "
- " "
slot: 49
fg:
type: STAINED_GLASS_PANE
amount: 1
data: 15
name: "&f欢迎来到去吧皮卡丘"
lore: []
slots:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 17
- 18
- 26
- 27
- 35
- 36
- 44
- 45
- 46
- 47
- 48
- 50
- 51
- 52
- 53
30f:
type: DRAGONS_BREATH
data: 0
amount: 3
name: "&a30分钟"
lore:
- " "
- " &b奖励列表:"
- " &f ◈ 精灵球 x32 "
- " &f ◈ 金币 x1000 "
- " &f ◈ 钻石 x10 "
- " &f ◈ &e飞行能量 x100 "
- " "
- " &a点击领取该奖励 "
- " "
slot: 20
online: 30
commands:
- "give %player% PIXELMON_POKE_BALL 32"
- "money give %player% 1000"
- "nye give %player% 钻石 10"
- "flightcharge add %player% 100"
60f:
type: DRAGONS_BREATH
data: 0
amount: 6
name: "&a60分钟"
lore:
- " "
- " &b奖励列表:"
- " &f ◈ 精灵球 x32 "
- " &f ◈ 金币 x2000 "
- " &f ◈ 钻石 x20 "
- " &f ◈ &e飞行能量 x200 "
- " "
- " &a点击领取该奖励 "
- " "
slot: 22
online: 60
commands:
- "give %player% PIXELMON_POKE_BALL 32"
- "money give %player% 2000"
- "nye give %player% 钻石 20"
- "flightcharge add %player% 200"
90f:
type: DRAGONS_BREATH
data: 0
amount: 9
name: "&a90分钟"
lore:
- " "
- " &b奖励列表:"
- " &f ◈ 精灵球 x32 "
- " &f ◈ 金币 x3000 "
- " &f ◈ 钻石 x30 "
- " &f ◈ &e飞行能量 x300 "
- " "
- " &a点击领取该奖励 "
- " "
slot: 24
online: 90
commands:
- "give %player% PIXELMON_POKE_BALL 32"
- "money give %player% 3000"
- "nye give %player% 钻石 30"
- "flightcharge add %player% 300"
120f:
type: DRAGONS_BREATH
data: 0
amount: 12
name: "&a120分钟"
lore:
- " "
- " &b奖励列表:"
- " &f ◈ 精灵球 x32 "
- " &f ◈ 金币 x4000 "
- " &f ◈ 钻石 x40 "
- " &f ◈ &e飞行能量 x500 "
- " "
- " &a点击领取该奖励 "
- " "
slot: 29
online: 120
commands:
- "give %player% PIXELMON_POKE_BALL 32"
- "money give %player% 4000"
- "nye give %player% 钻石 40"
- "flightcharge add %player% 500"
150f:
type: DRAGONS_BREATH
data: 0
amount: 150
name: "&a150分钟"
lore:
- " "
- " &b奖励列表:"
- " &f ◈ 精灵球 x32 "
- " &f ◈ 金币 x5000 "
- " &f ◈ 钻石 x50 "
- " &f ◈ &b体力药丸&f(小) x1 "
- " &f ◈ &e飞行能量 x700 "
- " "
- " &a点击领取该奖励 "
- " "
slot: 31
online: 150
commands:
- "give %player% PIXELMON_POKE_BALL 32"
- "money give %player% 5000"
- "nye give %player% 钻石 50"
- "saveditems get tlx"
- "flightcharge add %player% 700"
180f:
type: DRAGONS_BREATH
data: 0
amount: 18
name: "&a180分钟"
lore:
- " "
- " &b奖励列表:"
- " &f ◈ 精灵球 x32 "
- " &f ◈ 金币 x6000 "
- " &f ◈ 钻石 x60 "
- " &f ◈ &6体力药丸&f(大) x1 "
- " &f ◈ &d补签卡 x1 "
- " &f ◈ &e飞行能量 x1000 "
- " "
- " &a点击领取该奖励 "
- " "
slot: 33
online: 180
commands:
- "give %player% PIXELMON_POKE_BALL 32"
- "money give %player% 6000"
- "nye give %player% 钻石 60"
- "givetoken %player% 1"
- "saveditems get tld"
- "flightcharge add %player% 1000"
!!! 欢迎各位加入 咸鱼交流群: 895403918 !!!