redoing configuration
This commit is contained in:
parent
921eac9edc
commit
4264790345
28
configs/alwayson.json
Normal file
28
configs/alwayson.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"serverHotKey": "F9",
|
||||
"profitmargin": 50,
|
||||
"upgradeHouse": 0,
|
||||
"petname": "funnysnek",
|
||||
"farmcavechoicemushrooms": true,
|
||||
"communitycenterrun": true,
|
||||
"timeOfDayToSleep": 2200,
|
||||
"lockPlayerChests": true,
|
||||
"clientsCanPause": false,
|
||||
"copyInviteCodeToClipboard": true,
|
||||
"festivalsOn": true,
|
||||
"eggHuntCountDownConfig": 120,
|
||||
"flowerDanceCountDownConfig": 120,
|
||||
"luauSoupCountDownConfig": 120,
|
||||
"jellyDanceCountDownConfig": 120,
|
||||
"grangeDisplayCountDownConfig": 120,
|
||||
"iceFishingCountDownConfig": 120,
|
||||
"endofdayTimeOut": 300,
|
||||
"fairTimeOut": 1200,
|
||||
"spiritsEveTimeOut": 900,
|
||||
"winterStarTimeOut": 900,
|
||||
"eggFestivalTimeOut": 120,
|
||||
"flowerDanceTimeOut": 120,
|
||||
"luauTimeOut": 120,
|
||||
"danceOfJelliesTimeOut": 120,
|
||||
"festivalOfIceTimeOut": 120
|
||||
}
|
5
configs/autoload.json
Normal file
5
configs/autoload.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"LastFileLoaded": null,
|
||||
"LoadIntoMultiplayer": true,
|
||||
"ForgetLastFileOnTitle": true
|
||||
}
|
3
configs/unlimitedplayers.json
Normal file
3
configs/unlimitedplayers.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"PlayerLimit": 10
|
||||
}
|
@ -10,6 +10,9 @@ services:
|
||||
- ./asound.conf:/etc/asound.conf
|
||||
- ./config:/root/.config/i3/config
|
||||
- ./valley_saves:/root/.config/StardewValley/Saves/
|
||||
- ./configs/alwayson.json:/data/Stardew/Stardew\ Valley/Mods/Always\ On\ Server/config.json
|
||||
- ./configs/unlimitedplayers.json:/data/Stardew/Stardew\ Valley/Mods/UnlimitedPlayers/config.json
|
||||
- ./configs/autoload.json:/data/Stardew/Stardew\ Valley/Mods/AutoLoadGame/config.json
|
||||
devices:
|
||||
- /dev/snd:/dev/snd
|
||||
|
||||
|
@ -17,7 +17,6 @@ RUN mkdir -p /data/Stardew && \
|
||||
COPY mods/alwayson.zip /data/alwayson.zip
|
||||
COPY mods/unlimitedplayers.zip /data/unlimitedplayers.zip
|
||||
COPY mods/autoloadgame.zip /data/autoloadgame.zip
|
||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||
|
||||
RUN unzip /data/alwayson.zip -d /data/Stardew/Stardew\ Valley/Mods && \
|
||||
unzip /data/unlimitedplayers.zip -d /data/Stardew/Stardew\ Valley/Mods && \
|
||||
@ -25,4 +24,5 @@ RUN unzip /data/alwayson.zip -d /data/Stardew/Stardew\ Valley/Mods && \
|
||||
rm /data/alwayson.zip /data/unlimitedplayers.zip /data/autoloadgame.zip
|
||||
|
||||
|
||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
|
@ -1,10 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
Xvfb :10 -screen 0 1000x1000x24 -ac &
|
||||
Xvfb :10 -screen 0 1580x920x24 -ac &
|
||||
export DISPLAY=:10.0
|
||||
x11vnc -display :10 -rfbport 5900 -rfbportv6 -1 -no6 -noipv6 -httpportv6 -1 -forever -desktop StardewValley -cursor arrow -shared -passwd 23eris42 &
|
||||
sleep 5
|
||||
i3 &
|
||||
chmod +x /data/Stardew/Stardew\ Valley/StardewValley
|
||||
|
||||
TERM=xterm
|
||||
/data/Stardew/Stardew\ Valley/StardewValley
|
||||
|
Loading…
Reference in New Issue
Block a user