这是玩家进服务器自动弹出界面,可以设置各类服务器信息、礼包等,如果你想运营,欢迎界面肯定是必备的,购买联系QQ70074417,是汉化版,修改需要一定编程技术,最起码得知道哪个位置对应的数据这样才能修改,当然也可以花钱帮忙配置。依赖
2022 年 2 月FACEPUCH更新
- 每个 ui 元素都是完全可定制的。
- 游戏内编辑器可用于进行定位更改。
- 多个预制模板。
- 权限、自定义命令、数据标签……
- 丰富的选项可以创建基本上任何布局。
- 分页系统。
- 可用的扩展
没有时间创建自己的?只需选择一个预制模板。
请记住,每个模板都需要一些定制,
不可能创建一个适合每个人的模板。
更改模板将覆盖配置中的 UI 数据文件和按钮标题。
(聊天) /wp_template – 打开模板菜单。
不再在配置文件中搞乱锚点!现在您可以使用游戏内编辑器来创建您的布局。
每次调整后都会更新更改。
命令
(聊天) /wp_edit – 打开 ui 编辑器。
(控制台) wp_movevalue <值> – 更改面板每次点击的移动量。默认 0.01
(控制台) wp_color <rust color code> – 更改您当前编辑的面板的颜色。
默认情况下禁用页面,通过使用聊天命令 /wp_populatepages您将创建
数据文件(data/welcompanel/pagedata.json)。如果您想禁用某些页面,请删除
方括号内的所有文本行并将它们留空。
{
"Tab1": {
"page2": [
"text lines here",
"text lines here",
"text lines here",
"text lines here"
],
"page3": [],
"page4": [],
"page5": [],
"page6": [],
"page7": [],
"page8": [],
"page9": [],
"page10": []
},
"Tab2": {
"page2": [],
"page3": [],
"page4": [],
"page5": [],
"page6": [],
"page7": [],
"page8": [],
"page9": [],
"page10": []
},
"Tab3": {
"page2": [],
"page3": [],
"page4": [],
"page5": [],
"page6": [],
"page7": [],
"page8": [],
"page9": [],
"page10": []
},
"Tab4": {
"page2": [],
"page3": [],
"page4": [],
"page5": [],
"page6": [],
"page7": [],
"page8": [],
"page9": [],
"page10": []
},
"Tab5": {
"page2": [],
"page3": [],
"page4": [],
"page5": [],
"page6": [],
"page7": [],
"page8": [],
"page9": [],
"page10": []
},
"Tab6": {
"page2": [],
"page3": [],
"page4": [],
"page5": [],
"page6": [],
"page7": [],
"page8": [],
"page9": [],
"page10": []
},
"Tab7": {
"page2": [],
"page3": [],
"page4": [],
"page5": [],
"page6": [],
"page7": [],
"page8": [],
"page9": [],
"page10": []
},
"Tab8": {
"page2": [],
"page3": [],
"page4": [],
"page5": [],
"page6": [],
"page7": [],
"page8": [],
"page9": [],
"page10": []
},
"Tab9": {
"page2": [],
"page3": [],
"page4": [],
"page5": [],
"page6": [],
"page7": [],
"page8": [],
"page9": [],
"page10": []
},
"Tab10": {
"page2": [],
"page3": [],
"page4": [],
"page5": [],
"page6": [],
"page7": [],
"page8": [],
"page9": [],
"page10": []
}
}
您可以在文本行或标题中使用此标签,标签将被替换为数据。
{maxplayers} – 显示您打开了多少插槽
{online} – 在线玩家数量
{playername} – 玩家姓名
{sleeping} – 睡眠玩家数量
{joining} – 显示当前有多少玩家加入
{queued} – 数量坐在 que
{worldsize}中的玩家- 地图大小
{hostname} – 你的服务器名称
{wipecountdown} – 擦除倒计时
{economics} – 显示玩家的余额
{rp} – 显示玩家的 RP 点
{
"General Settings": {
"Open when player connected.": true,
"Open on tab number.": 1,
"Open only once per wipe.": false,
"Require permission for each tab.": false,
"Custom chat commands (don't delete from list, just rename).": [
"info",
"wp_tab2",
"wp_tab3",
"wp_tab4",
"wp_tab5",
"wp_tab6",
"wp_tab7",
"wp_tab8",
"wp_tab9",
"wp_tab10"
]
},
"Button Settings": {
"Button Font Style": "robotocondensed-bold.ttf",
"Close Button Text": "✘ CLOSE",
"Text Align Inside Button": 4,
"Icon Position (parented to button)": [
"0 0",
"1 1"
]
},
"Title Settings": {
"Title Text": "<size=65>YOURSERVER.NET</size>",
"Base Font Color": "1 1 1 1",
"Font Style": "robotocondensed-bold.ttf",
"Outline Color": "0 0 0 1",
"Outline Thickness": "1.5"
},
"Tab #1 Settings": {
"Enabled": true,
"Button Title": " HOME",
"Button Icon Img": "you can change icons in data/cuiData.json",
"Base Text Size": 12,
"Base Text Color": "1 1 1 1",
"Text Style": "robotocondensed-bold.ttf",
"Text Outline Color": "0 0 0 1",
"Text Outline Thickness": "0.5",
"Text Align": 0,
"Text Lines": [
"<size=45><color=#4A95CC>RUSTSERVERNAME</color> #4</size> ",
"<size=25>WIPE SCHEDULE <color=#83b8c7>WEEKLY</color> @ <color=#83b8c7>4:00PM</color> (CET)</size>",
"<size=25>RATES <color=#83b8c7>2x GATHER</color> | <color=#83b8c7>1.5x LOOT</color></size> ",
"<size=25>GROUP LIMIT <color=#83b8c7>MAX 5</color></size>",
"<size=25>MAPSIZE <color=#83b8c7>3500</color></size> ",
"\n",
"\n",
"<size=15>Server is located in EU. Blueprints are wiped monthly. Feel free to browse our infomation panel to find out more about the server. If you have more questions, please join our discord and we will happy to help you.</size>",
"\n",
"<size=15><color=#83b8c7>\n This is demo page for Welcome, you can find more examples by checking other tabs.</color></size>"
],
"Background Image URL": "",
"Background Image Anchoring": [
"0 0",
"1 1"
]
},
"Tab #2 Settings": {
"Enabled": true,
"Button Title": " RULES",
"Button Icon Img": "you can change icons in data/cuiData.json",
"Base Text Size": 12,
"Base Text Color": "1 1 1 1",
"Text Style": "robotocondensed-regular.ttf",
"Text Outline Color": "0 0 0 1",
"Text Outline Thickness": "0.5",
"Text Align": 0,
"Text Lines": [
"<size=45><color=#4A95CC>Text Alignment</color></size>",
"",
"<size=18>You can set various text alignments inside config file.</size>",
"<size=18>There is 9 available settings, each one is defined by number (0 to 8)</size>",
"",
"<size=17>UpperLeft - <color=#4A95CC>0</color></size>\n<size=17>UpperCenter - <color=#4A95CC>1</color></size>\n<size=17>UpperRight - <color=#4A95CC>2</color></size>",
"<size=17>MiddleLeft - <color=#4A95CC>3</color></size>\n<size=17>MiddleCenter - <color=#4A95CC>4</color></size>\n<size=17>MiddleRight - <color=#4A95CC>5</color></size>",
"<size=17>LowerLeft - <color=#4A95CC>6</color></size>\n<size=17>LowerCenter - <color=#4A95CC>7</color></size>\n<size=17>LowerRight - <color=#4A95CC>8</color></size>",
"",
""
],
"Background Image URL": "",
"Background Image Anchoring": [
"0 0",
"1 1"
]
},
"Tab #3 Settings": {
"Enabled": true,
"Button Title": " WIPE CYCLE",
"Button Icon Img": "you can change icons in data/cuiData.json",
"Base Text Size": 15,
"Base Text Color": "1 1 1 1",
"Text Style": "robotocondensed-bold.ttf",
"Text Outline Color": "0 0 0 1",
"Text Outline Thickness": "0",
"Text Align": 4,
"Text Lines": [
"<size=45><color=#4A95CC>Text Style Tags</color></size>",
"",
"(color=#4A95CC)<color=#FF8000FF>Text Color</color>(/color)",
"(size=18)<size=18><color=#4A95CC>Text Size</color></size>(/size)",
"(b)<b><color=#4A95CC>Bold Text</color></b>(/b)",
"(i)<i><color=#4A95CC>Italic Text</color></i>(/i)",
"",
"",
"<size=18>Replace ( ) with <color=#4A95CC>< ></color> in actual config file, rounded brackets used only as showcase.</size>",
""
],
"Background Image URL": "",
"Background Image Anchoring": [
"0 0",
"1 1"
]
},
"Tab #4 Settings": {
"Enabled": true,
"Button Title": " STEAM GROUP",
"Button Icon Img": "you can change icons in data/cuiData.json",
"Base Text Size": 12,
"Base Text Color": "1 1 1 1",
"Text Style": "permanentmarker.ttf",
"Text Outline Color": "0 0 0 1",
"Text Outline Thickness": "1.5",
"Text Align": 4,
"Text Lines": [
"<size=45><color=#4A95CC>RUSTSERVERNAME</color> #4</size> ",
"<size=25>WIPE SCHEDULE <color=#83b8c7>WEEKLY</color> @ <color=#83b8c7>4:00PM</color> (CET)</size>",
"<size=25>RATES <color=#83b8c7>2x GATHER</color> | <color=#83b8c7>1.5x LOOT</color></size> ",
"<size=25>GROUP LIMIT <color=#83b8c7>MAX 5</color></size>",
"<size=25>MAPSIZE <color=#83b8c7>3500</color></size> ",
"\n",
"\n",
"<size=15>Server is located in EU. Blueprints are wiped monthly. Feel free to browse our infomation panel to find out more about the server. If you have more questions, please join our discord and we will happy to help you.</size>",
"\n",
"<size=15><color=#83b8c7>\n This is demo page for Welcome, you can find more examples by checking other tabs.</color></size>"
],
"Background Image URL": "",
"Background Image Anchoring": [
"0 0",
"1 1"
]
},
"Tab #5 Settings": {
"Enabled": true,
"Button Title": " DISCORD",
"Button Icon Img": "you can change icons in data/cuiData.json",
"Base Text Size": 18,
"Base Text Color": "1 1 1 1",
"Text Style": "robotocondensed-regular.ttf",
"Text Outline Color": "0 0 0 1",
"Text Outline Thickness": "0.5",
"Text Align": 4,
"Text Lines": [
"<size=45><color=#4A95CC>Available Fonts</color></size>",
"",
"",
"droidsansmono.ttf",
"permanentmarker.ttf",
"robotocondensed-bold.ttf",
"robotocondensed-regular.ttf",
""
],
"Background Image URL": "",
"Background Image Anchoring": [
"0 0",
"1 1"
]
},
"Tab #6 Settings": {
"Enabled": true,
"Button Title": " BUG REPORT",
"Button Icon Img": "you can change icons in data/cuiData.json",
"Base Text Size": 20,
"Base Text Color": "1 1 1 1",
"Text Style": "permanentmarker.ttf",
"Text Outline Color": "0 0 0 1",
"Text Outline Thickness": "1.5",
"Text Align": 4,
"Text Lines": [
"Welcome \n",
"You can set background image for each tab and also change position/size",
""
],
"Background Image URL": "http://333017_web.fakaheda.eu/bgimage.png",
"Background Image Anchoring": [
"0 0",
"1 1"
]
},
"Tab #7 Settings": {
"Enabled": true,
"Button Title": " ADMIN",
"Button Icon Img": "you can change icons in data/cuiData.json",
"Base Text Size": 17,
"Base Text Color": "1 1 1 1",
"Text Style": "robotocondensed-regular.ttf",
"Text Outline Color": "0 0 0 1",
"Text Outline Thickness": "1.5",
"Text Align": 4,
"Text Lines": [
"<size=27><color=#4A95CC><i>Thank you for purchasing Welcome</i></color></size>",
"",
"",
"If you found good use of this plugin, please don't forget leave review.",
"Suggestions are also welcomed.",
"",
"<size=11>DISCORD</size> <color=#4A95CC><b>!David#1337</b></color>"
],
"Background Image URL": "",
"Background Image Anchoring": [
"0 0",
"1 1"
]
},
"Tab #8 Settings": {
"Enabled": true,
"Button Title": " SHOP",
"Button Icon Img": "you can change icons in data/cuiData.json",
"Base Text Size": 17,
"Base Text Color": "1 1 1 1",
"Text Style": "robotocondensed-regular.ttf",
"Text Outline Color": "0 0 0 1",
"Text Outline Thickness": "1.5",
"Text Align": 4,
"Text Lines": [
"<size=27><color=#4A95CC><i>Thank you for purchasing Welcome</i></color></size>",
"",
"",
"If you found good use of this plugin, please don't forget leave review.",
"Suggestions are also welcomed.",
"",
"<size=11>DISCORD</size> <color=#4A95CC><b>!David#1337</b></color>"
],
"Background Image URL": "",
"Background Image Anchoring": [
"0 0",
"1 1"
]
},
"Tab #9 Settings": {
"Enabled": true,
"Button Title": " VIP",
"Button Icon Img": "you can change icons in data/cuiData.json",
"Base Text Size": 17,
"Base Text Color": "1 1 1 1",
"Text Style": "robotocondensed-regular.ttf",
"Text Outline Color": "0 0 0 1",
"Text Outline Thickness": "1.5",
"Text Align": 4,
"Text Lines": [
"<size=27><color=#4A95CC><i>Thank you for purchasing Welcome</i></color></size>",
"",
"",
"If you found good use of this plugin, please don't forget leave review.",
"Suggestions are also welcomed.",
"",
"<size=11>DISCORD</size> <color=#4A95CC><b>!David#1337</b></color>"
],
"Background Image URL": "",
"Background Image Anchoring": [
"0 0",
"1 1"
]
},
"Tab #10 Settings": {
"Enabled": true,
"Button Title": " UPDATES",
"Button Icon Img": "you can change icons in data/cuiData.json",
"Base Text Size": 17,
"Base Text Color": "1 1 1 1",
"Text Style": "robotocondensed-regular.ttf",
"Text Outline Color": "0 0 0 1",
"Text Outline Thickness": "1.5",
"Text Align": 4,
"Text Lines": [
"<size=27><color=#4A95CC><i>Thank you for purchasing Welcome</i></color></size>",
"",
"",
"If you found good use of this plugin, please don't forget leave review.",
"Suggestions are also welcomed.",
"",
"<size=11>DISCORD</size> <color=#4A95CC><b>!David#1337</b></color>"
],
"Background Image URL": "",
"Background Image Anchoring": [
"0 0",
"1 1"
]
},
"Addons": {
"Tab 1": "null",
"Tab 2": "null",
"Tab 3": "null",
"Tab 4": "null",
"Tab 5": "null",
"Tab 6": "null",
"Tab 7": "null",
"Tab 8": "null",
"Tab 9": "null",
"Tab 10": "null"
}
}
• 更改文本字符串中的文本颜色和大小。
两个简单的标签,<size> 和 <color>,你会在默认配置中找到示例,所有这些都被演示了。
例如:<size=65>您的<color=#FF8C1AFF>服务器</color>.NET</size>
• 更改文本对齐方式。
共有九个文本对齐选项。它们在配置中由数字 [0 到 8] 定义。您
将能够在默认配置中找到带有可用选项的图表。
• 基本文本大小和颜色。
如前所述,您可以通过将标签与文本行放在一起来更改文本大小,
但是基本文本大小还将定义您在每个新行之间获得多少空间。
当您仅突出显示一段文本时,基色效果很好。
• RGBA Color
Rust UI 使用百分比 RGBA 颜色系统。
• 可用的文本字体。
assets/content/ui/fonts/droidsansmono.ttf
assets/content/ui/fonts/permanentmarker.ttf
assets/content/ui/fonts/robotocondensed-bold.ttf
assets/content/ui/fonts/robotocondensed-regular.ttf
暂无评论内容