We need to install Java Paper Minecraft platform to support plugins! To set up the server on Ubuntu and run a Paper Minecraft Java server:
sudo apt update && sudo apt upgrade -ysudo apt install openjdk-21-jdk -ymkdir ~/minecraft && cd ~/minecraftwget https://api.papermc.io/v2/projects/paper/versions/1.21.4/builds/226/downloads/paper-1.21.4-226.jar -O paper.jarecho "java -Xms2G -Xmx4G -jar paper.jar nogui" > start.sh
chmod +x start.sh./start.sh # then edit eula.txt to set eula=true./start.shNow the server is ready to install plugins and configure worlds.
Find and download plugins under ~/minecraft/plugins folder. Then restart the server and you are ready to use them.
survival: Normal world (gamemode: SURVIVAL)
/mv create survival normal/mv modify set gamemode SURVIVAL survivalcreative: Custom deep flat creative world (gamemode: CREATIVE)
Blocks: 1 bedrock, 50 stone, 3 dirt, 1 grass
/mv create creative normal -s "3;1x7,50x1,3x3,1x2;"/mv modify set gamemode CREATIVE creativeFirst move to worlds and set warps there. Then create two signs to spawn area and write codes below.
/mv tp craetive or /mv tp survival/setwarp survival, /setwarp creativet[Warp] + survival or creative/spawn return to spawnMultiverse-Inventories groups.yml:
groups:
survival:
worlds:
- survival
default-gamemode: SURVIVAL
creative:
worlds:
- creative
default-gamemode: CREATIVE
XP & health does not transfer: config.yml
share:
inventories: false
experience: false
health: false
hunger: false
//wand//expand vert/region define spawn/region flag spawn build deny/region flag spawn pvp deny/region flag spawn use allow/region flag spawn entry allow/region flag spawn tnt deny/region flag spawn fire-spread deny/region flag spawn creeper-explosion deny
Myself:
/lp user "username" permission set essentials.gamemode.*Prevent others:
/lp group default permission set essentials.gamemode false/lp group default permission set essentials.gamemode.creative false
Goal: User can use command /gamemode creative only in the world spawn area and click on warp signs to access other worlds without OP rights.
/deop User/lp user User permission set essentials.gamemode.* true world/lp user User permission set minecraft.command.gamemode true world/lp user User permission set minecraft.command.gamemode.creative true world/region addowner spawn User/mv modify set gamemode NONE world/lp user User permission set essentials.warp true/lp user User permission set essentials.signs.use.warp true/lp group default permission set essentials.signs.use.warp true/lp group default permission set essentials.warp trueenabledSigns: contains - warpuse-per-warp-permissions: false/region flag spawn use allow