Hi Ghosst. I've done some changes in the plugin in case you want to include them in yours. Here are the changes and a preview at the bottom:
That's all, I hope you like it.
- Added compass at the center of the bar (updates each second)
- Changed Airdrop message, no text and icon turns green when it's active.
- Changed Heli message, no text and icon turns red when it's active.
![]()
InfoPanel
Moved
Total Downloads: 55,749 - First Release: Sep 25, 2015 - Last Update: Mar 13, 2018
- 5/5, 160 likes
-
Attached Files:
-
-
i need help i install it and t shows up in config and plugins but it isnt in game
-
Author, make another opportunity to add their buttons to the panel, clicking on which will operate server command (command to assign configuration).
I would be grateful if you implement! -
[DOUBLEPOST=1444805490][/DOUBLEPOST] -
if I enable Message Box
"MessageBox": {
"Available": true,
"BackgroundColor": "0.1 0.1 0.1 0.3",
"EndPosition": "1",
"FontColor": "1 1 1 1",
"FontSize": "14",
"Messages": [
"My 1 Message"
],
I get console error:
[Oxide] 11:34 AM [Error] Failed to call hook 'OnServerInitialized' on plugin 'InfoPanel v0.7.22' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 11:34 AM [Debug] at Oxide.Plugins.InfoPanel+Messenger.GetMessage () [0x00000] in <filename unknown>:0 at Oxide.Plugins.InfoPanel.InitializeGUI (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.InfoPanel.OnServerInitialized () [0x00000] in <filename unknown>:0 at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 -
[DOUBLEPOST=1444812648][/DOUBLEPOST]
-
-
How do you change the messagebox? I have write my own message but i wont uppdate, it is the same massage " private List<string> Messages = new List<string>() { "Welcome!", "Beware! You Are Not Alone!", "Leeeeeeeeeeeroy Jenkins" };".
-
reload InfoPanel -
Yeah i did
[DOUBLEPOST=1444837477][/DOUBLEPOST]I do like this. F1 console. unload InfoPanel. Then i do all my settings in the .CS file, like write my own message. Then i write reload InfoPanel. But the message wont change -
../oxide/plugins <-- Plugins
../oxide/config <--Plugin configs -
aaa
thanks man
-
Code:
adalad's config translated to english{ "Messages": [ "Pa you crazy, bald!" "Write / rule for the rules!" "Write / pm for private messages" "Write / help to see the commands" "Write / ticket to denounce abuses" ], "Panels": { "AirdropEvent": { "ActiveColor": "0 1 0 1" "ActiveText", "Flying" "Available": "true" "BackgroundColor" "0.1 0.1 0.1 0.3" "EndPosition", "0.2" "FontColor": "1 1 1 1" "FontSize": "14" "IconEndPosition", "0.9" "IconStartPosition", "0.1" "IconUrl" "http://i.imgur.com/mFsuF5u.png" "IconOnUrl" "http://i.imgur.com/qrLAnR7.png" "InactiveColor" "1 1 1 0.1" "InactiveText": "Waiting" "StartPosition" "0.175" "TextAlign": "MiddleCenter" "TextEndPosition", "1", "TextStartPosition": "1" }, "Clock": { "Available": "true" "BackgroundColor" "0.1 0.1 0.1 0" "ClockUpdateFrequency (seconds)": 4, "EndPosition" "0.035" "FontColor": "1 1 1 1" "FontSize": "14" "StartPosition" "0.005" "TextAlign": "MiddleCenter" }, "Compass": { "Available": "true" "BackgroundColor" "0.1 0.1 0.1 0.3" "CompassUpdateFrequency (seconds)": 1, "EndPosition" "0.5275" "FontColor": "1 1 1 1" "FontSize": "14" "IconEndPosition" "0.32" "IconStartPosition", "0.1" "IconUrl" "http://i.imgur.com/LnRQlji.png" "StartPosition": "0.4725" "TextAlign": "MiddleCenter" "TextEndPosition", "1", "TextStartPosition": "0.37" }, "HelicopterEvent": { "ActiveColor" "0.7 0.1 0.1 1" "ActiveText", "attacking" "Available": "true" "BackgroundColor" "0.1 0.1 0.1 0.3" "EndPosition" "0.23" "FontColor": "1 1 1 1" "FontSize": "14" "IconEndPosition", "0.9" "IconStartPosition", "0.1" "IconUrl" "http://i.imgur.com/z21AXIa.png" "IconOnUrl" "http://i.imgur.com/6tvpMn0.png" "InactiveColor" "1 1 1 0.1" "InactiveText": "Waiting" "StartPosition" "0.205" "TextAlign": "MiddleCenter" "TextEndPosition", "1", "TextStartPosition": "1" }, "MessageBox": { "Available": "true" "BackgroundColor" "0.1 0.1 0.1 0.3" "EndPosition", "1", "FontColor": "1 1 1 1" "FontSize": "14" "MessageUpdateFrequency (seconds)": 20, "StartPosition", "0.7" "TextAlign": "MiddleCenter" }, "OPlayers": { "Available": "true" "BackgroundColor" "0.1 0.1 0.1 0.3" "EndPosition" "0.11" "FontColor": "1 1 1 1" "FontSize": "14" "IconEndPosition": "0.27" "IconStartPosition", "0.1" "IconUrl" "http://i.imgur.com/ucM0KX5.png" "StartPosition": "0.04" "TextAlign": "MiddleCenter" "TextEndPosition", "1", "TextStartPosition": "0.32" }, "Sleepers": { "Available": "true" "BackgroundColor" "0.1 0.1 0.1 0.3" "EndPosition" "0.17" "FontColor": "1 1 1 1" "FontSize": "14" "IconEndPosition" "0.32" "IconStartPosition", "0.1" "IconUrl" "http://i.imgur.com/z7d4HS9.png" "StartPosition" "0.115" "TextAlign": "MiddleCenter" "TextEndPosition", "1", "TextStartPosition": "0.37" } }, "Settings": { "BackgroundColor" "0.1 0.1 0.1 0.3" "Position (Top / Bottom)", "Bottom" } }
Last edited by a moderator: Oct 16, 2015 -
InfoPanel in Color by 2ndSky
Please give a Like for my Work ;-)
Code:{ "Messages": [ "<color=#FF5555>Text 1</color>", "<color=#55ff55>Text 2</color>", "<color=#FFEE22>Text 3</color>" ], "Panels": { "Clock": { "Available": "true", "ClockUpdateFrequency (seconds)": 4, "StartPosition": "0.016", "EndPosition": "0.090", "BackgroundColor": "0.35 0.64 0.98 0.5", "FontSize": "14", "FontColor": "1 1 1 1", "TextStartPosition": "0.25", "TextEndPosition": "1", "TextAlign": "MiddleCenter", "IconStartPosition": "0.1", "IconEndPosition": "0.29", "IconUrl": "http://i.imgur.com/Q1XdTQT.png" }, "OPlayers": { "Available": "true", "StartPosition": "0.095", "EndPosition": "0.165", "BackgroundColor": "0.65 0.85 0.50 0.5", "FontSize": "14", "FontColor": "1 1 1 1", "TextStartPosition": "0.32", "TextEndPosition": "1", "TextAlign": "MiddleCenter", "IconStartPosition": "0.1", "IconEndPosition": "0.26", "IconUrl": "http://i.imgur.com/n9EYIWi.png" }, "Sleepers": { "Available": "true", "StartPosition": "0.170", "EndPosition": "0.230", "BackgroundColor": "1.0 0.63 0.30 0.5", "FontSize": "14", "FontColor": "1 1 1 1", "TextStartPosition": "0.37", "TextEndPosition": "1", "TextAlign": "MiddleCenter", "IconStartPosition": "0.1", "IconEndPosition": "0.32", "IconUrl": "http://i.imgur.com/cNq65ii.png" }, "MessageBox": { "Available": "true", "MessageUpdateFrequency (seconds)": 20, "BackgroundColor": "0.1 0.1 0.1 0.3", "StartPosition": "0.0", "EndPosition": "1", "FontSize": "14", "FontColor": "1 1 1 1", "TextAlign": "MiddleCenter" }, "AirdropEvent": { "Available": "true", "StartPosition": "0.835", "EndPosition": "0.902", "BackgroundColor": "0.10 0.38 0.93 0.5", "FontSize": "14", "FontColor": "1 1 1 1", "TextStartPosition": "0.29", "TextEndPosition": "1", "TextAlign": "MiddleCenter", "InactiveText": "Inactive", "InactiveColor": "1 1 1 0.1", "ActiveText": "Active", "ActiveColor": "0 1 0 1", "IconStartPosition": "0.1", "IconEndPosition": "0.30", "IconUrl": "http://i.imgur.com/dble6vf.png" }, "HelicopterEvent": { "Available": "true", "StartPosition": "0.9075", "EndPosition": "0.979", "BackgroundColor": "0.93 0.24 0.24 0.5", "FontSize": "14", "FontColor": "1 1 1 1", "TextStartPosition": "0.37", "TextEndPosition": "1", "TextAlign": "MiddleCenter", "InactiveText": "Inactive", "InactiveColor": "1 1 1 0.1", "ActiveText": "Active", "ActiveColor": "0.7 0.1 0.1 1", "IconStartPosition": "0.1", "IconEndPosition": "0.31", "IconUrl": "http://i.imgur.com/xUldbuQ.png" } }, "Settings": { "BackgroundColor": "0.1 0.1 0.1 0.5", "Position (Top/Bottom)": "Bottom" } }
Attached Files:
Last edited by a moderator: Oct 16, 2015 -
-
-
but give me 1 Day -
it's been a day dude
-
Sorry :/
I have a little problem with my car :'-(
I'll can't do it now :/Last edited by a moderator: Oct 18, 2015 -
Why wont this show up? It loads?
-
Hello Guys! If anybody have a little time for a small test then plz join to me.
Servername: TestElek.
Thx!
[DOUBLEPOST=1445217328][/DOUBLEPOST]Thank you Lions!