-
Notifications
You must be signed in to change notification settings - Fork 0
LOCAL_SETUP
This page describes you how to run craftbukkit and mckokoro as your local server.
- Windows user
- Clean up HDD and install Gentoo
- Mac OS X user
- ok
- Linux user
- ok
- Mac OS X user
brew install leiningen
- Linux user
- Use your package manager.
Go to the mojang website, and download Minecraft client.
Setting up craftbukkit is very 簡単.
mkdir bukkit
cd ./bukkit
wget http://cbukk.it/craftbukkit-dev.jar -O craftbukkit.jar
touch ./run.sh
chmod +x ./run.sh
vim ./run.sh
Write down following lines.
#!/bin/bash
cd "$( dirname "$0" )"
java -Xmx1024M -jar craftbukkit.jar -o true
then, do :wq
.
or just wget following gist.
wget https://gist.github.com/supermomonga/7113116/raw/run.sh
chmod +x ./run.sh
Setting up mckokoro is socko socko kang tang.
cd /path/to/bukkit/
git clone [email protected]:akechi/mckokoro.git
$ cd /path/to/bukkit/mckokoro/app
$ bundle --path .
leiningen is very 便利
cd /path/to/bukkit/mckokoro
lein uberjar
./mckokoro/target/mckokoro-1.0.0-SNAPSHOT.jar
and ./mckokoro/target/mckokoro-1.0.0-SNAPSHOT-standalone.jar
will be created.
Create plugins
folder and move jar to there.
cd /path/to/bukkit/
mkdir plugins
cp ./mckokoro/target/mckokoro-1.0.0-SNAPSHOT-standalone.jar ./plugins/mckokoro.jar
Copy the default config file to your plugins folder.
cd /path/to/bukkit/
mkdir ./plugins/mckokoro
cp ./mckokoro/src/plugin.yml ./plugins/mckokoro/config.yml
Then, write a path of main.rb
of mckokoro git directory.
vim ./plugins/mckokoro/config.yml
path:
ruby:
script: "file:///path/to/bukkit/mckokoro/app/main.rb"
:wq!
!
cd /path/to/bukkit
./run.sh
Craftbukkit will run with 25565
port by default.
Start the Minecraft client and just connect to multiserver localhost:25565
.
Wow! Now you can play Minecraft with mckokoro
in your local server!