活动奖励 0.1.4

活动奖励 0.1.4

活动奖励 0.1.4-PCI1
活动奖励 0.1.4
此内容为付费资源,请付费后查看
会员专属资源
您暂无购买权限,请先开通会员
开通会员
付费资源

原创地址活动奖励 – 插件 – Codefling

关于活动奖励

奖励玩家游戏内活动的插件。
P.S. 别忘了给玩家分配权限,否则不会发放奖励。

  • o.授予组默认 activityrewards.default

 

Ji0XU4D.png

  • 能够获得用户名中前缀或后缀的奖励;
  • 收集资源获得奖励的能力;
  • 能够获得以下奖励:
    • 杀死玩家和 NPC;
    • 销毁桶、Road 标志枯木;
  • 获得研究蓝图奖励的能力;
  • 首次打开战利品箱获得奖励的能力;
  • 收集资源获得奖励的能力;
  • 种植植物获得奖励的能力;
  • 能够获得捕鱼奖励;
  • 能够使用游戏内物品进行奖励;
  • 使用 AdvancedStatus 显示具有高度灵活设置的状态栏的功能。

 

MOEpxmo.png

{
  "List of language keys for creating language files": [
    "en"
  ],
  "Is it worth using the AdvancedStatus plugin?": true,
  "Is it worth enabling the Gather Rewards?": true,
  "Is it worth enabling the Kill Rewards?": true,
  "Is it worth enabling the Research Rewards?": true,
  "Is it worth enabling the Loot Open Rewards?": true,
  "Is it worth enabling the Pickup Rewards?": true,
  "Is it worth enabling the Planting Rewards?": true,
  "Is it worth enabling the Fishing Rewards?": true,
  "A prefix or suffix required in the player's nickname to receive the permission reward. An empty string disables the reward": "#RealPVE",
  "List of permissions granted when the player's nickname contains the required prefix or suffix": [
    "kits.loyalty"
  ],
  "List of reward multipliers for each permission": {
    "activityrewards.default": 1.0,
    "realpve.default": 1.0,
    "realpve.vip": 1.1
  },
  "The list of economy plugins for rewards": {
    "Economics": {
      "Is it worth enabling the plugin for rewards?": true,
      "Reward Type: true - int, false - double": false,
      "Language key for the text": "MsgEconomics",
      "API method name for deposit": "Deposit",
      "API method name for withdraw": "Withdraw",
      "BarSettings": {
        "Order": 40,
        "Height": 26,
        "Main_Color(Hex or RGBA)": "#84AB49",
        "Main_Transparency": 0.8,
        "Main_Material(empty to disable)": "",
        "Image_Url": "https://i.imgur.com/k8jq7yY.png",
        "Image_Local(Leave empty to use Image_Url)": "ActivityRewards_Default",
        "Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
        "Image_IsRawImage": false,
        "Image_Color(Hex or RGBA)": "#B9D134",
        "Image_Transparency": 1.0,
        "Is it worth enabling an outline for the image?": false,
        "Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
        "Image_Outline_Transparency": 1.0,
        "Image_Outline_Distance": "0.75 0.75",
        "Text_Size": 12,
        "Text_Color(Hex or RGBA)": "#DAEBAD",
        "Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
        "Text_Offset_Horizontal": 0,
        "Is it worth enabling an outline for the text?": false,
        "Text_Outline_Color(Hex or RGBA)": "#000000",
        "Text_Outline_Transparency": 1.0,
        "Text_Outline_Distance": "0.75 0.75",
        "SubText_Size": 12,
        "SubText_Color(Hex or RGBA)": "#DAEBAD",
        "SubText_Font": "RobotoCondensed-Bold.ttf",
        "Is it worth enabling an outline for the sub text?": false,
        "SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
        "SubText_Outline_Transparency": 1.0,
        "SubText_Outline_Distance": "0.75 0.75"
      }
    },
    "ServerRewards": {
      "Is it worth enabling the plugin for rewards?": true,
      "Reward Type: true - int, false - double": true,
      "Language key for the text": "MsgServerRewards",
      "API method name for deposit": "AddPoints",
      "API method name for withdraw": "TakePoints",
      "BarSettings": {
        "Order": 40,
        "Height": 26,
        "Main_Color(Hex or RGBA)": "#84AB49",
        "Main_Transparency": 0.8,
        "Main_Material(empty to disable)": "",
        "Image_Url": "https://i.imgur.com/k8jq7yY.png",
        "Image_Local(Leave empty to use Image_Url)": "ActivityRewards_Default",
        "Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
        "Image_IsRawImage": false,
        "Image_Color(Hex or RGBA)": "#B9D134",
        "Image_Transparency": 1.0,
        "Is it worth enabling an outline for the image?": false,
        "Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
        "Image_Outline_Transparency": 1.0,
        "Image_Outline_Distance": "0.75 0.75",
        "Text_Size": 12,
        "Text_Color(Hex or RGBA)": "#DAEBAD",
        "Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
        "Text_Offset_Horizontal": 0,
        "Is it worth enabling an outline for the text?": false,
        "Text_Outline_Color(Hex or RGBA)": "#000000",
        "Text_Outline_Transparency": 1.0,
        "Text_Outline_Distance": "0.75 0.75",
        "SubText_Size": 12,
        "SubText_Color(Hex or RGBA)": "#DAEBAD",
        "SubText_Font": "RobotoCondensed-Bold.ttf",
        "Is it worth enabling an outline for the sub text?": false,
        "SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
        "SubText_Outline_Transparency": 1.0,
        "SubText_Outline_Distance": "0.75 0.75"
      }
    },
    "BankSystem": {
      "Is it worth enabling the plugin for rewards?": true,
      "Reward Type: true - int, false - double": true,
      "Language key for the text": "MsgBankSystem",
      "API method name for deposit": "Deposit",
      "API method name for withdraw": "Withdraw",
      "BarSettings": {
        "Order": 40,
        "Height": 26,
        "Main_Color(Hex or RGBA)": "#84AB49",
        "Main_Transparency": 0.8,
        "Main_Material(empty to disable)": "",
        "Image_Url": "https://i.imgur.com/k8jq7yY.png",
        "Image_Local(Leave empty to use Image_Url)": "ActivityRewards_Default",
        "Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
        "Image_IsRawImage": false,
        "Image_Color(Hex or RGBA)": "#B9D134",
        "Image_Transparency": 1.0,
        "Is it worth enabling an outline for the image?": false,
        "Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
        "Image_Outline_Transparency": 1.0,
        "Image_Outline_Distance": "0.75 0.75",
        "Text_Size": 12,
        "Text_Color(Hex or RGBA)": "#DAEBAD",
        "Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
        "Text_Offset_Horizontal": 0,
        "Is it worth enabling an outline for the text?": false,
        "Text_Outline_Color(Hex or RGBA)": "#000000",
        "Text_Outline_Transparency": 1.0,
        "Text_Outline_Distance": "0.75 0.75",
        "SubText_Size": 12,
        "SubText_Color(Hex or RGBA)": "#DAEBAD",
        "SubText_Font": "RobotoCondensed-Bold.ttf",
        "Is it worth enabling an outline for the sub text?": false,
        "SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
        "SubText_Outline_Transparency": 1.0,
        "SubText_Outline_Distance": "0.75 0.75"
      }
    },
    "IQEconomic": {
      "Is it worth enabling the plugin for rewards?": true,
      "Reward Type: true - int, false - double": true,
      "Language key for the text": "MsgIQEconomic",
      "API method name for deposit": "API_SET_BALANCE",
      "API method name for withdraw": "API_REMOVE_BALANCE",
      "BarSettings": {
        "Order": 40,
        "Height": 26,
        "Main_Color(Hex or RGBA)": "#84AB49",
        "Main_Transparency": 0.8,
        "Main_Material(empty to disable)": "",
        "Image_Url": "https://i.imgur.com/k8jq7yY.png",
        "Image_Local(Leave empty to use Image_Url)": "ActivityRewards_Default",
        "Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
        "Image_IsRawImage": false,
        "Image_Color(Hex or RGBA)": "#B9D134",
        "Image_Transparency": 1.0,
        "Is it worth enabling an outline for the image?": false,
        "Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
        "Image_Outline_Transparency": 1.0,
        "Image_Outline_Distance": "0.75 0.75",
        "Text_Size": 12,
        "Text_Color(Hex or RGBA)": "#DAEBAD",
        "Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
        "Text_Offset_Horizontal": 0,
        "Is it worth enabling an outline for the text?": false,
        "Text_Outline_Color(Hex or RGBA)": "#000000",
        "Text_Outline_Transparency": 1.0,
        "Text_Outline_Distance": "0.75 0.75",
        "SubText_Size": 12,
        "SubText_Color(Hex or RGBA)": "#DAEBAD",
        "SubText_Font": "RobotoCondensed-Bold.ttf",
        "Is it worth enabling an outline for the sub text?": false,
        "SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
        "SubText_Outline_Transparency": 1.0,
        "SubText_Outline_Distance": "0.75 0.75"
      }
    }
  },
  "Version": {
    "Major": 0,
    "Minor": 1,
    "Patch": 6
  }
}

 

为此文件夹 *SERVER*\oxide\data\ActivityRewards 中的相应文件中的每个作设置奖励
 

  • PluginInt 用于:BankSystem 和 ServerRewards;
  • PluginDouble 用于:经济学

您还可以将奖励设置为 0 以禁用奖励
 

"fish.smallshark": {
    "PluginInt": 50,
    "PluginDouble": 5.0,
    "ItemsList": [
      {
        "ShortName": "scrap",
        "Amount": 10,
        "SkinId": 0
      }
    ]
  }

 

DxI83SK.png

EN:
{
  "MsgEconomics": "Bonus",
  "MsgServerRewards": "Bonus",
  "MsgBankSystem": "Bonus",
  "MsgIQEconomic": "Bonus"
}
RU:
{
  "MsgEconomics": "Бонус",
  "MsgServerRewards": "Бонус",
  "MsgBankSystem": "Бонус",
  "MsgIQEconomic": "Бонус"
}

图片[4]-活动奖励 0.1.4-PCI1

图片[5]-活动奖励 0.1.4-PCI1

 

 

© 版权声明
THE END
喜欢就支持一下吧
点赞15 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容