Jump to content

Password for caves only?


Recommended Posts

Maybe this isn't the right place to post this question but I'm not sure where else to. Would it be possible to have a system in place where anyone can join a server but that only people who know a password of some kind can actually enter into the caves?

Link to comment
Share on other sites

It would have to be done with a mod, and you'd probably hook the worldmigrator's component's Activate function to check if the person entering is allowed.

 

There's actually some commented out code in it for when there's no linked world for the thing, which you could pretty much reuse for the check.

For creating a password, you'd probably create your own usercommand or "slash command" that if ran with the proper passphrase (you can also check passphrases against their KleiID, too, if you wanted to have it on a per-user basis) then allow them otherwise reject.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...