Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document commands.conf #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions etc/commands.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
################################################################################
#
# Input fields description:
# Each input field (source, status and gameState) may have multiple, comma separated conditions.
# If any of the conditions are true, then the command may be called
# If there are no conditions (blank input field), then it may be called for any condition.
# -------------------------
#
# source: source of the command call (string)
Expand All @@ -25,6 +28,7 @@
################################################################################
#
# Output fields description:
# If the field is not specified, then that command may not be called from the context in input field.
# --------------------------
#
# directLevel:
Expand All @@ -34,6 +38,25 @@
# AutoHost access level required for calling command through vote (integer)
#
################################################################################
#
# Modifiers fields
# May be optionally specified after the command name, e.g.:
# [resign](voteTime:60,majorityVoteMargin:25)
# -------------------------
#
# voteTime:
# Number of seconds for the vote.
#
# majorityVoteMargin:
# How many percent above the 50% of the clients eligible for voting must vote yes
#
################################################################################
#
# Multiple ?source:status:gameState|directLevel:voteLevel lines
# -------------------------
# If there are multiple lines, then each of them are checked in order, and if any of them
# pass, the command may be called.
################################################################################

[addBot]
battle,pv:player:stopped|100:10
Expand Down