Simple Advertising | Survival must-have 29.4.20

Advertising in game, for everything you'd like. Lightweight, Points, GUI, Titles, Sounds and more.

  1. StereoN
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    Source Code:
    https://github.com/Moshulika/Simple-Advertising
    Contributors:
    MosLaDatorie
    Languages Supported:
    All the messages are customisable.
    [​IMG]
    • Full Customization everything can be within your tastes
    • Vault, EssentialsX, and PlaceholderAPI support. The first 2 are mandatory because the plugin relies on the economy.
    • 1.15.2 ready, no need to change things. This plugin was made with compatibility in mind.
    • Points. You have advertising points, with UUID support, and a cool API to go with it. Give, take, set, and look after a player's points with easy commands and beautiful titles.
      • These could be given through the API included, or through the amazing commands
      • They can be given from player to player.
      • UUID
      • Sadly, stored in a .yml file, soon in MySQL or SQL. But this means that you could easily edit someone's points without commands.
      • You will have an option to disable and enable this feature or, use both economy or points, on the player's choice.
    • Own logs help in tracking nasty ads and abuse.
    • You can set a price per /ad.
      • You can either choose to pay with Essentials money.
      • Or you can choose to pay with points.
    • You can set cooldowns
      • You can set a cooldown for the command in seconds
    • Color Code support, so you can set the ad's color to match your taste
    • Lightweight. I work constantly to reduce excess code and to make everything as efficient as possible
    • Reload - You can reload your config with a simple command.
    • Broadcast - If you want to make a more "official" ad, I've got your back, with smart broadcasting which is title-based if your message is under 42 characters, and chat-based if it's over that.
    • Join / Quit messages for the players to see if the player who posted the ad left or just re-logged
      • This option can be turned off in the config
    • Private messaging, for the advertiser, to speak privately with his buyers or players interested in what he posted.
    • Auto Broadcaster, send messages to all players online in style
      • Chat Messages (PlaceholderAPI support)
      • Titles (PlaceholderAPI support)
      • Configurable intervals
      • Unlimited possible messages
    • Nice GUI, to easily send ads with just a click, and continue sending the ad in the chat, it cannot get easier than this.
    • Titles have configurable stay, fade-in, and fade-out, just to be perfect
    • TabCompleter so that you don't have to worry about typing all the commands by yourself
    • Everything is toggleable, if you don't want something to be available to the players, you can just turn it off in the config, and reload the plugin.
    • Friendly developer, always ready to answer questions and squash bugs
    • Open-Source, you can snoop on the code, and if you understand potato language, you can solve some of your problems, but it would be nice of you if you didn't copy everything, the source is there for you to learn from it, not to spoonfeed you. GitHub
    • Constant updates, in the summer at least.
    • Debug function - if you encounter any problems with the plugin, send me a message with your problem and a screenshot of the debug messages
    • Nice developer API, that can be used to use SimpleAdvertising's methods in your own plugin. Available on GitHub.
    • Many more to come.. (Look below)
    [​IMG]
    Upcoming features:
    • JSON formatting for ads, auto-messages and more
    • MySQL Database for the data files
    • Auto config generation
    • And other boring stuff, maybe you can give me some ideas
    [​IMG]

    Code (Text):



    ###############################################################################################
    ##
    ##  SimpleAdvertising, 21.10.2019 Made by Moshu
    ##  > Change-log:
    ## - Added placeholders
    ## - Updated dependencies
    ## - Option to only set one ad going live at a time
    ## - Optimizations
    ## Enjoy! :3
    ##
    ##
    ## USEFUL LINKS:
    ## MATERIAL NAMES: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
    ## SOUND NAMES: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
    ## YML VALIDATOR: http://www.yamllint.com/
    ## DISCORD SERVER FOR HELP: discord.gg/rADmNx9
    ## WIKI: https://github.com/Moshulika/Simple-Advertising/wiki
    ##
    ###############################################################################################


    enable:
      welcomers: true
      logging: true
      sounds: true
      updater: true

    advertising:
      economy: "money"
      cooldown: 10
      price: 100
      stay: 0
      #Stay or how much an ad stays live (in seconds)
      #Set to "permanent" to be active until another person sends an ad.
      repeat: 0
      #If the ad should repeat if the stay is more than 0
      #at what interval should it be sent (in seconds)
      sound: BLOCK_NOTE_PLING
    #Vaild economy types: money, points.

    points:
      default-balance: 1
      messages:
        usage-give: "&fUsage: /points give (Player) (Points)"
        usage-take: "&fUsage: /points take (Player) (Points)"
        usage-set: "&fUsage: /points set (Player) (Points)"
        negative-int: "&fYou cannot use negative numbers or 0"
        insufficient-points: "This player doesn't have that much money"
        set-points:
          title: "{prefix}"
          subtitle: "You've set &c{player}&f's points to &c{points}"
        give-points:
          title: "{prefix}"
          subtitle: "You gave &c{points} &fpoints to &c{player}"
        receive-points:
          title: "{prefix}"
          subtitle: "You received &c{points} &fpoints from &c{player}"
        give-everyone-points:
          title: "{prefix}"
          subtitle: "You've given everyone &c{points} &fpoints"
        take-points:
          title: "{prefix}"
          subtitle: "You took &c{points} &fpoints from &c{player}"
        look-points:
          title: "{prefix}"
          subtitle: "You have &c{points} points&f."
        give-all-points:
          sent:
            title: "{prefix}"
            subtitle: "You sent &ceveryone {points} &fpoints"
          received:
            title: "{prefix}"
            subtitle: "&cEveryone &frecieved &c{points} points&f."

    gui:
      inventory-name: "Advertising Menu"
      item: "PAPER"
      item-name: "&cAdvertise"
      item-lore:
        - "&7&oSend a public ad"
        - "&7&oFor everyone to see"
        - "&7&oPrice: &a$&f{price}"

    titles:
      fade-in: 30
      stay: 50
      fade-out: 30
    #20 ticks = 1 second

    auto-advertiser:
      chat: true
      titles: true
      minimum-players-online: 1
      chat-interval: 60
      titles-interval: 65
      chat-messages:
        - "{prefix} We've just got the best plugin in the world, SimpleAdvertising"
        - "{prefix} For just {price}&a$&f, you can sell your items, house, or life in moments"
        - "{prefix} You just have to love it"
      title-messages:
        - "{prefix}"
        - "Everything"
      subtitle-messages:
        - "Woah! So cool"
        - "&cIs way better now"

    broadcast:
      enable-titles: true
      title: "&c&lBroadcast"
      subtitle: "{message}"
      chat:
        - "&8&m---&l&f(&cBroadcast&f&l)&8&m---"
        - ""
        - "{message}"
        - ""

    messages:
      prefix: "&f&l(&cAdvertising&f&l)&f "
      format: "{prefix}&7{message}, made by &f{player}&7."
      succes: "&7Your ad was placed for &f{price}&a$"
      succes-points: "&7Your ad was placed for &f{price} points"
      balance: "&oYou have &c{points} &f&opoints"
      no-money: "You don't have enough money"
      no-points: "You don't have enough points"
      cooldown-message: "You have to wait before posting another advertisment"
      active-ad: "There is an ad already up for display. Wait your turn"
      transaction-cancelled: "&oTransaction cancelled, thank you for your time"
      dialog: "&oType in chat your desired ad, or type &ccancel &f&oto cancel the transaction"
      empty-message: "&fHey! You forgot the message"
      join: "&a(&2Join&a) {player}"
      quit: "&c(&4Quit&c) {player}"
      no-permission:
        title: "&c&l✖"
        subtitle: "&fNo permission"
      target-null:
        title: "&c&l✖"
        subtitle: "&fTarget is not online"


     
    • Permissions
      • simplead.help - Permission for /help
      • simplead.reload - Reload the plugin
      • simplead.broadcast - Broadcast
      • simplead.ad - Send ads
      • simplead.admin - Full access
      • simplead.points - Access for giving / taking points
      • simplead.debug - Lets you see debug messages
    • Commands
      • /ad (Text) - Send an ad, requires simplead.ad which is given by default
      • /ad reload - Reload the plugin, requires simplead.reload
      • /ad help - Lists a help page, requires simplead.help (Default)
      • /ad debug - Sens you the debug message, requires simplead.debug
      • /broadcast - Broadcast, requires simplead.broadcast
      • /points (Give / Take / Set) - Manage points, requires simplead.points
    • Placeholders
      • %simplead_price%, sends the config price
      • %simplead_cooldown%, sends the cooldown time
      • %simplead_currentad%, sends the current / latest ad.
      • %simplead_currentplayer%, sends the current / latest player that created an ad.
    • Setup
      • Download SimpleAdvertising.jar
      • Make sure you have Java 8+ and run Spigot 1.15.2 (Or lower)
      • Did you get the dependencies? Right now you cannot place an /ad without Vault, an economy provider like Essentials, and if you want cool placeholders, PlaceholderAPI.
      • The plugin is working "out of the box", but it is recommended to tweak the config to your taste
      • Now, just fire up your server, or load the plugin, and everything should be working just fine
      • If you have any problems, don't hesitate to contact me, or if you really love the plugin, consider leaving a nice review.
    [​IMG]
    Documentation, API, code and configuration help, available on GitHub
    Newest updates are first released there.
    Click the logo to check it out

    [​IMG]

    [​IMG]


    [​IMG]
    • ✓ Add some permissions
    • ✓ Cooldown
    • ✓ Bug Fixes
    • ✓ To add more permissions
    • ✓ Multiple version support
    • ✓ Player Join and Quit messages
    • ✓ Chat Function
    • ✓ Messaging function
    • ✓ Store all ads into the logs file.
    • (Working) JSON formatting
    • ✔ GUI based ads
    • Basically, everything that's on upcoming features
    • More functionalities
    If you have any proposal for any other To-Do, leave it in the comments

    [​IMG]
    vokz, Danone and AndreiRazvan like this.

Recent Updates

  1. Compatibility issues
  2. Added metrics.
  3. Tab Completion

Recent Reviews

  1. StefanAdv
    StefanAdv
    5/5,
    Version: 6.2.20
    Acest plugin poate folosit pe o sectiune de GTA, sa cumperi gen o reclama, ca pe samp? Am nevoie de un raspuns urgent.
    1. StereoN
      Author's Response
      Da, de acolo a fost inspirat.
  2. EnderIce2
    EnderIce2
    5/5,
    Version: 21.10.2019
    Foarte bun pluginul! Ar fi o idee buna sa sa il faci sa mearga pe spigot 1.15.1, dintr-un motiv ciudat nu prea vrea sa mearga cum trebuie. Oricum, foarte util!
    1. StereoN
      Author's Response
      Multumesc mult pentru review! Imediat va fi disponibil si pentru 1.15.1!
  3. Atlacyorigin
    Atlacyorigin
    5/5,
    Version: 9.4.19
    The plugin works perfectly on all stated versions and without any problems. Its easy to set up and indeed pretty lightweight, even when tested by a bunch of players at the same time.

    As for the 1 Star review below: Said user has left many bad reviews under resources. Its a matter of fact that he just doesn't understand english well enough to follow basic instructions. He's been shitting on absolute great resources and you should just report him to the mdos,.
    1. StereoN
      Author's Response
      Thank you very much for your kind review <3. If you ever happen to have any problems or any suggestions feel free to contact me :D
  4. DisTrugator
    DisTrugator
    5/5,
    Version: 1.9.4
    Ma bucur sa vad interes si dedicare din partea Comunitatii Romanesti la capitolul Plugin Development ! Pluginul este foarte bun. Are nevoie de mici retusuri ici colo, dar faci o treaba buna. Felicitarile mele! Continua sa-l actualizezi. Eu unul sunt interesat mai ales de compatibilitatea Bungeecord si stocarea datelor in MySQL :) Deci astept un update cu aceste optiuni ;) Anyway, Good Job!
    1. StereoN
      Author's Response
      Multumesc mult! Mereu am fost interesat de calitate, si daca ai ceva ce ai dori schimbat la plugin, poti oricand sa imi dai un PM in care sa imi spui ce ar putea fi imbuntatit. Iar in legatura cu MySQL, este pe drum. Momentan ma documentez, iar in scurt timp probabil voi implementa si acest lucru!
  5. IAlekseyI
    IAlekseyI
    1/5,
    Version: 1.9.3
    I tried 5 versions on the kernel 1.12.2, nothing works. Communicate to solve the problem, as I suppose, there is no point. Everything is very bad. Perhaps at 1.13 will work.
    1. StereoN
      Author's Response
      The plugin works perfectly on 1.12.2, 1.13 and other versions. You didn't sent me any message on any of the contact methods shown in the description. But as I'm not as childish as you apparently are, I can tell you that maybe your server doesn't use one of the dependencies (Vault, EssentialsX or PlaceholderAPI).
  6. bluenight7
    bluenight7
    4/5,
    Version: 1.9
    Good plugin but can you update this for BungeeCord comtability ? A good dev ! Good job
    1. StereoN
      Author's Response
      Thank you :3. I once tried to make it work with BungeeCord, and maybe I will sometime figure it out, but it isn't a priority at the moment, we'll see what I can do.
  7. Blooby
    Blooby
    5/5,
    Version: 1.8
    Great, responsive, and helpful developer!
    -----------------------------------------------------------
    1. StereoN
      Author's Response
      Thank you very much :D.
  8. GabrielHD150
    GabrielHD150
    5/5,
    Version: 1.7
    Muy Bueno, 6/5 Considera Agregar mas Cosas, como click Command en el chat, Muy Buen Plugin
    1. StereoN
      Author's Response
      Sure thing, I'll keep adding new things! What do you mean by adding Click Command in chat? Like JSON formatting? Write me a PM here or on Skype to tell me more, and I'll be very happy to add this in the following update :D
  9. Whoktor
    Whoktor
    5/5,
    Version: 1.5
    Really nice plugin! Should add multiple versions support but it's cool anyway thanks for making this plugin :)
    1. StereoN
      Author's Response
      I think it works with other versions too, I haven't tested this, but if it couldn't work, i will make support for 1.10 down to 1.8 probably