Jump to content

Server Reward not being received

Pending 1.1.20

Rust Admin
Rust Admin

Posted

Using the below configuration, does not give a reward.

 

"4": {
      "Awards": [
        {
          "Type": "Command",
          "ID": 107,
          "Permission (ex: dailyrewards.vip)": "",
          "Image": "",
          "Command (%steamid%)": "sr add %steamid% 500",
          "Kit Name": "",
          "Plugin settings": {
            "Amount": 0,
            "Hook": "",
            "Plugin Name": ""
          },
          "DisplayName (empty - default)": "500 RP",
          "ShortName": "",
          "Skin": 0,
          "Is Blueprint?": false,
          "Amount": 1,
          "Content settings": {
            "Contents": [
              {
                "Amount": 1,
                "Condition": 100.0,
                "Position": -1,
                "ShortName": "",
                "Enabled": false
              }
            ],
            "Enabled": false
          },
          "Weapon settings": {
            "Ammo Type": "",
            "Ammo Amount": 1,
            "Enabled": false
          },
          "Prohibit splitting item into stacks?": false
        }

 

  • Curator
Mevent

Posted

Hey! So for ServerRewards RP the Command type isnt the best fit since it runs sr add through the server console and that doesnt always fire. Switch it to the Plugin type instead. Set Type to Plugin, then under Plugin settings put ServerRewards as the Plugin Name, AddPoints as the Hook, and 500 as the Amount. That calls the reward hook directly so the RP always gets added.

 

Oh also worth checking. If Inventory is enabled in your config then claiming day 4 doesnt give rewards right away. It drops them into the rewards storage instead, and the player has to open that inventory and click each item to actually receive it. For a Command reward the command only runs once they click it in there, so try flipping Inventory off if you want the RP added instantly on claim.

  • Like 1

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.7m
Total downloads
Customers
11.6k
Customers served
Files Sold
165.3k
Total sales
Payments
3.6m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.