Advertisement
Guest User

ez-dvsh spigot installation guide

a guest
Jun 9th, 2015
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.62 KB | None | 0 0
  1. EzTerry's Dark Oak Village & Additional Stronghold Mod
  2. Spigot integration guide. For Minecraft v1.8.7
  3.  
  4. =====
  5. Introduction and Background
  6. =====
  7.  
  8. The ez-dvsh mod is a base edit mod to Minecraft server code. The original
  9. distribution includes files for patching both the client (for single player use)
  10. and the server for multiplayer use. Note however, in the case of using dvsh on
  11. a server it is not required that the clients be modified (ie any 1.8 vanilla,
  12. dvsh, or optifine client will work correctly as expected with the modified
  13. server)
  14.  
  15. While there is no intention to release this for Spigot, it is possible to
  16. compile spigot to use the modified server binary as if it was the offical one
  17. from Mojang, this document will describe how to make such a server.
  18.  
  19. =====
  20. Requirements
  21. =====
  22.  
  23. 1) This document assumes you are comfortable running programs from the command
  24. line, and was made with the Linux user in mind (however this ought to work
  25. from the dos prompt with little or no modifications)
  26.  
  27. 2) A copy of Python2.7 in order to run the ez-dvsh script if not included with
  28. your operating system/distro goto https://www.python.org/
  29.  
  30. 3) You will need the following (download all of these to a new empty folder on
  31. your system
  32.  
  33. a) minecraft 1.8.7 jar
  34. https://s3.amazonaws.com/Minecraft.Download/versions/1.8.7/minecraft_server.1.8.7.jar
  35. b) ez-dvsh patch installer for 1.8.7
  36. http://sandbox.devnull.name/minecraft/ez-dvsh/v1.8.7_ez-dvsh_patch.zip
  37. c) spigot BuildTools.jar
  38. https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
  39. d) patch for building spigot with ez-dvsh
  40. http://sandbox.devnull.name/minecraft/ez-dvsh/spigot_1.8.7/0001-Update-WorldGenVillagePieces-to-support-EZ-DVSH-mod.patch
  41.  
  42. ====
  43. Building Instructions
  44. ====
  45.  
  46. 1) Download and place all the files listed under number 3 in requirements in a
  47. empty directory on your system
  48.  
  49. 2) Open a terminal (dos prompt) and change into the directory with the files
  50. above
  51.  
  52. At this point the current directory ought to have the following listing:
  53.  
  54. ezterry@zack:/tmp/spigot-dvsh$ ls
  55. 0001-Update-WorldGenVillagePieces-to-support-EZ-DVSH-mod.patch
  56. BuildTools.jar
  57. minecraft_server.1.8.7.jar
  58. v1.8.7_ez-dvsh_patch.zip
  59.  
  60. 3) unzip v1.8.7_ez-dvsh_patch.zip (in linux 'unzip v1.8.7_ez-dvsh_patch')
  61.  
  62. 4) run the python script to install the dvsh patch into the 1.8.7 server
  63. (using option 3 when prompted)
  64.  
  65. Run will resemble the following:
  66.  
  67. ezterry@zack:/tmp/spigot-dvsh$ ./v1.8.7_ez-dvsh_patch/install_patch.py
  68. ez-dv+sh
  69. patch files:
  70. /tmp/spigot-dvsh/v1.8.7_ez-dvsh_patch/client.zip
  71. /tmp/spigot-dvsh/v1.8.7_ez-dvsh_patch/server.zip
  72.  
  73. Mod Installer for [ez-dv+sh]:
  74. Change world generation to include a 1 in 3 chance of a NPC village
  75. being dark oak, as well as increase the number of strongholds from 3
  76. to 5
  77.  
  78. Please Choose Installation Method:
  79. (1) Automatic Client Patcher
  80. (2) Manual Client Patcher
  81. (3) Manual Server Patcher
  82. (4) Cancel and exit mod patcher
  83. Entry number of your choice: 3
  84.  
  85. Please provide the location of the server jar file
  86. > minecraft_server.1.8.7.jar
  87. ail.class: Valid
  88. aqo.class: Valid
  89. aqt.class: Valid
  90. aqw$a.class: Valid
  91. aqw$f.class: Valid
  92. aqw$h.class: Valid
  93. aqw$i.class: Valid
  94. aqw$k.class: Valid
  95. aqw$m.class: Valid
  96. aqw$n.class: Valid
  97. jar successfully patched into: minecraft_server.1.8.7-ez-dvsh.jar
  98.  
  99. 5) now make a new directory 'work' (ie 'mkdir work)
  100.  
  101. 6) Move minecraft_server.1.8.7-ez-dvsh.jar into the new work directory, and
  102. rename to minecraft_server.1.8.7.jar
  103.  
  104. (ie 'mv minecraft_server.1.8.7-ez-dvsh.jar work/minecraft_server.1.8.7.jar')
  105.  
  106. this will cause BuildTools.jar to use the modified jar instead of
  107. re-downloading the official Minecraft server
  108.  
  109. 7) now run 'java -jar BuildTools.jar --rev 1.8.7'
  110.  
  111. *Note* this will fail but will fetch all the projects Spigot requires, and
  112. will start the decomposition process
  113.  
  114. The expected error is:
  115. Exception in thread "main" difflib.PatchFailedException: Incorrect Chunk:
  116. the chunk content doesn't match the target
  117.  
  118. 8) change directory into CraftBukkit (ie 'cd CraftBukkit')
  119.  
  120. 9) apply the patch provided with the git am command:
  121.  
  122. git am ../0001-Update-WorldGenVillagePieces-to-support-EZ-DVSH-mod.patch
  123.  
  124. (ignore any white space warnings)
  125.  
  126. 10) return to the main directory (eg 'cd ..')
  127.  
  128. 11) complete the build with by running 'java -jar BuildTools.jar --dont-update')
  129.  
  130. 12) now spigot ought to have properly built with the ez-dvsh mod included in
  131. the resulting server file, proceed to run, and install plugins as you would
  132. on any other spigot server. You may wish to rename the
  133. spigot-1.8.7.jar to indicate it has the dvsh mod as well
  134.  
  135. ====
  136. Additional References
  137. ====
  138.  
  139. http://www.spigotmc.org/wiki/spigot-installation/
  140.  
  141. ====
  142. Final Notes
  143. ====
  144.  
  145. As the changes made in the mod are minor its exacted most plugins compatible
  146. with minecraft 1.8.7 will work, however in some cases its possible things will
  147. not behave correctly, please test your changes before deploying a server
  148.  
  149. also maps using the mod cannot go to a vanilla server (or unmodded spigot)
  150. however installing updates to the ez-dvsh mod is possible unless specifically
  151. warned.
  152.  
  153. As always this guide is just to allow you to merge my ezdvsh mod with spigot
  154. however the resulting binary is comprised of incomparable licenses and may not
  155. be re-distributed, only used for your personal use.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement