Billboards

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

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 (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:

DefaultPrice: 10 -> The default price a player has to pay for renting a sign.
DefaultDurationInDays: 7 -> All signs are by default rented for a week.

All messages are configurable and translateable.
This plugin requires Vault for the economy interaction.


Quick showcase of the first version:


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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of blablubbabc blablubbabc Aug 07, 2015 at 12:02 UTC - 0 likes

    @bigtuzi: Go

    Nope. I have no plans to support anything besides vault-supported economies.

  • Avatar of bigtuzi bigtuzi Aug 07, 2015 at 02:42 UTC - 0 likes

    Could you add PlayerPoint-API?I want use it with PlayerPoints,thanks

  • Avatar of blablubbabc blablubbabc Aug 02, 2015 at 20:20 UTC - 0 likes

    @QubeCraftMC: Go

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

    Last edited Aug 02, 2015 by blablubbabc
  • Avatar of QubeCraftMC QubeCraftMC Aug 02, 2015 at 19:53 UTC - 0 likes

    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?

  • Avatar of blablubbabc blablubbabc Jul 28, 2015 at 12:05 UTC - 0 likes

    @Wakakawa: Go

    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.

  • Avatar of Wakakawa Wakakawa Jul 28, 2015 at 11:37 UTC - 0 likes

    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 !

  • Avatar of chinafriend chinafriend Jul 26, 2015 at 20:40 UTC - 0 likes

    i hope add a reload command for reload the Billboards.

  • Avatar of blablubbabc blablubbabc Jul 26, 2015 at 17:00 UTC - 1 like

    v1.6

    • Changed: Moved SignChangeEvent handler to priority HIGH to give other plugins a better chance to modify the sign content before Billboards applies it to the Billboard sign.
    • Changed: Billboards is by default no longer ignoring other plugins preventing sign changes (like anti-swearing plugins).
    • Added: Setting 'BypassSignChangeBlocking' (default false), to forcefully bypass other plugins which cancel the SignChangeEvent.
  • Avatar of blablubbabc blablubbabc Jun 20, 2015 at 11:25 UTC - 1 like

    @frizzbee30: Go

    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.

  • Avatar of frizzbee30 frizzbee30 Jun 20, 2015 at 10:53 UTC - 0 likes

    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?

    KB Craft multiworld server
    Website http://kbcraftgaming.enjin.com/home
    Members blog site and file share
    http://kbcraftgaming.com
    Server 192.95.40.76 New players are always given a warm welcome!

Are you using ProtocolLib on your server?

  1. Choice:

  1. Results
  2. 0 comments

Facts

Date created
Aug 08, 2013
Categories
Last update
Jul 26, 2015
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
Billboards
Downloads
3,812
Recent files
  • R: 1.6 for 1.8.1 Jul 26, 2015
  • R: 1.5 for 1.8.1 Dec 14, 2014
  • R: 1.4 for 1.7.4 Feb 09, 2014
  • R: 1.3 for 1.7.4 Oct 08, 2013
  • R: 1.2 for 1.6.2 Aug 20, 2013

Authors

Relationships

Required dependency
Vault