Skip to content

Commit c090ade

Browse files
committed
defaultConfig
1 parent aa95aa7 commit c090ade

File tree

7 files changed

+70
-17
lines changed

7 files changed

+70
-17
lines changed

README.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,53 +23,49 @@ cd web-minecraft
2323
npm install
2424

2525
```
26-
<h3>Uruchamianie gry</h3>
26+
<h3>Defaultowa konfiguracja:</h3>
27+
<img src="src/config.png"
28+
alt="screenshot"
29+
style="margin-right: 10px;" />
30+
<br>
31+
Można zmieniać konfigurację edytując plik <b>server/config.json</b>.
32+
<h3>Dla deweloperów</h3>
2733

2834
```bash
2935

30-
#Uruchamianie konsoli
36+
#Uruchamianie konsoli i serwera node.js (Gra z defaultu hostowana pod linkiem: http://localhost:8080)
3137
npm start
3238

33-
#Po uruchomieniu serwera gra zostanie (z defaultu) hostowana pod linkiem: http://localhost:8080
34-
```
35-
36-
<h3>Dla deweloperów</h3>
37-
38-
```bash
39-
4039
#Generowanie atlasu tekstur
4140
npm run atlas
4241

4342
#Uruchamianie kompilatora coffeescript
4443
npm run coffee
4544

46-
#Instalacja i uruchamianie serwera minecraftowego
45+
#Instalacja i uruchamianie serwera minecraftowego (Możesz też użyć swojego)
4746
npm run mcserver
4847

4948
#Model gry
5049
npm run diagram
5150
```
5251

53-
54-
5552
<h3>DEMO</h3>
5653

5754
Demonstracja gry znajduje się pod adresem: <a href="http://mc.grok.eu">http://mc.grok.eu</a>
5855

5956
<h3>Screenshoty:</h3>
60-
6157
<img src="src/screen1.png"
6258
alt="screenshot"
63-
style="float: left; margin-right: 10px;" />
59+
style="margin-right: 10px;" />
6460
<img src="src/screen2.png"
6561
alt="screenshot"
66-
style="float: left; margin-right: 10px;" />
62+
style="margin-right: 10px;" />
6763
<img src="src/screen3.png"
6864
alt="screenshot"
6965
style="float: left; margin-right: 10px;" />
7066
<img src="src/screen4.png"
7167
alt="screenshot"
72-
style="float: left; margin-right: 10px;" />
68+
style="margin-right: 10px;" />
7369

7470

7571

eula.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula).
2+
#Sat Oct 10 16:22:21 CEST 2020
3+
eula=false

logs/latest.log

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[16:22:20] [main/ERROR]: Failed to load properties from file: server.properties
2+
[16:22:21] [main/WARN]: Failed to load eula.txt
3+
[16:22:21] [main/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.

server.properties

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
#Minecraft server properties
2+
#Sat Oct 10 16:22:20 CEST 2020
3+
enable-jmx-monitoring=false
4+
rcon.port=25575
5+
level-seed=
6+
gamemode=survival
7+
enable-command-block=false
8+
enable-query=false
9+
generator-settings=
10+
level-name=world
11+
motd=A Minecraft Server
12+
query.port=25565
13+
pvp=true
14+
generate-structures=true
15+
difficulty=easy
16+
network-compression-threshold=256
17+
max-tick-time=60000
18+
use-native-transport=true
19+
max-players=20
20+
online-mode=true
21+
enable-status=true
22+
allow-flight=false
23+
broadcast-rcon-to-ops=true
24+
view-distance=10
25+
max-build-height=256
26+
server-ip=
27+
allow-nether=true
28+
server-port=25565
29+
enable-rcon=false
30+
sync-chunk-writes=true
31+
op-permission-level=4
32+
prevent-proxy-connections=false
33+
resource-pack=
34+
entity-broadcast-range-percentage=100
35+
rcon.password=
36+
player-idle-timeout=0
37+
debug=false
38+
force-gamemode=false
39+
hardcore=false
40+
white-list=false
41+
broadcast-console-to-ops=true
42+
spawn-npcs=true
43+
spawn-animals=true
44+
snooper-enabled=true
45+
function-permission-level=2
46+
level-type=default
47+
spawn-monsters=true
48+
enforce-whitelist=false
49+
resource-pack-sha1=
50+
spawn-protection=16
51+
max-world-size=29999984
File renamed without changes.

server/start.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/config.png

23.6 KB
Loading

0 commit comments

Comments
 (0)