From 67734f3f89954fd3f0f2818c440f1a024eb69342 Mon Sep 17 00:00:00 2001 From: Paldiu Date: Wed, 8 Jun 2022 00:34:09 -0500 Subject: [PATCH] Added README.md --- build.gradle | 14 +++------- src/README.md | 28 +++++++++++++++++++ .../simplex/luck/util/SneakyWorker.java | 1 - 3 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 src/README.md diff --git a/build.gradle b/build.gradle index 168ddb2..3ab7301 100644 --- a/build.gradle +++ b/build.gradle @@ -3,22 +3,16 @@ plugins { } group = 'io.github.simplex' -version = 'Beta-1.0.2' +version = 'Beta-1.1.0' repositories { mavenCentral() - maven { - name = 'papermc-repo' - url = 'https://papermc.io/repo/repository/maven-public/' - } - maven { - name = 'sonatype' - url = 'https://s01.oss.sonatype.org/content/groups/public/' - } + maven { url = uri("https://s01.oss.sonatype.org/content/groups/public/") } + maven { url = uri("https://papermc.io/repo/repository/maven-public/")} } dependencies { - compileOnly 'io.papermc.paper:paper-api:1.18.1-R0.1-SNAPSHOT' + compileOnly("io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT") } def targetJavaVersion = 17 diff --git a/src/README.md b/src/README.md new file mode 100644 index 0000000..5f0fb9e --- /dev/null +++ b/src/README.md @@ -0,0 +1,28 @@ +#
FeelingLucky Beta v1.1.0
+ +##
Plugin Description:
+ +###
For All Users:
+ +FeelingLucky is a mechanics plugin designed to expand upon the Luck attribute which Minecraft provides. +Each user is assigned a tangible Luck stat, which can be viewed by using /luck info. +Users can increase their luck stat by using a rabbit's foot, +or increase their luck and their luck multiplier by consuming a special rabbits foot purchased from a Butcher villager. +Beware though, if you take damage from guardian lasers or a witch's potion, +there's a chance your luck will decrease instead. + +###
For Administrators:
+Admins can modify values in the configuration file, as well as modify individual user's luck stat. +Admins can set, reset, add to, and take from player's luck stat. +Admins can also reload the main configuration, as well as individual and all player configurations. +For this, the command is /luck reload -m for the main config, +/luck reload to reload all player configurations, and /luck reload -p PLAYER_NAME to reload individual player configuration files. + +##
Server Requirements:
+ +In order to run FeelingLucky v1.1.0, the latest version of Paper or Spigot is required. + +####
Note: Paper is REQUIRED for this plugin to run. Spigot is not supported, and support for Spigot will not be added in the future.
+ +###
Note: If you are migrating from an Alpha build, the plugin configuration folder will need to be regenerated.
+ diff --git a/src/main/java/io/github/simplex/luck/util/SneakyWorker.java b/src/main/java/io/github/simplex/luck/util/SneakyWorker.java index a74e601..fe727c3 100644 --- a/src/main/java/io/github/simplex/luck/util/SneakyWorker.java +++ b/src/main/java/io/github/simplex/luck/util/SneakyWorker.java @@ -1,6 +1,5 @@ package io.github.simplex.luck.util; -import io.github.simplex.luck.listener.AbstractListener; import io.github.simplex.luck.player.Luck; import org.bukkit.Bukkit; import org.bukkit.entity.Item;