CostOnCommand

This is my first plugin, so bear with me.

Overview

This Minecraft plugin adds costs to commands that can differ by a player's group, i.e. is configurable with permissions. /back from essentials could default cost 100$, $50 for vip1, and $25 for vip2.

You can reach me on Teamspeak with the address goreacraft.com

This plugin is for 1.8 & 1.7.10 and requires Vault to use.

Usage

To work with permissions, after you add a name to the config, you must add in the permission costoncommand.name to the group that you want the cost to apply to

For Example-

If I have this in config.yml-

Config Example

Then in the group management plug-in (PermissionsEx, Group Manager, etc.), you have to add costoncommand.vip1 to the VIP group and costoncommand.verteran to the Veteran group.:

Note: The group does not need to match the name that you put in the config, only the permission ending

Commands

/coc reload - reloads the config files

Know Bugs/Issues

  • This Plugin is not configurable for multiple commands having the same starting name. If you use warp:, this will effect ALL warps, you can not be specific.. I will fix this.

ChangeLog

7/19/2015 - Added support for multiple languages. To add a language, copy EN.yml in the lang folder and place in the lang folder renamed to the new language. Then translate the messages into the language. To load that to the server, head to config.yml and next to lang, replace EN with what you named the new language file. /coc reload will switch the languages.

Source

Source Code: https://github.com/Tannerq/CostOnCommand

This plugin uses Metrics so that I can see how many servers use my plugin. You may opt out of this in the PluginMetrics config file.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    93102
  • Created
    Jun 30, 2015
  • Last Released File
    Jul 26, 2015
  • Total Downloads
    916
  • License

Categories

Members

Recent Files