
UniversalUI
This is a fully Customizable UI for Info and Buttons!
Total Downloads: 1,896 - First Release: Nov 23, 2016 - Last Update: May 13, 2017
- 5/5, 24 likes
-
So i got another issue, when i create the button spawn wolf it says in console...server tried to run command "wolf" but we blocked it...anyone know what the problem is please and thanks??
-
Yes: o.reload UniversalUI
No: server.writecfg
I think server.writecfg saves the current server settings to the startup config file for the server, but it doesn't affect the plugin like we're discussing.
Plugins generate their own file in the /oxide/config folder. UniversalUI's config is named UniversalUI.json, and the "o.reload UniversalUI.json" console command reloads the plugin so it can load the updated config file.
If you're using an FTP client (like FileZilla) to save the files, here's how the process would look:
- Navigate to the /oxide/config folder and open UniversalUI.json
- Make your desired changes and save the file
- Go back to your FTP client and verify that the the saved file is uploaded to the server
- Go to your console and type: o.reload UniversalUI
UniversalUI was compiled successfully in 2516ms
Unloaded plugin UniversalUI v2.1.4 by Absolut
[UniversalUI] All Images Initiailized
Loaded plugin UniversalUI v2.1.4 by Absolut
Your changes should now be active. If not, make sure the config file with the most recent changes was successfully uploaded to your server before you reload the plugin.
[DOUBLEPOST=1517448134][/DOUBLEPOST]
bind n chat.say /ui
[DOUBLEPOST=1517448341][/DOUBLEPOST]
bind i spawn wolf - Navigate to the /oxide/config folder and open UniversalUI.json
-
-
bind i "spawn wolf"
[DOUBLEPOST=1517872481][/DOUBLEPOST]
/alias add /help /ui -
-
Does the "delay" option for delayed commands works for you ?
-
Or I am doing something wrong or the delay option is not working.
I added the following as a button:
"0": {
"adminOnly": true,
"ButtonImage": null,
"CloseUI": false,
"command": "delay chat.say /zone_edit",
"name": null,
"permission": null
},
What to do after I press the button? -
I think delay doesn't work anymore...
-
Can you create a button to execute "ent unlock" console command for example?
-
F1 > bind U ent unlock
You can change U by the button you want to use. -
how do i add a text to a page with buttons if i klick on them?
-
Code:
Failed to call hook 'IOnServerCommand' on plugin 'RustCore v2.0.3751' (TypeLoadException: Could not load type 'StringBuilderEx' from assembly 'Oxide.Rust'.) at Oxide.Game.Rust.RustCore.IOnServerCommand (.Arg arg) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
How do i get rid of these \r AND \n in text?
Attached Files:
-
-
Would be nice if I could add other GUI plugins as part of the pages. For instance, GUIShop to be displayed within the UniverdsalUI page. To keep everything in one place under one UI.
[DOUBLEPOST=1521656823][/DOUBLEPOST] -
I can't fully edit the homepage. Only the name, background image, and text. Can't change the Type and add buttons. They just don't show up.
-
"Kits": [],
"name": "Servertips page 1 of 3",
"page": 0,
"PageImage": "https://i.imgur.com/BulbUWP.png",
"text": "SKINS: You can use /skin, but it cost $1000 every time you open SkinBox. It can take VERY long time to load skins, sometimes up to 30 sec before it start showing new skins. (\n\n)
OIL: You can find oil in ground with Survey Charge. When you do, you have to use 100.000 wood and a pickaxe to get 1 OilPump. Hit the oilhole with the axe! You need to plant 1 more Survey Charge and place OilPump! 1 low grade gives you 3 in pump! (\n\n)
GRT: If you die you get a /grt map spot to teleport back to body. Exploits like rockbuilding is not allowed. Admin is taking a flyover map every day to look for this, and can see everything with radar! Bases and players in rocks/cliffs will be wiped out and a warning will be given! (\n\n)
QUARRY: On this server you can craft QUARRY. Just get some wood and type /quarry (ignore red text, it will go away.",
"type": 0
}, -
What do you want to achieve? Get to the next line?
I just use\n or \n\n to get a skipped line. -
-