Jump to content

Custom Buttons 2.0.72

$7.50
   (32 reviews)

8 Screenshots

About Custom Buttons

Create your own UI buttons for your rust server!
Plugin comes with built ingame editor which makes creating proccess so much easier!

 

 

Quote

You might want watch this one on 2x speed  ;]

 


• Features

- Create as many buttons as you want. 
- Attach Images or Text to buttons.
- Set chat commands to each button.
- UI Editor ingame
- Toggle hide function to create small gui menu.


• Commands

Quote

/custombuttons - open ingame editor
/custombuttons_list - show list of all ui elements
/custombuttonstoggle - toggle hide/show of selected buttons

Commands can be changed to shorter version inside config file.


• Permissions

Quote

Every button has specific permission which is needed in order to see button.
custombuttons.<button-name>

Admin permission needed to open editor, user with this permission can also see all buttons created.
custombuttons.admin


• Config Example

Quote

{
     "Hide Buttons": {                                 
          "When using Computer Station": [
                  "button_name",
                   "panel_name"
             ],
          "When Player is dead": [  
                  "*",                                            ⇚   using * symbol basically means "all buttons"                         
                  "panel_name"
             ],
          "When Player is looting": [
                  "button_name",
                  "panel_name"
             ]
},
     "Base Position": {                         ⇚   starting point of buttons, afterward can be adjusted with offsets    
          "Anchor Min": "0.5 0.2",                 
          "Anchor Max": "0.5 0.2"             
},     QUICK TIP: by using 0.5 0.0 you will achieve complete button responsivity     

     "Font Settings": {
          "Font Style": "robotocondensed-bold.ttf",
          "Base Font Size": 13,
          "Base Font Color": "1 1 1 1",
          "Font Outline Color": "0 0 0 1",
          "Font Outline Thickness": "0.1 0.1"
},
     "Chat Commands": {
          "Open GUI": "custombuttons",
          "List all Panels": "custombuttons_list",
          "Toggle buttons on/off": "custombuttonstoggle"
}


• Cui Data Example

Quote

{
      "buttonName": {
           "uiType": "Hud",
           "panelType": "button",
           "OffsetMin": "-50 -50",
           "OffsetMax": "50 50",
           "text": "Button Text",
           "panelColor": "0.16 0.34 0.49 1.0",
           "panelChatCmd": "chatcommand",
           "imageUrl": "vending.machine.png",
           "imgAnchorMin": "0 0",
           "imgAnchorMax": "1 1",
           "onCmdHide": "true"
      }
}



Special thanks to @SinKohhfor contributing and testing plugin before release. 

 

  • Like 12
  • Love 10

David's Collection

User Feedback

1.5m

Downloads

Total number of downloads.

7k

Customers

Total customers served.

105.2k

Files Sold

Total number of files sold.

2.1m

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.