Difference between revisions of "Minecraft/server"
Jump to navigation
Jump to search
(→Notes: download CraftBukkit; putting the downloads first) |
(→Notes: GNU/screen) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
* [[/PermissionsBukkit]] - a plugin which provides a much more extensive and useful permissions system | * [[/PermissionsBukkit]] - a plugin which provides a much more extensive and useful permissions system | ||
==Notes== | ==Notes== | ||
+ | It's probably a good idea to run the server in a way that won't get terminated if you lose your ssh connection. (In practice, this only seems to happen ''sometimes'', but ssh connections do inevitably get broken.) Tentatively, [[GNU/screen]] is a good way to do this. That will also, it would seem, let you reconnect with an existing MC server session even after losing your ssh connection -- or allow another ssh user to do so, so you can have multiple admins. | ||
+ | |||
Bukkit plugins recommended by TheFool76: | Bukkit plugins recommended by TheFool76: | ||
* [http://dev.bukkit.org/server-mods/admincmd/ AdminCmd] - includes user "warp" teleportation | * [http://dev.bukkit.org/server-mods/admincmd/ AdminCmd] - includes user "warp" teleportation | ||
Line 13: | Line 15: | ||
===upgrading a CraftBukkit server=== | ===upgrading a CraftBukkit server=== | ||
+ | # create new folder to put new stuff in (I usually include the version number at the end of the folder name - /CraftBukkit-x.x.x) | ||
# [http://dl.bukkit.org/downloads/craftbukkit/list/rb/ download CraftBukkit] | # [http://dl.bukkit.org/downloads/craftbukkit/list/rb/ download CraftBukkit] | ||
# download latest versions of all plugins | # download latest versions of all plugins | ||
− | # | + | # If you have modified any of your root-level *.yml or *.txt files, copy them over to the to new folder |
− | # | + | #* most of the important config files (i.e. the ones you have most likely modified) will be under plugins (especially PermissionsBukkit) and will therefore get copied when you copy the plugins in a later step |
# copy shell script(s) from current folder to new folder | # copy shell script(s) from current folder to new folder | ||
+ | #* if necessary, rename "CraftBukkit-''x.x.x-''R''x.x''.jar" to the name required by your shell script (or shortcut or however you normally start it). | ||
# stop the server | # stop the server | ||
− | # | + | # create a "plugins" folder |
− | # copy all the plugin folders (but not the .jar files) to the new | + | # copy all the individual plugin folders (but not the .jar files) to the new /plugins folder |
− | #* It may be simplest just to copy the "/plugins" folder, then delete the .jar files | + | #* It may be simplest just to copy the "/plugins" folder, then delete the .jar files - this makes it possible to copy the world*/ and plugins/ folders in a single step |
+ | #* It is probably not necessary to copy the /PluginMetrics subfolder, but I haven't tested this. | ||
# put the latest plugin .jar files under /plugins, in the same place the old .jar files would have been if you had copied them too | # put the latest plugin .jar files under /plugins, in the same place the old .jar files would have been if you had copied them too | ||
+ | # copy all "world*" folders over to the new folder (if you didn't already) | ||
# start the Minecraft (Bukkit) server via your preferred method | # start the Minecraft (Bukkit) server via your preferred method | ||
[http://wiki.bukkit.org/Administering_A_Craftbukkit_Server#Help.21_Minecraft_Updated.21 This] seems to be the closest thing to a "how to upgrade your server" on the Bukkit wiki. | [http://wiki.bukkit.org/Administering_A_Craftbukkit_Server#Help.21_Minecraft_Updated.21 This] seems to be the closest thing to a "how to upgrade your server" on the Bukkit wiki. | ||
+ | |||
+ | If you get an error like this repeating indefinitely: | ||
+ | at net.minecraft.server.v1_4_5.PropertyManager.savePropertiesFile(PropertyManager.java:76) | ||
+ | at net.minecraft.server.v1_4_5.PropertyManager.a(PropertyManager.java:65) | ||
+ | ...there is probably a permissions error creating or writing to the '''server.properties''' file. |
Latest revision as of 22:12, 26 September 2015
How To
- Setting up a server
- /commands: server commands
Pages
- /PermissionsBukkit - a plugin which provides a much more extensive and useful permissions system
Notes
It's probably a good idea to run the server in a way that won't get terminated if you lose your ssh connection. (In practice, this only seems to happen sometimes, but ssh connections do inevitably get broken.) Tentatively, GNU/screen is a good way to do this. That will also, it would seem, let you reconnect with an existing MC server session even after losing your ssh connection -- or allow another ssh user to do so, so you can have multiple admins.
Bukkit plugins recommended by TheFool76:
- AdminCmd - includes user "warp" teleportation
- CreeperHeal
- Dynmap: GoogleMaps-like view of your world
- /PermissionsBukkit - provides a much more extensive and useful permissions system
upgrading a CraftBukkit server
- create new folder to put new stuff in (I usually include the version number at the end of the folder name - /CraftBukkit-x.x.x)
- download CraftBukkit
- download latest versions of all plugins
- If you have modified any of your root-level *.yml or *.txt files, copy them over to the to new folder
- most of the important config files (i.e. the ones you have most likely modified) will be under plugins (especially PermissionsBukkit) and will therefore get copied when you copy the plugins in a later step
- copy shell script(s) from current folder to new folder
- if necessary, rename "CraftBukkit-x.x.x-Rx.x.jar" to the name required by your shell script (or shortcut or however you normally start it).
- stop the server
- create a "plugins" folder
- copy all the individual plugin folders (but not the .jar files) to the new /plugins folder
- It may be simplest just to copy the "/plugins" folder, then delete the .jar files - this makes it possible to copy the world*/ and plugins/ folders in a single step
- It is probably not necessary to copy the /PluginMetrics subfolder, but I haven't tested this.
- put the latest plugin .jar files under /plugins, in the same place the old .jar files would have been if you had copied them too
- copy all "world*" folders over to the new folder (if you didn't already)
- start the Minecraft (Bukkit) server via your preferred method
This seems to be the closest thing to a "how to upgrade your server" on the Bukkit wiki.
If you get an error like this repeating indefinitely:
at net.minecraft.server.v1_4_5.PropertyManager.savePropertiesFile(PropertyManager.java:76) at net.minecraft.server.v1_4_5.PropertyManager.a(PropertyManager.java:65)
...there is probably a permissions error creating or writing to the server.properties file.