It's a tofu house that I create anyway!
ヾ (・ ω <) ノ "Thirty-three-three ● Ⅱ Ⅲ
Related article: Set up a Minecraft resource (Spigot) server via docker
------------------- ↓ Digression from here ↓ -------------------
Minecraft When I build a server and actually operate it, There are many adjustments.
Normal world difficulty, The weather of the resource server and the appearance of monsters, If it's creative, it's time status.
If you think about multiple participants Command execution authority, action range area, Will the server be collectable? Do you take measures against vandalism?
This time, let's list the adjustment items after installation.
------------------- ↓ The main subject starts here ↓ -------------------
If you haven't changed the config, the default difficulty is EASY. It may be a matter of taste, but I want to keep the difficulty level NORMAL.
Setting items | Set value | Details |
---|---|---|
difficulty | normal | Well, in normal |
$ docker exec -i mc mcon-cli
> mv modify set difficulty normal world
§aSuccess!§f Property §bdifficulty§f was set to §anormal
The resource server basically resets. When you reset it, the things you took will be restored and the things you made will disappear. In that case, even if you make a portal or something with difficulty, it will disappear. I wonder if there is any good way. (No answer yet)
Also, it is better that a specific biome such as bamboo, snow, or the sea is close to the spawn zone. I also want to set the seed value
The settings are
Setting items | Set value | Details |
---|---|---|
weather | false | I want to keep the weather sunny |
monsters | false | Monsters shouldn't boil |
hunger | false | Direction of no hunger |
doDaylightCycle | false | I want to fix the time |
I wonder if it looks like this
$ docker exec -i mc mcon-cli
> mv create asset NORMAL -s 3116934447057457676
Starting creation of world 'asset'...
Complete!
> mv modify set weather false asset
§aSuccess!§f Property §bweather§f was set to §afalse
> mv modify set hunger false asset
§aSuccess!§f Property §bhunger§f was set to §afalse
> mv modify set monsters false asset
§aSuccess!§f Property §bmonsters§f was set to §afalse
> mvrule doDaylightCycle false asset
§aSuccess!§f Gamerule §bdoDaylightCycle§f was set to §afalse§f.
I want to multiply items on various farms and traps, It's boring to have it in the normal world As the number of mobs and entities increases, the server becomes heavier, so I want to separate each world. So prepare a farm server (If there are no people, time will stop, so that's the point of concern)
Production is in creative mode and operation is in survival mode.
The settings are
Setting items | Set value | Details |
---|---|---|
gamemode | creative | Put into creative mode |
difficulty | hard | A wide variety of spring mons is better |
weather | false | I want to keep the weather sunny |
hunger | false | Direction of no hunger |
doDaylightCycle | false | I want to fix the time |
I wonder if it looks like this
$ docker exec -i mc mcon-cli
> mv create farm normal
> mv modify set gamemode creative farm
> mv modify set difficulty hard farm
> mv modify set weather false farm
> mv modify set hunger false farm
> mvrule doDaylightCycle false farm
I want a server for experimenting with buildings and circuits to be installed in survival. You can do it locally, I will prepare an experiment server as well.
$ docker exec -i mc mcon-cli
> mv create test NORMAL -t FLAT
Starting creation of world 'test'...
Complete!
Since it is troublesome to recreate the experiment server and farm server for each new world, Import the world information of the created server
$ cp -R ~/minecraft_data/old_world/test ~/minecraft_data/new_world/
$ docker exec -i mc mcon-cli
> mvimport test NORMAL
Starting import of world 'test '...
§aComplete!
As you know, the farther you move, the larger the server size. There seems to be a guy who uses this to troll. (I don't know)
That aside The size becomes unnecessarily large, I don't want to be heavy, so Let's see how it looks with only the range limit.
It seems that it was installed with a plug-in before, There seems to be a standard command now.
$ docker exec -i mc rcon-cli
> lp user Dozo permission set minecraft.command.* true
Execute the following command on Minecraft. For the time being, make it 10,000 blocks
/worldborder set 10000
I don't know how much is appropriate (・ ω ・)
Command input is the default for moving between worlds. You can go back and forth by entering commands while the user is logged in. Just give command authority to the user side It is not realistic for the server administrator to enter it each time, so I want to leave the move to the user without passing the authority.
** Multiverse-Portals ** to use in such a case
Authorized users actually build structures like the Nethergate on Minecraft. Set up a portal with a specific item (a wooden ax by default).
As a prerequisite, grant Multiverse-Portals permission to the user who creates the portal.
$ docker exec -i mc rcon-cli
> lp user Dozo permission set multiverse.* true
Let's assume that the resource world is asset, the normal world is world, and the gate is gate_world name.
(I see. I don't know. (・ Ω ・))
The destination does not necessarily have to be a gate, If you specify the world, it will move to the spawn point, It seems that you can also specify the coordinates.
It seems that you can also make fast travel (shortcut) via the world. After all it seems to be made like Mario's clay pipe.
Note that authorized users will not be able to cut trees with a wooden ax. It can be used when the authority is removed.
[Creative Mode](https://minecraft-ja.gamepedia.com/%E3%82%AF%E3%83%AA%E3%82%A8%E3%82%A4%E3%83%86%E3% 82% A3% E3% 83% 96) will destroy the block, so Switch to Survival Mode Keep it. ([Spectator Mode](https://minecraft-ja.gamepedia.com/%E3%82%B9%E3%83%9A%E3%82%AF%E3%83%86%E3%82%A4%E3 % 82% BF% E3% 83% BC) Is it better?)
reference: https://w.atwiki.jp/minecraftdevip/pages/31.html
I notice when I move to the world, Your luggage has been reset. This is true even if you move through the portal.
If you can't carry your luggage and go back and forth, the resource server is meaningless. ** Multiverse-Inventories ** to use in such a case You can come and go while holding your luggage
When the plug-in is installed, Since the name is set as default, Add additional servers as well.
> mvinv addworld asset default
------------------- ↓ Click here for the postscript ↓ -------------------
In the docker image (itzg / minecraft-server, maybe official) used this time, you can select the available server
I'm not sure what the characteristics of each are.
The server I used this time is Spigot, I switched to Paper, which is a derivative of this and is lighter. For the time being, it seems that the mods and plugins of Bukkit / Spigot can be applied as they are.
$ docker run -d -v ~/minecraft_data:/data -p 25565:25565 -e TYPE=PAPER -e EULA=TRUE --name mcp itzg/minecraft-server
By the way, I tried to migrate the whole world (entire directory) as it is, It seems to work fine.
Recommended Posts