Skip to content

Undo#20

Merged
dghodgson merged 1 commit into
Codeprogrammers:developfrom
Paswaru:Undo
May 4, 2012
Merged

Undo#20
dghodgson merged 1 commit into
Codeprogrammers:developfrom
Paswaru:Undo

Conversation

@Paswaru

@Paswaru Paswaru commented May 4, 2012

Copy link
Copy Markdown

This will revert the script back to 0.4.3 behavior of copying all worlds in $WORLDS_DIR to the ramdisk.
Having ramworlds and worlds was causing confusion. I'll find an easier way to implement it later. Maybe an array.

Minor changes:
Cleaned up console messages.
Set tmpfs to default example in minecraft.conf
Removed RD_WORLD_DIR in minecraft.conf

I just ran through basic testing on my development server (CentOS 6.2). My production script is going to be out of sync for now, since I need the feature.

The one thing I did not test, was restarting Linux while the CraftBukkit server was running to see if I needed to change the lockfile path back to /var/lock/subsys for Red Hat Distro's.

I hope this goes better than my last pull request.

Reverts to 0.4.3 behavior of all worlds in $WORLDS_DIR will be copied to ramdisk.
It was causing confusion.  I'll find an easier way to implement it later.

Minor:
Cleaned up console messages.

Set tmpfs to default example in minecraft.conf
Removed RD_WORLD_DIR in minecraft.conf

Signed-off-by: J.C. Doll <sjdoll@gmail.com>
@dghodgson

Copy link
Copy Markdown
Member

Yeah, this one is something that can be merged automatically. :D

Personally, I like being able to selectively load worlds into ramdisk. Though I'll agree that currently it can be a tad confusing.

I think that if we ever make an install script, we could put a function in there that parses the worlds folder and outputs a list of worlds to a file, where people can choose which worlds should be loaded into the ramdisk and which ones shouldn't.

For example, you might run './install.sh scanworlds' or something.

I dunno. It's something we can work on later. Before that, there's some bug fixing to do and rsync to implement.

dghodgson added a commit that referenced this pull request May 4, 2012
Revert the script back to 0.4.3 behavior of copying all worlds in $WORLDS_DIR to the ramdisk.
@dghodgson dghodgson merged commit 848caff into Codeprogrammers:develop May 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants