added server and client files
This commit is contained in:
12
README.md
12
README.md
@@ -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`
|
||||
|
||||
2
minecraft.sh
Executable file
2
minecraft.sh
Executable file
@@ -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
|
||||
1
minecraft/TempOptifineStore-1.0.json
Normal file
1
minecraft/TempOptifineStore-1.0.json
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
16
minecraft/TlauncherProfiles.json
Normal file
16
minecraft/TlauncherProfiles.json
Normal file
@@ -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"
|
||||
}
|
||||
1
minecraft/assets/indexes/legacy.json
Normal file
1
minecraft/assets/indexes/legacy.json
Normal file
File diff suppressed because one or more lines are too long
25
minecraft/assets/log_configs/client-1.7.xml
Normal file
25
minecraft/assets/log_configs/client-1.7.xml
Normal file
@@ -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.
1585
minecraft/assets/objects/00/00562baef8bd1db4c43990f6b1027361e7f620c4
Normal file
1585
minecraft/assets/objects/00/00562baef8bd1db4c43990f6b1027361e7f620c4
Normal file
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.
1583
minecraft/assets/objects/07/075249de69efdda8344c2d5b4c02bea403fad9a0
Normal file
1583
minecraft/assets/objects/07/075249de69efdda8344c2d5b4c02bea403fad9a0
Normal file
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.
1583
minecraft/assets/objects/09/090858721704b0a6f95342538ed732124bce4945
Normal file
1583
minecraft/assets/objects/09/090858721704b0a6f95342538ed732124bce4945
Normal file
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
|
||||
1581
minecraft/assets/objects/0d/0d00418922109286950ce5c083620ed368e91fa2
Normal file
1581
minecraft/assets/objects/0d/0d00418922109286950ce5c083620ed368e91fa2
Normal file
File diff suppressed because it is too large
Load Diff
1581
minecraft/assets/objects/0d/0dbc616d03816a6f925a5b2f77e89738d290f194
Normal file
1581
minecraft/assets/objects/0d/0dbc616d03816a6f925a5b2f77e89738d290f194
Normal file
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.
1581
minecraft/assets/objects/10/10c2d1819d800db8ff9c0ea000db1223d2eecd4b
Normal file
1581
minecraft/assets/objects/10/10c2d1819d800db8ff9c0ea000db1223d2eecd4b
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
1581
minecraft/assets/objects/14/149e040de6c1193ae9bb0a0b9dae5e300eaa8cac
Normal file
1581
minecraft/assets/objects/14/149e040de6c1193ae9bb0a0b9dae5e300eaa8cac
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
1581
minecraft/assets/objects/16/16af3fb50160638e7250af4cc3beb3769f6e58b0
Normal file
1581
minecraft/assets/objects/16/16af3fb50160638e7250af4cc3beb3769f6e58b0
Normal file
File diff suppressed because it is too large
Load Diff
1581
minecraft/assets/objects/16/16e554ed068e38f738f0afa7a03db23b77456ec3
Normal file
1581
minecraft/assets/objects/16/16e554ed068e38f738f0afa7a03db23b77456ec3
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
1582
minecraft/assets/objects/18/1820f8055731340a9ed00461d0a0c0b187588c43
Normal file
1582
minecraft/assets/objects/18/1820f8055731340a9ed00461d0a0c0b187588c43
Normal file
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.
1583
minecraft/assets/objects/1e/1eac2aa97411edb07381a48270b6967426167822
Normal file
1583
minecraft/assets/objects/1e/1eac2aa97411edb07381a48270b6967426167822
Normal file
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.
1581
minecraft/assets/objects/27/277f9bc77aba8ec9bdc6a8d5585200ce0e57304b
Normal file
1581
minecraft/assets/objects/27/277f9bc77aba8ec9bdc6a8d5585200ce0e57304b
Normal file
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.
1581
minecraft/assets/objects/29/290d36a66649cd536c2b5de6f6aa74b8befb2f8a
Normal file
1581
minecraft/assets/objects/29/290d36a66649cd536c2b5de6f6aa74b8befb2f8a
Normal file
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