当前位置:网站首页>Minecraft server technology explanation 𞓜 teach you how to get to the ashes from Xiaobai -- server technology explanation
Minecraft server technology explanation 𞓜 teach you how to get to the ashes from Xiaobai -- server technology explanation
2022-06-23 03:20:00 【User 1300309】
First of all , We need to start a server first
To open the server, we need to finish the server core
What is a core document
JAR(JavaArchive,Java The archive ) It's a platform independent file format , It allows many files to be combined into one compressed file . by J2EE Application created JAR File is EAR file ( Enterprises JAR file ).
JAR The file format is in popular ZIP File format is the basis . And ZIP The difference between documents is ,JAR Files are not only used for compression and distribution , It is also used to deploy and encapsulate Libraries 、 Components and plug-ins , And can be used like compilers and JVM Such tools are used directly . stay JAR Contains special files , Such as manifests And deployment descriptors , Used to indicate how a tool deals with a particular JAR.
One JAR Files can be used for :
□ For publishing and using class libraries
□ As a building block for applications and extensions
□ As a component 、applet Or the deployment unit of the plug-in
□ Used to package auxiliary resources associated with components
JAR File formats offer many advantages and functions , Many of them are traditional compression formats such as ZIP perhaps TAR What is not provided . They include :
· Security . It can be done to JAR Document content plus digital signature . such , Tools that recognize signatures can optionally grant you software security privileges , This is something that no other document can do , It can also detect if the code has been tampered with .
· Reduce download time . If one applet Bind to a JAR In file , Then the browser can be in a HTTP Download this applet Class files and related resources , Instead of opening a new connection to every file .
· Compress .JAR Format allows you to compress files to improve storage efficiency .
· Transport platform extension .Java Extension framework (JavaExtensionsFramework) Provided to Java How to add functions to the core platform , These extensions are for JAR The files are packed (Java3D and JavaMail Is the Sun Examples of extensions developed ).
· Package seal . Stored in JAR Packages in the file can be optionally sealed , To enhance version consistency and security . Sealing a package means that all classes in the package must be in the same JAR Found in file .
· Package version control . One JAR A file can contain data about the files it contains , Such as manufacturer and version information .
· Portability . Handle JAR The mechanism of the document is Java Platform core API The standard part of .
The role of the core document is the same as that of electrical appliances , You can't turn on the electric appliance without electricity , Without an open server core, you cannot open the server
There are many kinds of core documents ,bukkit,MCBC,Cauldron、ITX( The core of mobile phone service )、Spigot、MCpc、CB And so on
So the core file , I'll give you the download address of
http://pan.baidu.com/s/1mijhF5Y
Because there are too many cores , I uploaded yidididiu
After downloading ,
Create a folder ( Take any name ), Put the downloaded core in this folder
so what
Then right click to create a text , Rename to “xxx.bat” Right click to edit input :
@echooff
:MAIN
cls
java-Xms1024M-Xmx1024M-jar xxx.ja
ifexist"plugins\RestartEvolution\restart.mcs"gotoMAIN
ifnotexist"plugins\RestartEvolution\restart.mcs"gotoEND
:END
echo.
pause>nul
Please change the red area to the name of the downloaded core file
Click on bat After the file is started , A pile of things will be generated in the folder ,
We just need to find
Everybody find server.properties, Open this text ( Suggest using Notepad++ open )
allow-nether=true# Whether the server opens the hell world
level-name=world # Server default map name
allow-flight=false# Players fly
server-port=255565# Server port , Default 25565
level-seed=# Generate the seeds of the map
max-build-height=256# The maximum building distance of the server
spawn-npcs=true# Generate NPC
white-list=false# White list
spawn-animals=true# Generative animal
online-mode=false# Whether to enable genuine login
pvp=true# Open or not PVP
gamemode=0# Default player mode
max-players=100# Server player limit
view-distance=10# Maximum visible distance of the server
motd=AMinecraftServer# Server name ( Only English is supported )
Please restart after the change bat file . Because the configuration will not take effect immediately .
so what , We installed mod Is to be in /mods/ Folder installation
Install plug-ins , It is in /plugins/ Folder installation
1.7.10 Version of , Created bat The first time you open a file, it will only generate a folder and oneortwo files , Now there's a eula.txt The file of , open , The inside of false Change to true Talent , Reopen , Will create a pile of files and folders
so what , We installed mod Is to be in /mods/ Folder installation
Install plug-ins , It is in /plugins/ Folder installation
Last
I hope you will support me more author : gather kong https://www.bilibili.com/read/cv1047568/ Source :bilibili
边栏推荐
- Use ES6 new Target to simulate abstract classes
- Implementation idea and solution of calling global monitoring for applet
- Detailed explanation of label smoothing and implementation of pytorch tenorflow
- Goframe framework (RK boot): enable tls/ssl
- The primary level of SAP retail uses the transaction code wrfmatcopy to create commodity master data
- Using promise to process asynchronous operations
- Section 6: basic configuration I of spingboot
- Free upgrade of 2-core 2GB for old generation 1-core 2GB machines below standard S5 and SA2
- Network security memorabilia - Summary of vulnerability exploitation events in 2021
- Quickly understand the development status of secondary nodes of industrial Internet identity analysis
猜你喜欢
![Analysis on development history, industrial chain, output and enterprise layout of medical polypropylene in China in 2020 [figure]](/img/28/ebfc25ec288627706e15a07e6bdb77.jpg)
Analysis on development history, industrial chain, output and enterprise layout of medical polypropylene in China in 2020 [figure]

Analysis on the development of duty-free industry in Hainan Province in 2021: the implementation of the new policy makes the duty-free market in Hainan more "prosperous" [figure]

Analysis on the development of China's satellite navigation industry chain in 2021: satellite navigation is fully integrated into production and life, and the satellite navigation industry is also boo

Encryption related to returnee of national market supervision public service platform
![Analysis of the number of urban residents covered by basic medical insurance, their treatment and medical treatment in other places in China in 2021 [figure]](/img/81/4d3cb059f700dd9243645e64023be7.jpg)
Analysis of the number of urban residents covered by basic medical insurance, their treatment and medical treatment in other places in China in 2021 [figure]
![[quick view] Analysis on the development status and future development trend of the global and Chinese diamond cultivation industry in 2021 [figure]](/img/f1/972a760459a6d599b5681aa634df09.jpg)
[quick view] Analysis on the development status and future development trend of the global and Chinese diamond cultivation industry in 2021 [figure]
![Analysis of China's integrated circuit industry chain in 2021: huge downstream market demand [figure]](/img/de/d73805aaf4345ca3d2a7baf85aab8d.jpg)
Analysis of China's integrated circuit industry chain in 2021: huge downstream market demand [figure]

Analysis on the development of China's graphene industry chain in 2021: with the support of energy conservation and environmental protection policies, the scale of graphene industry will continue to e
![Analysis on demand and market scale of China's steamed stuffed bun industry in 2020 [figure]](/img/4b/dd272f98b89a157180bf68570d2763.jpg)
Analysis on demand and market scale of China's steamed stuffed bun industry in 2020 [figure]
![Analysis on the development status of China's watch industry in 2021: a large number of electric watches are imported [figure]](/img/ca/672bfe49c8123da8679b2abeb43a2e.jpg)
Analysis on the development status of China's watch industry in 2021: a large number of electric watches are imported [figure]
随机推荐
What are the advantages and difficulties of introducing AI into ISP Technology
Best practices for building multi architecture mirrors
Im web demo invite end hang up error avoidance
Decentralized networks are not decentralized
How to install redis version 5.0.8 on the pagoda panel
Reading redis source code (II) underlying data structure
Construction and exploration of vivo database and storage platform
Chaoscraft: join your girlfriend in Hackathon show -- Interview with the skate team
Enterprise official website applet building tutorial - solution
The logical operators |, & &!
Detailed explanation of label smoothing and implementation of pytorch tenorflow
Cve-2021-4034 reappearance
Account MFA usage scheme
Exploration on the framework of stream batch integration technology and its practice in kangaroo cloud number stack
JS asynchronous mechanism
Aiot application innovation competition - Smart street lamp (developed with keil)
Wwdc21 - App store server API practice summary
On the way home from the Spring Festival transportation, traffic visualization will escort you
2022-01-25: serialize and deserialize n-ary tree. Serialization means that a
Compile your own openwrt firmware using Tencent cloud lightweight application server