added server and client files
This commit is contained in:
@@ -33,6 +33,9 @@ Download the server:
|
||||
|
||||
This will download the 1.6.4 Minecraft server JAR.
|
||||
|
||||
Or get it from the repo
|
||||
`wget https://gitea.virtonline.eu/2HoursProject/minecraft-1.6.4/src/branch/main/server/server.jar`
|
||||
|
||||
After downloading the JAR, accept the EULA:
|
||||
`echo eula=true > eula.txt`
|
||||
|
||||
@@ -49,7 +52,7 @@ Set the server to "offline mode"
|
||||
Running your server in offline mode allows players to connect without authenticating with the Minecraft session servers. Authenticating with the Minecraft session servers ensures that a player is connecting with a registered and paid Minecraft account. Running your server in offline mode can be useful when there are the Minecraft session servers have problems and prevent players from connecting. However, it introduces security risks, as **it allows anyone to use any username to join your server**. For example, one would be able to login as any white listed player, or as an op and run all administrator commands.
|
||||
|
||||
If you need online mode to be enabled/disabled on your server, change the following setting in server.properties as explained above to true or false as needed:
|
||||
`sed -i server.properties 's/online-mode=true/online-mode=false/g' server.properties`
|
||||
`sed -i 's/online-mode=true/online-mode=false/g' server.properties`
|
||||
|
||||
See all available server properties at https://help.akliz.net/docs/edit-serverproperties
|
||||
|
||||
@@ -61,3 +64,10 @@ This will run the Minecraft server with 1GB (1024MB) of RAM. If you want to give
|
||||
Save worlds
|
||||
`save-all`
|
||||
|
||||
# Run the client on Linux
|
||||
|
||||
Adjust the launch script to your path
|
||||
`sed -i "s#/MY_PATH#${PWD}/minecraft#g" minecraft.sh`
|
||||
|
||||
Run the script
|
||||
`./minecraft.sh`
|
||||
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
/MY_PATH/runtime/jre-legacy/linux/jre-legacy/bin/java -Djava.library.path=/MY_PATH/versions/1.6.4/natives \
|
||||
-cp /MY_PATH/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar:/MY_PATH/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/MY_PATH/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/MY_PATH/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/MY_PATH/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/MY_PATH/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/MY_PATH/libraries/argo/argo/2.25_fixed/argo-2.25_fixed.jar:/MY_PATH/libraries/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar:/MY_PATH/libraries/com/google/guava/guava/14.0/guava-14.0.jar:/MY_PATH/libraries/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar:/MY_PATH/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar:/MY_PATH/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/MY_PATH/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/MY_PATH/libraries/com/google/code/gson/gson/2.2.2/gson-2.2.2.jar:/MY_PATH/libraries/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0.jar:/MY_PATH/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0.jar:/MY_PATH/versions/1.6.4/1.6.4.jar -Xmx3000M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignorePatchDiscrepancies=true -Djava.net.preferIPv4Stack=true -Dminecraft.applet.TargetDirectory=/MY_PATH -Dlog4j.configurationFile=/MY_PATH/assets/log_configs/client-1.7.xml net.minecraft.client.main.Main --username cpu --session token:null:0 --version 1.6.4 --gameDir /MY_PATH --assetsDir /MY_PATH/assets/virtual/legacy --width 925 --height 530
|
||||
@@ -0,0 +1 @@
|
||||
[]
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"clientToken": "e1d9516c-9c91-45ff-9772-1b15f7711464",
|
||||
"accounts": {
|
||||
"44702d0145ad4ba58927901ee3f45fa5": {
|
||||
"username": "cpu",
|
||||
"userID": "cpu",
|
||||
"displayName": "cpu",
|
||||
"uuid": "44702d0145ad4ba58927901ee3f45fa5",
|
||||
"type": "free",
|
||||
"skinType": "tlauncher",
|
||||
"premiumAccount": false
|
||||
}
|
||||
},
|
||||
"selectedAccountUUID": "44702d0145ad4ba58927901ee3f45fa5",
|
||||
"freeAccountUUID": "44702d0145ad4ba58927901ee3f45fa5"
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="SysOut" target="SYSTEM_OUT">
|
||||
<XMLLayout />
|
||||
</Console>
|
||||
<RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
|
||||
<PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level]: %msg%n" />
|
||||
<Policies>
|
||||
<TimeBasedTriggeringPolicy />
|
||||
<OnStartupTriggeringPolicy />
|
||||
</Policies>
|
||||
</RollingRandomAccessFile>
|
||||
</Appenders>
|
||||
<Loggers>
|
||||
<Root level="info">
|
||||
<filters>
|
||||
<MarkerFilter marker="NETWORK_PACKETS" onMatch="DENY" onMismatch="NEUTRAL" />
|
||||
<RegexFilter regex=".*\$\{[^}]*\}.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
||||
</filters>
|
||||
<AppenderRef ref="SysOut"/>
|
||||
<AppenderRef ref="File"/>
|
||||
</Root>
|
||||
</Loggers>
|
||||
</Configuration>
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
_ _ ___ ______ _ _ _____ _ _ _____
|
||||
| | | |/ _ \ | ___ \ \ | |_ _| \ | | __ \
|
||||
| | | / /_\ \| |_/ / \| | | | | \| | | \/
|
||||
| |/\| | _ || /| . ` | | | | . ` | | __
|
||||
\ /\ / | | || |\ \| |\ |_| |_| |\ | |_\ \
|
||||
\/ \/\_| |_/\_| \_\_| \_/\___/\_| \_/\____/
|
||||
|
||||
(Sorry about the cheesy 90s ASCII art.)
|
||||
|
||||
Everything in this folder that does not belong here will be deleted.
|
||||
This folder will be kept sync with the Launcher at every run.
|
||||
If you wish to modify assets/resources in any way, use Resource Packs.
|
||||
|
||||
|
||||
Ta,
|
||||
Dinnerbone of Mojang
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user