mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
worldstorage folder now created by new server command.
Also creates a "readme.txt" file which says "MSM requires all your worlds be moved into this directory."
This commit is contained in:
parent
f5c6ade219
commit
5802a40d1e
2
init/msm
2
init/msm
@ -697,6 +697,8 @@ server_create() {
|
||||
as_user "$USERNAME" "touch '$SERVER_STORAGE_PATH/$1/$DEFAULT_BANNED_PLAYERS'"
|
||||
as_user "$USERNAME" "touch '$SERVER_STORAGE_PATH/$1/$DEFAULT_OPS'"
|
||||
as_user "$USERNAME" "touch '$SERVER_STORAGE_PATH/$1/$DEFAULT_PROPERTIES'"
|
||||
as_user "$USERNAME" "mkdir -p '$SERVER_STORAGE_PATH/$1/$DEFAULT_WORLD_STORAGE_PATH'"
|
||||
as_user "$USERNAME" "echo \"MSM requires all your worlds be moved into this directory.\" > '$SERVER_STORAGE_PATH/$1/$DEFAULT_WORLD_STORAGE_PATH/readme.txt'"
|
||||
echo "Done."
|
||||
|
||||
# Now that the new server has been created, we must call init again
|
||||
|
Loading…
Reference in New Issue
Block a user