Jump to content
  • 0
Sign in to follow this  
Legato

Character deletion.

Question

Hello. I have a custom command, @lock. This command prevents players from trading, dropping items or doing any kind of transactions. I just want to ask if there's a way to prevent players from deleting their character if their account is locked by this command?

Thank you.

Regards,

Legato

Edited by Legato

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I don't know what you mean with an account in active state, but maybe you can rely on this:

 

conf/char-server.conf

// Restrict character deletion by BaseLevel// 0: no restriction (players can delete characters of any level)// -X: you can't delete chars with BaseLevel <= X// Y: you can't delete chars with BaseLevel >= Y// e.g. char_del_level: 80 (players can't delete characters with 80+ BaseLevel)char_del_level: 0

 

Set this to 1, so that characters cannot be deleted at all.

Share this post


Link to post
Share on other sites
  • 0

Hello. Sorry. I have a mod that prevents players from doing any kind of transaction if it's enabled. I'd like to know if it's also possible to prevent them from deleting their character if their account is locked by this mod. Edited my first post.

Share this post


Link to post
Share on other sites
  • 0

What you need requires some src edit. Alot of people here can help you code it if you let them see the the actual mod.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.