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

Web spawn default to server spawn, World#getSpawnLocation() #70

Closed satoshinm closed 7 years ago

satoshinm commented 7 years ago

If no web center x/y/z radius location is set, or as an option, could instead use the server's spawn location. There is a Bukkit API to get this location, World#getSpawnLocation: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/World.html#getSpawnLocation--, probably easy to add.

Requested in private message https://www.spigotmc.org/conversations/please-help-me-with-websandboxmc.211573/page-2#message-1263964


+ * If x/y/z center are all 0, then the world's spawn location is used instead
chillerkraft commented 7 years ago

epic! TESTING SOON! might finally be able to implement on my server!

chillerkraft commented 7 years ago

i'd love to be able to let web players build somewhere though.. ;)

chillerkraft commented 7 years ago

imagine if plugin Residence (free version available on premium page description) could allow players to let certain web players be able to build in certain residence areas or subzones.. orr if i could specify in config an area where web players can build... orr if i could let web players choose areas to build in and let them log in later to regain access

ideas ideas ideas

satoshinm commented 7 years ago

@chillerkraft Good idea, basically allowing players to check in on their own home from out of the game, I opened an issue for Residence integration: https://github.com/satoshinm/WebSandboxMC/issues/75 - it could work well with multiple web client sandboxes https://github.com/satoshinm/WebSandboxMC/issues/71, shouldn't be too difficult with the current design but would require some kind of authentication system: https://github.com/satoshinm/WebSandboxMC/issues/48 (since currently everyone is a "web guest")