ShopAds2

Description

New features coming

Version 2 Pre-Release

V0.83 has been released with an important update to task handling.

Download Here

ShopAds2 V0.83

  • Fix for interfering with other plugins' scheduled tasks
  • Moved version check to after startup
  • Fix for a possible concurrent transaction error when updating shops

ShopAds2 V0.82

  • Fix for teleporting after shops expire

ShopAds2 V0.81

  • Fix for error on deleting shops
  • Added aworld for adding a world to advertising (alias:aw)
  • Added rworld for removing world from advertising (alias:rw)
  • Fix for an error that can occur when creating a shop
  • Minor bug fixes

ShopAds2 V0.80

  • Addition of in-game config manipulation
  • Fix for player save error on reload/shutdown
  • Addition of configurable costs of changing shop settings
  • Addition of shop settings
  • Many many improvements and refinement

-NEW FEATURE - The plugin will now tell you when you log in if a new update is available.

Note: The new version requires Vault for complete compatibly.

Source is in the jar!

For those of you who love to help out, please add 'debug=true' to your config and leave feedback and error logs/reports in your ticket request.

Purpose

Have an economy plugin and use physical shop locations to do your servers trading? Tired of players complaining that these shops are too hard to find? ShopAds charges a creator an hourly rate for advertising a single line and a location to other players on the server. The other players can view all advertisements running and can tp to any of these (for a fee if set).

Of course, there are other uses for this plugin besides just advertising shops, Advertise any location!

The current version is 1.73 or the beta of ShopAds2

ShopAds2 Commands

/ad may be replaced with /ads at any time on any command

/ad c(reate) [shopname] [number of hours] [message...] - Advertisement Creation.

/ad c [shopname] [message] - Admins only - Neverending Advertisement.

[shopname] - This is what the tag for the message that others receive as well as the name to tp to.

[number of hours] - How long you want the ad to run.

[message] - Put the message you want other to see.

/ad set [shopname] [property] [value] - Changes shop settings.

Properties

  1. l(ocation)
  2. n(ame)
  3. ad(vetisement)
  4. w(orlds)
  5. shopcolor/sc
  6. adcolor/ac

Values

  1. NO VALUE
  2. eg:MyShop
  3. eg:This is my shop
  4. eg:Skyworld
  5. eg:blue
  6. eg:white

/ad del(ete) [shopname] - Deletes the specified shop if it exists for you.

/ad stats (player) - Lists all your ads and time left on them.

/ad rates - Shows the current rate for 1hr cycle.

/ad list - Lists all ads currently running.

/ad ? - Shows plugin help.

/ad - Shows plugin help.

/ad on - Turns receiving ads on per player.

/ad off - Denies incoming ads per player, this is the default when player is new.

/ad adel(ete) [shopname] - Deletes any ad for any player.

/ad reload - Reloads the ads and config.

/ad disable - Disables the plugin.

/shops - Display all current shops advertising

/shops -Lists all the shops that you can teleport to.

/shops [shopname] - Teleports to the shop requested.

Permission Nodes

  • ShopAds.Creator : For access to all creator commands
  • ShopAds.Creator.create : Allows creation of an ad
  • ShopAds.Creator.set.self : Allows changing of advertisement setting on shops you own
  • ShopAds.Creator.stats.self : Allows receiving statistical information on shops you own
  • ShopAds.Creator.delete.own : Allows the deletion of shops you own
  • ShopAds.Admin.set.other : Allows changing settings of advertisements owned by other players
  • ShopAds.Admin.stats.other : Allows receiving statistical information on shops owned by other players
  • ShopAds.Admin.delete.other : Allows the deletion of shops owned by other players
  • ShopAds.Admin : For access to all commands

Default Config

'shopsPerPlayer' - The maximum number of ads allowed to each player

'announceInterval' - The time in seconds between ad announcements [number(secs)]

'randomOrder' - Should the ads be in a random order [true/false]

'adcost' - The cost per hour of advertising [number(currency)]

'maxAdRunTime' - The longest time you want an ad to run for [number(hours)]

'sendToAll' - Whether to send to all players, disregarding their choice [true/false]

'tpCost' - Price to charge the player to teleport (0 for free)[number(currency)]

'tpCostDestination' - The destination of the money that is collected from tp [shop/server]

'transWorldAddition' - How much more to charge when tp to a shop in a different world (0 to disable)([number(currency)]

'announceRadius' - The distance in blocks that an advertisement will be heard (0 for unlimited)[number(blocks)]

'adsOverWorlds' - Controls whether ads are broadcasted over to other worlds [true/false]

'enableTp' - Allows or denies the tp of players to ad locations [true/false]

'tpTimeout' - The time in seconds until returning player to previous location (0 to disable)[number(seconds)]

'labelColor' - The color of both the label of ShopAds messages and shop messages. [color]

'messageColor' - The color of both the ShopAds messages and shop messages. [color]

'setLocationCost' - The cost to change the location of a shop [number(currency)]

'setWorldCost' - The cost to add a world to advertise a shop in [number(currency)]

'setShopColorCost' - The cost to change the display color of the shop label [number(currency)]

'setAdColorCost' - The cost to change the color of the ad [number(currency)]

'setNameCost' - The cost to change a shops name [number(currency)]

'setAdCost' - The cost to change an ad message of a shop [number(currency)]

Color:

Black

Dark Blue

Dark Green

Teal

Dark Red

Purple

Gold

Gray

Dark Gray

Blue

Bright Green

Aqua

Red

Light Purple

Yellow

White

Shop settings

shopsPerPlayer=1

adCost=20

maxAdRunTime=24

Announcement settings

announceRadius=0

announceInterval=240

sendToAll=true

randomOrder=false

adsOverWorlds=true

Teleport settings

enableTp=true

tpTimeout=60

Economy settings

tpCost=0

transWorldAddition=0

tpCostDestination=shop

setLocationCost=0

setWorldCost=0

setShopColorCost=0

setAdColorCost=0

setNameCost=0

setAdCost=0

Coloring

labelColor=Gold

messageColor=Gray

defaultShopColor=Gold

defaultAdColor=Gray

Video Tutorial

Coming soon?


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    31808
  • Created
    Sep 4, 2011
  • Last Released File
    Nov 9, 2011
  • Total Downloads
    12,920
  • License

Categories

Members

Recent Files

Bukkit