• 1

    posted a message on Crafting Azeroth

    Hi, I absolutely love this project, and I'm saddened to know the map itself is no longer being worked on. I personally prefer Minecraft Forge over Bukkit for my servers, and I wanted to post here because I believe I've successfully adapted the CA-Teleport Bukkit plugin to work with Minecraft Forge. I want to share the JAR file here in the hope that others won't be bound to using a Bukkit server to explore this beautiful world.


    I make no claims as if this were my own work, I merely adapted Rumsey's code (link at the end of this post) to work with Forge. The essential functionality is replicated from the original Bukkit code: With the data being converted over directly from WoW itself, the elevations of various points in the world greatly exceed the max build heights Minecraft is capable of, so the plugin handles that by teleporting the player to an offset area once they reach a certain Y-coordinate, as transparently as possible. From what I could tell when testing it, this does involve some unavoidable lag while loading the new chunks and such, but IMO it works well enough to explore with.


    I've made one change to the code and that's the addition of a configuration file that just allows servers to specify a dimension ID for the CraftingAzeroth world. It defaults to 0 (the overworld) and can be changed if you want to place the CraftingAzeroth "region" data folder into a custom dimension using other mods like Just Enough Dimensions or something. If the player is not in the configured dimension, this mod shouldn't do anything at all (to avoid unintended behavior when in other dimensions).


    config/craftingazeroth.cfg


    # Configuration file

    general {
    # Change this if your Azeroth save-files are stored in a custom dimension. Default is 0 (Overworld). [range: -2147483648 ~ 2147483647, default: 0]
    I:azeroth.dimension=0
    }

    I tested with Forge version 1.12.2 - 14.23.3.2655 (the Recommended 1.12.2 version at the time I'm posting this). I believe it works well enough - I never really set up a Bukkit server to see the original functionality, but I felt that the code itself was pretty self-explanatory. I'm not really interested in responsibility for maintaining it, so I'm going to include the source code for it alongside the mod itself, free for anyone to use, adapt, whatever. There is one thing I did not port over: the /commands that the Bukkit plugin featured. This means that the teleportation and block-synchronization features of the spaces between altitude layers can't be enabled/disabled on a per-player basis. If another developer would like to add the code to implement them (or anything else) they are of course welcome to. CA-Static is something I also attempted to port over but I'm not the greatest coder out there and wasn't able to figure out a good way to accomplish its same effects in Forge. If anyone else can, feel free.


    Hopefully this will enable others to explore CraftingAzeroth with the freedom to use either Bukkit or Forge. That being said, I just wrote this for fun and decided to share it - I won't be supporting it, and the code is freely available without restriction from me. Use at your own risk, and as always, reduce your risk of data loss/issues by making regular backups especially before any big server changes!


    Here is the download link. JARs for both the mod and the Java source are included - you can open the "sources" JAR with WinRAR or similar to extract them.
    Google Drive: https://drive.google.com/drive/folders/1qAnn31avkRif85cp2NyrlYnhu-2rNbg9

    Rumsey's Bukkit plugin on Github: https://github.com/rakama/CA-Teleport

    Posted in: Screenshots
  • To post a comment, please .