Difference between revisions of "MQ2MercManager" - MMOBugs Wiki

(→‎Description: updated)
(added configuration info, etc.)
Line 1: Line 1:
 +
{{plugin}}
 
{{Pluginbox
 
{{Pluginbox
| name=MQ2MercManager
+
| name = MQ2MercManager
| author=[[User:htw]]
+
| author = [[user:htw|htw]]
 +
| link = [http://www.mmobugs.com/wiki/index.php/MQ2MercManager Wiki Link]
 
| commands=/mercman
 
| commands=/mercman
 +
| source = No
 +
| usesini = Yes
 
}}
 
}}
 
==Description==
 
==Description==
Line 24: Line 28:
 
This command will show usage and your current settings.
 
This command will show usage and your current settings.
 
* <span class="highlight2">/mercman</span>
 
* <span class="highlight2">/mercman</span>
 +
 +
 +
==Configuration==
 +
The MQ2MercManager.ini file can have the following options, which correspond to parameters available via slash command in game (/mercman):
 +
 +
[Settings] section:
 +
* <span class="highlight2">AFK</span> - The number of minutes you need to be afk before setting merc to passive (0 = disable).
 +
* <span class="highlight2">Move</span> - The number of minutes you need to not be moving before setting merc to passive (0 = disable).
 +
 +
 +
==Sample Configuration==
 +
 +
MQ2MercManager.ini
 +
<pre>
 +
[Settings]
 +
AFK=120
 +
Move=90
 +
</pre>
 +
  
 
==Availability==
 
==Availability==
  
MQ2MercManager is available as a compiled binary in the MMOBugs distribution.
+
This plugin is included with the MMOBugs Compile.

Revision as of 07:09, 6 October 2014

Plugin Info
Name MQ2MercManager
Author htw
Link Wiki Link
Commands /mercman
Source Available No
Uses INI File Yes

Description

This plugin will set your mercenary to passive after a configurable time of being afk and/or not moving, so you don't have to pay the plat upkeep costs.

Commands

  • /mercman Displays current settings and command format.
  • /mercman afk ## Change the number of minutes that if you are afk to set the merc to passive (0 to disable).
  • /mercman move ## Change the number of minutes that if you do not move to set the merc to passive (0 to disable).

Example Usage

This command will set your afk value to 30 minutes.

  • /mercman afk 30


This command will set your move value to 10 minutes.

  • /mercman move 10


This command will show usage and your current settings.

  • /mercman


Configuration

The MQ2MercManager.ini file can have the following options, which correspond to parameters available via slash command in game (/mercman):

[Settings] section:

  • AFK - The number of minutes you need to be afk before setting merc to passive (0 = disable).
  • Move - The number of minutes you need to not be moving before setting merc to passive (0 = disable).


Sample Configuration

MQ2MercManager.ini

[Settings]
AFK=120
Move=90


Availability

This plugin is included with the MMOBugs Compile.