blob: 8081c8195a10d669eba1281251cfc4304b056d68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
[gd_scene load_steps=5 format=2]
[ext_resource path="res://scripts/CmdPrompt.gd" type="Script" id=1]
[ext_resource path="res://scripts/Console.gd" type="Script" id=2]
[ext_resource path="res://scripts/ServerUI.gd" type="Script" id=4]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.0705882, 0.0705882, 0.0705882, 1 )
[node name="ServerUI" type="Node2D"]
script = ExtResource( 4 )
[node name="StartButton" type="Button" parent="." groups=["init_fields"]]
margin_left = 18.0
margin_top = 19.0
margin_right = 103.0
margin_bottom = 39.0
text = "Start Server"
[node name="StopButton" type="Button" parent="."]
visible = false
margin_left = 18.0
margin_top = 55.0
margin_right = 102.0
margin_bottom = 75.0
text = "Stop Server"
[node name="MapPath" type="LineEdit" parent="." groups=["init_fields"]]
margin_left = 117.0
margin_top = 19.0
margin_right = 334.0
margin_bottom = 43.0
text = "res://maps/Main.tscn"
[node name="Console" type="ScrollContainer" parent="."]
margin_left = 588.0
margin_top = 19.0
margin_right = 1004.0
margin_bottom = 383.0
custom_styles/bg = SubResource( 1 )
scroll_horizontal_enabled = false
script = ExtResource( 2 )
[node name="ConsoleLines" type="VBoxContainer" parent="Console"]
margin_right = 406.0
margin_bottom = 14.0
[node name="Label" type="Label" parent="Console/ConsoleLines"]
margin_right = 406.0
margin_bottom = 14.0
text = "----------------------------------CONSOLE-----------------------------------"
[node name="CmdPrompt" type="LineEdit" parent="."]
margin_left = 588.0
margin_top = 402.0
margin_right = 1004.0
margin_bottom = 426.0
script = ExtResource( 1 )
console_path = NodePath("../Console")
[node name="PlayerCount" type="SpinBox" parent="." groups=["init_fields"]]
margin_left = 347.0
margin_top = 19.0
margin_right = 421.0
margin_bottom = 43.0
min_value = 1.0
value = 4.0
[node name="Port" type="SpinBox" parent="." groups=["init_fields"]]
margin_left = 260.0
margin_top = 55.0
margin_right = 334.0
margin_bottom = 79.0
max_value = 65536.0
value = 25565.0
[node name="IP" type="LineEdit" parent="." groups=["init_fields"]]
margin_left = 117.0
margin_top = 55.0
margin_right = 247.0
margin_bottom = 79.0
text = "127.0.0.1"
[node name="MOTD" type="TextEdit" parent="." groups=["init_fields"]]
margin_left = 117.0
margin_top = 129.0
margin_right = 334.0
margin_bottom = 169.0
text = "MOTD"
[node name="ServerName" type="LineEdit" parent="." groups=["init_fields"]]
margin_left = 117.0
margin_top = 92.0
margin_right = 334.0
margin_bottom = 116.0
text = "Server Name"
[connection signal="pressed" from="StartButton" to="." method="start_server"]
[connection signal="pressed" from="StopButton" to="." method="stop_server"]
[connection signal="text_entered" from="CmdPrompt" to="CmdPrompt" method="enter_cmd"]
|