Skip to content

Commit

Permalink
Rearranged directory structure to maven standard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tulonsae committed Nov 30, 2011
1 parent c873f4f commit b829e08
Show file tree
Hide file tree
Showing 7 changed files with 98 additions and 49 deletions.
51 changes: 51 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<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">
<modelVersion>4.0.0</modelVersion>

<groupId>com.dumptruckman.spamhammer</groupId>
<artifactId>SpamHammer</artifactId>
<version>1.7b-Tul</version>
<packaging>jar</packaging>

<name>SpamHammer</name>
<description></description>
<url>https://github.com/Tulonsae/SpamHammer</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.number>1</project.build.number>
<project.plugin.author>dumptruckman</project.plugin.author>
<project.plugin.depend>[Permissions]</project.plugin.depend>
</properties>

<repositories>
<repository>
<id>bukkit-repo</id>
<url>http://repo.bukkit.org/artifactory/repo</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.0.0-R1-SNAPSHOT</version>
<type>jar</type>
<scope>compile</scope>
<optional>false</optional>
</dependency>
</dependencies>

<build>
<resources>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>${basedir}/src/main/resources/</directory>
<includes>
<include>plugin.yml</include>
</includes>
</resource>
</resources>
</build>
</project>
3 changes: 0 additions & 3 deletions src/META-INF/MANIFEST.MF

This file was deleted.

93 changes: 47 additions & 46 deletions src/plugin.yml → src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,47 @@
name: SpamHammer
main: com.dumptruckman.spamhammer.SpamHammer
version: 1.7b
author: dumptruckman

commands:
spamunban:
description: Unbans a player banned by SpamHammer.
usage: |
/<command> <playername>
/<command> dumptruckman - unbans dumptruckman if he was banned by SpamHammer.
aliases: dc
spamunmute:
description: Unmutes a player banned by SpamHammer.
usage: |
/<command> <playername>
/<command> dumptruckman - unmutes dumptruckman if he was muted by SpamHammer.
aliases: dc
spamreset:
description: Resets a player's SpamHammer punishment level.
usage: |
/<command> <playername>
/<command> dumptruckman - Makes it like dumptruckman never spammed in the first place.
aliases: dc

permissions:
spamhammer.*:
description: Give access to all dChest commands
children:
spamhammer.unban: true
spamhammer.unmute: true
spamhammer.reset: true
spamhammer.ignore: true
spamhammer.unban:
description: Allows use of /spamunban
default: op
spamhammer.unmute:
description: Allows use of /spamunmute
default: op
spamhammer.reset:
description: Allows use of /spamreset
default: op
spamhammer.ignore:
description: Allows user to be unaffected by spamhammer
default: op

name: ${project.name}
main: com.dumptruckman.spamhammer.${project.name}
version: "${project.version}-${project.build.number}"
author: ${project.plugin.author}
depend: ${project.plugin.depend}

commands:
spamunban:
description: Unbans a player banned by SpamHammer.
usage: |
/<command> <playername>
/<command> dumptruckman - unbans dumptruckman if he was banned by SpamHammer.
aliases: dc
spamunmute:
description: Unmutes a player banned by SpamHammer.
usage: |
/<command> <playername>
/<command> dumptruckman - unmutes dumptruckman if he was muted by SpamHammer.
aliases: dc
spamreset:
description: Resets a player's SpamHammer punishment level.
usage: |
/<command> <playername>
/<command> dumptruckman - Makes it like dumptruckman never spammed in the first place.
aliases: dc

permissions:
spamhammer.*:
description: Give access to all dChest commands
children:
spamhammer.unban: true
spamhammer.unmute: true
spamhammer.reset: true
spamhammer.ignore: true
spamhammer.unban:
description: Allows use of /spamunban
default: op
spamhammer.unmute:
description: Allows use of /spamunmute
default: op
spamhammer.reset:
description: Allows use of /spamreset
default: op
spamhammer.ignore:
description: Allows user to be unaffected by spamhammer
default: op

0 comments on commit b829e08

Please sign in to comment.