mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-28 19:35:18 +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:
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 @@
|
||||
Allows one invite to be used within the server
|
||||
@@ -0,0 +1 @@
|
||||
This command adds the given invite to the list of allowed invites on the server. If this command is executed - the message will immediately be deleted, but the configuration will be applied.
|
||||
@@ -0,0 +1 @@
|
||||
The invite to allow - this can either be the full invite URL or just the part behind the slash.
|
||||
@@ -0,0 +1 @@
|
||||
Removes one invite from the allowed invites
|
||||
@@ -0,0 +1 @@
|
||||
Removes the given invite from the list of allowed invites to be used.
|
||||
@@ -0,0 +1 @@
|
||||
The invite to be removed from the list of allowed invites - this can either be the full invite URL or just the part behind the slash.
|
||||
@@ -0,0 +1 @@
|
||||
Removes all/individual stored filtered invites
|
||||
@@ -0,0 +1 @@
|
||||
This command allows to remove the stored occurrences of individual or all filtered invites in this server.
|
||||
@@ -0,0 +1 @@
|
||||
The invite from which the uses should be removed for - if not provided, all uses from all filtered invites of this server will be removed
|
||||
@@ -0,0 +1 @@
|
||||
Displays the current top filtered invites
|
||||
@@ -0,0 +1 @@
|
||||
This command can be used to display the current top filtered invites - the ordering is based on how many times an individual invite has been removed. Per default 5 invite links are shown, but this can be changed via the parameter.
|
||||
@@ -0,0 +1 @@
|
||||
Number to define how many filtered invites should be displayed
|
||||
@@ -0,0 +1 @@
|
||||
Most filtered invite links
|
||||
@@ -0,0 +1 @@
|
||||
${linkText}: #${linkUses}
|
||||
@@ -0,0 +1 @@
|
||||
No links found
|
||||
@@ -0,0 +1 @@
|
||||
Invite filter
|
||||
@@ -0,0 +1 @@
|
||||
Invites getting checked and maybe deleted
|
||||
@@ -0,0 +1 @@
|
||||
Invite filter
|
||||
@@ -0,0 +1 @@
|
||||
Invite filter
|
||||
@@ -0,0 +1 @@
|
||||
The channel in which deleted invite links should be logged to. Currently: ${currentTarget}
|
||||
@@ -0,0 +1 @@
|
||||
Utilities to moderate the server
|
||||
@@ -0,0 +1 @@
|
||||
Invite is not yet allowed.
|
||||
@@ -0,0 +1 @@
|
||||
Invalid invite
|
||||
@@ -0,0 +1 @@
|
||||
Invite link by ${authorMention} has been deleted.
|
||||
@@ -0,0 +1 @@
|
||||
Invite(s)
|
||||
Reference in New Issue
Block a user