Jump to content

YaMang -w-

Developer
  • Posts

    11
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by YaMang -w-

  1. Money Refund


     Console Command:


    mrefund user playerid permission amount rp

    ex) mrefund user $player.id backpacks.use 5000 eco

    ex2) mrefund user $player.id backpacks.use 5000 rp

    ex3) mrefund group $player.id admin 5000 rp

    has permission 5000 eco refund

     

    Example Server Rewards)

    "Backpack": {
          "description": "Buy Backpack",
          "iconName": "",
          "commands": [
            "mrefund user $player.id backpacks.use 500 rp"
          ],
          "displayName": null,
          "cost": 500,
          "cooldown": 5
        },

    Purpose of use:

    Server Reward (command)
    shop (command)
    Refund if has permission or group

     

    📢 Only available on RCON or server console due to abuse protection. 📢

     

    Config:

    {
      "Prefix": "<color=#00ffff>[ Money Refund ] - </color>\n",
      "SteamID": 0,
      "Version": {
        "Major": 1,
        "Minor": 0,
        "Patch": 0
      }
    }

     

    Lang:

    {
      "HasPerm": "<color=red>You already have this permission</color> <color=yellow>I got {0} {1} back</color>",
      "HasGroup": "<color=red>You already have this group</color> <color=yellow>I got {0} {1} back</color>"
      "RP": "<color=lime>RP</color>",
      "ECO": "<color=lime>ECO</color>"
    }

     


     

  2. Death Gui


     When it dies, the UI is displayed.

     

    Toggle Command - /deathtoggle

     

    📢If the toggle button is disabled, Command, data, toggle button UI is deprecated.📢

     

    Config:

    {
      "Defualt Config": {
        "SteamID": 0,
        "Prefix": "<b><size=18><color=#4F728D>Death</color> <color=#ECBD16>Gui</color></size></b> ",
        "Command": "deathtoggle",
        "Background Color (rgb - use this site https://daviddev1337.github.io/Rust-Color-Picker/)": "1 1 1 0.3"
      },
      "Logo Image Config": {
        "Enable": true,
        "Png": "https://i.imgur.com/RJfgKXp.png",
        "Color": "1 1 1 1",
        "Sprite": "assets/content/textures/generic/fulltransparent.tga",
        "AnchorMin": "0.429 0.729",
        "AnchorMax": "0.573 0.986"
      },
      "Close Button Config": {
        "Text": "Close",
        "FontSize": 20,
        "btnColor": "0.31 0.31 0.31 1",
        "textColor": "1 1 1 1",
        "Align": 4,
        "AnchorMin": "0.452 0.057",
        "AnchorMax": "0.569 0.126"
      },
      "Toggle Button Config": {
        "Enable": false,
        "Text": "Show/Hide",
        "FontSize": 20,
        "btnColor": "0.31 0.31 0.31 1",
        "textColor": "1 1 1 1",
        "Align": 4,
        "AnchorMin": "0.851 0.056",
        "AnchorMax": "0.968 0.125"
      },
      "Text Config": {
        "Text": "\n\n<size=50><color=orange>You Died</color></size>\n\nIt would seem that you died!\n\n<color=#D0D0D0>Do you have any information your players need to know about <color=#4F728D>Deaths</color> on your server?</color>\n\n<color=#D0D0D0>You can put any <color=#ECBD16>Information</color> here and edit the <size=25>size</size> and <color=orange>color</color> to your liking!</color>\n\n <color=#D0D0D0>This is just an example row!</color>\n\n\n\nThank you for using on <color=#4F728D>Death</color> <color=#ECBD16>Gui</color>",
        "FontSize": 14,
        "Align": 4
      },
      "Version": {
        "Major": 1,
        "Minor": 0,
        "Patch": 2
      }
    }

    Lang:

    {
      "ToggleShow": "<color=#00ffff>Show</color>",
      "ToggleHide": "<color=red>Hide</color>"
    }

     


     

×
×
  • Create New...