476
edits
(Created page with "# How to run a Minecraft Server that doesn't suck by Max! ## Why should you listen to me? ### Head of the Minecraft Club on campus ### Playing Minecraft most of my life ## 5 Main aspects of running a Minecraft server ### Hardware #### Two methods ##### Pay someone else to host it ###### A good server would cost ~100-300/month ##### or host it yourself ###### Initial cost a lot higher ###### Operating cost much lower (basically just electricity) ###### MC Club's desktop c...") |
No edit summary |
||
|
##### Minecraft is singlethreaded
###### Java moment?
###### More like Minecraft moment, Java supports multithreading, but they just didn't support it because it's more difficult
##### Memory
###### MC Club went with 32GB/ram
##### Storage/Networking
######
###### NVME is best, SATA SSD is fine
###### just avoid HDDs
###### MC Club is using Azul Zing because it benchmarked the best
##### Improve garbage collection via launch arguments
#### Can setup SRV
### Configuration
#### <code>server.properties</code> is the main config file
##### All your standard settings, and....
##### Can configure server to auto-freeze when server is inactive
#### Mods
##### NoChatReports
######
##### GeyserMC + Floodgate
###### Allow bedrock players to join a Java server
###### In-game proximity voice chat
###### Improves social experience
##### Distant
###### Allows the server to send less-detailed chunks to the client, so it allows the client to see super far without a massive performance penalty
####### However, eats a lot of storage (~70GB)
#### Lag
##### Every 1/20th of a second game 'ticks' entire world (IE updates everything)
##### Ticks must be <50ms or eating is
##### Spawning/Entities is very laggy
##### Block updates usually not so much, barring massive
##### World generation can be a major lag producer if you are generating chunks
##### Easiest fix is decreasing simulation distance
##### You can also
##### Change region file compression algorithm
###### Switch from DEFLATE to LZ4 (faster), prevents lag spikes during autosave
#### As an admin, be transparent with the playerbase
#### Allow people to talk about changes before changing things
#### Don't abuse admin perms to
##### Yaoi bribed have been alleged to work for some admins in return for Elytras when servers are out
#### Keep rules short and sweet, otherwise no one will read them
##### Outline what rules and
##### Swift bans for people openly breaking rules (e.g. x-ray)
#### Minecraft Club actually disabled the Nether for the first day of the server to allow people to prepare
### And most importantly of all, have fun!
## Live demo!
### Can configure <code>sudo</code> to not prompt for a password when logged in via ssh private key
### World backup every hour, keeps for last 6 hours
####
#####
#####
#### Live chat preview
#####
#####
#### Get to see the (in)famous pen of 1000+ chickens that's eating 80% of each server tick
### That was the server!
#### Minecraft club is also hosting a world for East Hall
##### Paid $300 for indefinite hosting
##### Remains to be seen if East Hall
# After talk discussion
## MC Java technically does have multithreaded word generation, but it's very poorly multithreaded so not much better than single-threaded
### "not-java" brings a lot of performance advantages
## Good transparency on the part of 2B2T
###
### 2B2T uses Folia (regioned-threading), from the PaperMC project
### Breaks even more vanilla mechanics than regular Paper
## For most servers, an admin would probably not want Paper or Folia
[[Category:Meeting Minutes]]
| |||