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

Billboards

来自Minecraft插件百科
Qsefthuopq留言 | 贡献2018年10月13日 (六) 14:20的版本 (创建页面,内容为“{{Bukkit Plugin Infobox |插件名=Billboards |图标= |版本= |前置插件= |兼容服务端版本=1.6-1.13 |作者= |網址= [https://dev.bukkit.org/projects/...”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索
Billboards
外文名Billboards
插件类型Spigot / CraftBukkit
兼容服务端1.6-1.13
源地址http://dev.bukkit.org/bukkit-plugins/Billboards

介绍

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.

步骤

  • 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.

指令

/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)

权限

  • 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!




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. These disadvantages make the player signs currently impractical.

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

配置

config.yml

<spoiler> </spoiler>

lang.yml

<spoiler> </spoiler>

链接

Github源码
Github源码