Nimm dir einen der das nicht kann und lasse den mit deiner Anleitung den Bot Configurieren dann kommt genau das raus wo ich nun stehe.
Dann sage mir, was du nicht verstehst. Ich nehme sehr gerne deinen Vorschlag an. Sehr gerne helfe ich dir, aber bitte helfe auch mir die Anleitung zu überarbeiten, bzw. mir zu sagen, was schwer zu verstehen ist. Die Anleitung kann man überarbeiten, die alte Version wird nicht weiter gepflegt und lässt bereits jetzt sehr viele Funktionen vermissen.
Du musst dem Bot sagen, welche Funktion du mit welchem Namen möchtest. Du musst zwei Dinge angeben. Die Funktionsklasse wird vom Bot vorgegeben, den Funktionsnamen musst du dir ausdenken.
Die Funktionsklasse, die du haben möchtest, ist der AwayMover, so steht es ja in der Liste. Das muss also links vom Doppelpunkt stehen. Der Funktionsname wird von dir ausgedacht und muss die dort beschriebenen Richtlinien einhalten (Darf nur einmal pro Funktion verwendet werden. Verwende keine Leerzeichen in den Funktionsnamen, nur Buchstaben, Zahlen, Minus und Unterstriche!). Das steht rechts vom Doppelpunkt. Mehrere Funktionen werden mit einem Komma getrennt.
In der Dokumentation wird folgendes Beispiel gezeigt, das die bot_functions beispielsweise so aussehen kann:
bot_functions = IdleCheck:idle,IdleCheck:idle_guest,MuteMover:mute,WelcomeMessage:welcome,WelcomeMessage:welcome_guestDas bedeutet man möchte folgende Funktionen haben:
Zwei
IdleCheck mit den Namen
idle und
idle_guestEinen
MuteMover mit dem Namen
muteZwei
WelcomeMessage mit den Namen
welcome und
welcome_guestSetzt man die bot_functions wie im Beispiel und startet den Bot mit dem Argument -updateconfig (gleiches macht der Chatbefehl !botcfgsave), dann wird die Config Datei komplett neu geschrieben und alle zwei Idle Mover, beide Willkommensnachrichten und der Mute Mover werden in der Config Datei vorkonfiguriert und man sieht sofort, wie die Config Datei aussehen muss.
Der Name einer Funktion beeinflusst nämlich, wie die Config der einzelnen Funktionen aussehen muss. Um das zu veranschaulichen, habe ich genau das jetzt mal gemacht, wie hier beschrieben die bot_functions gesetzt und dann den Bot mit -updateconfig gestartet, so sieht jetzt die Config Datei
JTS3ServerMod_server1.cfg bei mir aus (alles über bot_functions habe ich weg gelassen, weil der davon nicht beeinflusst wird):
[...]
bot_functions = IdleCheck:idle,IdleCheck:idle_guest,MuteMover:mute,WelcomeMessage:welcome,WelcomeMessage:welcome_guest
# Select the action if a client is idle for more than the specified maximum time, possible values: kick and move
idle_action = move
# If clients got moved, move client back if not idle anymore? Set yes or no here!
idle_moveback = no
# If clients should be moved, set channel id to move idle clients into it.
idle_channel_id =
# A comma separated list (without spaces) of channel ids.
# Depends on the given mode, this channels can be ignored or only this channels will be checked!
# If no channels should be ignored, set no channels here and select the channel list mode ignore!
idle_channel_list =
# Select one of the two modes for the channel list.
# ignore = The selected channels will be ignored.
# only = Only the selected channels will be checked.
idle_channel_list_mode = ignore
# A comma separated list (without spaces) of server group ids.
# Depends on the given mode, this server groups can be ignored or only this server groups will be checked!
# If no server groups should be ignored, set no server groups here and select the group list mode ignore!
idle_group_list =
# Select one of the two modes for the server group list.
# ignore = The selected server groups will be ignored.
# only = Only the selected server groups will be checked.
idle_group_list_mode = ignore
# Set the max idle time in minutes.
# If clients should be kicked, the client will be kicked after being idle for this time.
# If clients should be moved, the client will be moved to specified channel after being idle for this time!
idle_max_time = 60
# If clients should be moved, set the max idle time in minutes to kick someone.
# Has to be greater than idle_max_time or -1 to disable this feature!
idle_second_max_time = -1
# Set the idle warn time in minutes or set -1 to disable this feature.
# The idle warn time has to be smaller than the max idle time
idle_warn_time = -1
# A minimum client count to activate idle check (telnet and TS3 clients counted together).
# If less clients online, idle check does nothing.
idle_min_clients = 3
# If clients should be moved, select the message mode, how the client should get the message.
# poke, chat or none are valid values!
idle_message_mode = chat
# Select the message mode, how the client should get the message.
# poke or chat are valid values!
idle_warn_message_mode = chat
# Path to file which contains the idle messages
idle_file = config/idlemessages.cfg
# Select the action if a client is idle for more than the specified maximum time, possible values: kick and move
idle_guest_action = move
# If clients got moved, move client back if not idle anymore? Set yes or no here!
idle_guest_moveback = no
# If clients should be moved, set channel id to move idle clients into it.
idle_guest_channel_id =
# A comma separated list (without spaces) of channel ids.
# Depends on the given mode, this channels can be ignored or only this channels will be checked!
# If no channels should be ignored, set no channels here and select the channel list mode ignore!
idle_guest_channel_list =
# Select one of the two modes for the channel list.
# ignore = The selected channels will be ignored.
# only = Only the selected channels will be checked.
idle_guest_channel_list_mode = ignore
# A comma separated list (without spaces) of server group ids.
# Depends on the given mode, this server groups can be ignored or only this server groups will be checked!
# If no server groups should be ignored, set no server groups here and select the group list mode ignore!
idle_guest_group_list =
# Select one of the two modes for the server group list.
# ignore = The selected server groups will be ignored.
# only = Only the selected server groups will be checked.
idle_guest_group_list_mode = ignore
# Set the max idle time in minutes.
# If clients should be kicked, the client will be kicked after being idle for this time.
# If clients should be moved, the client will be moved to specified channel after being idle for this time!
idle_guest_max_time = 60
# If clients should be moved, set the max idle time in minutes to kick someone.
# Has to be greater than idle_max_time or -1 to disable this feature!
idle_guest_second_max_time = -1
# Set the idle warn time in minutes or set -1 to disable this feature.
# The idle warn time has to be smaller than the max idle time
idle_guest_warn_time = -1
# A minimum client count to activate idle check (telnet and TS3 clients counted together).
# If less clients online, idle check does nothing.
idle_guest_min_clients = 3
# If clients should be moved, select the message mode, how the client should get the message.
# poke, chat or none are valid values!
idle_guest_message_mode = chat
# Select the message mode, how the client should get the message.
# poke or chat are valid values!
idle_guest_warn_message_mode = chat
# Path to file which contains the idle messages
idle_guest_file = config/idlemessages.cfg
# Move client back if not muted anymore? Set yes or no here!
mute_moveback = yes
# Enable move if headphone is muted, yes or no
mute_headphone = no
# Enable move if microphone is muted, yes or no
mute_microphone = no
# Enable move if headphone hardware is disabled, yes or no
mute_headphone_hardware = no
# Enable move if microphone hardware is disabled, yes or no
# This also happen if someone is speaking in another TS3 client server tab.
mute_microphone_hardware = no
# Channel id to move muted clients into it
mute_channel_id =
# Idle time in seconds after the client with a specified mute status will be moved to the channel.
# Has between 0 and 10000 seconds!
mute_delay = 5
# A comma separated list (without spaces) of channel ids.
# Depends on the given mode, this channels can be ignored or only this channels will be checked!
# If no channels should be ignored, set no channels here and select the channel list mode ignore!
mute_channel_list =
# Select one of the two modes for the channel list.
# ignore = The selected channels will be ignored.
# only = Only the selected channels will be checked.
mute_channel_list_mode = ignore
# A comma separated list (without spaces) of server group ids.
# Depends on the given mode, this server groups can be ignored or only this server groups will be checked!
# If no server groups should be ignored, set no server groups here and select the group list mode ignore!
mute_group_list =
# Select one of the two modes for the server group list.
# ignore = The selected server groups will be ignored.
# only = Only the selected server groups will be checked.
mute_group_list_mode = ignore
# Select the message mode, how the client should get the message.
# poke, chat or none are valid values!
mute_message_mode = none
# Path to file which contains the mute mover message
mute_file = config/mutemessages.cfg
# A comma separated list (without spaces) of server group ids.
# Depends on the given mode, this server groups can be ignored or only this server groups get this welcome message!
# If no server groups should be ignored, set no server groups here and select the group list mode ignore!
welcome_group_list =
# Select one of the two modes for the server group list.
# ignore = The selected server groups will be ignored and don't get this welcome message.
# only = Only the selected server groups get this welcome message.
welcome_group_list_mode = ignore
# Select the message mode, how the client should get the message.
# poke or chat are valid values!
welcome_message_mode = chat
# Path to file which contains the welcome message.
welcome_file = config/welcomemessages.cfg
# A comma separated list (without spaces) of server group ids.
# Depends on the given mode, this server groups can be ignored or only this server groups get this welcome message!
# If no server groups should be ignored, set no server groups here and select the group list mode ignore!
welcome_guest_group_list =
# Select one of the two modes for the server group list.
# ignore = The selected server groups will be ignored and don't get this welcome message.
# only = Only the selected server groups get this welcome message.
welcome_guest_group_list_mode = ignore
# Select the message mode, how the client should get the message.
# poke or chat are valid values!
welcome_guest_message_mode = chat
# Path to file which contains the welcome message.
welcome_guest_file = config/welcomemessages.cfg
Hilft dir das weiter? Du hast ja schon richtig gelesen, das die Klasse für die Abwesenheitsüberprüfung AwayMover heißt. Das heißt AwayMover:away oder AwayMover:am oder was auch immer wäre ein Vorschlag. Aber den Namen rechts neben dem Doppelpunkt darfst du dir frei anhand der obigen Richtlinien aussuchen.
Ich würde mich sehr freuen von dir ein Verbesserungsvorschlag zu bekommen, wie ich die Dokumentation verbessern kann.