From 1bd734f7d851dc09b5177eb05326ffe29dc25181 Mon Sep 17 00:00:00 2001 From: Ventority <60640272+Ventority@users.noreply.github.com> Date: Sun, 20 Apr 2025 10:37:38 +0200 Subject: [PATCH 1/5] Added README --- README.md | 135 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..6a17e52 --- /dev/null +++ b/README.md @@ -0,0 +1,135 @@ + + + + +
+
+

LPrefixor

+ +

+ This small Spigot Plugin was made by me a couple of years ago for an older Minecraft-Version. I recently found it again, started porting it to 1.21 and decided to upload + it to Github as a small memory for myself. I think I won't put much work into it as soon as i finished the TODOs, so dont expect anything great. +
+ Explore the docs » There, sadly, are no docs yet. +
+
+ Report Bug + · + Request Feature +

+
+ + + + +
+ Table of Contents +
    +
  1. + About The Project +
  2. +
  3. + Getting Started + +
  4. +
  5. Usage
  6. +
  7. Roadmap
  8. +
  9. Contributing
  10. +
  11. License
  12. +
  13. Contact
  14. +
  15. Acknowledgments
  16. +
+
+ + + + +## About The Project + + + +The Plugin is based on LuckPerms capabillity to add custom prefixes. It basically just changes the ChatColor the prefix gets assigned. +To do that, the command `/prefix` is added which allows you to change the color of the prefix a player has. More on the usage down below. Permissions for each color +are created when a new color is added and can be given or taken by admins (This functionality is currently not working, the fix should be +fairly easy tho. I will push an updated version soon). Keep in mind that Vanilla Minecfaft doesn't show prefixes at all so you will need tomething like TAB thst displays them in the Tab list and the chat. LPrefixor also doesn't sort the groups so you will have to do that within LuckPerm yourself if you want an Admin at the top and a player at the bottom. +

(back to top)

+ + + + +### Installation +As every Spigot Plugin +1. Download the newest .jar file in the Releases-Tab +2. Download LuckPerms +3. Place both .jar files inside your Spigot-Server's plugins-folder +4. Enjoy + +

(back to top)

+ + + + +## Usage + +`/prefix` - Opens a GUI of all available Colors the Player can choose from.
+`/prefix add `- This Command adds the color specified using the hex color code with a given name and an assigned Item that's shown in the GUI.
+`/prefix remove `- Use this one to remove the color specified using the given name. + + + +## Roadmap + +- [ ] Fixing Permission Checks +- [ ] (Re-)adding fade option so prefixes look even cooler +- [ ] Adding usefull JavaDocs +- [ ] probably other stuff I currently dont think about. + +

(back to top)

+ + + + +## Contributing + +Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. + +If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". +Don't forget to give the project a star! Thanks again! + +1. Fork the Project +2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) +3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) +4. Push to the Branch (`git push origin feature/AmazingFeature`) +5. Open a Pull Request + +

(back to top)

+ + + + +## License + +Distributed under the GNU GPLv3 License. See `LICENSE.txt` for more information. + +

(back to top)

+ + + + + +## Acknowledgments + +* []() othneildrew for the amazing README template + +

(back to top)

+ + + From 934f91a6a99fcd7f6d8f5f565c5255c2d151d8e7 Mon Sep 17 00:00:00 2001 From: Ventority <60640272+Ventority@users.noreply.github.com> Date: Sun, 20 Apr 2025 10:40:33 +0200 Subject: [PATCH 2/5] Update README.md --- README.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 6a17e52..d4b2cc3 100644 --- a/README.md +++ b/README.md @@ -10,18 +10,17 @@
-

LPrefixor

+

Randomized Minigames

- This small Spigot Plugin was made by me a couple of years ago for an older Minecraft-Version. I recently found it again, started porting it to 1.21 and decided to upload - it to Github as a small memory for myself. I think I won't put much work into it as soon as i finished the TODOs, so dont expect anything great. + This spigot plugin adds a couple of Minigames all based on some sort of randomization. Currently working are two different types of Force Item Battles, a type of minigame where each player has to aquire an item faster than the others.
Explore the docs » There, sadly, are no docs yet.

- Report Bug + Report Bug · - Request Feature + Request Feature

@@ -56,10 +55,7 @@ -The Plugin is based on LuckPerms capabillity to add custom prefixes. It basically just changes the ChatColor the prefix gets assigned. -To do that, the command `/prefix` is added which allows you to change the color of the prefix a player has. More on the usage down below. Permissions for each color -are created when a new color is added and can be given or taken by admins (This functionality is currently not working, the fix should be -fairly easy tho. I will push an updated version soon). Keep in mind that Vanilla Minecfaft doesn't show prefixes at all so you will need tomething like TAB thst displays them in the Tab list and the chat. LPrefixor also doesn't sort the groups so you will have to do that within LuckPerm yourself if you want an Admin at the top and a player at the bottom. +I got inspired by a streamer and youtuber who plays these kinds of Minigames (BastiGHG)

(back to top)

From d5ca565995aef405e53706219387dea1d431fd6f Mon Sep 17 00:00:00 2001 From: Ventority <60640272+Ventority@users.noreply.github.com> Date: Sun, 20 Apr 2025 18:04:03 +0200 Subject: [PATCH 3/5] Create LICENSE --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8726120 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Jakob Hansen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 8ea401adcc12c32a6f35d7313390adb277c62a29 Mon Sep 17 00:00:00 2001 From: Ventority <60640272+Ventority@users.noreply.github.com> Date: Sun, 20 Apr 2025 18:23:33 +0200 Subject: [PATCH 4/5] Update README.md --- README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d4b2cc3..4dd7a93 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ -I got inspired by a streamer and youtuber who plays these kinds of Minigames (BastiGHG) +I got inspired by a streamer and youtuber who plays these kinds of Minigames (BastiGHG). The plugin aims to bring many of these games to his audience and maybe some other people who are interested. There are multiple in-game GUIs that are used for various actions including each part of the setup.

(back to top)

@@ -64,9 +64,8 @@ I got inspired by a streamer and youtuber who plays these kinds of Minigames (Ba ### Installation As every Spigot Plugin 1. Download the newest .jar file in the Releases-Tab -2. Download LuckPerms -3. Place both .jar files inside your Spigot-Server's plugins-folder -4. Enjoy +2. Place the .jar file inside your Spigot-Server's plugins-folder +3. Enjoy

(back to top)

@@ -75,16 +74,16 @@ As every Spigot Plugin ## Usage -`/prefix` - Opens a GUI of all available Colors the Player can choose from.
-`/prefix add `- This Command adds the color specified using the hex color code with a given name and an assigned Item that's shown in the GUI.
-`/prefix remove `- Use this one to remove the color specified using the given name. +`/minigames` - Opens a GUI of all available Minigames.
+`/minigames killall`- Kills all minigames currently running, will be removed in the future since it shouldn't be necessary
## Roadmap -- [ ] Fixing Permission Checks -- [ ] (Re-)adding fade option so prefixes look even cooler +- [ ] Fully implementing Force-Item-Battle Team variant +- [ ] Add another minigame, not sure which atm +- [ ] Make the GUI easier to work with - [ ] Adding usefull JavaDocs - [ ] probably other stuff I currently dont think about. @@ -113,7 +112,7 @@ Don't forget to give the project a star! Thanks again! ## License -Distributed under the GNU GPLv3 License. See `LICENSE.txt` for more information. +Distributed under the MIT License. See `LICENSE.md` for more information.

(back to top)

From ef9fc9325acf12923209cfac5eeba82f878c6ae5 Mon Sep 17 00:00:00 2001 From: Ventority <60640272+Ventority@users.noreply.github.com> Date: Sun, 20 Apr 2025 18:25:57 +0200 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dd7a93..4c9b774 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@

Randomized Minigames

- This spigot plugin adds a couple of Minigames all based on some sort of randomization. Currently working are two different types of Force Item Battles, a type of minigame where each player has to aquire an item faster than the others. + This spigot plugin adds a couple of Minigames to Minecraft all based on some sort of randomization. Currently working are two different types of Force Item Battles, a type of minigame where each player has to aquire an item faster than the others.
Explore the docs » There, sadly, are no docs yet.