• 0
Sign in to follow this  
Followers 0
* Blaze *

how to add #main cost zeny?

Question

4 answers to this question

  • 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

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
Sign in to follow this  
Followers 0