This repository contains the complete configuration, plugin suite, and optimized scripts for the NAF Minecraft Server. Built on LeafMC, this setup is designed for high performance, rich world generation, and seamless integration between platforms.
To launch the server, use the startup script corresponding to your operating system. These scripts ensure the server automatically restarts in case of a crash.
./run.sh.\run.batNote: To stop the auto-restart loop, press
CTRL + Cduring the 5-second countdown after the server stops.
After the first launch, run these commands in the console:
lp import "luckperms-naf-default.json.gz"gamerule players_sleeping_percentage 25To configure the world borders, set up selections, and start pre-generation safely from the console, execute the following commands:
execute in minecraft:overworld run gamerule locator_bar false
execute in minecraft:overworld run worldborder center 0 0
execute in minecraft:overworld run worldborder set 20000
chunky world world
chunky center 0 0
chunky radius 10000
chunky border add
chunky startexecute in minecraft:the_nether run gamerule locator_bar false
execute in minecraft:the_nether run worldborder center 0 0
execute in minecraft:the_nether run worldborder set 20000
chunky world world_nether
chunky center 0 0
chunky radius 10000
chunky border add
chunky startexecute in minecraft:the_end run gamerule locator_bar false
execute in minecraft:the_end run worldborder center 0 0
execute in minecraft:the_end run worldborder set 20000
chunky world world_the_end
chunky center 0 0
chunky radius 10000
chunky border add
chunky startexecute in minecraft:limbo run gamerule locator_bar false- Enable:
cmi maintenance on(Closes server to players) - Disable:
cmi maintenance off(Opens server to players)
Configure the following sensitive information in their respective YAML files:
- DiscordSRV: Bot token and channel IDs in
plugins/DiscordSRV/config.yml. - GrimAC: Webhook URLs in
plugins/GrimAC/discord.yml.
Ensure the following ports are correctly mapped/forwarded:
- Voice Chat: Set port in
plugins/voicechat-discord/config.yml. - Bedrock (Geyser): Set port in
plugins/Geyser-Spigot/config.yml.
For a comprehensive documentation of the integrated infrastructure, including the server forks, full list of plugins, datapacks, please refer to:
The performance of this server is made possible by the following resources:
- JVM Flags: Optimized using meowice-flags.
- Optimization Guides:
Created and maintained by the NAF Team.