Jump to content

Recommended Posts

I have a server-side mod idea but don't know anything about Lua.

I wanted to implement a feature where, upon becoming a ghost, you get automatically or manually (depending on the configuration) teleported to the Florid Postern.

For the manual configuration, I wanted to add a button to the death screen HUD (where it says 'Find a Touch Stone to revive') next to the reset world button if there is one.

I think it requires both a server-side and a client-side mod?

Edited by lies
  • Thanks 1
Link to comment
https://forums.kleientertainment.com/forums/topic/157237-mod-idea-but-zero-skills/
Share on other sites

Welcome to the forums!

You'd only need one mod, but it would have to have all_clients_require_mod set to true. It would, however, need to handle both server (teleporting player, listening to teleport request) and client (HUD, teleport request). You could still split it into two, of course, but I see no advantage in that.

Starting with the automatic configuration would make things simpler: no need to handle the client, so the mod could be server only. Code-wise, you'd only need to listen to the proper death event and teleport the player.

Happy modding!

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...