Install Minecraft server
- If you not have server. I recommend you to use AWS or Azure to create free Windows or Linux server. You will get public IP. It no Hamachi require :)
- Install OS what you want
- Install Java 6 or 7
- Download craftbukkit http://dl.bukkit.org/downloads/craftbukkit/list/rb/
- After download Put .jar file in any folder.
- Write a script to run .jar file. Open Text editor and paste a below script
Windows
java -Xmx1024M -jar craftbukkit.jarLinux
PAUSE
#!/bin/shOS X
BINDIR=$(dirname "$(readlink -fn "$0")")
cd "$BINDIR"
java -Xmx1024M -jar craftbukkit.jar
#!/bin/bash
cd "$( dirname "$0" )"
java -Xmx1024M -jar craftbukkit.jar
- Save file in the folder it's contain .jar file
- Windows: Save to run.bat
- Linux: Save to run.sh (Chang permission to allow execute by command "chmod a+x run.sh")
- OS X: Save to run.command (Chang permission to allow execute by command "chmod a+x run.command")
- Run it
- Windows: Double click the .bat file
- Linux: cd to the .jar folder type command "./run.sh"
- OS X: Drag run.command into Terminal.app and return
- Afetr run the command. Craftbukkit will create many file in the folder.
Configuration
Now your Minecraft server is running but you cannot access it.
- In the terminal or Dos window type "stop" to stop the server
- Go to the .jar folder. Now you see a lot of file
- Open server.properties and edit these line
- "online-mode=true" Chang it to false
- "server-ip=" Leave it blank (Do not edit this line)
- For another line look at this link http://minecraft.gamepedia.com/Server.properties
- Now you can playing Minecraft on your server
- Execute the file (run.bat or run.sh)
- Open Minecraft in your computer
- Select Multiplayer mode
- Add server and type your Server IP or Hostname
Install plugins
This step is optional but you may need it. Plugins you may need for your Minecraft server are Essentials and PermissionEX
How can plugins do
- Essentials plugin come with many thing you need in minecraft. eg. Warp, Home or Sethome, Heal, Time, Weather, Teleport etc.
- PermissionEX are allow you to create user group, Assign user to group, Allow group or user to use each command in game
Install plugin
- In the terminal or Dos. Stop the minecraft server type "stop"
- Download plugins
- Essentials http://dev.bukkit.org/bukkit-plugins/essentials/
- PermissionEX http://dev.bukkit.org/bukkit-plugins/permissionsex/
- Paste the plugin (.jar file) to folder plugins
- Start your Minecraft server by execute the file (run.bat or run.sh)
- In the plugins folder you will see configuration file.
Plugins Configuaration
Do not edit configuration file directly. To manage permission with PermissionsEX. Let's type the command (https://github.com/PEXPlugins/PermissionsEx/wiki/Commands) in minecraft terminal screen.
For Essentials plugin. It command is here http://wiki.ess3.net/wiki/Command_Reference
ไม่มีความคิดเห็น:
แสดงความคิดเห็น