From 7b3beae57f083ff2a6cbbbe1758d62d9e56b7cf7 Mon Sep 17 00:00:00 2001 From: Luck Date: Wed, 28 Oct 2020 11:58:41 +0000 Subject: [PATCH] Change wiki links from GitHub to luckperms.net --- CONTRIBUTING.md | 6 +++--- README.md | 11 +++++------ .../bukkit/listeners/BukkitConnectionListener.java | 2 +- bukkit/src/main/resources/config.yml | 10 +++++----- bungee/src/main/resources/config.yml | 10 +++++----- .../me/lucko/luckperms/common/locale/Message.java | 8 ++++++-- .../plugin/util/AbstractConnectionListener.java | 2 +- nukkit/src/main/resources/config.yml | 10 +++++----- sponge/src/main/resources/luckperms.conf | 10 +++++----- velocity/src/main/resources/config.yml | 10 +++++----- 10 files changed, 41 insertions(+), 38 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 901db59c8..5e0dfad55 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ ### :speech_balloon: Looking for support? -Details about support for the project can be found [here, on the Wiki Homepage](https://github.com/lucko/LuckPerms/wiki#support). +Details about support for the project can be found [here, on the Wiki Homepage](https://luckperms.net/wiki/Home#support). ### :bug: Reporting bugs? @@ -16,10 +16,10 @@ If you make any changes or improvements to the plugin which you think would be b LuckPerms loosely follows the [Google Java Style Guide](https://google.github.io/styleguide/javaguide.html). Generally, try to copy the style of code found in the class you're editing. -If you're considering submitting a substantial pull request, please open an issue so we can discuss the change before starting work on the contribution. Most pull requests are happily accepted, but larger changes may have an inpact on the maintainability of the project, and require more consideration. +If you're considering submitting a substantial pull request, please open an issue so we can discuss the change before starting work on the contribution. Most pull requests are happily accepted, but larger changes may have an impact on the maintainability of the project, and require more consideration. #### Project Layout -The project is split up into a few seperate modules. +The project is split up into a few separate modules. * **API** - The public, semantically versioned API used by other plugins wishing to integrate with and retrieve data from LuckPerms. This module (for the most part) does not contain any implementation itself, and is provided by the plugin. * **Common** - The common module contains most of the code which implements the respective LuckPerms plugins. This abstract module reduces duplicated code throughout the project. diff --git a/README.md b/README.md index a9a44d96d..bf118ef18 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ -![alt text](https://i.imgur.com/ToguFkQ.png "Banner") +![](https://i.imgur.com/ToguFkQ.png "Banner") # LuckPerms [![Build Status](https://ci.lucko.me/job/LuckPerms/badge/icon)](https://ci.lucko.me/job/LuckPerms/) [![javadoc](https://javadoc.io/badge2/net.luckperms/api/javadoc.svg)](https://javadoc.io/doc/net.luckperms/api) [![Maven Central](https://img.shields.io/maven-metadata/v/https/repo1.maven.org/maven2/net/luckperms/api/maven-metadata.xml.svg?label=maven%20central&colorB=brightgreen)](https://search.maven.org/artifact/net.luckperms/api) -[![Discord](https://img.shields.io/discord/241667244927483904.svg?logo=discord&label=)](https://discord.gg/luckperms) +[![Discord](https://img.shields.io/discord/241667244927483904.svg?label=discord&logo=discord)](https://discord.gg/luckperms) LuckPerms is a permissions plugin for Minecraft servers. It allows server admins to control what features players can use by creating groups and assigning permissions. +The latest downloads, wiki & other useful links can be found on the project homepage at [luckperms.net](https://luckperms.net/). + It is: * **fast** - written with performance and scalability in mind. @@ -16,10 +18,7 @@ It is: * **extensive** - a plethora of customization options and settings which can be changed to suit your server. * **free** - available for download and usage at no cost, and permissively licensed so it can remain free forever. -For more information, see the wiki article on [Why LuckPerms?](https://github.com/lucko/LuckPerms/wiki/Why-LuckPerms) - -## Useful Links -The latest downloads & other useful links can be found on the project homepage at [luckperms.net](https://luckperms.net/). +For more information, see the wiki article on [Why LuckPerms?](https://luckperms.net/wiki/Why-LuckPerms) ## Building LuckPerms uses Gradle to handle dependencies & building. diff --git a/bukkit/src/main/java/me/lucko/luckperms/bukkit/listeners/BukkitConnectionListener.java b/bukkit/src/main/java/me/lucko/luckperms/bukkit/listeners/BukkitConnectionListener.java index 78dccb9dc..22bbe709e 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/listeners/BukkitConnectionListener.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/listeners/BukkitConnectionListener.java @@ -79,7 +79,7 @@ public class BukkitConnectionListener extends AbstractConnectionListener impleme this.plugin.getLogger().warn("It appears that your server is running CraftBukkit and configured in offline (cracked) mode."); this.plugin.getLogger().warn("Due to a CraftBukkit limitation, LuckPerms cannot function correctly in this setup."); this.plugin.getLogger().warn("To resolve this, please either a) upgrade from CraftBukkit to Spigot or Paper, or b) enable online-mode."); - this.plugin.getLogger().warn("For more info, please see: https://github.com/lucko/LuckPerms/wiki/Installation#craftbukkit-and-offline-mode"); + this.plugin.getLogger().warn("For more info, please see: https://luckperms.net/wiki/Installation#craftbukkit-and-offline-mode"); } @EventHandler(priority = EventPriority.LOW) diff --git a/bukkit/src/main/resources/config.yml b/bukkit/src/main/resources/config.yml index 9be87e685..e4a924789 100644 --- a/bukkit/src/main/resources/config.yml +++ b/bukkit/src/main/resources/config.yml @@ -6,12 +6,12 @@ # | | # # | https://luckperms.net | # # | | # -# | SOURCE CODE: https://github.com/lucko/LuckPerms | # -# | WIKI: https://github.com/lucko/LuckPerms/wiki | # +# | WIKI: https://luckperms.net/wiki | # +# | DISCORD: https://discord.gg/luckperms | # # | BUG REPORTS: https://github.com/lucko/LuckPerms/issues | # # | | # # | Each option in this file is documented and explained here: | # -# | ==> https://github.com/lucko/LuckPerms/wiki/Configuration | # +# | ==> https://luckperms.net/wiki/Configuration | # # | | # # | New options are not added to this file automatically. Default values are used if an | # # | option cannot be found. The latest config versions can be obtained at the link above. | # @@ -30,7 +30,7 @@ # # - When set to "global" this setting is effectively ignored. # - In all other cases, the value here is added to all players in a "server" context. -# - See: https://github.com/lucko/LuckPerms/wiki/Context +# - See: https://luckperms.net/wiki/Context server: global # If the servers own UUID cache/lookup facility should be used when there is no record for a player @@ -57,7 +57,7 @@ use-server-uuid-cache: false # How the plugin should store data # # - The various options are explained in more detail on the wiki: -# https://github.com/lucko/LuckPerms/wiki/Storage-types +# https://luckperms.net/wiki/Storage-types # # - Possible options: # diff --git a/bungee/src/main/resources/config.yml b/bungee/src/main/resources/config.yml index ef1991be9..b2c291a7b 100644 --- a/bungee/src/main/resources/config.yml +++ b/bungee/src/main/resources/config.yml @@ -6,12 +6,12 @@ # | | # # | https://luckperms.net | # # | | # -# | SOURCE CODE: https://github.com/lucko/LuckPerms | # -# | WIKI: https://github.com/lucko/LuckPerms/wiki | # +# | WIKI: https://luckperms.net/wiki | # +# | DISCORD: https://discord.gg/luckperms | # # | BUG REPORTS: https://github.com/lucko/LuckPerms/issues | # # | | # # | Each option in this file is documented and explained here: | # -# | ==> https://github.com/lucko/LuckPerms/wiki/Configuration | # +# | ==> https://luckperms.net/wiki/Configuration | # # | | # # | New options are not added to this file automatically. Default values are used if an | # # | option cannot be found. The latest config versions can be obtained at the link above. | # @@ -30,7 +30,7 @@ # # - When set to "global" this setting is effectively ignored. # - In all other cases, the value here is added to all players in a "server" context. -# - See: https://github.com/lucko/LuckPerms/wiki/Context +# - See: https://luckperms.net/wiki/Context server: bungee # If the servers own UUID cache/lookup facility should be used when there is no record for a player @@ -54,7 +54,7 @@ use-server-uuid-cache: false # How the plugin should store data # # - The various options are explained in more detail on the wiki: -# https://github.com/lucko/LuckPerms/wiki/Storage-types +# https://luckperms.net/wiki/Storage-types # # - Possible options: # diff --git a/common/src/main/java/me/lucko/luckperms/common/locale/Message.java b/common/src/main/java/me/lucko/luckperms/common/locale/Message.java index f4fbdc00e..5857d370b 100644 --- a/common/src/main/java/me/lucko/luckperms/common/locale/Message.java +++ b/common/src/main/java/me/lucko/luckperms/common/locale/Message.java @@ -171,7 +171,7 @@ public interface Message { // "&3Open your console and run:" // " &3&l> &a{} user {} permission set luckperms.* true" // "&3After you've done this, you can begin to define your permission assignments and groups." - // "&3Don't know where to start? Check here: &7https://github.com/lucko/LuckPerms/wiki/Usage" + // "&3Don't know where to start? Check here: &7https://luckperms.net/wiki/Usage" prefixed(translatable() .key("luckperms.first-time.no-permissions-setup") .color(DARK_AQUA)), @@ -197,7 +197,11 @@ public interface Message { prefixed(translatable() .key("luckperms.first-time.wiki-prompt") .color(DARK_AQUA) - .args(text("https://github.com/lucko/LuckPerms/wiki/Usage", GRAY))) + .args(text() + .content("https://luckperms.net/wiki/Usage") + .color(GRAY) + .clickEvent(ClickEvent.openUrl("https://luckperms.net/wiki/Usage")) + )) ); Args0 LOADING_DATABASE_ERROR = () -> prefixed(translatable() diff --git a/common/src/main/java/me/lucko/luckperms/common/plugin/util/AbstractConnectionListener.java b/common/src/main/java/me/lucko/luckperms/common/plugin/util/AbstractConnectionListener.java index 62f5e3f1d..ea226dbe2 100644 --- a/common/src/main/java/me/lucko/luckperms/common/plugin/util/AbstractConnectionListener.java +++ b/common/src/main/java/me/lucko/luckperms/common/plugin/util/AbstractConnectionListener.java @@ -96,7 +96,7 @@ public abstract class AbstractConnectionListener { this.plugin.getLogger().warn("If you're using BungeeCord/Velocity, please ensure that IP-Forwarding is setup correctly on all of your backend servers!"); } - this.plugin.getLogger().warn("See here for more info: https://github.com/lucko/LuckPerms/wiki/Network-Installation#pre-setup"); + this.plugin.getLogger().warn("See here for more info: https://luckperms.net/wiki/Network-Installation#pre-setup"); } User user = this.plugin.getStorage().loadUser(uniqueId, username).join(); diff --git a/nukkit/src/main/resources/config.yml b/nukkit/src/main/resources/config.yml index e9257fd16..7dbe900df 100644 --- a/nukkit/src/main/resources/config.yml +++ b/nukkit/src/main/resources/config.yml @@ -6,12 +6,12 @@ # | | # # | https://luckperms.net | # # | | # -# | SOURCE CODE: https://github.com/lucko/LuckPerms | # -# | WIKI: https://github.com/lucko/LuckPerms/wiki | # +# | WIKI: https://luckperms.net/wiki | # +# | DISCORD: https://discord.gg/luckperms | # # | BUG REPORTS: https://github.com/lucko/LuckPerms/issues | # # | | # # | Each option in this file is documented and explained here: | # -# | ==> https://github.com/lucko/LuckPerms/wiki/Configuration | # +# | ==> https://luckperms.net/wiki/Configuration | # # | | # # | New options are not added to this file automatically. Default values are used if an | # # | option cannot be found. The latest config versions can be obtained at the link above. | # @@ -30,7 +30,7 @@ # # - When set to "global" this setting is effectively ignored. # - In all other cases, the value here is added to all players in a "server" context. -# - See: https://github.com/lucko/LuckPerms/wiki/Context +# - See: https://luckperms.net/wiki/Context server: global # If the servers own UUID cache/lookup facility should be used when there is no record for a player @@ -57,7 +57,7 @@ use-server-uuid-cache: false # How the plugin should store data # # - The various options are explained in more detail on the wiki: -# https://github.com/lucko/LuckPerms/wiki/Storage-types +# https://luckperms.net/wiki/Storage-types # # - Possible options: # diff --git a/sponge/src/main/resources/luckperms.conf b/sponge/src/main/resources/luckperms.conf index e37fc8fc6..73a9cefc6 100644 --- a/sponge/src/main/resources/luckperms.conf +++ b/sponge/src/main/resources/luckperms.conf @@ -6,12 +6,12 @@ # | | # # | https://luckperms.net | # # | | # -# | SOURCE CODE: https://github.com/lucko/LuckPerms | # -# | WIKI: https://github.com/lucko/LuckPerms/wiki | # +# | WIKI: https://luckperms.net/wiki | # +# | DISCORD: https://discord.gg/luckperms | # # | BUG REPORTS: https://github.com/lucko/LuckPerms/issues | # # | | # # | Each option in this file is documented and explained here: | # -# | ==> https://github.com/lucko/LuckPerms/wiki/Configuration | # +# | ==> https://luckperms.net/wiki/Configuration | # # | | # # | New options are not added to this file automatically. Default values are used if an | # # | option cannot be found. The latest config versions can be obtained at the link above. | # @@ -30,7 +30,7 @@ # # - When set to "global" this setting is effectively ignored. # - In all other cases, the value here is added to all players in a "server" context. -# - See: https://github.com/lucko/LuckPerms/wiki/Context +# - See: https://luckperms.net/wiki/Context server = "global" # If the servers own UUID cache/lookup facility should be used when there is no record for a player @@ -57,7 +57,7 @@ use-server-uuid-cache = false # How the plugin should store data # # - The various options are explained in more detail on the wiki: -# https://github.com/lucko/LuckPerms/wiki/Storage-types +# https://luckperms.net/wiki/Storage-types # # - Possible options: # diff --git a/velocity/src/main/resources/config.yml b/velocity/src/main/resources/config.yml index a2f8f730a..2ac7baad1 100644 --- a/velocity/src/main/resources/config.yml +++ b/velocity/src/main/resources/config.yml @@ -6,12 +6,12 @@ # | | # # | https://luckperms.net | # # | | # -# | SOURCE CODE: https://github.com/lucko/LuckPerms | # -# | WIKI: https://github.com/lucko/LuckPerms/wiki | # +# | WIKI: https://luckperms.net/wiki | # +# | DISCORD: https://discord.gg/luckperms | # # | BUG REPORTS: https://github.com/lucko/LuckPerms/issues | # # | | # # | Each option in this file is documented and explained here: | # -# | ==> https://github.com/lucko/LuckPerms/wiki/Configuration | # +# | ==> https://luckperms.net/wiki/Configuration | # # | | # # | New options are not added to this file automatically. Default values are used if an | # # | option cannot be found. The latest config versions can be obtained at the link above. | # @@ -30,7 +30,7 @@ # # - When set to "global" this setting is effectively ignored. # - In all other cases, the value here is added to all players in a "server" context. -# - See: https://github.com/lucko/LuckPerms/wiki/Context +# - See: https://luckperms.net/wiki/Context server: proxy @@ -47,7 +47,7 @@ server: proxy # How the plugin should store data # # - The various options are explained in more detail on the wiki: -# https://github.com/lucko/LuckPerms/wiki/Storage-types +# https://luckperms.net/wiki/Storage-types # # - Possible options: #