Hello there,
First I would like to thank you for all the umod that you created helping out the Rust community, second i would like to know how to add a second message or a second panel, I'm new to this plugins I tried to add a second panel, but i'm not successful for doing it, any help or hints how to do it will be greatly appreciated.
Thank you.
Add a second message.
Hey, you would do something like this:
{
"Message Panels": {
"MagicMessagePanel_1": {
"Perm or Group messages": [{
"Messages": [
"{server.name}"
],
"Group or Permission": "default",
"Player Group or Permission State (In, NotIn)": "In",
"Enabled": true
}],
"Panel Settings": {
"Dock": "bottom",
"Width": 0.2954,
"Order": 0,
"BackgroundColor": "#FFF2DF08"
},
"Panel Layout": {
"Text": {
"Text": "",
"FontSize": 14,
"TextAnchor": "MiddleCenter",
"Enabled": true,
"Color": "#FFFFFFFF",
"Order": 1,
"Width": 1.0,
"Padding": {
"Left": 0.05,
"Right": 0.05,
"Top": 0.1,
"Bottom": 0.0
}
}
},
"Random Message Display Order": true,
"Update Rate (Seconds)": 15.0,
"Enabled": true
}
},
"MagicMessagePanel_2": {
"Perm or Group messages": [{
"Messages": [
"{server.name}"
],
"Group or Permission": "default",
"Player Group or Permission State (In, NotIn)": "In",
"Enabled": true
}],
"Panel Settings": {
"Dock": "bottom",
"Width": 0.2954,
"Order": 0,
"BackgroundColor": "#FFF2DF08"
},
"Panel Layout": {
"Text": {
"Text": "",
"FontSize": 14,
"TextAnchor": "MiddleCenter",
"Enabled": true,
"Color": "#FFFFFFFF",
"Order": 1,
"Width": 1.0,
"Padding": {
"Left": 0.05,
"Right": 0.05,
"Top": 0.1,
"Bottom": 0.0
}
}
},
"Random Message Display Order": true,
"Update Rate (Seconds)": 15.0,
"Enabled": true
}
} Thank you so much for the quick response, I see how you did it now, you copied the entire thing.
Again MJSU can't thank you enought for what you do for the Rust community, your work is Gold.
Merged post
I did follow the direction, it did not give me an error re-loading the plugin, but the message never changed after 15s.
Merged post
{
"Message Panels": {
"MagicMessagePanel_1": {
"Perm or Group messages": [{
"Messages": [
"join our Discord XXXXXXXXXX"
],
"Group or Permission": "default",
"Player Group or Permission State (In, NotIn)": "In",
"Enabled": true
}],
"Panel Settings": {
"Dock": "bottom",
"Width": 0.2954,
"Order": 0,
"BackgroundColor": "#FFF2DF08"
},
"Panel Layout": {
"Text": {
"Text": "",
"FontSize": 14,
"TextAnchor": "MiddleCenter",
"Enabled": true,
"Color": "#FFFFFFFF",
"Order": 1,
"Width": 1.0,
"Padding": {
"Left": 0.05,
"Right": 0.05,
"Top": 0.1,
"Bottom": 0.0
}
}
},
"Random Message Display Order": false,
"Update Rate (Seconds)": 15.0,
"Enabled": true
}
},
"MagicMessagePanel_2": {
"Perm or Group messages": [{
"Messages": [
"Raid week Feb 24 for more information join our Discord"
],
"Group or Permission": "default",
"Player Group or Permission State (In, NotIn)": "In",
"Enabled": true
}],
"Panel Settings": {
"Dock": "bottom",
"Width": 0.2954,
"Order": 0,
"BackgroundColor": "#FFF2DF08"
},
"Panel Layout": {
"Text": {
"Text": "",
"FontSize": 14,
"TextAnchor": "MiddleCenter",
"Enabled": true,
"Color": "#FFFFFFFF",
"Order": 1,
"Width": 1.0,
"Padding": {
"Left": 0.05,
"Right": 0.05,
"Top": 0.1,
"Bottom": 0.0
}
}
},
"Random Message Display Order": false,
"Update Rate (Seconds)": 15.0,
"Enabled": true
}
}
Merged post
Nevermind, I relize that when I copy and paste it to the config file, for some reason the server will only see 1 panel, when I open the config file thru FTP I can see the entire script you sent me, but if I open the file thru the game host website, it only show one panel.
Anyways Thank you so much for all the help MJSU.
Merged post
By the MJSU, I did find the solution for that problem, the way that worked for me hosting on Shockbyte servers, one panel with one line message "xxxxx","xxxxx" and the message does change every 15sec or dependsof the user. I thought I will share that with you.