- Required SinusBot Version
- 1.0
- Compatible Backends
-
- TeamSpeak 3
Hey Leute!
Heute teile ich mein 'Automated Servergroups' - Script.
Es dient der automatischen Vergabe oder Entfernung von Servergruppen bei
bestimmten Events unter konfigurierbaren Voraussetzungen.
Um das Ganze einfach zu halten, zeige ich das an einem kleinen Beispiel:
Das Einfachste wäre ein bisschen mit den Optionen herum zu spielen,
um die Funktionsweise des Scripts zu verstehen.
Wenn man es verstanden hat, ist es wirklich mächtig um solche Vorgänge zu
automatisieren. Ich wünsche viel Spaß mit dem Script.
Heute teile ich mein 'Automated Servergroups' - Script.
Es dient der automatischen Vergabe oder Entfernung von Servergruppen bei
bestimmten Events unter konfigurierbaren Voraussetzungen.
Um das Ganze einfach zu halten, zeige ich das an einem kleinen Beispiel:
Wenn man Servergruppen für Teammitglieder auf dem Server hat, dann gibt
es oft Dinge, die man automatisieren kann.
Nehmen wir an es gäbe die Gruppen Admin und Moderator. Letztendlich sollte
jeder dieser Gruppen auch einen Supporter-Rang haben und vielleicht noch eine
übergeordnete Rolle, wie "Teammitglied".
Mit dem Script kann man nun einstellen, dass man "Teammitglied" und "Support"
automatisch bekommt, sobald man Admin oder Moderator bekommt.
Weiterhin kann man noch erweiterte Bedingungen festlegen, wie zum Beispiel
"Blacklisted Groups". So könnte man folgende Logik erzeugen:
~ wenn Client Gruppe 1 oder 2 bekommt, gebe Gruppe 3 aber nicht, wenn er Gruppe 4 hat
Auf das Beispiel angewandt könnte man noch eine weitere Servergruppe haben,
die "Kein-Support" heißt. Wenn ein Client diese Gruppe hat, bekommt er die
Supporterrolle nicht, wenn er Admin oder Moderator bekommt.
es oft Dinge, die man automatisieren kann.
Nehmen wir an es gäbe die Gruppen Admin und Moderator. Letztendlich sollte
jeder dieser Gruppen auch einen Supporter-Rang haben und vielleicht noch eine
übergeordnete Rolle, wie "Teammitglied".
Mit dem Script kann man nun einstellen, dass man "Teammitglied" und "Support"
automatisch bekommt, sobald man Admin oder Moderator bekommt.
Weiterhin kann man noch erweiterte Bedingungen festlegen, wie zum Beispiel
"Blacklisted Groups". So könnte man folgende Logik erzeugen:
~ wenn Client Gruppe 1 oder 2 bekommt, gebe Gruppe 3 aber nicht, wenn er Gruppe 4 hat
Auf das Beispiel angewandt könnte man noch eine weitere Servergruppe haben,
die "Kein-Support" heißt. Wenn ein Client diese Gruppe hat, bekommt er die
Supporterrolle nicht, wenn er Admin oder Moderator bekommt.
Das Einfachste wäre ein bisschen mit den Optionen herum zu spielen,
um die Funktionsweise des Scripts zu verstehen.
Wenn man es verstanden hat, ist es wirklich mächtig um solche Vorgänge zu
automatisieren. Ich wünsche viel Spaß mit dem Script.
Hey guys!
Today, I'm sharing my 'Automated Servergroups' script.
It is used for the automated assignment and removal of servergroups on
specific events under configurable conditions.
To keep it simply, I'll give you a quick example:
The easiest way would be to play around with the script options to fully
understand the functionality.
If you understand it correctly, it's pretty powerful to automate things like
this on your server. Have fun with the script!
Today, I'm sharing my 'Automated Servergroups' script.
It is used for the automated assignment and removal of servergroups on
specific events under configurable conditions.
To keep it simply, I'll give you a quick example:
If you have servergroups representing staff groups on your server, there are
ways to automate a lot of things very often.
Let's assume we have groups called Admin and Moderator. Each of them should
also have the Support role and maybe a header group like "Staff-Member" too.
With the script, you can set up that "Staff-Member" and "Support" is automatically
given to a client if they get Admin or Moderator.
Furthermore, you can set specific conditions for example "Blacklisted Groups".
You could apply the following logic:
~ if a client has group 1 or 2, give them group 3 but only if they don't have group 4
To apply that to our example, you could have an additional servergroup called
"no support". If a client has that group and they get Admin or Moderator, they
won't get the support group.
ways to automate a lot of things very often.
Let's assume we have groups called Admin and Moderator. Each of them should
also have the Support role and maybe a header group like "Staff-Member" too.
With the script, you can set up that "Staff-Member" and "Support" is automatically
given to a client if they get Admin or Moderator.
Furthermore, you can set specific conditions for example "Blacklisted Groups".
You could apply the following logic:
~ if a client has group 1 or 2, give them group 3 but only if they don't have group 4
To apply that to our example, you could have an additional servergroup called
"no support". If a client has that group and they get Admin or Moderator, they
won't get the support group.
The easiest way would be to play around with the script options to fully
understand the functionality.
If you understand it correctly, it's pretty powerful to automate things like
this on your server. Have fun with the script!
In case you need support with the script, feel free to join our Discord!
If you want to report a bug or request a new feature, please do that
on our GitHub repository in the issue section.
If you want to report a bug or request a new feature, please do that
on our GitHub repository in the issue section.
This script is only compatible with SinusBot version 1.0 and above since it uses
JavaScript features which are only available in the new scripting engine.
There will be no support if you use this script with a version below 1.0.
JavaScript features which are only available in the new scripting engine.
There will be no support if you use this script with a version below 1.0.
Credits:
- Author: RLNT <https://github.com/RLNT>
- SinusBot-Discord - filled with helpful people <https://discord.gg/h6s5Ykc>
- Mortis - made the resource icon
If you want to request a script for personal use or if you just have a good idea for
another public script, join our Discord and talk to one of the RLNT members.
another public script, join our Discord and talk to one of the RLNT members.