satoshinm / WebSandboxMC

Bukkit plugin providing a web-based interface with an interactive WebGL 3D preview or glimpse of your server 🕷⏳📦 ⛺
https://www.spigotmc.org/resources/websandboxmc.39415/
MIT License
19 stars 5 forks source link

Change default center to around (0,0) #41

Closed satoshinm closed 7 years ago

satoshinm commented 7 years ago
    // Send blocks around this area in the Bukkit world
    private String world = "";
    private int x_center = -85;
    private int y_center = 78;
    private int z_center = 93;

(-85,78,93) was a useful default for testing a specific world during development, but something around X/Z (0,0) would make more sense as an initial default.

Another option would be to use getWorldSpawn(), the Bukkit spawn, however, it may not translate as well to the web without complete block translations, so starting with (0,75,0) for now.