mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-14 19:56:30 +00:00
initial commit with the current state of the templates split into separate modules with assembly
This commit is contained in:
39
translations/core/pom.xml
Normal file
39
translations/core/pom.xml
Normal 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>
|
||||
15
translations/core/src/main/assembly/assembly.xml
Normal file
15
translations/core/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 @@
|
||||
Adds channels to a channel group.
|
||||
@@ -0,0 +1 @@
|
||||
`addToChannelGroup group1 #general` to add the channel #general to the group group1
|
||||
@@ -0,0 +1 @@
|
||||
Adds the mentioned channel to the channel group identified by the name.
|
||||
@@ -0,0 +1 @@
|
||||
The channel to add to the channel group.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the channel group to which the channel should be added to.
|
||||
@@ -0,0 +1 @@
|
||||
addToChannelGroup <name> <channel>
|
||||
@@ -0,0 +1 @@
|
||||
Allows the command or feature to be executed by everyone regardless of role.
|
||||
@@ -0,0 +1 @@
|
||||
This causes the role checks for each command in the feature/for the given command to be disabled.
|
||||
@@ -0,0 +1 @@
|
||||
The command/feature name to allow for anyone to execute
|
||||
@@ -0,0 +1 @@
|
||||
allow <command/feature>
|
||||
@@ -0,0 +1 @@
|
||||
Allows the given role to execute the commands in the given feature or the command.
|
||||
@@ -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)
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The command/feature the role should be able to execute.
|
||||
@@ -0,0 +1 @@
|
||||
The role to allow it for.
|
||||
@@ -0,0 +1 @@
|
||||
allowRole <command/feature> <role>
|
||||
@@ -0,0 +1 @@
|
||||
Clears the internal cache.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
clearCache
|
||||
@@ -0,0 +1 @@
|
||||
Adds the given channelIds to the channel group of the given name.
|
||||
@@ -0,0 +1 @@
|
||||
Adds the mentioned channel to the channel group identified by the name.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the channel group to create.
|
||||
@@ -0,0 +1 @@
|
||||
addToChannelGroup <name> <channel>
|
||||
@@ -0,0 +1 @@
|
||||
Deletes a channel group
|
||||
@@ -0,0 +1 @@
|
||||
Deletes the channel group identified by the name.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the channel group to delete.
|
||||
@@ -0,0 +1 @@
|
||||
deleteChannelGroup <name>
|
||||
@@ -0,0 +1 @@
|
||||
Forbids a role to use a command.
|
||||
@@ -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)
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The command/feature the role should not be able to execute.
|
||||
@@ -0,0 +1 @@
|
||||
The role to disallow it for.
|
||||
@@ -0,0 +1 @@
|
||||
disAllowRole <command/feature> <role>
|
||||
@@ -0,0 +1 @@
|
||||
The following features are available: ${featureString}
|
||||
@@ -0,0 +1 @@
|
||||
Completely disables a feature for the server.
|
||||
@@ -0,0 +1 @@
|
||||
`disable moderation` to disable the moderation feature
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The feature to disable.
|
||||
@@ -0,0 +1 @@
|
||||
disable [featureName]
|
||||
@@ -0,0 +1 @@
|
||||
Disables a command in a channel group.
|
||||
@@ -0,0 +1 @@
|
||||
`disableCommand warn group1` to disable the command `warn` in the group `group1`
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the channel group in which the command should be disabled.
|
||||
@@ -0,0 +1 @@
|
||||
The command which should be disabled.
|
||||
@@ -0,0 +1 @@
|
||||
disableCommand <commandName> <channelGroupName>
|
||||
@@ -0,0 +1 @@
|
||||
Echos the input back to the same channel
|
||||
@@ -0,0 +1 @@
|
||||
Echos back the text put in
|
||||
@@ -0,0 +1 @@
|
||||
The input to echo back.
|
||||
@@ -0,0 +1 @@
|
||||
echo <text>
|
||||
@@ -0,0 +1 @@
|
||||
The following features are available: ${featureString}
|
||||
@@ -0,0 +1 @@
|
||||
Enables a feature in the server.
|
||||
@@ -0,0 +1 @@
|
||||
`enable moderation` to enable the moderation feature
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The feature to enable.
|
||||
@@ -0,0 +1 @@
|
||||
enable [featureName]
|
||||
@@ -0,0 +1 @@
|
||||
Enables a command in a channel group.
|
||||
@@ -0,0 +1 @@
|
||||
`enableCommand warn group1` to enable the command `warn` in the group `group1`
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
The name of the channel group in which the command should be enabled.
|
||||
@@ -0,0 +1 @@
|
||||
The command which should be enabled.
|
||||
@@ -0,0 +1 @@
|
||||
enableCommand <commandName> <channelGroupName>
|
||||
@@ -0,0 +1 @@
|
||||
Key
|
||||
@@ -0,0 +1 @@
|
||||
Lists all currently known features and their current status.
|
||||
@@ -0,0 +1 @@
|
||||
Currently available features
|
||||
@@ -0,0 +1 @@
|
||||
This will print all the currently known features and whether they are enabled on this server or not.
|
||||
@@ -0,0 +1 @@
|
||||
features
|
||||
@@ -0,0 +1 @@
|
||||
Aliases
|
||||
@@ -0,0 +1 @@
|
||||
Description
|
||||
@@ -0,0 +1 @@
|
||||
Detailed help
|
||||
@@ -0,0 +1 @@
|
||||
Example
|
||||
@@ -0,0 +1 @@
|
||||
Executable by
|
||||
@@ -0,0 +1 @@
|
||||
Nobody
|
||||
@@ -0,0 +1 @@
|
||||
Immune roles
|
||||
@@ -0,0 +1 @@
|
||||
None
|
||||
@@ -0,0 +1 @@
|
||||
Name
|
||||
@@ -0,0 +1 @@
|
||||
No parameters
|
||||
@@ -0,0 +1 @@
|
||||
Not restricted
|
||||
@@ -0,0 +1 @@
|
||||
Optional: ${parameter.optional?string('yes', 'no')}
|
||||
@@ -0,0 +1 @@
|
||||
Parameters
|
||||
@@ -0,0 +1 @@
|
||||
Restrictions
|
||||
@@ -0,0 +1 @@
|
||||
Usage
|
||||
@@ -0,0 +1 @@
|
||||
or
|
||||
@@ -0,0 +1 @@
|
||||
Help - Command ${command.name} details
|
||||
@@ -0,0 +1 @@
|
||||
Provides help on how to use certain commands.
|
||||
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
Name of module or command.
|
||||
@@ -0,0 +1 @@
|
||||
help <module/command>
|
||||
@@ -0,0 +1 @@
|
||||
Use 'help <command name>' for a detailed overview of this command.
|
||||
@@ -0,0 +1 @@
|
||||
Commands
|
||||
@@ -0,0 +1 @@
|
||||
Description
|
||||
@@ -0,0 +1 @@
|
||||
Module name
|
||||
@@ -0,0 +1 @@
|
||||
Submodules
|
||||
@@ -0,0 +1 @@
|
||||
Help - Module ${name} details
|
||||
@@ -0,0 +1 @@
|
||||
Use 'help <module name>' for a list of commands of this module.
|
||||
@@ -0,0 +1 @@
|
||||
Help - Module overview
|
||||
@@ -0,0 +1 @@
|
||||
Lists all currently existing channel groups.
|
||||
@@ -0,0 +1 @@
|
||||
This will list all the currently known channel groups and the respective channels contained in the group.
|
||||
@@ -0,0 +1 @@
|
||||
listChannelGroups
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user