MirrorServerReforged
A reforged version of MCDR-Mirror-Server, which is a plugin for MCDR-Reforged 2.6.0+.
Installation command
!!MCDR plugin install mirror_server_reforgedAuthor
Repository
Synced at
...
Last update
...
Latest version
Total downloads
2853
Back to catalogue
MirrorServerReforged
A reforged version of MCDR-Mirror-Server, which is a plugin for MCDR-Reforged 2.0+.
I'll simply introduce it.
Getting Started
This plugin will initalize when the first run, it will do the following opeartions (the path can be changed in the config)
- Create
MirrorServerReforged.jsonin yourconfigfolder and fill the default config in it - Create
Mirrorfolder to store your files of mirror server - Create
./server/world//./worldinMirrorfolder (This depends on whether you use MCDR or not, use as default)
But these operations are not enough, what you need to do are as following (the path can be changed in the config)
- Put your server core and dependencies into
./Mirror/serverfolder - Edit start command and rcon information in file
config.ymlin the folder./Mirror/ - Edit the content in
./Mirror/server/server.properties. What you need to pay attention to is the ports of the mirror server and rcon related information in order to avoid encountering to the main server
It's not essential for a mirror server to be a MCDR server, you can use the vanilla or something else.
Config
If you want to change the config of this plugin, you can change the content of MirrorServerReforged.json in config folder
{
"world":[
"world"
],
"command":"python3 -m mcdreforged",
"rcon":{
"enable":false,
"host":"localhost",
"port":25565,
"password":"password"
},
"source": "./server",
"target': './Mirror/server"
}
Now, I'll introduce the content of the config file:
worldis a list include all your world's folders. ForVanillatype server, this can leave it as default. But forBukkit/Waterfall/Catserveror other server cores like them that have more than one world folder, you need to input them in the list follow afterworld. E.G.: TheBukkitserver has foldersworld,world_nether,world_the_end, then it should be filled with['world','world_nether','world_the_end'].commandStart command. Here we use this command as you use MCDR in your mirror server as default. ForVanillaorBukkit-Likeserver, you need to change it to the suitable one. E.G.:java -Xmx16G -Xms1G -jar server.jar noguirconwill contain all the rcon-related config and this feature will only be used to turn off the mirror server remotely.enableis the switch of rcon feature, it should betrueorfalse. Rcon will not be able to use if this is set tofalse, especially the command!!msr stophostis the address of your mirror server, change it as your need.portis the port of your mirror server, change it as your need.passwordis the password of the rcon feature on your mirror server, change it as your need.
sourceis the save folder of you main server save.targetis the save folder of your mirror server save.
Command List
!!msr help - Display help message
!!msr sync - Sync the world to the mirror server
!!msr reload - Reload config
!!msr start - Start mirror server
!!msr stop - Stop mirror server (Rcon feature enable is needed)
!!msr init - Initalize mirror server (Use it only when you use MCDR in your mirror server)
!!msr status - Checkout the status of your mirror server
Introduction source: docs/introduction-en.md