mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-27 20:39:08 +00:00
[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:
@@ -0,0 +1 @@
|
||||
Effects
|
||||
@@ -1 +0,0 @@
|
||||
Immune roles
|
||||
@@ -1 +1 @@
|
||||
Optional: ${parameter.optional?string('yes', 'no')}
|
||||
${parameter.optional?string('(Optional)', '')}
|
||||
@@ -1 +1 @@
|
||||
Makes a role affected by certain commands/features
|
||||
Makes a role affected by effects
|
||||
@@ -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)
|
||||
@@ -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.
|
||||
@@ -1 +0,0 @@
|
||||
The command/feature name to make the role affected by.
|
||||
@@ -0,0 +1 @@
|
||||
The effect to make the role affected by
|
||||
@@ -1 +1 @@
|
||||
Makes a role immune against certain commands/complete features
|
||||
Makes a role immune against certain effects
|
||||
@@ -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)
|
||||
@@ -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.
|
||||
@@ -1 +0,0 @@
|
||||
The command/feature name to make the role immune for.
|
||||
@@ -0,0 +1 @@
|
||||
The effect to make the role immune against.
|
||||
@@ -0,0 +1 @@
|
||||
Shows the currently possible effects
|
||||
@@ -0,0 +1 @@
|
||||
Shows the keys of the currently available effects while also showing a short description thereof
|
||||
@@ -0,0 +1 @@
|
||||
Effect not found.
|
||||
@@ -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}.
|
||||
37
translations/invite-filter/pom.xml
Normal file
37
translations/invite-filter/pom.xml
Normal 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>
|
||||
15
translations/invite-filter/src/main/assembly/assembly.xml
Normal file
15
translations/invite-filter/src/main/assembly/assembly.xml
Normal 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>
|
||||
@@ -0,0 +1 @@
|
||||
Invites getting checked and maybe deleted
|
||||
@@ -0,0 +1 @@
|
||||
Invite filter
|
||||
@@ -0,0 +1 @@
|
||||
Invite filter
|
||||
@@ -0,0 +1 @@
|
||||
Utilities to moderate the server
|
||||
@@ -0,0 +1 @@
|
||||
Getting banned from the server
|
||||
@@ -0,0 +1 @@
|
||||
Ban
|
||||
@@ -0,0 +1 @@
|
||||
Getting kicked from the server
|
||||
@@ -0,0 +1 @@
|
||||
Kick
|
||||
@@ -0,0 +1 @@
|
||||
Getting muted
|
||||
@@ -0,0 +1 @@
|
||||
Mute
|
||||
@@ -0,0 +1 @@
|
||||
Getting warned
|
||||
@@ -0,0 +1 @@
|
||||
Warning
|
||||
@@ -29,6 +29,7 @@
|
||||
<module>repost-detection</module>
|
||||
<module>webservices</module>
|
||||
<module>logging</module>
|
||||
<module>invite-filter</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
Reference in New Issue
Block a user