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

“Billboards”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(创建页面,内容为“{{Bukkit Plugin Infobox |插件名=Billboards |图标= |版本= |前置插件= |兼容服务端版本=1.6-1.13 |作者= |網址= [https://dev.bukkit.org/projects/...”)
 
 
(未显示1个用户的2个中间版本)
第8行: 第8行:
 
|網址= [https://dev.bukkit.org/projects/billboards bukkit]
 
|網址= [https://dev.bukkit.org/projects/billboards bukkit]
 
}}
 
}}
[[Category:经济]]
+
'''Billboards'''是一款可以通过牌子出售物品的Bukkit插件。
[[Category:信息]]
 
={{mCColor|&2|介绍}}=
 
Billboards gives you the possibility to setup rentable signs. You could for example place a wall of those signs at your protected spawn region and players will be able to rent those signs and edit their text, even though they have no build permission there. That gives them a great possibility to, for example, advertise their goods at a place where many players come along frequently.
 
={{mCColor|&1|步骤}}=
 
* An admin places some signs, for example near the spawn.
 
* He then targets each of those signs (looking at them) and makes them rentable via /billboards [<price> <duration>].
 
* A player comes along and wants to rent one of those signs to, for example, advertise his goods and special deals.
 
* He clicks an available sign, and clicks it again to confirm to rent it for a configurable duration and for a configurable amount of money.
 
* He can then edit his sign by temporarly placing another sign on front of it (sneak+right click on the sign with a sign in hand). This should bypass all protections of other plugins, so that he is not blocked from editing his sign.
 
* He writes his text and when he is done the temporarly placed sign gets removed and the billboard sign behind it adapts the text.
 
* The sign will automatically be reset and made available for others to rent after the setup time (in the config or via the command).
 
* When a rentable sign is right-clicked with anything else but a sign, it shows information about the remaining time and the owner.
 
* An admin can remove those signs again by crouching and breaking it.
 
={{mCColor|&8|指令}}=
 
/billboard [<price> <duration>] [creator] - let's you define/create billboard signs (rentable signs), optionally with custom price and duration in days, and a creator playername (for admins to create player signs for themself or other players)
 
={{mCColor|&4|权限}}=
 
* billboards.admin - Can add new billboard signs, and can remove them again. default: op
 
* billboards.rent - Can rent billboard signs and edit those. default: true
 
* billboards.create - Can create player billboard signs. default: false This is experimental. Read about the current flaws below!
 
  
 +
== 介绍 ==
 +
Billboards 可以让你用牌子来出售物品。你可以在你的保护区内放置广告牌来让玩家租赁这些牌子并编辑信息而无需建筑权限。
  
----
+
== 步骤 ==
 +
* 管理员在一个地方放一些牌子,比如主城。
 +
* 然后管理员需要看着这些牌子并输入/billboards [<价格> <持续时间>]来使牌子变为广告牌。
 +
* 玩家看到了广告牌并租赁广告牌来做一些事, 比如给自己的商店打广告或寻求交易。
 +
* 玩家点击广告牌, 然后再次点击来确定租赁所需价格和广告牌持续时间。
 +
* 玩家就可以通过手持牌子来右键广告牌编辑内容 (潜行+右击广告牌)。这会忽略所有其他保护插件的保护来让玩家可以编辑广告牌。
 +
* 玩家在牌子内输入内容然而广告牌就会显示这些内容。
 +
* 广告牌到期后会自动重置并可以再次租赁(通过指令查看配置)。
 +
* 当玩家不是手持牌子右击可租赁的广告牌时,会显示广告牌的持续时间和广告主。
 +
* 管理员可以潜行来破坏任何广告牌。
  
 +
== 指令 ==
 +
* /billboard [<价格> <持续时间>] [创建者] - 可以让你创建广告牌, 可选自定义价格、持续天数和创建者。
  
The player signs are experimental.
+
== 权限 ==
The plugin has no sign protection built-in yet (signs can be broken, if they are not in some sort of protected region (this can also be abused by players selling signs in their land and breaking them afterwards)) and players (with the billboards.create permission) can currently transform ANY sign EVERYWHERE to a player-billboard-sign.  
+
* billboards.admin - 可以让管理员创建和移除广告牌  默认管理员拥有
These disadvantages make the player signs currently impractical.
+
* billboards.rent - 可以租赁和编辑广告牌 默认所有玩家拥有
 +
* billboards.create - 可以创建玩家广告牌. 默认无权限.这一权限还在测试中.请查看以下缺点!
  
Things that have to be added in the future in order for the player signs to properly work:
+
玩家广告牌还在测试中,插件目前还没有牌子保护系统(如果没有其他插件保护的话广告牌会被轻易地破坏掉)拥有这个权限的玩家可以改变任何广告牌,所以不建议给玩家这个权限。
  
* sign protection
+
插件未来目标:
* player sign creation only at places where the players has build permission
+
 
={{mCColor|&b|配置}}=
+
* 牌子保护
=={{mCColor|&b|config.yml}}==
+
* 只有拥有建筑权限的玩家可以创建玩家广告牌
 +
 
 +
== 配置 ==
 +
=== config.yml ===
 +
default-price: 10
 +
default-duration-in-days: 7
 +
max-billboards-per-player: -1
 +
bypass-sign-change-blocking: false
 +
# 默认租赁价格
 +
# 默认持续天数
 +
# 玩家可拥有的广告牌上限
 +
 
 +
=== message.yml ===
 
<spoiler>
 
<spoiler>
 +
UNKNOWN_NAME:
 +
  Text: 无名氏
 +
  Notes: 用来代表未知玩家名
 +
UNKNOWN_UUID:
 +
  Text: '-'
 +
  Notes: 用来代表无效的UUID
 +
SERVER_OWNER_NAME:
 +
  Text: 服务器
 +
  Notes: 用来代表属于服务器的广告牌
 +
YOU_HAVE_TO_SNEAK:
 +
  Text: '&7你必须潜行才能移除广告牌.'
 +
SIGN_REMOVED:
 +
  Text: '&a已移除广告牌.'
 +
ADDED_SIGN:
 +
  Text: '&a广告牌信息: 属于 &7{2} &a  需 &b{0} $ &a 持续 &b{1} 天&a.'
 +
  Notes: '0: 价格  1: 持续天数  2: 广告牌创建者名称  3: 广告牌创建者UUID'
 +
ALREADY_BILLBOARD_SIGN:
 +
  Text: '&7这个牌子已经是广告牌了.'
 +
NO_TARGETED_SIGN:
 +
  Text: '&7你必须面对一个牌子.'
 +
ONLY_AS_PLAYER:
 +
  Text: 这只能由玩家执行.
 +
INFO_HEADER:
 +
  Text: '&3广告牌 - 信息'
 +
INFO_CREATOR:
 +
  Text: '&5创建者: &2{0}'
 +
  Notes: '0: 创建者名称  1: 创建者 uuid'
 +
INFO_OWNER:
 +
  Text: '&5所有者: &2{0}'
 +
  Notes: '0: 所有者名称  1: 所有者 uuid'
 +
INFO_PRICE:
 +
  Text: '&5价格: &2{0} $'
 +
  Notes: '0: 价格'
 +
INFO_DURATION:
 +
  Text: '&5持续天数: &2{0} 天'
 +
  Notes: '0: 持续天数'
 +
INFO_RENT_SINCE:
 +
  Text: '&5从: &2{0}'
 +
  Notes: '0: 开始日期'
 +
INFO_RENT_UNTIL:
 +
  Text: '&5到: &2{0}'
 +
  Notes: '0: 结束日期'
 +
INFO_TIME_LEFT:
 +
  Text: '&5剩余天数: &2{0}'
 +
  Notes: '0: 剩余时间'
 +
CLICK_TO_RENT:
 +
  Text: '&6再次点击牌子,来租赁 &7{2} 的&6 价格为 &b{0} $ &6持续 &b{1} 天的广告牌&6.'
 +
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid'
 +
YOU_HAVE_RENT_A_SIGN:
 +
  Text: "&a你成功地租赁了这块广告牌,从 &7{2} &a到 &b{1} 天&a. \n&b编辑牌子\
 +
    \  &a潜行并手持牌子右击."
 +
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid  4: 广告牌所有者  5:
 +
    广告牌所有者uuid'
 +
TRANSACTION_FAILURE:
 +
  Text: '&c出错了: &6{0}'
 +
  Notes: '0: 错误消息'
 +
NO_LONGER_AVAILABLE:
 +
  Text: '&c这个牌子不再是广告牌了!'
 +
NOT_ENOUGH_MONEY:
 +
  Text: "&c你的钱不够! \n你需要 &6{0} $&c, 但你只有 &6{1}\
 +
    \ $&c!"
 +
  Notes: '0: 价格 1: 玩家金钱'
 +
MAX_RENT_LIMIT_REACHED:
 +
  Text: '&c你拥有太多广告牌了 &7(上限: &6{0}&7)&c!'
 +
  Notes: '0: 限制'
 +
CANT_RENT_OWN_SIGN:
 +
  Text: '&c你不能租你自己的广告牌.'
 +
NO_PERMISSION:
 +
  Text: '&c你没有权限.'
 +
PLAYER_NOT_FOUND:
 +
  Text: '&c找不到玩家 &6{0}'
 +
  Notes: '0: 玩家名'
 +
SIGN_LINE_1:
 +
  Text: '&bRENT ME'
 +
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid'
 +
SIGN_LINE_2:
 +
  Text: '&f(right-click!)'
 +
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid'
 +
SIGN_LINE_3:
 +
  Text: '&8{0} $'
 +
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid'
 +
SIGN_LINE_4:
 +
  Text: '&8{1} days'
 +
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid'
 +
DATE_FORMAT:
 +
  Text: dd/MM/yyyy HH:mm:ss
 +
  Notes: 日期格式
 +
TIME_REMAINING_FORMAT:
 +
  Text: '%d 天 %d 时 %d 分'
 +
  Notes: 时间格式
 +
INVALID_NUMBER:
 +
  Text: '&c无效数字: &6{0}'
 +
  Notes: '0: 无效参数'
 +
RENT_SIGN_LINE_1:
 +
  Text: '&aRent by'
 +
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid  4: 广告牌所有者  5:
 +
    广告牌所有者uuid'
 +
RENT_SIGN_LINE_2:
 +
  Text: '&f{4}'
 +
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid  4: 广告牌所有者  5:
 +
    广告牌所有者uuid'
 +
RENT_SIGN_LINE_3:
 +
  Text: '&c潜行 & 右击-'
 +
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid  4: 广告牌所有者  5:
 +
    广告牌所有者uuid'
 +
RENT_SIGN_LINE_4:
 +
  Text: '&c点击一个牌子'
 +
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid  4: 广告牌所有者  5:
 +
    广告牌所有者uuid'
 +
 
</spoiler>
 
</spoiler>
=={{mCColor|&b|lang.yml}}==
+
 
<spoiler>
+
[[Category:经济]][[Category:信息]]
</spoiler>
 
={{mCColor|&9|链接}}=
 
[[image:Github2.png|250px|center|link=链接|Github源码]]
 

2021年6月3日 (四) 13:19的最新版本

Billboards
外文名Billboards
插件类型Spigot / CraftBukkit
兼容服务端1.6-1.13
源地址http://dev.bukkit.org/bukkit-plugins/Billboards

Billboards是一款可以通过牌子出售物品的Bukkit插件。

介绍

Billboards 可以让你用牌子来出售物品。你可以在你的保护区内放置广告牌来让玩家租赁这些牌子并编辑信息而无需建筑权限。

步骤

  • 管理员在一个地方放一些牌子,比如主城。
  • 然后管理员需要看着这些牌子并输入/billboards [<价格> <持续时间>]来使牌子变为广告牌。
  • 玩家看到了广告牌并租赁广告牌来做一些事, 比如给自己的商店打广告或寻求交易。
  • 玩家点击广告牌, 然后再次点击来确定租赁所需价格和广告牌持续时间。
  • 玩家就可以通过手持牌子来右键广告牌编辑内容 (潜行+右击广告牌)。这会忽略所有其他保护插件的保护来让玩家可以编辑广告牌。
  • 玩家在牌子内输入内容然而广告牌就会显示这些内容。
  • 广告牌到期后会自动重置并可以再次租赁(通过指令查看配置)。
  • 当玩家不是手持牌子右击可租赁的广告牌时,会显示广告牌的持续时间和广告主。
  • 管理员可以潜行来破坏任何广告牌。

指令

  • /billboard [<价格> <持续时间>] [创建者] - 可以让你创建广告牌, 可选自定义价格、持续天数和创建者。

权限

  • billboards.admin - 可以让管理员创建和移除广告牌 默认管理员拥有
  • billboards.rent - 可以租赁和编辑广告牌 默认所有玩家拥有
  • billboards.create - 可以创建玩家广告牌. 默认无权限.这一权限还在测试中.请查看以下缺点!

玩家广告牌还在测试中,插件目前还没有牌子保护系统(如果没有其他插件保护的话广告牌会被轻易地破坏掉)拥有这个权限的玩家可以改变任何广告牌,所以不建议给玩家这个权限。

插件未来目标:

  • 牌子保护
  • 只有拥有建筑权限的玩家可以创建玩家广告牌

配置

config.yml

default-price: 10
default-duration-in-days: 7
max-billboards-per-player: -1
bypass-sign-change-blocking: false
  1. 默认租赁价格
  2. 默认持续天数
  3. 玩家可拥有的广告牌上限

message.yml

UNKNOWN_NAME:
  Text: 无名氏
  Notes: 用来代表未知玩家名
UNKNOWN_UUID:
  Text: '-'
  Notes: 用来代表无效的UUID
SERVER_OWNER_NAME:
  Text: 服务器
  Notes: 用来代表属于服务器的广告牌
YOU_HAVE_TO_SNEAK:
  Text: '&7你必须潜行才能移除广告牌.'
SIGN_REMOVED:
  Text: '&a已移除广告牌.'
ADDED_SIGN:
  Text: '&a广告牌信息: 属于 &7{2} &a  需 &b{0} $ &a 持续 &b{1} 天&a.'
  Notes: '0: 价格  1: 持续天数  2: 广告牌创建者名称  3: 广告牌创建者UUID'
ALREADY_BILLBOARD_SIGN:
  Text: '&7这个牌子已经是广告牌了.'
NO_TARGETED_SIGN:
  Text: '&7你必须面对一个牌子.'
ONLY_AS_PLAYER:
  Text: 这只能由玩家执行.
INFO_HEADER:
  Text: '&3广告牌 - 信息'
INFO_CREATOR:
  Text: '&5创建者: &2{0}'
  Notes: '0: 创建者名称  1: 创建者 uuid'
INFO_OWNER:
  Text: '&5所有者: &2{0}'
  Notes: '0: 所有者名称  1: 所有者 uuid'
INFO_PRICE:
  Text: '&5价格: &2{0} $'
  Notes: '0: 价格'
INFO_DURATION:
  Text: '&5持续天数: &2{0} 天'
  Notes: '0: 持续天数'
INFO_RENT_SINCE:
  Text: '&5从: &2{0}'
  Notes: '0: 开始日期'
INFO_RENT_UNTIL:
  Text: '&5到: &2{0}'
  Notes: '0: 结束日期'
INFO_TIME_LEFT:
  Text: '&5剩余天数: &2{0}'
  Notes: '0: 剩余时间'
CLICK_TO_RENT:
  Text: '&6再次点击牌子,来租赁 &7{2} 的&6 价格为 &b{0} $ &6持续 &b{1} 天的广告牌&6.'
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid'
YOU_HAVE_RENT_A_SIGN:
  Text: "&a你成功地租赁了这块广告牌,从 &7{2} &a到 &b{1} 天&a. \n&b编辑牌子\
    \  &a潜行并手持牌子右击."
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid  4: 广告牌所有者  5:
    广告牌所有者uuid'
TRANSACTION_FAILURE:
  Text: '&c出错了: &6{0}'
  Notes: '0: 错误消息'
NO_LONGER_AVAILABLE:
  Text: '&c这个牌子不再是广告牌了!'
NOT_ENOUGH_MONEY:
  Text: "&c你的钱不够! \n你需要 &6{0} $&c, 但你只有 &6{1}\
    \ $&c!"
  Notes: '0: 价格 1: 玩家金钱'
MAX_RENT_LIMIT_REACHED:
  Text: '&c你拥有太多广告牌了 &7(上限: &6{0}&7)&c!'
  Notes: '0: 限制'
CANT_RENT_OWN_SIGN:
  Text: '&c你不能租你自己的广告牌.'
NO_PERMISSION:
  Text: '&c你没有权限.'
PLAYER_NOT_FOUND:
  Text: '&c找不到玩家 &6{0}'
  Notes: '0: 玩家名'
SIGN_LINE_1:
  Text: '&bRENT ME'
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid'
SIGN_LINE_2:
  Text: '&f(right-click!)'
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid'
SIGN_LINE_3:
  Text: '&8{0} $'
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid'
SIGN_LINE_4:
  Text: '&8{1} days'
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid'
DATE_FORMAT:
  Text: dd/MM/yyyy HH:mm:ss
  Notes: 日期格式
TIME_REMAINING_FORMAT:
  Text: '%d 天 %d 时 %d 分'
  Notes: 时间格式
INVALID_NUMBER:
  Text: '&c无效数字: &6{0}'
  Notes: '0: 无效参数'
RENT_SIGN_LINE_1:
  Text: '&aRent by'
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid  4: 广告牌所有者  5:
    广告牌所有者uuid'
RENT_SIGN_LINE_2:
  Text: '&f{4}'
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid  4: 广告牌所有者  5:
    广告牌所有者uuid'
RENT_SIGN_LINE_3:
  Text: '&c潜行 & 右击-'
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid  4: 广告牌所有者  5:
    广告牌所有者uuid'
RENT_SIGN_LINE_4:
  Text: '&c点击一个牌子'
  Notes: '0: 价格 1: 持续天数  2: 广告牌创建者  3: 广告牌创建者 uuid  4: 广告牌所有者  5:
    广告牌所有者uuid'