Daily Reward

15,00

Categories: , Tags: ,

Description

Hey,

You are looking to reward your player from day to day? Well just get the plugin here and you’ll be all fine.

 

In case where player still be here more than a day, i just create a command to display the UI => /daily

[su_spoiler title=”Configuration” style=”fancy”]

{
"CUI": {
"AnchorMax": "1 1",
"AnchorMin": "0 0",
"Background Color": "0 0 0 0",
"Background Image": "https://images4.alphacoders.com/819/819162.jpg"
},
"Item": {
"Data": [
{
"ItemName": "ammo.grenadelauncher.buckshot",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.grenadelauncher.he",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.grenadelauncher.smoke",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "weapon.mod.8x.scope",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "rifle.ak",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.handmade.shell",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.pistol",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.pistol.fire",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.pistol.hv",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.rifle",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.rifle.explosive",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.rifle.incendiary",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.rifle.hv",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.rocket.basic",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.rocket.fire",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.rocket.hv",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.rocket.smoke",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.shotgun",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.shotgun.fire",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "ammo.shotgun.slug",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "electric.andswitch",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "antiradpills",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "apple",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "apple.spoiled",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "arrow.bone",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "arrow.fire",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "arrow.hv",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "arrow.wooden",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "electric.audioalarm",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "autoturret",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "axe.salvaged",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "bandage",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "barrelcostume",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "barricade.concrete",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "barricade.metal",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "barricade.sandbags",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "barricade.stone",
"MaxQuantity": 100,
"MinQuantity": 1
},
{
"ItemName": "barricade.wood",
"MaxQuantity": 100,
"MinQuantity": 1
},...
]
}
}

[/su_spoiler]

I didn’t push the full file as it was really long code, like there is 491 items actually ahah

 

[su_spoiler title=”Lang file ” style=”fancy”]

{
  "Error": "To much error while generating ItemData, please check your config.",
  "WrongItem": "Item {0} doesn't exist.",
  "Dropped": "You don't have enough space in your inventory, just dropped to your feets.",
  "Inventory": "Just added the reward to your inventory.",
  "CantPick": "You already choose a reward for today",
  "NewDay": "It's a new day, grab your reward."
}

 

[/su_spoiler]

Reviews

  1. admin

    Version 1.0.7: Fixed background image

  2. admin

    Version 1.0.6:
    -Fixed OutOfRange error while generating item data.

  3. admin

    Version 1.0.5: Fixed image loading

  4. admin

    Version 1.0.3:
    -Fixed Invalid Cast exception

  5. admin

    Version 1.0.2:
    -Fixed wrong amount generation.

  6. admin

    Version 1.0.1:
    -Added additional check while generating itemdata
    -Several fix on NRE while generating itemdata
    -Possible fix for ArgumentOutOfRangeException

  7. admin

    Version 1.0.0:

    -Original version of DailyReward
    -Reward player on connection everyday with random item/amount.
    -Added a command where player can display the reward screen if they miss it /daily

Only logged in customers who have purchased this product may leave a review.