Jump to content
  • 0
Sign in to follow this  
* Blaze *

how to add #main cost zeny?

Question

4 answers to this question

Recommended Posts

  • 0

Do you want to make players pay some fee when talking in #main channel?


I think channel system hasn't any feature like that (have no idea, has it?), so it will need some src edits.

 

@edit

 

Oh, I'll make a plugin, It's a very good idea! Thank you @Blaze!

Edited by bio

Share this post


Link to post
Share on other sites
  • 0

Do you want to make players pay some fee when talking in #main channel?

 

I think channel system hasn't any feature like that (have no idea, has it?), so it will need some src edits.

 

@edit

 

Oh, I'll make a plugin, It's a very good idea! Thank you @Blaze!

 

Yes bio to avoid spam #main chat thanks up for this 

Edited by * Blaze *

Share this post


Link to post
Share on other sites
  • 0

 

Do you want to make players pay some fee when talking in #main channel?

 

I think channel system hasn't any feature like that (have no idea, has it?), so it will need some src edits.

 

@edit

 

Oh, I'll make a plugin, It's a very good idea! Thank you @Blaze!

 

Yes bio to avoid spam #main chat thanks up for this 

 

Here's the plugin:

 

Download Link

 

How to configure it:

// FIXME: make a better way to add fee on channels (directly on channels.conf)
const struct {
	char name[HCS_NAME_LENGTH];
	int zeny;
	int nameid;
	int amount;
} channels_fee[] = {
	// -- Add channels with fee like the example: {"name", zeny, item id, item count};
	{"main"    , 1000, 0  , 0}, // #main - 1000z and no item
};

Find "channels_fee[]" declaration and add an element just like de example above.

 

It's already set to charge 1000 zenys when trying to speak on #main channel, so just change if you want to add or remove a channel.

 

Hope you enjoy it!

Share this post


Link to post
Share on other sites
  • 0

 

 

Do you want to make players pay some fee when talking in #main channel?

 

I think channel system hasn't any feature like that (have no idea, has it?), so it will need some src edits.

 

@edit

 

Oh, I'll make a plugin, It's a very good idea! Thank you @Blaze!

 

Yes bio to avoid spam #main chat thanks up for this 

 

Here's the plugin:

 

Download Link

 

How to configure it:

// FIXME: make a better way to add fee on channels (directly on channels.conf)
const struct {
	char name[HCS_NAME_LENGTH];
	int zeny;
	int nameid;
	int amount;
} channels_fee[] = {
	// -- Add channels with fee like the example: {"name", zeny, item id, item count};
	{"main"    , 1000, 0  , 0}, // #main - 1000z and no item
};

Find "channels_fee[]" declaration and add an element just like de example above.

 

It's already set to charge 1000 zenys when trying to speak on #main channel, so just change if you want to add or remove a channel.

 

Hope you enjoy it!

 

Thanks Bio  ;)  ;)  ;)  ;)

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.