[AB-240] moving invite filtering to separate module

adding templates for effects rework
changed display of optional parameters in help
This commit is contained in:
Sheldan
2021-05-10 20:57:09 +02:00
parent 3d7db690a5
commit 6b6f5bcb10
66 changed files with 150 additions and 21 deletions

View File

@@ -1 +1 @@
Optional: ${parameter.optional?string('yes', 'no')}
${parameter.optional?string('(Optional)', '')}

View File

@@ -1 +1 @@
Makes a role affected by certain commands/features
Makes a role affected by effects

View File

@@ -1 +1 @@
`makeAffected ban @Staff` in order so the role `Staff` can be banned via the command (where @Staff is a role mention)
`makeAffected ban @Staff` in order so the role `Staff` can be banned (where @Staff is a role mention)

View File

@@ -1,5 +1,5 @@
Makes the given role affected by certain commands like `ban`, `warn` or `mute`.
When a feature name is used, all commands of this feature will be changed.
Not all commands actually support this functionality.
This is done by 'effects', an effect is something which can be applied to members, and all the available effects can be
shown via the command `showEffects`.
By default all roles are affected by the commands.
The provided role can either be a role ID or a the mention of the role.

View File

@@ -1 +0,0 @@
The command/feature name to make the role affected by.

View File

@@ -0,0 +1 @@
The effect to make the role affected by

View File

@@ -1 +1 @@
Makes a role immune against certain commands/complete features
Makes a role immune against certain effects

View File

@@ -1 +1 @@
`makeImmune ban @Staff` in order so the role `Staff` cannot be banned via the command (where @Staff is a role mention)
`makeImmune ban @Staff` in order so the role `Staff` cannot be banned (where @Staff is a role mention)

View File

@@ -1,5 +1,5 @@
Makes the given role immune to certain commands like `ban`, `warn` or `mute`.
When a feature name is used, all commands of this feature will be changed.
Not all commands actually support this functionality.
This is done by 'effects', an effect is something which can be applied to members, and all the available effects can be
shown via the command `showEffects`.
By default all roles are affected by the commands.
The provided role can either be a role ID or a the mention of the role.

View File

@@ -1 +0,0 @@
The command/feature name to make the role immune for.

View File

@@ -0,0 +1 @@
The effect to make the role immune against.

View File

@@ -0,0 +1 @@
Shows the currently possible effects

View File

@@ -0,0 +1 @@
Shows the keys of the currently available effects while also showing a short description thereof

View File

@@ -1 +1 @@
The targeted user is immune against this command, because of the role: ${roleName}.
The targeted user is immune against `${effect}`, because of the role: ${roleName}.

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>translations</artifactId>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<version>1.2.7-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>invite-filter</artifactId>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>invite-filter-translations-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@@ -0,0 +1,15 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>zip</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<outputDirectory>.</outputDirectory>
<directory>${project.basedir}/src/main/resources</directory>
</fileSet>
</fileSets>
</assembly>

View File

@@ -0,0 +1 @@
Invites getting checked and maybe deleted

View File

@@ -0,0 +1 @@
Utilities to moderate the server

View File

@@ -0,0 +1 @@
Getting banned from the server

View File

@@ -0,0 +1 @@
Getting kicked from the server

View File

@@ -29,6 +29,7 @@
<module>repost-detection</module>
<module>webservices</module>
<module>logging</module>
<module>invite-filter</module>
</modules>
</project>