• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“Bedwars”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(搬运完了,等着汉化。排版有点乱以后再改)
第172行: 第172行:
 
| bw.reload || 允许使用/bw重启游戏 || op
 
| bw.reload || 允许使用/bw重启游戏 || op
 
|}
 
|}
 +
 +
== Commands ==
 +
History Source
 +
Command Description
 +
/bw Information about the plugin
 +
/bw help Show all commands
 +
/bw add [Name] Add a game
 +
/bw setup (Game) Open the the setup menu
 +
/bw start [Game] Start a game
 +
/bw stop [Game] Stop a game
 +
/bw join [Game] Join a game
 +
/bw leave Leave a game
 +
/bw pos1 Set the first position
 +
/bw pos2 Set the second position
 +
/bw stats (Player) See your stats / the stats of a player
 +
/bw reload Reload the configuration
 +
/bw setjoin [Game] [Team] Create a new team joiner
 +
 +
== Setup ==
 +
History Source
 +
Step by Step:
 +
Set the protected-blocks and the game length in the config.yml
 +
Import a bedwars-map with a custom world plugin
 +
Remove item spawners and place normal villagers
 +
Remove all excisting beds
 +
Mark the game with /bw pos1 & /bw pos2
 +
Create a game: /bw add name
 +
Set everything you want in the setup menu with /bw setup
 +
Create optional team joiners with /bw setjoin [game] [team] and look at an entity
 +
Set the sign:
 +
[bw]
 +
name
 +
Do you have problems? Type /bw setup to see, if your game is re
 +
 +
== TO-DO ==
 +
History Source
 +
4 Teams instead of 2
 +
Language system
 +
Disable crafting
 +
Add unbreakable blocks
 +
Item shop
 +
Itemspawner
 +
BungeeCord (kick on lose, restart on end, ...)
 +
More teams
 +
MySQL
 +
Website stats
 +
Bed can face into every direction
 +
Add a permission to start a game
 +
Spawn every 0,5 seconds 1 Bronze
 +
More items (Safety platform, Warp powder)
 +
Better shop-system
 +
Join teams with armor stands
 +
Add a "Confirm"-Button to remove a game
 +
Add replaceable blocks (gras, flowers, vines)
 +
Automatic map download and intigration

2016年8月27日 (六) 15:01的版本

Bedwars
外文名Bedwars
插件类型Spigot / CraftBukkit
最新版本v3.1.2
兼容服务端CB1.7.9-1.9
前置插件pointsAPI,任意一款村民保护插件(可选),任意一款爆炸保护插件(可选)
源地址https://dev.bukkit.org/bukkit-plugins/bedwars/

特点

- 自动恢复游戏地图
- 设置菜单
- 物品商店(村民或菜单模式)
- 使用实体加入队伍(盔甲架)
- 物品生成器
- 全自动
- 加入牌子
- 每个用户的语言(客户端语言)
- 重生的床
- 简单的权限
- 自动更新
- 记分版
- 成就
- 最大9个队伍
- 使用PointsAPI发放奖励
- 支持蹦极端
- 还有很多很多!
- 可供统计和成就使用的MySQL
- 网页统计数据

网页统计数据设置

如何安装?

1.You need a webserver, which supports PHP and MySQL Copy and paste the code from below into the file: stats.php 2.Edit the settings and set your MySQL settings 3.Upload the page on your webserver

代码

Pastebin替代代码

点击查看代码
<?PHP

/* SETTINGS */ /*________________________________________________________________________________________________________________*/

$_db_host = "localhost"; /* MYSQL host */ $_db_username = "root"; /* MYSQL username */ $_db_password = "123"; /* MYSQL password */ $_db_database = "bw"; /* Mysql database */ $_db_table = "bw_stats"; /* Database table */

$sort = "wins"; /* Default sort (wins, games, kills, deaths, beds) */

/*________________________________________________________________________________________________________________*/

/* DO NOT EDIT */ if(@$_GET['order']){

 $order = @$_GET['order'];

}else{

 $order = @$_GET['order'] = $sort;

} if($order!="wins" && $order!="games" && $order!="kills" && $order!="deaths" && $order!="beds")

 $order=$sort;

$_link = mysql_connect($_db_host, $_db_username, $_db_password); mysql_select_db($_db_database, $_link); $_sql = "SELECT * FROM `$_db_table` ORDER BY `$order` DESC"; $_resultat = mysql_query($_sql, $_link); ?> <html> <head>

 <link rel="stylesheet" href="https://bootswatch.com/readable/bootstrap.css" media="screen">
 <link rel="stylesheet" href="https://bootswatch.com/assets/css/bootswatch.min.css">
 <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
 <title>Bedwars Statistiken</title>

</head> <body>

<thead> </thead> <tbody> <?PHP while ($row = @mysql_fetch_array( $_resultat, MYSQL_ASSOC)) {?> <?PHP } ?> </tbody>
Player <a href="?order=wins">Wins <?PHP if(@$_GET['order'] == 'wins'){ echo ""; }?></a> <a href="?order=games">Played Games <?PHP if(@$_GET['order'] == 'games'){ echo ""; }?></a> <a href="?order=kills">Kills <?PHP if(@$_GET['order'] == 'kills'){ echo ""; }?></a> <a href="?order=deaths">Deaths <?PHP if(@$_GET['order'] == 'deaths'){ echo ""; }?></a> K/D <a href="?order=beds">Beds <?PHP if(@$_GET['order'] == 'beds'){ echo ""; }?></a>
<img src="http://cravatar.eu/helmhead/<?php echo $row['PName']; ?>/35.png"> <?php echo $row['PName']; ?> <?php echo $row['Wins']; ?> <?php echo $row['Games']; ?> <?php echo $row['Kills']; ?> <?php echo $row['Deaths']; ?> <?php if($row['Deaths']==0) echo $row['Kills']; else echo round($row['Kills'] / $row['Deaths'],2); ?> <?php echo $row['Beds']; ?>

</body> </head>

配置

展开配置文件
# Version 2.3.0
  1. Prefix for every chat message

prefix: Bedwars

  1. Choose the shop type (villager, gui)

shop: Villager

  1. Set the max. game length in minutes

game-length-minutes: 60

  1. Control the debug-mode (Print everything in the console)

debug: false

  1. Control the villager shop

villager-shop: true

  1. Control the team chat

team-chat: true

  1. Control the usage of BungeeCord

bungeecord: false

  1. Set the fallback-server for BungeeCord

fallback: HUB

  1. The server motd (only bungeecord)

motd: '&a&lBedwars %name% &6%teams%&rx&6%teamsize% %state%&r'

  1. The reward for PointsAPI

reward:

   win: 200
   bedbreak: 50
   achievement: 100
  1. Your MySQL connection data to store data in a databse

sql:

   enable: false
   host: localhost
   user: username
   pass: password
   database: server_DB
   port: 3306

权限

权限 介绍 默认使用者
bw.play 允许游玩的权限 所有人
bw.vip 允许加入满人的房间 op
bw.hide 允许使用VIP-隐藏工具 op
bw.setup 允许设置和管理一个游戏 op
bw.cmd 允许在游戏里使用非bedwars的指令 op
bw.stats 允许查看你的统计 所有人
bw.stats.others 允许查看其他人的统计 op
bw.reload 允许使用/bw重启游戏 op

Commands

History Source Command Description /bw Information about the plugin /bw help Show all commands /bw add [Name] Add a game /bw setup (Game) Open the the setup menu /bw start [Game] Start a game /bw stop [Game] Stop a game /bw join [Game] Join a game /bw leave Leave a game /bw pos1 Set the first position /bw pos2 Set the second position /bw stats (Player) See your stats / the stats of a player /bw reload Reload the configuration /bw setjoin [Game] [Team] Create a new team joiner

Setup

History Source Step by Step: Set the protected-blocks and the game length in the config.yml Import a bedwars-map with a custom world plugin Remove item spawners and place normal villagers Remove all excisting beds Mark the game with /bw pos1 & /bw pos2 Create a game: /bw add name Set everything you want in the setup menu with /bw setup Create optional team joiners with /bw setjoin [game] [team] and look at an entity Set the sign: [bw] name Do you have problems? Type /bw setup to see, if your game is re

TO-DO

History Source 4 Teams instead of 2 Language system Disable crafting Add unbreakable blocks Item shop Itemspawner BungeeCord (kick on lose, restart on end, ...) More teams MySQL Website stats Bed can face into every direction Add a permission to start a game Spawn every 0,5 seconds 1 Bronze More items (Safety platform, Warp powder) Better shop-system Join teams with armor stands Add a "Confirm"-Button to remove a game Add replaceable blocks (gras, flowers, vines) Automatic map download and intigration