PlayerAds
What is PlayerAds?
PlayerAds is a simple and lightweight plugin that allows players to buy premium ad spaces in the chat with in game money. An announcer will remind everyone of the player's message every now and then (see config file). To avoid excessive spam, PlayerAds sets up a queue and allows only a defined number of players to advertise their message at the same time.
How does it work? - Player commands
/placead [message] - Place an ad.
/queue - Check ad queue (player number 1's message is always the one that is being advertised).
/adprice - Check ad price and other useful information.
/readad [player] - Display the ad placed by a player.
/playerads - Display plugin information
How does it work? - Admin commands
/removead [player] - Remove the ad placed by a player.
/clearqueue - Clear entire ad queue (players who placed an ad will lose their place in the queue but can be refunded. See config file).
/stopads - Stop PlayerAds
/startads - Start PlayerAds
What about permissions? - Player permissions
/placead [message] - playerads.placead
/queue - playerads.queue
/adprice - playerads.adprice
/readad [player] - playerads.readad
/playerads - playerads.playerads
What about permissions? - Admin permissions
/removead [player] - playerads.removead
/clearqueue - playerads.clearqueue
/stopads - playerads.stopads
/startads - playerads.startads
What about dependencies?
PlayerAds depends on Vault
How do I install PlayerAds?
To install PlayerAds, drag bot the Vault.jar and PlayerAds.jar files to your server's "plugins" folder. Restart the server and edit the "config.yml" file found in the newly generated "PlayerAds" folder.
What about the config fie?
announcer-name - Announcer name.
timeout - Time interval between ads in seconds.
ad-number - Total number of times an ad is displayed.
colored-ads - Allow ad messages to contain color codes (e.g. &a, &b, ...)
refund - Refund players in queue if the queue is cleared or the server restarts / is reloaded. Does not apply to manually removed ads.
max-parallel-players - Maximum number of messages displayed simultaneously.
How do I contact the author?
You can discord me @Marcel_Ferrari :D
PlayerAds hosts!
Here is a list of servers that host PlayerAds!
Discord me your server's address and i will be sure to add it!