initial commit with the current state of the templates split into separate modules with assembly

This commit is contained in:
Sheldan
2020-07-01 21:59:05 +02:00
commit 71f08e243e
694 changed files with 1562 additions and 0 deletions

39
translations/core/pom.xml Normal file
View File

@@ -0,0 +1,39 @@
<?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>
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
<artifactId>translations</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.0-SNAPSHOT</version>
<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>core-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 @@
`addToChannelGroup group1 #general` to add the channel #general to the group group1

View File

@@ -0,0 +1 @@
Adds the mentioned channel to the channel group identified by the name.

View File

@@ -0,0 +1 @@
The channel to add to the channel group.

View File

@@ -0,0 +1 @@
The name of the channel group to which the channel should be added to.

View File

@@ -0,0 +1 @@
addToChannelGroup <name> <channel>

View File

@@ -0,0 +1 @@
Allows the command or feature to be executed by everyone regardless of role.

View File

@@ -0,0 +1 @@
This causes the role checks for each command in the feature/for the given command to be disabled.

View File

@@ -0,0 +1 @@
The command/feature name to allow for anyone to execute

View File

@@ -0,0 +1 @@
allow <command/feature>

View File

@@ -0,0 +1 @@
Allows the given role to execute the commands in the given feature or the command.

View File

@@ -0,0 +1 @@
`allowRole moderation @Staff` to allow the role `Staff` to execute all commands in the `moderation` feature (where @Staff is a role mention)

View File

@@ -0,0 +1,4 @@
Allows the role to execute all commands in the given feature or the command directly.
In case the names coincide, the the feature will be taken first. The restriction of commands to certain roles is only in effect, if the command is restricted (see `restrict`).
When executing this command, the affected commands are automatically set to restricted.
The provided role can either be a role ID or a the mention of the role.

View File

@@ -0,0 +1 @@
The command/feature the role should be able to execute.

View File

@@ -0,0 +1 @@
allowRole <command/feature> <role>

View File

@@ -0,0 +1 @@
Clears the internal cache.

View File

@@ -0,0 +1 @@
Clears the internal cache. This is necessary if values were directly changed in the database, and the changes need to take effect immediately.

View File

@@ -0,0 +1 @@
Adds the given channelIds to the channel group of the given name.

View File

@@ -0,0 +1 @@
Adds the mentioned channel to the channel group identified by the name.

View File

@@ -0,0 +1 @@
The name of the channel group to create.

View File

@@ -0,0 +1 @@
addToChannelGroup <name> <channel>

View File

@@ -0,0 +1 @@
Deletes the channel group identified by the name.

View File

@@ -0,0 +1 @@
The name of the channel group to delete.

View File

@@ -0,0 +1 @@
Forbids a role to use a command.

View File

@@ -0,0 +1 @@
`disAllowRole moderation @Staff` to forbid the role `Staff` to execute all commands in the `moderation` feature (where @Staff is a role mention)

View File

@@ -0,0 +1,5 @@
Forbids the role to execute all commands in the given feature or the command directly.
Does nothing in case the role was not allowed in the first place.
In case the names coincide, the the feature will be taken first. The restriction of commands to certain roles is only in effect, if the command is restricted (see `restrict`).
When executing this command, the affected commands are automatically set to restricted.
The provided role can either be a role ID or a the mention of the role.

View File

@@ -0,0 +1 @@
The command/feature the role should not be able to execute.

View File

@@ -0,0 +1 @@
disAllowRole <command/feature> <role>

View File

@@ -0,0 +1 @@
The following features are available: ${featureString}

View File

@@ -0,0 +1 @@
Completely disables a feature for the server.

View File

@@ -0,0 +1 @@
`disable moderation` to disable the moderation feature

View File

@@ -0,0 +1,3 @@
Disables name of the given feature. If no feature is given, it will print the currently known features.
This does not work retroactively, and does not remove any date associated with the feature.
This will prevent commands of the feature being used.

View File

@@ -0,0 +1 @@
disable [featureName]

View File

@@ -0,0 +1 @@
Disables a command in a channel group.

View File

@@ -0,0 +1 @@
`disableCommand warn group1` to disable the command `warn` in the group `group1`

View File

@@ -0,0 +1,2 @@
Makes it impossible to execute a command in a channel group.
A command is considered disabled for a given channel, if the command is disabled in all channel groups the channel is part of.

View File

@@ -0,0 +1 @@
The name of the channel group in which the command should be disabled.

View File

@@ -0,0 +1 @@
The command which should be disabled.

View File

@@ -0,0 +1 @@
disableCommand <commandName> <channelGroupName>

View File

@@ -0,0 +1 @@
Echos the input back to the same channel

View File

@@ -0,0 +1 @@
Echos back the text put in

View File

@@ -0,0 +1 @@
The input to echo back.

View File

@@ -0,0 +1 @@
The following features are available: ${featureString}

View File

@@ -0,0 +1 @@
Enables a feature in the server.

View File

@@ -0,0 +1 @@
`enable moderation` to enable the moderation feature

View File

@@ -0,0 +1,2 @@
Used to enable a feature of the server. If no feature is passed, this will print all the currently known features.
This will make it possible that the commands contained in this feature will be executed again.

View File

@@ -0,0 +1 @@
enable [featureName]

View File

@@ -0,0 +1 @@
Enables a command in a channel group.

View File

@@ -0,0 +1 @@
`enableCommand warn group1` to enable the command `warn` in the group `group1`

View File

@@ -0,0 +1,2 @@
Makes it possible to execute a command in a channel group.
A command is considered enabled for a given channel, if the command is enabled in one channel group the channel is part of.

View File

@@ -0,0 +1 @@
The name of the channel group in which the command should be enabled.

View File

@@ -0,0 +1 @@
The command which should be enabled.

View File

@@ -0,0 +1 @@
enableCommand <commandName> <channelGroupName>

View File

@@ -0,0 +1 @@
Lists all currently known features and their current status.

View File

@@ -0,0 +1 @@
Currently available features

View File

@@ -0,0 +1 @@
This will print all the currently known features and whether they are enabled on this server or not.

View File

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

View File

@@ -0,0 +1 @@
Help - Command ${command.name} details

View File

@@ -0,0 +1 @@
Provides help on how to use certain commands.

View File

@@ -0,0 +1,4 @@
Provides support on how to use the commands.
Gives an overview in which modules the commands are and what commands are available.
Displays descriptions about commands and detailed information how to use them.
If no parameter is provided, displays all the currently known modules and description.

View File

@@ -0,0 +1 @@
Name of module or command.

View File

@@ -0,0 +1 @@
help <module/command>

View File

@@ -0,0 +1 @@
Use 'help <command name>' for a detailed overview of this command.

View File

@@ -0,0 +1 @@
Help - Module ${name} details

View File

@@ -0,0 +1 @@
Use 'help <module name>' for a list of commands of this module.

View File

@@ -0,0 +1 @@
Lists all currently existing channel groups.

View File

@@ -0,0 +1 @@
This will list all the currently known channel groups and the respective channels contained in the group.

Some files were not shown because too many files have changed in this diff Show More