
Pushball
在你的服务器上玩一场足球!只需在命令中输入一个方块类型,哇哦,你就有了一个足球!走到球旁边即可推动它。将球推上坡并让它从另一侧滚下,将其推向两格高的墙壁并观看其反弹。
功能
- 经济系统支持
- 权限支持
- 轻松创建和销毁推球
- 将推球推上坡
- 让它们从另一侧滚落
- 球会反弹自两格高的墙壁,以确保它们不会卡在角落
- 只需破坏方块即可移除推球
- 轻松为你的玩家创建自动化竞技场
- 在下面请求新功能!
命令
/pb、/pball 和 /pushball 均可用于以下命令
/pb create <name> - 将你注视的方块变为推球
/pb createArena <name> - 使用你当前的选择区域创建一个竞技场
/pb delete - 删除你注视的推球
/pb delete <name> - 按名称删除推球
/pb deleteAll - 删除所有推球
/pb deleteArena <name> - 删除指定名称的竞技场
/pb set <goal1:goal2:ball:ballspawn> <arena> - 设置竞技场的属性
/pb wand - 给予你选择法杖
/pb select <1:2>
/pb start <arena> - 开始指定竞技场中的游戏
/pb stop <arena> - 停止指定竞技场中的游戏
/pb time <arena> - 显示指定竞技场中剩余的时间
/pb list <balls:arenas> - 列出当前所有的推球或竞技场
/pb help - 显示帮助信息
/pb info <name> - 显示指定玩家的信息
/pb info - 显示你自己的信息
如何创建竞技场
创建竞技场非常简单,以下是步骤:
1. 选择区域
要使用左键和右键进行选择,你需要一根法杖。默认情况下,法杖是一根木棍,你可以从创造模式的物品栏中获得,或者通过命令 /pb wand 获取。法杖使用的物品可以在配置文件中更改。如果你不想用法杖,可以注视想要选择的方块并输入 /pb select <1:2>。这里的 1 和 2 代表两个点,因此你可以使用 /pb select 1 来选择第一个点。
2. 创建竞技场
一旦选定了竞技场的区域,你就需要创建它。注意,竞技场的选择范围会自动从地图底部延伸到顶部。要创建竞技场,只需使用命令 /pb createArena <name>。你选择的名称将几乎用于所有与竞技场相关的命令,因此请选择一个好名字。就这样!你现在已经创建了竞技场。
3. 设置球门、重生点和球
你现在有了一个竞技场,太棒了!但如果没有球门和每次得分后球返回的地方,你就无法在上面进行游戏。要设置球门,只需使用方法(如第 1 点所述)选择球门。注意,球门的范围不会自动从世界底部延伸到顶部,因此你可以充分发挥创意(例如,制作不同层级的球门,而不是仅仅做一个默认的足球场)。要设置球门,只需使用命令 /pb set <goal1:goal2> <arena>。你可以用它来同时设置 goal1 和 goal2!
现在要设置球的重生点,只需站在你想要球生成的位置,并使用命令 /pb set ballspawn <arena>。这将设定球的生成位置。
要为游戏设置球,你可以注视推球并输入 /pb set ball。注意,这是可选的,仅推荐在你希望使用非默认白色羊毛(若未设置球,则默认生成白色羊毛作为球)时使用。
4. 开始你的比赛
你现在已经创建了一个竞技场!但你如何在里面玩游戏呢?只需使用命令 /pb start <arena> 即可开始比赛。然后输入 /pb join <arena> 加入比赛,你将被添加到游戏中。你也可以通过使用 /pb stop <arena> 停止游戏,或使用 /pb time <arena> 检查比赛中剩余的时间。
权限
重要提示!请勿在权限中添加冒号 ":"。例如,下面有一个权限 pushball.create.ball,其中包含冒号是为了指示查看该权限的详细信息。因此,对于示例,你不应该使用 "pushball.create.ball:",而应使用 "pushball.create.ball"
pushball.*:
description: Gives access to all pushball commands
children:
pushball.delete.all: true
pushball.delete.own: true
pushball.ride: true
pushball.create.ball: true
pushball.create.arena: true
pushball.list: true
pushball.info.own: true
pushball.info.other: true
pushball.paybypass: true
pushball.delete.*:
description: Gives access to all pushball delete commands
children:
pushball.delete.all: true
pushball.delete.own: true
pushball.delete.arena.own: true
pushball.delete.arena.all: true
pushball.set.*:
description: 允许使用所有设置命令
children:
pushball.set.goals: true
pushball.set.ball: true
pushball.set.ballspawn: true
pushball.info.*:
description: 提供所有推球信息命令的访问权限
children:
pushball.info.own: true
pushball.info.other: true
pushball.create.*:
description: 提供所有推球 Create 命令的访问权限
children:
pushball.create.ball: true
pushball.create.arena: true
pushball.create.ball:
description: 允许你制作一个弹球。
default: true
pushball.wand:
description: 允许你使用 /pb wand 获得法杖
default: op
pushball.join:
description: 允许你加入推球比赛
默认值: true
pushball.start:
description: 允许你手动开始一场对战
default: op
pushball.stop:
description: 允许你停止一场比赛
default: op
pushball.time:
description: 允许 你 查看 比赛 剩余 时间
default: true
pushball.set.ballspawn:
描述: 允许你为竞技场设置球生成点
默认值: op(管理员)
pushball.set.ball:
description: 允许你为竞技场设置球
default: op
pushball.set.goal:
description: 允许 你 为 竞技场 设置 目标
default: op
pushball.select:
description: 允许 你 设置 一个 选择
default: op
pushball.create.arena:
description: 允许你创建一个推球竞技场
default: op
pushball.ride:
描述: 允许 你 骑在 推球上 - 目前由于无法骑行推球而失效
默认值: true
pushball.delete.arena.own:
description: 允许你使用命令 /pb deleteArena <name> 删除你自己创建的竞技场。
default: op
pushball.delete.arena.all:
description: 允许你使用命令 /pb deleteArena <name> 删除所有竞技场
default: op
pushball.delete.all:
description: 允许你使用命令 /pb deleteAll 删除所有推送球
default: op
pushball.delete.own:
description: 允许你删除自己创建的推球
default: true
pushball.list:
description: 允许你查看所有推球名称
default: true
pushball.help:
description: 显示 pushball 帮助
default: true
pushball.paybypass:
description: 允许玩家无需付费即可创建推球
default: op
pushball.info.own:
description: 允许你展示你自己的信息
default: true
pushball.info.other:
description: 允许你查看其他玩家的信息
默认值: true
插件指标

如果您不希望参与此活动,只需将插件 metrics 配置文件中的 opt-out: false 改为 opt-out: true 即可。
支持 Pushball
将以下代码复制到您的签名中,帮助 Pushball 成长!
适用于 BukkitDev 签名的代码:
[[
用于 Bukkit 论坛签名档的代码:
[URL='http://dev.bukkit.org/server-mods/pushball/'][IMG][/IMG][/URL]
上述代码将在你的签名档中添加以下图片/链接。

捐赠 ===
捐赠能帮我腾出时间来更新这个插件!虽然并非必须,但您的捐赠将备受感激!如果您愿意支持我,可以在页面右上角找到捐赠按钮。
在下方发布任何错误/建议!
注意!首次运行插件时会出现错误

Pushball
play a game of soccer on your server! just place a block type in a command and wollah you have a soccer ball! just walk up to the ball to push it. Push balls up hills and let them roll down the other side, push them into a 2 high wall and watch them bounce off of it
Features
- Economy Support
- Permissions Support
- Easily create and destroy push balls
- push blocks up hills
- let them roll down the other side
- balls bounce off 2 high walls to ensure they don't get stuck in corners
- simply destroy the block to get rid of pushball
- easily create automated arenas for your players to play in
- request features below!
Commands
/pb, /pball and /pushball can all be used for the commands below
/pb create <name> - makes the block you are looking at a pushball
/pb createArena <name> - creates an arena using your current selection
/pb delete - deletes the pushball you are looking at
/pb delete <name> - deletes the pushball by its name
/pb deleteAll - deletes All pushballs
/pb deleteArena <name> - deletes the named arena
/pb set <goal1:goal2:ball:ballspawn> <arena> - sets an attribute of an arena
/pb wand - gives you the selection wand
/pb select <1:2>
/pb start <arena> - starts the game in the named arena
/pb stop <arena> - stops the game in the named arena
/pb time <arena> - tells you the time left in the named arena
/pb list <balls:arenas> - lists all the current pushballs or arenas
/pb help - displays help
/pb info <name> - shows the info of the named player
/pb info - shows your info
How to Create An Arena
Its easy to create an arena below are the steps to do so
1. Selection
To select a selection using left and right clicking you need a wand. By default the wand is a stick which you can get from your creative inventory or you can get the wand by using the command /pb wand. The item used for the wand can be changed in the config. If you dont want to use the wand you can look at the block you want to select and type /pb select <1:2>. the 1 and 2 are the points so you can use /pb select 1 to select point 1.
2. Creating the Arena
Once you have selected the area for the arena you have to create it. Note, the selection of the arena automatically spans from the bottom of the map to the top. To create the arena simply use the command /pb createArena <name>. The name that you select will be used for almost all arena related commands so pick a good one. Thats it! you have now created the arena.
3. Setting the Goal, Ballspawn and Ball
You now have an arena, great! but you cant play on it without goals and a place for the ball to return to each time you score. To set the goals you simply select the goals using the technique stated in point 1. Note, the goals do not span from bottom to top of the world so go crazy with your arenas (maybe make the goals on different levels that you have to get them to instead of making just a default soccer field). To set the goals simply use the command /pb set <goal1:goal2> <arena>. You can use this to set goal1 and goal2!
Now to set the ballspawn simply stand where you want the ball to spawn and use the command /pb set ballspawn <arena>. This will set where the ball will spawn.
To set the ball for the game you can look at the pushball and type /pb set ball. Note, this is optional and is only recommended if you want a ball other than the default white wool that will be spawned if a ball is not set.
4. Start your match
You have now created an arena! But how do i play in it. Just use the command /pb start <arena> and it will start the match. Then to join the match type /pb join <arena> and you will be added the the game. You can also stop the game by using /pb stop <arena> or check how much time is left in a match by using /pb time <arena>.
Permissions
Important! Do not add the colons ":" to the permissions. for example below there is a permission that is pushball.create.ball with a colon to indicate going onto the info for that permission. so for the example you wouldnt do "pushball.create.ball:" but instead "pushball.create.ball"
pushball.*:
description: Gives access to all pushball commands
children:
pushball.delete.all: true
pushball.delete.own: true
pushball.ride: true
pushball.create.ball: true
pushball.create.arena: true
pushball.list: true
pushball.info.own: true
pushball.info.other: true
pushball.paybypass: true
pushball.delete.*:
description: Gives access to all pushball delete commands
children:
pushball.delete.all: true
pushball.delete.own: true
pushball.delete.arena.own: true
pushball.delete.arena.all: true
pushball.set.*:
description: Gives access to all set commands
children:
pushball.set.goals: true
pushball.set.ball: true
pushball.set.ballspawn: true
pushball.info.*:
description: Gives access to all pushball info commands
children:
pushball.info.own: true
pushball.info.other: true
pushball.create.*:
description: Gives access to all pushball create commands
children:
pushball.create.ball: true
pushball.create.arena: true
pushball.create.ball:
description: Allows you to create a pushball
default: true
pushball.wand:
description: Allows you to obtain a wand using /pb wand
default: op
pushball.join:
description: Allows you to join a pushball match
default: true
pushball.start:
description: Allows you to manually start a match
default: op
pushball.stop:
description: Allows you to stop a match
default: op
pushball.time:
description: Allows you to see how much time is left on a match
default: true
pushball.set.ballspawn:
description: Allows you to set the ballspawn for an arena
default: op
pushball.set.ball:
description: Allows you to set the ball for an arena
default: op
pushball.set.goal:
description: Allows you to set the goals for an arena
default: op
pushball.select:
description: Allows you to set a selection
default: op
pushball.create.arena:
description: Allows you to create a pushball arena
default: op
pushball.ride:
description: Allows you to ride on pushballs - Currently obsolete because riding pushballs not working
default: true
pushball.delete.arena.own:
description: Allows you to delete arenas you made using command /pb deleteArena <name>
default: op
pushball.delete.arena.all:
description: Allows you to delete all arenas using command /pb deleteArena <name>
default: op
pushball.delete.all:
description: Allows you to delete all pushballs using command /pb deleteAll
default: op
pushball.delete.own:
description: Allows you delete a pushball you have created
default: true
pushball.list:
description: Allows you to view all pushballs names
default: true
pushball.help:
description: displays pushball help
default: true
pushball.paybypass:
description: Allows players to create pushballs without paying
default: op
pushball.info.own:
description: Allows you show your own info
default: true
pushball.info.other:
description: Allows you to show another player's info
default: true
Plugin Metrics

if you would not like to be involved in this simply change the value opt-out: false in the plugin metrics config to opt-out: true
Support Pushball
copy the code below into your signature and help pushball grow!
For BukkitDev Sigs:
[[http://dev.bukkit.org/server-mods/pushball/|{{|Pushball}}]]
For Bukkit Forums Sigs:
[URL='http://dev.bukkit.org/server-mods/pushball/'][IMG][/IMG][/URL]
The code above will add the following image/link to your signature.

Donate ===
Donating helps me find time to update this plugin! although not necessary donating is greatly appreciated! a donate button can be found in the top right of the page if you would like to help me out!
Post any errors/suggestions below!
Note! you will get an error first time you run the plugin
评论 0
登录后参与评分
还没有评论,来抢沙发吧