Players can claim rewards for automatic PayPal donations

Total Downloads: 470 - First Release: May 20, 2016 - Last Update: Nov 10, 2016

5/5, 6 likes
  1. Mr. Blue

    Mr. Blue Scavenger

    The user has all the permissions i can give it in cPanel
  2. Brengun

    Brengun Shack Builder

    I found i had to run it on my dedicated rust server
    --- Double Post Merged, Oct 28, 2016 ---
    With php and mysql
  3. Brengun

    Brengun Shack Builder

    I got this after Oxide and Rust Updated today:

    [Oxide] 08:09 [Error] Error while compiling DonationClaim.cs(16,18): error CS0246: The type or namespace name `Ext' could not be found. Are you missing an assembly reference?
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

  5. Brengun

    Brengun Shack Builder

    As per new change:
    "Namespace changed, Oxide.Core instead of Oxide.Ext for the database extensions."
    Oxide.Ext.MySql => Oxide.Core.MySql

    I did change the:
    using Oxide.Ext.MySql;
    using Oxide.Core.MySql;

    What do I change this line to? (I did try Core replacing Ext and it failed)
    readonly Ext.MySql.Libraries.MySql mySql = new Ext.MySql.Libraries.MySql();
    --- Double Post Merged, Nov 10, 2016 ---
    Seen you have updated. Thank you.
  6. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    It's already updated, see above.
  7. Brengun

    Brengun Shack Builder

    I had just finished typing it when you updated. Acknowledged at bottom last post.
    All working well again, Thanks.
  8. Boludean2

    Boludean2 Naked Wanderer

    You did with paypal and if you try the "Mercado Pago" platform?
  9. Slut

    Slut Master Researcher Plugin Developer

    Can you add a feature which adds to the database which steamid actually claimed the donation? Hard to back track to see who's charging back.
  10. yes we cant

    yes we cant Naked Wanderer

    @Wulf Please help me, my config is set correctly and so is my database. the IPN handshake gets verified but the database entry is not being made.

    EDIT: I fixed everything now and I will be testing ClaimDonation asap

    MEGA UPDATE: /claim command results in
    Code (Text):
    MySqlException: Unable to connect to any of the specified MySQL hosts.
    I've been working on this for days. The json config is set, the user has the required privileges. What the heck??
    Last edited: Dec 6, 2016
  11. DaYWhiTe

    DaYWhiTe Naked Wanderer

    PayPal can not be used in our country. How do I get paid with skrill? Is something like this possible ?
  12. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Not currently.
  13. DaYWhiTe

    DaYWhiTe Naked Wanderer

    thanks for the answer
    How can I create a VIP system
    Do you have any information?
  14. yes we cant

    yes we cant Naked Wanderer

    I love this plugin
    Last edited: Jan 4, 2017
  15. yannick10012

    yannick10012 Shack Builder

    Is it possible to put a donator in a certain group (group with permissions) at a certain amount of money? And then give to that group for a certain amount of time?
  16. Earth2Luke

    Earth2Luke Scavenger

    Still dealing with the 2nd step here...


    I've blanked out the sensitive information.

    Attempted using both versions 5.0 & 5.5 through GoDaddy where super is given by default unless purposefully setup otherwise.

    --- Double Post Merged, Feb 16, 2017 ---
    Create donation packages on PayPal for each amount separately.
    Then, try "usergroup add" like I've done here... That might work.
    About the certain amount of time thing, that's not a feature of the plugin, but perhaps it can be *cough cough*
    Code (Text):
      "DatabaseHost": "localhost",
      "DatabaseName": "oxide",
      "DatabasePassword": "PASSWORD",
      "DatabasePort": 3306,
      "DatabaseUser": "root",
      "Packages": {
        "5": [
          "usergroup add {0} donor"
        "10": [
          "usergroup add {0} donor-2"
        "15": [
          "usergroup add {0} donor-3"
        "20": [
          "usergroup add {0} donor-4"
        "30": [
          "usergroup add {0} donor-5"
    Last edited: Feb 16, 2017
  17. richardhabermehl2016

    richardhabermehl2016 Naked Wanderer

    I don't know where to start with this plug in, I know how to download it into the oxide plug ins but after that I'm lost. Just wondering if someone can give a hand?
  18. ☺ Tanki ☺

    ☺ Tanki ☺ Wood Hoarder

    I get same problem (Mysql 5.7)


    work :
    Code (Text):
    CREATE DEFINER='oxide@localhost' PROCEDURE `oxide.claim_donation`(IN email_address VARCHAR(255))

    set email_address = REPLACE(email_address,'@@','@');

    set @ID = (
    from    oxide.ibn_table as IBN
    where    IBN.iemail = email_address
            and IBN.claimed = 0
            and IBN.claim_date IS NULL
            and IBN.ipaymentstatus = "Completed"
    ORDER BY IBN.itransaction_date DESC
    LIMIT 1);

    UPDATE oxide.ibn_table
    SET    claimed = 1, claim_date = NOW()
    WHERE id = @ID;

    select    IBN.item_name
    from    oxide.ibn_table as IBN
    where = @ID;

    Last edited: Mar 9, 2017
  19. plidos

    plidos Naked Wanderer

    Code (Text):
    SQL query: Documentation

    SET @ID = ( SELECT
    FROM oxide.ibn_table AS IBN
    WHERE IBN.iemail = email_address
    AND IBN.claimed =0
    AND IBN.claim_date IS NULL
    AND IBN.ipaymentstatus =  "Completed"
    ORDER BY IBN.itransaction_date DESC
    LIMIT 1 ) ;

    MySQL said: Documentation

    #1054 - Unknown column 'email_address' in 'where clause'
  20. Spyrek

    Spyrek Scavenger

    Btw. there is little bug.
    Plugin adds users to wrong group.
    Code (Text):
    [Info] [DonationClaim] Covalence.HurtworldPlayer[7656xxxx,   xxxxx] has claimed donation package svip
    [Info] [Timed Permissions] ----> unknown (7656xxxxx) - Added to Group: vip for 29.23:59:59.9266390
    Code (Text):
    "Packages": {
        "vip": [
          "addgroup {0} vip 30d"
        "svip": [
          "addgroup {0} svip 30d"
    Changing order of packages fixes the problem ;)