Donation Credits

Rewards players with Economy credits for donations on a website

Total Downloads: 690 - First Release: Feb 23, 2016 - Last Update: Jan 22, 2018

5/5, 7 likes
  1. verify
     

    Attached Files:

  2. It work.
    But not the way I thought. While there may be synchronization credits or RCON - bad idea and this option better.
     
  3. This plugin it to sync with Economics?
    When a player types /credits /getcredits
    Show this error

    Code:
    (11:38:48) | [Oxide] 11:39 [Error] Failed to run a 1.00 timer in 'DonateCredits v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)(11:38:48) | [Oxide] 11:39 [Debug] at Oxide.Plugins.DonateCredits+<DonationRewardCommand>c__AnonStorey3.<>m__0 () [0x00000] in <filename unknown>:0at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
     
  4. [Oxide] 22:56 [Error] DonateCredits plugin failed to compile!
    [Oxide] 22:56 [Error] DonateCredits.cs(29,27): error CS0234: The type or namespace name `Connection' does not exist in the namespace `Oxide.Ext.MySql'. Are you missing an assembly reference?
     
  5. Wulf

    Wulf Community Admin

    This plugin isn't updated anymore officially, but there are versions posted in this thread that may or may not work.
     
  6. i made all this points to install the web but it dosen't work..

    Can anybody help me please?

    Code:
    Warning: require_once(C:/xampp/htdocs/includes/steamLogin.php): failed to open stream: No such file or directory in C:\xampp\htdocs\donation\index.php on line 3Fatal error: require_once(): Failed opening required 'C:/xampp/htdocs/includes/steamLogin.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\donation\index.php on line 3
    Sry for my bad english.
     
  7. C:/xampp/htdocs/includes/steamLogin.php doesnt exist
     
  8. but the file is there
     
  9. ok this problem is fixed but... another problem of my web site:

    Code:
    Notice: Undefined index: T2SteamUser in C:\xampp\htdocs\includes\app_config.php on line 50Notice: Undefined index: T2SteamUser in C:\xampp\htdocs\includes\app_config.php on line 52Notice: Undefined variable: reward in C:\xampp\htdocs\includes\app_config.php on line 52Notice: A session had already been started - ignoring session_start() in C:\xampp\htdocs\includes\steamLogin.php on line 8
     
  10. it is this Part:

    Code:
    //Messaging Users
        $GLOBALS['cfg']['greetingMsgLoggedIn'] = "Hello {$_SESSION['T2SteamUser']}, you are currently logged in with Steam! To logout click the button to the right. Use the form below to make a donation.";
        $GLOBALS['cfg']['greetingMsgLoggedOut'] = 'Welcome to the Donation Credits web application demo!<br><br>First, configure your website by editting the app_config.php file. Use the form below to test your settings:';
        $GLOBALS['cfg']['donationSucess'] = "<p class='alert'>{$_SESSION['T2SteamUser']}!!<br>Thank you so much for donating!  You have been awarded <span class='highlight-text'>{$reward}</span> Credits towards the server's Blueprint Shop! Connect to the server to claim your reward.</p>";
        $GLOBALS['cfg']['donationNotLoggedIn'] = 'You need to log in to your Steam account before donating.';
    
    What is to change?
    The T2SteamUser?
     
  11. any idea?
     
  12. Help pls
    at Oxide.Plugins.DonateCredits+<loadUser>c__AnonStorey0.<>m__0 (System.Collections.Generic.List`1 list) [0x00000] in <filename unknown>:0
    at Oxide.Ext.MySql.Libraries.MySql+MySqlQuery+<Handle>c__AnonStorey0.<>m__0 () [0x00000] in <filename unknown>:0
     
  13. Help anyone know this error?

    [Oxide] 18:25 [Info] [DonateCredits] PacketInit.False
    [Oxide] 18:25 [Info] [DonateCredits] PacketSent.True
    [Oxide] 18:25 [Error] Failed to run a 1.00 timer in 'DonateCredits v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 18:25 [Debug] at Oxide.Plugins.DonateCredits+<DonationRewardCommand>c__AnonStorey3.<>m__0 () [0x00000] in <filename unknown>:0
    at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
     
  14. Hello can anyone help me with this error pls
    when i type /getcredits i get this error.

    cheers



    [Oxide] 18:25 [Info] [DonateCredits] PacketInit.False
    [Oxide] 18:25 [Info] [DonateCredits] PacketSent.True
    [Oxide] 18:25 [Error] Failed to run a 1.00 timer in 'DonateCredits v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 18:25 [Debug] at Oxide.Plugins.DonateCredits+<DonationRewardCommand>c__AnonStorey3.<>m__0 () [0x00000] in <filename unknown>:0
    at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0

    Cheers brendon
     
  15. have anyone a idea with my problem?
     
  16. Help pls
     
  17. Hello would someone know a fix for this error it happens when the player types /getcredits in game after donating willing to pay for a fix

    cheers

    [Oxide] 14:17 [Info] [DonateCredits] PacketInit.False
    [Oxide] 14:17 [Info] [DonateCredits] PacketSent.True
    [Oxide] 14:17 [Error] Failed to run a 1.00 timer in 'DonateCredits v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 14:17 [Debug] at Oxide.Plugins.DonateCredits+<DonationRewardCommand>c__AnonStorey3.<>m__0 () [0x00000] in <filename unknown>:0
    at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0

    Donation Credits for Rust | Oxide
     
  18. To bad most of the donate / pay plugins doesnt work anymore or way out of date.
     
  19. someone can fix this plugin?