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.
Step by step walk-through:
- 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.
Commands:
/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)
Permissions:
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
Configuration:
default-price: 10 -> The default price a player has to pay for renting a sign.
default-duration-in-days: 7 -> All signs are by default rented for a week.
max-billboards-per-player: 1 -> The max number of signs a player can rent at the same time (-1 for no limit).
bypass-sign-change-blocking: true -> Whether we should bypass other plugins which attempt to prevent sign editing (eg. protection plugins, but this also applies to anti swearing plugins etc.).
All messages are configurable and translateable.
This plugin requires Vault for the economy interaction.
Quick showcase of the first version:
Spanish up-to-date tutorial (by Iba619GamerYT):
https://www.youtube.com/watch?v=aDvVtxGKAA8
I plan to keep this plugin very simple and lightweight, without any fancy extra features.
Source code is available and you have my permission to modify it in order to make a pull request or modify it for your own personal use for your server.
If you have feature requests or ideas, feel free to make a pull request (or find someone who can create a pull request for you), because I probably won't be very interested in new features, as long as I do not need them myself on my server where I run this plugin..
Also I would prefer any special or fancy features (for example if they rely on other plugins) implemented via an addon plugin instead of putting it right into this one. Feel free to make pull requests for api methods.
@NickCollapsed
You may present it there, but for the download I ask you to link them here. So don't upload the plugin there, thanks.
@blablubbabc
Well, in Chinese forum they didn't say it need to sneak.I think this problem may caused by it. So for it, I have a request that to carry your plugin to Chinese forum. Could I?
@NickCollapsed
It works fine for me on my MC 1.9 testing server. To edit the billboard-sign, you have to hold a sign in the main hand and sneak+right-click the billboard-sign.
@blablubbabc
He said that if players want to use the sign.The player must does it for so many times(about dozens of times) and then it changes.I don't know what happend. And I don't know if the crash report apear.
@NickCollapsed
What exactly is the problem? If there is a problem on Mc 1.8/1.9, then please let me know so I can fix it. Currently I am not aware of any issues.
Well.I think it's really good but now it has a little problem for Chinese people.I wanna make it better. If I can do it, I will first make it can be in 1.8&1.9.And I will also make it popular in Chinese forum MCBBS.Could you please accept my request?
@frizzbee30
Not right now, nope.
Any thoughts about hosting this on spigot to spread it's popularity?
I think this is an undervalued plugin, really simple, but with an amazingly useful feature. :)
@bigtuzi
Nope. I have no plans to support anything besides vault-supported economies.
Could you add PlayerPoint-API?I want use it with PlayerPoints,thanks
@QubeCraftMC
Maybe try setting 'BypassSignChangeBlocking' to true in the config. I added that setting in the previous update to allow anti-swearing plugins to cancel the applying of sign text. If that fixes it, then maybe you could provide me the list of plugins you are using? And also let me know if the affected sign is placed in some special region (like a world guard region or similar protected area).
Hey, really not sure what's wrong but for some reason non-OP'd players can't edit billboards, it used to work fine so I'm not sure if a new plugin or spigot update is causing this issue :/
Do you think you can see if a spigot update has caused this?
@Wakakawa
I have had all kinds of problems with cauldron already: it behaves very differently compared to craftbukkit/spigot. So this is clearly an issue with Cauldron, as it should behave the same as craftbukkit if it aims to properly implement the Bukkit API.
Also, as I have no clue about the actual internal differences (nor am I willing to spend my time investigating those myself, especially now as Cauldron has been discontinued), I really can't find out if I might even be able to fix those problems by modifying the plugin in some way.
However, the source code of Billboards is available: So if someone with knowledge about cauldron's internal differences knows what the issue is, and has a solution for it, he can contact me.
I use the cauldron-1.7.10-1.1291.01.0-server, I like this plugin but there are some problems in my server, I can create a billborad successfully and rent it, but when I hoding a sign and right click the billborad, I can't edit anything ! just place a new board in front of it. plz fix this bug and thx very much !
i hope add a reload command for reload the Billboards.
v1.6
@frizzbee30
I currently see no need for moving this over to the spigot forums, if it is already available here. Also I am not a big fan of the resource management over in the spigot forums, compared to the possibilities dbo offers regarding project hosting.
A note though: This plugins isn't updated to work with player uuids yet. Therefore if a player changes its name while owning a sign he might lose access to that sign currently.
Fantastic plugin..players been asking for this for over a year...but didn't know it was here! :D Any plans to port it over to the spigot forums as it works perfect on latest version?
@Liger_XT5
I cannot reproduce your problem, so you have to be more precise about what you are doing, what you expect to happen, and what is happening instead.
Best you create a ticket for that.
Note, that signs can go back into 'up-for-rent' state, if the rent-time is over.
I'm currently testing to figure out what has recently happened, but with the latest dev build of Towny, right clicking a "bought" sign, results to it being "Up for rent" and no refund of money. The thing is, it happens when you right click while sneaking with a sign.