A plugin that allows players to buy custom messages that are broadcast at a configurable interval. These messages can be clicked on an teleport the player depending on what type the broadcast is.
Dependencies are plugins and/or software that need to be separately installed on your server.
Dependencies that are required for this plugin to run.
- PaperMC 1.17 (or greater)
- Java 16
Dependencies that are utilized by the plugin and add additional functionality, but are not required for the plugin to function.
- Vault: Vault allows for players to buy advertisements with in-game money.
- VotingPlugin: VotingPlugin allows for advertisements to cost vote points.
- PlayerWarps: Allows for players to have advertisements teleport players to their playerwarps.
- Towny 0.97 (or greater): Allows for players to have advertisements teleport other players to their town.
Download the plugin from the releases page and install in your plugins directory.
Players can buy shop advertisements with /shopad buy [message]
and provide a message to be displayed when their
advertisement is broadcast. This advertisement can either cost in-game money or vote points.
Players can also set their advertisement type. Depending on the plugins installed, the in-built types are "town" or "playerwarp". The advertisement type correlates to what will happen when a player clicks on a shop advertisement. For example, a type of "town" means that when other players click on the ad, they will be teleported to the town which the player that owns the ad belongs to.
There are other player commands available as well. All commands have permissions associated with them
(see the plugin.yml
for the permissions).
This project uses gradle. To build the project, execute ./gradlew shadowJar --rerun-tasks
in the project
directory.