1. Can someone make a plugin where players can enter their email via chat command and it'll save into a list of all the emails entered into a file, and whoever does submit there's gets a reward defined in the configuration? E.g. Items, Ingame currency etc.
     
  2. I can make this

    More specifics would be good
     
  3. So basically when a player joins my server a message will show up (just like notifier welcome message) saying:

    "Enter your email and receive updates, items and more! /email (Your Email)"

    So then, of course, they enter "/email [email protected]"

    Then it'll say something along the lines of "Thank you, your email has been saved. You have received 25,000 x Wood" (The item(s) can be defined within the config.)

    And all the emails are saved within a file location in the 'Data' folder in the format of:

    [email protected]
    [email protected]
    [email protected]
    etc.

    So in a nutshell:

    1. Player joins the server

    2. Server checks if player has entered their email
    - If they haven't the message shows.
    - If they have it does not

    3. Once said player enters their email via /email [email protected]

    4. If possible server checks for valid email, if not doesn't matter.

    5. Server executes command to give items/grant permissions defined within the config.

    6. Happy players, happy staff :)

    Is that enough detail?
     
  4. I'll make this in a lil bit
     
  5. I highly recommend verifying the email, otherwise you'll just get a load of bogus emails in there and it will have no use. If you ever plan on doing mass mailing using a service you will get banned from it in zero time if all the emails are bad.

    Also, I would make sure each steamid can only ever get the reward once.. Else you'll get a million emails a week and people are going to have HUGE bases :)
     
  6. That isn't what he requested, that would be something he would do after via php or whatever mailer. Detecting if it's the correct format, but testing them is not a job for a gameserver
     
  7. Didn't mean it that way, just saying that for this system to work properly you'd need a web side to it handling email verification. Ensuring a steamid doesn't get the reward twice could be done either side but the gameserver side seems like it would cut on web requests which is probably for the best.
     
  8. Didn't think of that. Yes the reward for entering the email will need to be redeemable only once.

    As for the verification, it would be good if the plugin could use something to very the emails validity. If not I'm sure there's some programs available that'll do it, just a little extra work before sending emails on my part but I don't mind.
     
  9. I have made this plugin, just waiting in it being verified

    [​IMG]
     
    Last edited by a moderator: Oct 20, 2015
  10. Awesome thank you, I love you! :D
     
  11. I really like the idea behind this, but without a "double opt in" / "confirmed opt in" process as part of the plugin, it's useless. I wouldn't expect anyone to give their real email address. Any autoresponder service / company would also expect the IP address to be logged. That's a fact of life I'm afraid.

    But because I don't like to be a negative nelly, here's an angle that WOULD work very well. Create a rewards plugin that will accept a formatted email, maybe with a validation (authentication / security) code on the first line to prove it's coming from your source, and not someone else trying to game it.

    So, the player goes to a simple web form on a page (instructed to by Rust Notifier), and there they enter their name, email address, and Steam ID.

    ANY autoresponder software / service can be configured to send an email to show that someone new has signed up to the mailing list. (They pretty much all work with double opt-in to confirm that they actually own the email address.)

    Send that confirmation email to the email address configured in the plugin with the following lines as the content.

    <validation / authentication / security code>
    <email address>
    <Steam ID>

    The plugin then notifies the player the next time they connect to the server that their email address has been confirmed and that they have some rewards.

    N.B. The <validation> code is something that is set once in the plugin by the admin, e.g. abc1234. If this code isn't part of the email that the plugin receives, then no action is taken. (An additional check could be the source email address for the confirmation email from the autoresponder service.)

    Everybody wins, as the correct confirmed opt in process is followed (autoresponder company TOS have been followed), the admin gets a name and REAL email address, and the player gets their goodies.

    Win-win-win. Who wouldn't like that?

    If it's possible to get Rust to accept emails, then this will work, otherwise any plugin that just takes an email address at face value is going to be abused.