Difference between revisions of "Minecraft/server"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(→‎Notes: download CraftBukkit; putting the downloads first)
(→‎upgrading a CraftBukkit server: corrected and clarified instructions)
Line 13: Line 13:
  
 
===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
# create new folder (I usually include the version number at the end of the folder name)
+
# If you have modified any of your root-level *.yml or *.txt files, copy them over to the to new folder
# copy config files from current folder 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
# copy all "world*" folders over to the new folder
+
# create a "plugins" folder
# copy all the plugin folders (but not the .jar files) to the new folder (under /plugins)
+
# 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.

Revision as of 17:38, 2 January 2013

How To

Pages

  • /PermissionsBukkit - a plugin which provides a much more extensive and useful permissions system

Notes

Bukkit plugins recommended by TheFool76:

upgrading a CraftBukkit server

  1. 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)
  2. download CraftBukkit
  3. download latest versions of all plugins
  4. 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
  5. 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).
  6. stop the server
  7. create a "plugins" folder
  8. 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.
  9. 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
  10. copy all "world*" folders over to the new folder (if you didn't already)
  11. 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.