From 7dba8c8a8730478dc105401bbdd6ddb64bf1189e Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 10 Jan 2014 09:34:06 +1100 Subject: [PATCH] Implement skeleton modules for our 5 initial commands. --- .gitignore | 4 +- module/cmd-alert/pom.xml | 20 ++++++++++ .../cmd-alert/src/main/resources/plugin.yml | 4 ++ module/cmd-find/pom.xml | 20 ++++++++++ module/cmd-find/src/main/resources/plugin.yml | 4 ++ module/cmd-list/pom.xml | 20 ++++++++++ module/cmd-list/src/main/resources/plugin.yml | 4 ++ module/cmd-send/pom.xml | 20 ++++++++++ module/cmd-send/src/main/resources/plugin.yml | 4 ++ module/cmd-server/pom.xml | 20 ++++++++++ .../cmd-server/src/main/resources/plugin.yml | 4 ++ module/pom.xml | 38 +++++++++++++++++++ pom.xml | 3 +- 13 files changed, 163 insertions(+), 2 deletions(-) create mode 100644 module/cmd-alert/pom.xml create mode 100644 module/cmd-alert/src/main/resources/plugin.yml create mode 100644 module/cmd-find/pom.xml create mode 100644 module/cmd-find/src/main/resources/plugin.yml create mode 100644 module/cmd-list/pom.xml create mode 100644 module/cmd-list/src/main/resources/plugin.yml create mode 100644 module/cmd-send/pom.xml create mode 100644 module/cmd-send/src/main/resources/plugin.yml create mode 100644 module/cmd-server/pom.xml create mode 100644 module/cmd-server/src/main/resources/plugin.yml create mode 100644 module/pom.xml diff --git a/.gitignore b/.gitignore index 0fde6ec5..a34de59c 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,6 @@ manifest.mf # other files *.log* -*.yml + +# delombok +*/src/main/lombok diff --git a/module/cmd-alert/pom.xml b/module/cmd-alert/pom.xml new file mode 100644 index 00000000..327e645e --- /dev/null +++ b/module/cmd-alert/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + net.md-5 + bungeecord-module + 1.7-SNAPSHOT + ../pom.xml + + + net.md-5 + bungeecord-module-cmd-alert + 1.7-SNAPSHOT + pom + + cmd_alert + Provides the alert and alertraw commands + diff --git a/module/cmd-alert/src/main/resources/plugin.yml b/module/cmd-alert/src/main/resources/plugin.yml new file mode 100644 index 00000000..809847f6 --- /dev/null +++ b/module/cmd-alert/src/main/resources/plugin.yml @@ -0,0 +1,4 @@ +name: ${project.name} +main: foo +version: ${describe} +description: ${project.description} \ No newline at end of file diff --git a/module/cmd-find/pom.xml b/module/cmd-find/pom.xml new file mode 100644 index 00000000..84adb6a9 --- /dev/null +++ b/module/cmd-find/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + net.md-5 + bungeecord-module + 1.7-SNAPSHOT + ../pom.xml + + + net.md-5 + bungeecord-module-cmd-find + 1.7-SNAPSHOT + pom + + cmd_find + Provides the find command + diff --git a/module/cmd-find/src/main/resources/plugin.yml b/module/cmd-find/src/main/resources/plugin.yml new file mode 100644 index 00000000..809847f6 --- /dev/null +++ b/module/cmd-find/src/main/resources/plugin.yml @@ -0,0 +1,4 @@ +name: ${project.name} +main: foo +version: ${describe} +description: ${project.description} \ No newline at end of file diff --git a/module/cmd-list/pom.xml b/module/cmd-list/pom.xml new file mode 100644 index 00000000..313eb164 --- /dev/null +++ b/module/cmd-list/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + net.md-5 + bungeecord-module + 1.7-SNAPSHOT + ../pom.xml + + + net.md-5 + bungeecord-module-cmd-list + 1.7-SNAPSHOT + pom + + cmd_list + Provides the glist command + diff --git a/module/cmd-list/src/main/resources/plugin.yml b/module/cmd-list/src/main/resources/plugin.yml new file mode 100644 index 00000000..809847f6 --- /dev/null +++ b/module/cmd-list/src/main/resources/plugin.yml @@ -0,0 +1,4 @@ +name: ${project.name} +main: foo +version: ${describe} +description: ${project.description} \ No newline at end of file diff --git a/module/cmd-send/pom.xml b/module/cmd-send/pom.xml new file mode 100644 index 00000000..1b54d8d1 --- /dev/null +++ b/module/cmd-send/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + net.md-5 + bungeecord-module + 1.7-SNAPSHOT + ../pom.xml + + + net.md-5 + bungeecord-module-cmd-send + 1.7-SNAPSHOT + pom + + cmd_send + Provides the gsend command + diff --git a/module/cmd-send/src/main/resources/plugin.yml b/module/cmd-send/src/main/resources/plugin.yml new file mode 100644 index 00000000..809847f6 --- /dev/null +++ b/module/cmd-send/src/main/resources/plugin.yml @@ -0,0 +1,4 @@ +name: ${project.name} +main: foo +version: ${describe} +description: ${project.description} \ No newline at end of file diff --git a/module/cmd-server/pom.xml b/module/cmd-server/pom.xml new file mode 100644 index 00000000..ef58ae85 --- /dev/null +++ b/module/cmd-server/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + net.md-5 + bungeecord-module + 1.7-SNAPSHOT + ../pom.xml + + + net.md-5 + bungeecord-module-cmd-server + 1.7-SNAPSHOT + pom + + cmd_server + Provides the server command + diff --git a/module/cmd-server/src/main/resources/plugin.yml b/module/cmd-server/src/main/resources/plugin.yml new file mode 100644 index 00000000..809847f6 --- /dev/null +++ b/module/cmd-server/src/main/resources/plugin.yml @@ -0,0 +1,4 @@ +name: ${project.name} +main: foo +version: ${describe} +description: ${project.description} \ No newline at end of file diff --git a/module/pom.xml b/module/pom.xml new file mode 100644 index 00000000..a35955c9 --- /dev/null +++ b/module/pom.xml @@ -0,0 +1,38 @@ + + + 4.0.0 + + + net.md-5 + bungeecord-parent + 1.7-SNAPSHOT + ../pom.xml + + + net.md-5 + bungeecord-module + 1.7-SNAPSHOT + pom + + BungeeCord + Parent project for all BungeeCord modules. + + + cmd-alert + cmd-find + cmd-list + cmd-send + cmd-server + + + + ${project.name} + + + true + ${basedir}/src/main/resources + + + + diff --git a/pom.xml b/pom.xml index d1314655..2af7ef7d 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ 1.7-SNAPSHOT pom - BungeeCord + BungeeCord-Parent Parent project for all BungeeCord modules. https://github.com/SpigotMC/BungeeCord 2012 @@ -41,6 +41,7 @@ bootstrap config event + module protocol proxy query