Jump to content

Extra rewards

Not a Bug 1.10.6 1.10.6

nekros
nekros

Posted

Hello,is there a way to add multiple winners on events?Like for example award 1000 scrap for 1st place,500 scrap for second place,250 scrap for 3rd place

Rainey

Posted

Hello! Yup, it's in the documentation that you can add multiple winners, here is an example. (First winner receives 100 Scrap, 1 Pookie, and 10,000 RP. Second winner receives 5,000 RP and Farm Kit). Please let me know if you have any more questions. 🙂 

"Event Reward(s)": [
  {
    "Enable Reward": true,
    "Reward Probability %": 100,
    "Reward Notification": {
      "Enable Reward Notification": true,
      "Only Send Reward Notification To Winning Player?": false,
      "Reward Notification": "{player_name} scored first place in the {event_name} event with {points_scored} points and won {rewards_list}!",
      "Separate {rewards_list} With Commas?": true
    },
    "Item(s)": [
      {
        "Enable Item": true,
        "Item Probability %": 100,
        "Item Display Name": "Pookie",
        "Item Shortname": "pookie.bear",
        "Item Skin ID": 0,
        "Item Amount": 1
      },
      {
        "Enable Item": true,
        "Item Probability %": 100,
        "Item Display Name": "Scrap",
        "Item Shortname": "scrap",
        "Item Skin ID": 0,
        "Item Amount": 100
      }
    ],
    "Command(s)": [
      {
        "Enable Command": true,
        "Command Probability %": 100,
        "Command Display Name": "10,000 RP",
        "Command": "sr add {player.id} 10000"
      }
    ],
    "Kit(s) (plugin required)": [
      {
        "Enable Kit": false,
        "Kit Probability %": 100,
        "Kit Display Name": "PVP Kit",
        "Kit": "pvpkit"
      }
    ]
  },
  {
    "Enable Reward": true,
    "Reward Probability %": 100,
    "Reward Notification": {
      "Enable Reward Notification": true,
      "Only Send Reward Notification To Winning Player?": false,
      "Reward Notification": "{player_name} scored second place in the {event_name} event with {points_scored} points and won {rewards_list}!",
      "Separate {rewards_list} With Commas?": true
    },
    "Item(s)": [
      {
        "Enable Item": false,
        "Item Probability %": 100,
        "Item Display Name": "Scrap",
        "Item Shortname": "scrap",
        "Item Skin ID": 0,
        "Item Amount": 100
      }
    ],
    "Command(s)": [
      {
        "Enable Command": true,
        "Command Probability %": 100,
        "Command Display Name": "5,000 RP",
        "Command": "sr add {player.id} 5000"
      }
    ],
    "Kit(s) (plugin required)": [
      {
        "Enable Kit": true,
        "Kit Probability %": 100,
        "Kit Display Name": "Farm Kit",
        "Kit": "farmkit"
      }
    ]
  }
]

 

Rainey

Posted

Changed Status from Pending to Not a Bug

Changed Fixed In to 1.10.6

Rainey

Posted

In your particular case the rewards for each event would look something like this: 

"Event Reward(s)": [
  {
    "Enable Reward": true,
    "Reward Probability %": 100,
    "Reward Notification": {
      "Enable Reward Notification": true,
      "Only Send Reward Notification To Winning Player?": false,
      "Reward Notification": "<color=purple>{player_name}</color> scored <color=purple>first place</color> in the <color=purple>{event_name}</color> event with <color=purple>{points_scored} points</color> and won <color=purple>{rewards_list}</color>!",
      "Separate {rewards_list} With Commas?": true
    },
    "Item(s)": [
      {
        "Enable Item": true,
        "Item Probability %": 100,
        "Item Display Name": "Scrap",
        "Item Shortname": "scrap",
        "Item Skin ID": 0,
        "Item Amount": 1000
      }
    ],
    "Command(s)": [
      {
        "Enable Command": false,
        "Command Probability %": 100,
        "Command Display Name": "VIP Role",
        "Command": "oxide.usergroup add {player.id} vip"
      }
    ],
    "Kit(s) (plugin required)": [
      {
        "Enable Kit": false,
        "Kit Probability %": 100,
        "Kit Display Name": "PVP Kit",
        "Kit": "pvpkit"
      }
    ]
  },
  {
    "Enable Reward": true,
    "Reward Probability %": 100,
    "Reward Notification": {
      "Enable Reward Notification": true,
      "Only Send Reward Notification To Winning Player?": false,
      "Reward Notification": "<color=purple>{player_name}</color> scored <color=purple>second place</color> in the <color=purple>{event_name}</color> event with <color=purple>{points_scored} points</color> and won <color=purple>{rewards_list}</color>!",
      "Separate {rewards_list} With Commas?": true
    },
    "Item(s)": [
      {
        "Enable Item": true,
        "Item Probability %": 100,
        "Item Display Name": "Scrap",
        "Item Shortname": "scrap",
        "Item Skin ID": 0,
        "Item Amount": 500
      }
    ],
    "Command(s)": [
      {
        "Enable Command": false,
        "Command Probability %": 100,
        "Command Display Name": "VIP Role",
        "Command": "oxide.usergroup add {player.id} vip"
      }
    ],
    "Kit(s) (plugin required)": [
      {
        "Enable Kit": false,
        "Kit Probability %": 100,
        "Kit Display Name": "PVP Kit",
        "Kit": "pvpkit"
      }
    ]
  },
  {
    "Enable Reward": true,
    "Reward Probability %": 100,
    "Reward Notification": {
      "Enable Reward Notification": true,
      "Only Send Reward Notification To Winning Player?": false,
      "Reward Notification": "<color=purple>{player_name}</color> scored <color=purple>third place</color> in the <color=purple>{event_name}</color> event with <color=purple>{points_scored} points</color> and won <color=purple>{rewards_list}</color>!",
      "Separate {rewards_list} With Commas?": true
    },
    "Item(s)": [
      {
        "Enable Item": true,
        "Item Probability %": 100,
        "Item Display Name": "Scrap",
        "Item Shortname": "scrap",
        "Item Skin ID": 0,
        "Item Amount": 250
      }
    ],
    "Command(s)": [
      {
        "Enable Command": false,
        "Command Probability %": 100,
        "Command Display Name": "VIP Role",
        "Command": "oxide.usergroup add {player.id} vip"
      }
    ],
    "Kit(s) (plugin required)": [
      {
        "Enable Kit": false,
        "Kit Probability %": 100,
        "Kit Display Name": "PVP Kit",
        "Kit": "pvpkit"
      }
    ]
  }
]

 

nekros

Posted

No,you got me covered,thank you very much rainey!

  • Love 1
1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • 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.