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

Join the conversation

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

Guest
Reply to this topic...

×   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.