From 81523d0ea9dc1d74044b2b3d9cc3704860b5faf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bro=C4=8Dko?= Date: Fri, 12 Oct 2018 21:50:31 +0200 Subject: [PATCH] moved configs to proper modules --- AntiVoid/.classpath | 31 +++++++++--------- AntiVoid/pom.xml | 5 +++ AntiVoid/resources/antivoid.yml | 6 ++++ Auth/pom.xml | 5 +++ Borders/.classpath | 33 ++++++++++---------- Borders/pom.xml | 5 +++ Borders/resources/borders.yml | 22 +++++++++++++ Votes/resources/votes.yml | 0 Votes/src/cz/marwland/mc/features/Votes.java | 5 ++- 9 files changed, 80 insertions(+), 32 deletions(-) create mode 100644 AntiVoid/resources/antivoid.yml create mode 100644 Borders/resources/borders.yml create mode 100644 Votes/resources/votes.yml diff --git a/AntiVoid/.classpath b/AntiVoid/.classpath index b4317a8..5f49517 100644 --- a/AntiVoid/.classpath +++ b/AntiVoid/.classpath @@ -1,17 +1,18 @@ - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + diff --git a/AntiVoid/pom.xml b/AntiVoid/pom.xml index 4e38126..07897c8 100644 --- a/AntiVoid/pom.xml +++ b/AntiVoid/pom.xml @@ -10,6 +10,11 @@ src + + + resources + + maven-compiler-plugin diff --git a/AntiVoid/resources/antivoid.yml b/AntiVoid/resources/antivoid.yml new file mode 100644 index 0000000..5f3043d --- /dev/null +++ b/AntiVoid/resources/antivoid.yml @@ -0,0 +1,6 @@ +# Here you can specify worlds to enable this feature in +# and the threshold Y coordinate below which a player gets +# teleported to the world's spawn. +triggery: 10 +worlds: + - world \ No newline at end of file diff --git a/Auth/pom.xml b/Auth/pom.xml index dab4375..76cd8d9 100644 --- a/Auth/pom.xml +++ b/Auth/pom.xml @@ -10,6 +10,11 @@ src + + + resources + + maven-compiler-plugin diff --git a/Borders/.classpath b/Borders/.classpath index 1973b1b..19180a8 100644 --- a/Borders/.classpath +++ b/Borders/.classpath @@ -1,18 +1,19 @@ - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + diff --git a/Borders/pom.xml b/Borders/pom.xml index 48940ff..783f0e8 100644 --- a/Borders/pom.xml +++ b/Borders/pom.xml @@ -10,6 +10,11 @@ src + + + resources + + maven-compiler-plugin diff --git a/Borders/resources/borders.yml b/Borders/resources/borders.yml new file mode 100644 index 0000000..52c81e7 --- /dev/null +++ b/Borders/resources/borders.yml @@ -0,0 +1,22 @@ +# Here you can specify the world limits, defining them either by the center of the allowed +# region and its dimensions or two or more points inside the required area that will be +# automatically sized accordingly (to contain every single point). You can also specify both. +# Coordinates are encoded in X,Y order. +#world: # -500 -500, 500 500 +# points: +# - 500 500 +# - -500 -500 +#flatroom: # -250 -250, 250 250 +# center: 0 0 # < +# radius: 200 # < the only working size-related settings +# size: 500 500 +# warningdist: 5 +# warningtime: 15 +# damage: 0.2 +# buffer: 5 +#event: # -250 -250, 600 550 +# center: 0 0 +# size: 500 500 +# points: +# - 600 550 +# - 350 200 \ No newline at end of file diff --git a/Votes/resources/votes.yml b/Votes/resources/votes.yml new file mode 100644 index 0000000..e69de29 diff --git a/Votes/src/cz/marwland/mc/features/Votes.java b/Votes/src/cz/marwland/mc/features/Votes.java index 423e994..c14a2c1 100644 --- a/Votes/src/cz/marwland/mc/features/Votes.java +++ b/Votes/src/cz/marwland/mc/features/Votes.java @@ -5,5 +5,8 @@ import cz.marwland.mc.core.features.Feature; public class Votes extends Feature { private final String SQL_VOTE_QUERY = "INSERT INTO `{prefix}votes` (`uuid`, `date`) VALUES (?, ?)"; - + + public Votes() { + + } }