起床战争
简介:
在游戏中玩家们将会以团队PVP的形式展开一场绝对不同的较量。玩家们的目的就是在游戏中来保护自己的床不被摧毁,所以要齐心协力,在游戏中依靠队友互相合作来摧毁对手的床位就算做是游戏中的胜利!游戏特色:
- 玩家们将会和16名玩家们一起分成四个队伍来展开互相对决,目的就是保护自己的床位
- 只要床铺存在,团队中的玩家就可以恢复活力,让自己的队友们能够瞬间恢复成为最佳状态重新投入战斗;
- 建立与敌人岛屿的桥梁,入侵敌人的领地,以摧毁对手的床位为最终的目的赢得胜利
游戏模式:
- 经验模式
- 物品兑换模式
使用介绍:
一、插件启动
- 将本插件拖动到 plugins文件夹
- 启动服务器直到插件加载完成
- 进入游戏后输入,来到游戏地图,执行/bd 即可开始创建房间。
二、指令介绍
指令 | 介绍 |
---|---|
/bd reload | 重新读取配置文件 |
/bd set [名称] | 创建一个自定义房间模板 |
/bd tsl | 读取模板的队伍数据与商店物品数据 |
/bd see | 查看加载的房间 |
/bd close [名称] | 关闭房间 |
/bd end | 停止模板预设 |
/bw | 进入游戏GUI |
/bw join [名称] | 加入游戏房间 |
/bw quit | 离开游戏房间 |
/bws [你要说的内容] | 发送游戏房间内全体消息 |
三、配置文件
YAML:
# 插件提示的前缀
title: "&f[&a起床战争&f]"
# 是否保存玩家背包
save-playerInventory: true
# 商店界面
# auto 自动适配
# packet 强制GUI菜单
# ui 强制箱子界面
shop-ui: auto
game-logo: "&l&cB&6e&ed&aW&ba&9r"
# 加入游戏的菜单设计
join-menu:
# 自定义名称 可乱填
cw:
buttonImg:
type: "path"
path: "textures/ui/icon_recipe_item"
rooms:
# 房间名称
- 测试房间
YAML:
world: ""
roomMoney: "default"
gameTime: 1200
fireballKnockBack: 0.6
tntKnockBack: 0.6
callbackY: 17
hasWatch: true
killItem: 0.5
# 是否启用饥饿值掉落
enable-food: false
#times:
# bedbreak: 120
waitTime: 120
ui: auto
entity:
team: 15
item: 15
# 快速搭路
fast-place: true
# 快速搭路放置方块数量
fast-place-count: 5
# 装备无限耐久
inventory-unbreakable: true
max-player-waitTime: 20
minPlayerSize: 4
maxPlayerSize: 16
teamSpawn: {}
itemSpawn: {}
waitPosition: ""
ban-command: []
QuitRoom: []
AutomaticNextRound: true
victoryCmd: []
defeatCmd: []
minutesExp: 25
deathIcon: 20
floatSpawnPos: []
# TNT的伤害
tntDamage: 8
# TNT爆炸时间(秒)
tntExplodeTime: 5
auto-display-floattext:
enable: true
text: "{item} &r生成点\n剩余时间: &a {time} &r"
# 资源点展示的浮空字
# 格式: 货币所在位置0是第一个:皮肤名称
display-floatBlock:
"2": "diamond"
"3": "emerald"
# 启用掉落物均分
enable-item-Equal: false
# 启用掉落物显示
display-item-name: false
# 游戏kb设置 使用独立的算法
kb-setting:
enable: false
force: 0.4
speed: 0.5
motionY: 0.1
roomStartMessage:
- "&a■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■"
- "&f起床战争"
- "&e"
- "&e保护你的床并摧毁敌人的床。收集铜锭,金锭,钻石和绿宝石"
- "&e来升级,使自身和队伍变得更强"
- "&a■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■"
custom:
# 自定义头部显示。
# {team}: 队伍名称(包含颜色)
# {color}: 队伍的颜色符号
# {name}: 玩家名称
# {health}: 玩家当前血量
# {maxhealth}: 玩家最大血量
namedtag:
enable: true
text: "&7[{team}&7] {color}{name} \n&c❤&7 {health}"
# 床保护机制
protected-bed:
enable: false
blockList:
- "5"
- "35"
- "20"
YAML:
# 货币
money:
# 货币名称
- name: "铜锭"
# 仅用作显示名称
customName: "&4铜锭"
item: "336:0"
exp: 1.0
# 货币名称
- name: "金锭"
# 仅用作显示名称
customName: "&e金锭"
item: "266:0"
exp: 5.0
# 货币名称
- name: "钻石"
# 仅用作显示名称
customName: "&b钻石"
item: "264:0"
exp: 10.0
- name: "绿宝石"
# 仅用作显示名称
customName: "&a绿宝石"
item: "388:0"
exp: 20.0
# 特殊物品
nbtItem:
"简易平台":
customName: "&e短暂的平台"
lore: []
item: "341:0"
"快速回城":
customName: "&e迅速返回出生点"
lore: []
item: "288:0"
"线":
customName: "&e3*3蜘蛛网"
lore: []
item: "287:0"
"指南针":
customName: "&e指向最近的玩家"
lore: []
item: "345:0"
"护卫":
customName: "&e生成铁傀儡"
lore: []
item: "383:10"
"火球":
customName: "&e烈焰弹"
lore: []
item: "385:0"
YAML:
# 武器
weapon:
- id: "272:0"
name: ""
ench: ""
money: "铜锭x4"
- id: "267:0"
name: ""
ench: ""
money: "金锭x7"
- id: "276:0"
name: ""
ench: ""
money: "绿宝石x2"
- id: "280:0"
name: "爷爷的拐杖"
ench: "12:1"
money: "铜锭x2"
armor:
- id: "304:0"
name: ""
ench: ""
money: "铜锭x20"
- id: "305:0"
name: ""
ench: ""
money: "铜锭x20"
- id: "308:0"
name: ""
ench: ""
money: "金锭x10"
- id: "309:0"
name: ""
ench: ""
money: "金锭x10"
- id: "312:0"
name: ""
ench: ""
money: "绿宝石x12"
- id: "313:0"
name: ""
ench: ""
money: "绿宝石x12"
bow:
- id: "261:0"
name: ""
ench: ""
money: "金锭x7"
- id: "261:0"
name: ""
ench: "22:0"
money: "金锭x12"
- id: "261:0"
name: ""
ench: "22:0-21:1"
money: "金锭x20"
- id: "262:0:8"
name: ""
ench: ""
money: "金锭x2"
block:
- id: "35:0:16"
name: ""
ench: ""
money: "铜锭x8"
- id: "5:0"
name: ""
ench: ""
money: "铜锭x8"
- id: "24:2:4"
name: ""
ench: ""
money: "铜锭x16"
- id: "121:0:4"
name: ""
ench: ""
money: "金锭x4"
- id: "49:0:4"
name: ""
ench: ""
money: "绿宝石x8"
food:
- id: "320:0:8"
name: ""
ench: ""
money: "铜锭x16"
- id: "322:0"
name: ""
ench: ""
money: "金锭x2"
tools:
- id: "275:0"
name: ""
ench: ""
money: "铜锭x16"
- id: "274:0"
name: ""
ench: ""
money: "铜锭x32"
- id: "258:0"
name: ""
ench: ""
money: "金锭x2"
- id: "257:0"
name: ""
ench: ""
money: "金锭x10"
- id: "359:0"
name: ""
ench: ""
money: "铜锭x10"
items:
- id: "46:0"
name: ""
ench: ""
money: "铜锭x32"
- id: "130:0"
name: ""
ench: ""
money: "金锭x6"
- id: "368:0"
name: ""
ench: ""
money: "绿宝石x2"
- id: "65:0:4"
name: ""
ench: ""
money: "金锭x10"
- id: "火球"
name: ""
ench: ""
money: "铜锭x32"
- id: "简易平台"
name: ""
ench: ""
money: "金锭x5"
- id: "快速回城"
name: ""
ench: ""
money: "金锭x10"
- id: "指南针"
name: ""
ench: ""
money: "绿宝石x5"
- id: "线"
name: ""
ench: ""
money: "金锭x8"
- id: "护卫"
name: ""
ench: ""
money: "铜锭x128"
effect:
- id: "438:23"
name: ""
ench: ""
money: "绿宝石x1"
- id: "438:21"
name: ""
ench: ""
money: "绿宝石x1"
- id: "438:28"
name: ""
ench: ""
money: "绿宝石x1"
- id: "373:7"
name: ""
ench: ""
money: "绿宝石x1"
- id: "373:21"
name: ""
ench: ""
money: "绿宝石x1"
- id: "373:11"
name: ""
ench: ""
money: "绿宝石x1"
- id: "373:16"
name: ""
ench: ""
money: "绿宝石x1"
- id: "373:31"
name: ""
ench: ""
money: "绿宝石x1"
YAML:
effects:
- id: 10
name: "治疗"
disPlay: "138:0"
maxLevel: 1
money: "钻石x1"
- id: 3
name: "急迫"
disPlay: "285:0"
maxLevel: 1
money: "钻石x1"
enchants:
- id: 0
name: "保护"
disPlay: "311:0"
maxLevel: 3
money: "钻石x5"
- id: 9
name: "锋利"
disPlay: "276:0"
maxLevel: 3
money: "钻石x5"
- id: 15
name: "效率"
disPlay: "278:0"
maxLevel: 3
money: "钻石x5"
trap:
- id: 0
name: "陷阱"
maxLevel: 1
disPlay: "69:0"
money: "钻石x2"
event.yml:
# 事件控制
# 事件按照先后顺序执行
# 上一个事件完成之前,下个事件不会执行 直到事件全部完成才开始游戏时间
# value 数值在 time 类型中为tick时间 20 tick 为 1 秒
# eventTime 为事件倒计时 单位为秒
eventLists:
- type: "custom"
display: "升级"
eventTime: 220
value: "foreach:0-4"
roomEventList.yml:
# 整局游戏中的事件
# 跟 events 列表联动
# 这里的事件不直接参与游戏内 但是会保存在游戏内
# 通过自定义事件调用
# value 数值在 time 类型中为tick时间 20 tick 为 1 秒
# eventTime 为事件倒计时 单位为秒
eventLists:
- type: "time"
display: "钻石生成点 II 级"
eventTime: 220
value: "钻石:400"
- type: "time"
display: "钻石生成点 III 级"
eventTime: 260
value: "钻石:300"
- type: "time"
display: "绿宝石生成点 II 级"
eventTime: 280
value: "绿宝石:500"
- type: "time"
display: "绿宝石生成点 III 级"
eventTime: 300
value: "绿宝石:400"
- type: "break"
display: "床破坏"
eventTime: 330
四、如何配置
执行/bd set 房间名称 开始预设模板 (请注意不要出错,不然只能执行/bd cancel重置了) | ||
根据提示去自定义设置内容 | 预设完成后找到生成的team.yml文件修改团队信息并执行 | /bd tsl 重载团队数据 |
之后执行/bd set 预设好物品的生成点数量,之后执行/bd即可开始房间的配置 注意: 在设置的时候请不要出错,不然只能/bd cancel重置标志位。队伍的商店出生点顺序为team.yml 配置文件的顺序,请根据顺序进行设置操作。 |