Minutes 2025-11-13: Difference between revisions

Jump to navigation Jump to search
no edit summary
(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
###### lowLow-latency storage
###### 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 recordrecords on domain for different servers on the same host so users don't need to specify a different port
### 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
###### removesRemoves users being able to submit other user's messages back to Microsoft and potentially get them permanently banned from Multiplayer
##### GeyserMC + Floodgate
###### Allow bedrock players to join a Java server
###### In-game proximity voice chat
###### Improves social experience
##### Distant HorizensHorizons
###### 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 noticablenoticeable, you get teleported back, and a lot of other annoying things
##### Spawning/Entities is very laggy
##### Block updates usually not so much, barring massive redstoneRedstone contraptions
##### World generation can be a major lag producer if you are generating chunks
##### Easiest fix is decreasing simulation distance
##### You can also pregeneratepre-generate large parts of the world before people first join
##### 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 benifitbenefit yourself, players typically don't like this
##### 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 enviornmentenvironment you want for the server
##### 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
#### `<code>cat banned-players.json`</code>
##### thatThat one person who was obviously using x-ray
##### forFor shame!
#### Live chat preview
##### "<code>[Server] i am watching you"</code>
##### "<code><Sting1> D: 1984"</code>
#### 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 AccociationAssociation will still exist as an entity after the building inevitably collapses
# 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
### pagePage for all custom mods/software [https://www.2b2t.org/mods/]
### 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]]

Navigation menu