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.
I got this plugin and i set up the billboard everything is fine and players can purchase but when they try to place a sign to edit the sign nothing happens I (who is a OP) can and they do have the appropriate permissions too.
@Iwitrag
I was able to reprocude this on my server once. I then restarted the server, and then everything worked like it should.
I looked over the code, which seems fine. So the only thing I can possible think of currently, is that it was somehow running twice. Have reloaded the Billboards plugin in the past, maybe even via a PluginManager plugin? Because I have, and I guess this somehow caused this..
I will do some more testing.
Edit: I wasn't yet able to reproduce this behavior again.. :-( if you find something out, let me know.
2.) as admin you can overwrite all signs..
3.) good idea, I will add this in the next version.
I have found three problems - tried versions 1.1 and 1.2
1. When I set billboard duration to 25 days+, it's buggy, cannot be rented or it will rent only for 5 days... 2. When somebody rent billboard, I still can place sign on it and overwrite his text O_o 3. When somebody rent billboard, there is still text "RENT ME click here"... (if he don't change it) I think it should change to "already rented" or something like that until owner doesn't change it.
Can you fix it?
It's awesome plugin :)
@KingLucifer
This sounds like the idea for another plugin.. Post a plugin request in the bukkit forums for this, maybe someone can help you out there.
can u make it so this can work with Chest shop plugins so i can make Rentable Shops? because that would be Sweet
Aaaand another update :) v1.2
@Jwoolley
Billboards will still work. It will bypass WorldGuard's protection.
However, unfortunly they still print the message. I will see if I can think of a possible solution for this without having to hook into each individual region protection plugin... because that's definitely not what I want to do...
I already have an idea for this and I will see if it works out..
Can you add WorldGuard support. I want to set up BillBoards in my spawn area, but it is protected with WorldGuard.
When players try to rent out a sign it says "You don't have permission for this area."
@Kaketoe
I thought about advertising of trade offers: players can let other player know what items they are selling or what items they are searching via these signs.
hey, what do u mean 'advertising something' XD
great plugin
This is a fantastic idea. Good work, will be testing out for sure.
v 1.1 Changes
@clovisdelmotte
Oh whoops. I first wrote the plugin for my german server and later translated it.. And I forgot to translate that..
Will be fixed in the next version.
Is this intentional? You use "tage" instead of days. So for example, duration: 7 tage.
@rasnyderiii
I guess it will be something like /billboard [price] [duration] to have true per sign settings, while still having the default settings.
Being able to have different sign costs (or per sign config) would be amazing ;)
you could just use commands like /billboard 1, /billboard 2, and the costs in config.
@clovisdelmotte
I have no problem with having to wait some days for a file being approved.
@MrInspector
Unless it's a development build, you can. And since all builds come from there, it should be allowed. For example, look at essentials, they have a link for other downloads, go to our website. Citizens 2 also has a link to their Dev Build where you can get versions that haven't been submitted or uploaded to Bukkit. Just depends how you format it. Putting: Download Unapprove plugin here is not allowed, but having a link to a download center with dev builds and such is okay.
@clovisdelmotte
You can't post links to unapproved files, I think.
Be patient! :)
Still not approved? You know you can put a link in the description with Dev Builds so people can download it off another site which is not dev.bukkit? Otherwise, really looking forward to this! Seems really cool.