Jump to content
Sign in to follow this  
Murilo BiO'

Channel Fee Plugin

Recommended Posts

Channel Fee Plugin


With this plugin you be able to set required Zeny and/or Items to players be able to send messages on channels.

 

The idea came from this post, thank you @blaze.

 

How to configure channels:

// 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 the example.

 

If you find any bugs please report them! Hope you enjoy it.


 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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