Inactive [MISC] McAdvert 1.0 - Advert somebody [1.2.5-R5.0]

Discussion in 'Inactive/Unsupported Plugins' started by bubbleguj, Aug 5, 2012.

  1. Offline

    bubbleguj

    McAdvert
    First, sorry for my bad english, I'm german and 14 :) Thanks. :D
    With this plugin, players can advert for other player. Then they'll get items. It's very easy, but a lot of people wanted this. All messages, ID's and amounts are configurable in the config.
    On the first join, you'll get a message. And you can only advert on the first join! Also it'll check, if the player wants to advert himself. All advertiser will be written in a "database.dbmex" file, which can be found in "plugins/McAdvert/database.dbmex". Have fun!
    PS: This plugin uses MexDB from XemsDoom!


    Commands
    /advert <player_who_advertised_you>


    Config
    Code:
    config:
      messages:
        firstjoin: Hello, has someone advertised you?
        howto: 'If yes, type: /advert <name_of_the_player_who_advertised_you>'
        thanks: Thanks for telling us! :)
        too_few_arguments: Too few arguments!
        too_much_arguments: Too much arguments!
        has_played_before: You can't be advertised, beacause it's not your first join!
        not_online: The advertiser has to be online too!
        only_one_time: You can't be advertiesd two times!
      id:
        advertiser: 265
        player: 265
      amount:
        advertiser: 10
        player: 5
    
    Source
    Pastebin - McAdvert.java
    Pastebin - McAdvertListener.java


    Downloads

    <Edit by Moderator: Redacted mediafire url>
    Direct


    Installation
    Just drag and drop the teleporter.jar into your "plugins" folder. Restart your server. Don't type /reload, it'll give you a big NullPointerException!


    Changelog
    Version 1.0
    - First release!
     
    Last edited by a moderator: Nov 10, 2016
  2. Offline

    jbman223

    So this is basically a plugin that give users whe enter a person who referred them an item? That's a pretty good idea.
     
  3. Offline

    korikisulda

    You should put this on bukkitdev.
     
    zack6849 likes this.
  4. Offline

    H3X

    When somebody refers you to a certain server, it is not in any way a form of advertising, but instead it is referring. You should call it MCRefferal.
     
  5. Offline

    bubbleguj

    why? :D
    hmm-- :/
    thanks! :)
     
  6. Offline

    korikisulda

    because bukkitdev allows you to host the files, has a built in ticket system, and you can split documentation across multiple pages. And that's only some of the benefits ;).
     
  7. Offline

    failtolawl

    sweet great idea! amazingly simple way of getting players.
     

Share This Page