Promocodes

Moved

Total Downloads: 1,347 - First Release: Nov 19, 2015 - Last Update: Jan 25, 2018

5/5, 10 likes
  1. Yes that would be amazing if you can please
    [DOUBLEPOST=1466940800][/DOUBLEPOST]
    is there anyway to set a date where the command goes off, so say some one buys donator and i want that permission off him after eg 2months is there a way to set that so it will auto remove it ? or adny other plugin that could support it ?
     
  2. You can use Timed Permissions in combination with this.
     
  3. Yeah thats i got my donation system all running :)
     
  4. Hey,

    1 : add a cmd for generate x code with special cmd server
    cmd : /redeemgen x "say testing server say"
    With x the number of code generate
    Executed in console : say testing server say

    2 : add a cmd for look all code and command executed in chat or console
    cmd : /redeemview

    view in console :
    [
    cmd :

    say testing 1
    code :
    aaaa-aaaa-aaaa-aaaa
    zzzz-zzzz-zzzz-zzzz
    eeee-eeee-eeee-eeee
    ------------------------------
    say view that
    code :
    qqqq-qqqq-qqqq-qqqq
    ssss-ssss-ssss-ssss
    ]


    Thanks for wached my post
     
  5. Can you do this?
    It will be awesome :)
     
  6. rust update, bug report.
    Code:
    Error while compiling Promocodes.cs(60,35): error CS0119: Expression denotes a `method group', where a `variable', `value' or `type' was expected
     
  7. Wulf

    Wulf Community Admin

    Wulf updated Promocodes with a new update entry:

    2.1.3

     
  8. is there away to make it so once code is redeemed it gives a kit
     
  9. Is there a way to redeem a kit using this?
     
  10. This is pissing me off, I am doing everything right yet it's not working.

    Code:
    {
      "SkwadTV": [
        {
          "availableCodes": [
            "Wgfww-tmKsY-QyeBR-qqDMC-rCsap",
            "8H7pY-bUepL-vaNbi-EcKm6-H6a8G"
          ],
          "commands": [
            "grant user {name} kits.skwadtvkit"
          ]
        }
      ]
    }
    Everytime I enter a code, it says it's invalid, I have restarted the plugin and the server twice.
     
  11. i have a question, maybe use this plugin for two groups like this ?
    {
    "Promocodes": [
    {
    "availableCodes": [
    "PoTut-liFAC-Ugqen-PcYA1-OeI2z",
    "jDj2y-3BNzy-shVyx-wE2QF-1DCEn",
    "7H11A-sQlqI-tfMDG-8UMIZ-BHoqf",
    "YFXsM-Z2pNC-MQTvc-5pseL-CTEXi",
    "MtLEd-c1EcL-VNzQK-BSoNM-8tMZa",
    "FQ1ZT-6IURz-MexLx-eULjq-N2Fp9",
    "cxVMf-Hh7RP-6KQdr-4pcMR-ucfxn",
    "XxpH8-n3dde-OzHU9-DDGnn-mKqjN",
    "MKlrR-5PtHC-XMyPC-zYAdj-vBCDb",
    "kzDlb-PDA7Q-74SZg-TSBvx-bgiFf"
    ],
    "commands": [
    "oxide.usergroup add {steamid} VIP"
    ]

    "availableCodes": [
    "PoTut-liFAC-Ugqen-PcYA1-OeI2z",
    "jDj2y-3BNzy-shVyx-wE2QF-1DCEn",
    "7H11A-sQlqI-tfMDG-8UMIZ-BHoqf",
    "YFXsM-Z2pNC-MQTvc-5pseL-CTEXi",
    "MtLEd-c1EcL-VNzQK-BSoNM-8tMZa",
    "FQ1ZT-6IURz-MexLx-eULjq-N2Fp9",
    "cxVMf-Hh7RP-6KQdr-4pcMR-ucfxn",
    "XxpH8-n3dde-OzHU9-DDGnn-mKqjN",
    "MKlrR-5PtHC-XMyPC-zYAdj-vBCDb",
    "kzDlb-PDA7Q-74SZg-TSBvx-bgiFf"
    ],
    "commands": [
    "oxide.usergroup add {steamid} HUNTER"
    ]



    }
    ]
    }
     
  12. Hi how do i bind the promocode with the kit/vip group any one that can help me out :)
     
  13. Hi

    I want to create an auto payment system for my VIP kits where players by the VIP kit and receive the promo code via their email I have been told that this was possible with promo codes and Sdonations is there anyone that can help me out

    I really want to have an auto payment system for VIP kits where the buyers receive the promo code true their email account and that can unlock the VIP classes

    if there is anyone that knows where talking about and knows how to get this please help me out I tried now for like 2 weeks searching on youtube and tried some thanks bud I failed big
     
  14. Hi there

    I need some help I'm running a rust server named RustyBirds Official where I want to use an auto-redeem system

    Plugins
    - Better chat
    - Promo codes

    I want to create a way when a player visits www.rustybirdsofficial.com and the buy or VIP class the will receive an auto email with a promo code to redeem the VIP tag now I have no idea how to set it up I have seen some server owners using it only the did not want to help me out.

    if some can help me out or have some tips please let me know

    Greets RustyBirds,
     
  15. @LaserHydra could you make it so that a code can remain static, but a player can only use it once? :) That would be super handy so the list wouldn't have to keep being refreshed.

    Potentially a config looking like:

    Code:
    {
    "Promocodes":[
       {
         "availableCodes":[
           // 10 random codes
         ],
         "command":"oxide.usergroup add {steamid} vip"
         "staticcode": true
         "redeemableamount": 1
    }
    ]
    }
    And the playerdatabase might have a list of SteamID's with their redeemed codes underneath. If the code being redeemed is already in that list > Code already used.
     
    Last edited by a moderator: May 21, 2017
  16. we of rustybirds official have asked on may 12, 2017 a question we have notice that we have not receive any reply we are willing to pay for the setup of or question

    Question #94
     
  17. Its possible to have more than 1 list? i mean, 5 codes = 1 cmd, 5 another codes, = another cmd...

    thanks
     
  18. Yes. Just copy/paste the existing list and change the commands and codes.
    Don't forget putting a comma inbetween.
     

  19. Thanks dude, another thing, there are a posibility to cast the winners? not only in the console? thanks
     
  20. Can anyone correct this? Sorry if im stupid lol

    Code:
    {
      "VIP": [
        {
          "availableCodes": [
            "INDO-JJS92-K9IMS-KD0K2",
            "INDO-88NDK-82MDS-KMUW9",
            "INDO-89302-9KDO9-JD9JJ",
            "INDO-39KKK-K9JNE-K9K2J",
            "INDO-9JDJO-I9JDM-KK9KS",
            "INDO-9KK2K-DK9KJ-LLKKJ"
          ],
          "commands": [
            "addgroup {steamid} VIP 30d",
            "announce.announce {name} just bought VIP!"
          ]
        }
      ]
    }
      "Bundle": [
        {
          "availableCodes": [
            "INDO-JSD32-K29MS-KD0K2",
            "INDO-83D9K-82MDS-KMUW9",
            "INDO-89302-9KKDJ-JD9JJ",
            "INDO-39KKK-K9JNE-KDJ9S",
            "INDO-9JDJO-I9JDM-99KD2",
            "INDO-99KD2-DK9KJ-LLKKJ"
          ],
          "commands": [
            "addgroup {steamid} VIP 30d",
            "sr add {name} 1500",
            "announce.announce {name} just bought VIP Bundle!"
          ]
        }
      ]
    }