Git Product home page Git Product logo

dough's Introduction

๐Ÿฅฏ Dough


Build Status javadocs Maven Central Code Coverage Maintainability


Formerly known as "cs-corelib2", dough is a very powerful library aiming to help the everyday Spigot/Plugin developer.
It is packed to the brim with useful features and APIs to use and play around with.

Note that this project is still under heavy development, we don't advise using this just yet as some things are still drafts and subject to change. Documentation is still lacking and we try to improve this until we go live. We plan to go live in September of 2021. Check back then! ;)

๐Ÿ“„ Table of contents

  1. Getting Started
  2. Features & Documentation
    • TODO
  3. Discord server

๐Ÿ” Getting Started

Dough is hosted on maven-central (OSS Sonatype) for easy access. Furthermore it consists of multiple different submodules. You will learn about the different modules in a later section (โœจ Features and Documentation).

If you want to utilise the entirety of dough, use the artifact dough-api.
Otherwise replace dough-api in the following examples with whatever module you want to import. Note that some modules have dependencies on other modules, all modules require dough-common as an example.

Adding dough via gradle

Dough can easily be included in gradle using mavenCentral.
Simply replace [DOUGH VERSION] with the most up to date version of dough: Maven Central

repositories {
	mavenCentral()
}

dependencies {
	implementation 'io.github.baked-libs:dough-api:[DOUGH VERSION]'
}

To shadow dough and relocate it:

plugins {
  id "com.github.johnrengelman.shadow" version "7.0.0"
}

shadowJar {
   relocate "io.github.bakedlibs.dough", "[YOUR PACKAGE].dough"
}

Adding dough via Maven

Dough can easily be included be added using maven-central.
Simply replace [DOUGH VERSION] with the most up to date version of dough: Maven Central

<dependencies>
  <dependency>
    <groupId>io.github.baked-libs</groupId>
    <artifactId>dough-api</artifactId>
    <version>[DOUGH VERSION]</version>
    <scope>compile</scope>
  </dependency>
</dependencies>

To shadow dough and relocate it:

<build>
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-shade-plugin</artifactId>
      <version>3.2.4</version>

      <configuration>
        <relocations>
          <relocation>
            <pattern>io.github.bakedlibs.dough</pattern>
            <shadedPattern>[YOUR PACKAGE].dough</shadedPattern>
          </relocation>
        </relocations>
      </configuration>

      <executions>
        <execution>
          <phase>package</phase>
          <goals>
            <goal>shade</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>

โœจ Features and Documentation

TODO: Finish this section

๐ŸŽง Discord server

You can also find us on discord by the way! If you need any help with dough or have a question regarding this project, feel free to join and connect with other members of the community. Note that this server is not as active at times, so response times may vary.

Discord Invite

dough's People

Contributors

ajan-12 avatar angeschossen avatar barpec12 avatar char3210 avatar epicplayera10 avatar j3fftw1 avatar jikoo avatar kii-chan-reloaded avatar l4borg avatar linoxgh avatar md5sha256 avatar mooy1 avatar ncbpfluffybear avatar poslovitch avatar qwertyuioplkjhgfd avatar renovate-bot avatar renovate[bot] avatar rymiel avatar sefiraat avatar sfiguz7 avatar thebusybiscuit avatar walshydev avatar wiiiiam278 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dough's Issues

Robots can move outside island

Description (Required)

Robots can go outside the island (SuperiorSkyblock plugin)

Steps to reproduce the Issue (Required)

Setup SuperiorSkyblock
Create island and place robot near border
Add move script and enable robot

Expected behavior (Required)

Robots must stop near the border

Server Log / Error Report

Server specs (Required)

  • Server Software: Airplane
  • Minecraft Version: 1.16.5

FULL plugins list (Required)

SuperiorSkyblock Dev 284

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency org.apache.maven.plugins:maven-shade-plugin to v3.5.3
  • chore(deps): update dependency org.apache.maven.plugins:maven-source-plugin to v3.3.1
  • chore(deps): update dependency org.jacoco:jacoco-maven-plugin to v0.8.12
  • fix(deps): update dependency com.github.griefprevention:griefprevention to v16.18.3
  • fix(deps): update plotsquared.version to v7.3.8 (com.intellectualsites.plotsquared:plotsquared-bukkit, com.intellectualsites.plotsquared:plotsquared-core)
  • chore(deps): update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.13.0
  • chore(deps): update dependency org.apache.maven.plugins:maven-gpg-plugin to v3.2.4
  • chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.2.5
  • chore(deps): update dependency org.junit.jupiter:junit-jupiter to v5.10.2
  • chore(deps): update dependency org.sonarsource.scanner.maven:sonar-maven-plugin to v3.11.0.3922
  • fix(deps): update dependency com.github.angeschossen:landsapi to v6.44.14
  • fix(deps): update dependency com.github.wiiiiam278:husktowns to v1.8.2
  • fix(deps): update dependency net.william278.huskclaims:huskclaims-bukkit to v1.2-6c0ccb2
  • fix(deps): update dependency nl.rutgerkok:blocklocker to v1.12.2
  • fix(deps): update dependency world.bentobox:bentobox to v1.24.1
  • chore(deps): update actions/cache action to v4
  • chore(deps): update actions/checkout action to v4
  • chore(deps): update actions/setup-java action to v4
  • chore(deps): update dependency org.apache.maven.plugins:maven-release-plugin to v3
  • chore(deps): update dependency org.mockito:mockito-core to v5
  • fix(deps): update dependency com.github.angeschossen:chestprotectapi to v5
  • fix(deps): update dependency com.github.angeschossen:landsapi to v7
  • fix(deps): update dependency com.github.griefprevention:griefprevention to v17
  • fix(deps): update dependency com.github.techfortress:griefprevention to v17
  • fix(deps): update dependency com.github.wiiiiam278:husktowns to v3
  • fix(deps): update dependency net.coreprotect:coreprotect to v22
  • fix(deps): update dependency world.bentobox:bentobox to v2
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Warning

Renovate failed to look up the following dependencies: Failed to look up maven package com.github.fubira:Lockette, Failed to look up maven package com.mojang:authlib.

Files affected: dough-api/pom.xml, dough-protection/pom.xml, dough-skins/pom.xml


Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/maven.yml
  • actions/checkout v3.5.3
  • actions/setup-java v3.11.0
  • actions/cache v3
.github/workflows/sonarcloud.yml
  • actions/checkout v3.5.3
  • actions/setup-java v3.11.0
  • actions/cache v3
  • actions/cache v3
maven
dough-api/pom.xml
  • org.apache.maven.plugins:maven-javadoc-plugin 3.5.0
  • org.apache.maven.plugins:maven-shade-plugin 3.5.1
  • com.mojang:authlib 6.0.52
  • com.sk89q.worldedit:worldedit-core 7.2.17
  • com.sk89q.worldedit:worldedit-bukkit 7.2.17
  • com.sk89q.worldguard:worldguard-bukkit 7.0.9
  • com.github.elBukkit:PreciousStones 1.17.2
  • net.coreprotect:coreprotect 21.3
  • de.diddiz:logblock 1.17.0.0-SNAPSHOT
  • com.github.marcelo-mason:SimpleClans 7c3db52796
  • com.github.TechFortress:GriefPrevention 16.18.2
  • com.github.dmulloy2.LWC:lwc master-4.5.1-g2100b5e-18
  • me.lucko:helper 5.6.14
  • com.massivecraft:Factions 1.6.9.5-4.1.4-STABLE
  • com.github.LlmDl:Towny 1b86d017c5
  • com.github.fubira:Lockette 9dac96e8f8
  • com.plotsquared:PlotSquared-Core 6.11.1
  • br.net.fabiozumbi12.RedProtect:RedProtect-Core 7.7.3
  • br.net.fabiozumbi12.RedProtect:RedProtect-Spigot 7.7.3
  • world.bentobox:bentobox 1.20.1
  • nl.rutgerkok:blocklocker 1.10.4
  • com.github.angeschossen:LandsAPI 6.29.12
  • com.github.angeschossen:ChestProtectAPI 3.9.1
  • net.dzikoysk.funnyguilds:plugin 4.12.0
  • com.github.WiIIiam278:HuskTowns 1.7
  • de.epiceric:ShopChest 1.13-SNAPSHOT
  • org.popcraft:bolt-bukkit 1.0.580
dough-chat/pom.xml
dough-common/pom.xml
  • io.papermc:paperlib 1.0.7
dough-config/pom.xml
dough-data/pom.xml
dough-inventories/pom.xml
dough-items/pom.xml
dough-protection/pom.xml
  • com.sk89q.worldedit:worldedit-core 7.2.17
  • com.sk89q.worldedit:worldedit-bukkit 7.2.17
  • com.sk89q.worldguard:worldguard-bukkit 7.0.9
  • com.github.elBukkit:PreciousStones 1.17.2
  • net.coreprotect:coreprotect 21.3
  • de.diddiz:logblock 1.17.0.0-SNAPSHOT
  • com.github.marcelo-mason:SimpleClans 7c3db52796
  • com.github.GriefPrevention:GriefPrevention 16.18.2
  • com.github.dmulloy2.LWC:lwc master-4.5.1-g2100b5e-18
  • me.lucko:helper 5.6.14
  • com.massivecraft:Factions 1.6.9.5-4.1.4-STABLE
  • com.github.LlmDl:Towny 1b86d017c5
  • com.github.fubira:Lockette 9dac96e8f8
  • com.intellectualsites.plotsquared:plotsquared-core 7.3.6
  • com.intellectualsites.plotsquared:plotsquared-bukkit 7.3.6
  • br.net.fabiozumbi12.RedProtect:RedProtect-Core 7.7.3
  • br.net.fabiozumbi12.RedProtect:RedProtect-Spigot 7.7.3
  • world.bentobox:bentobox 1.20.1
  • nl.rutgerkok:blocklocker 1.10.4
  • com.github.angeschossen:LandsAPI 6.29.12
  • com.github.angeschossen:ChestProtectAPI 3.9.1
  • net.dzikoysk.funnyguilds:plugin 4.12.0
  • net.william278.husktowns:husktowns-bukkit 3.0-988161b
  • net.william278.huskclaims:huskclaims-bukkit 1.0.2-e60150d
  • de.epiceric:ShopChest 1.13-SNAPSHOT
  • org.popcraft:bolt-bukkit 1.0.580
dough-recipes/pom.xml
dough-reflection/pom.xml
dough-scheduling/pom.xml
dough-skins/pom.xml
  • com.mojang:authlib 6.0.52
dough-updater/pom.xml
pom.xml
  • org.apache.maven.plugins:maven-source-plugin 3.3.0
  • org.apache.maven.plugins:maven-javadoc-plugin 3.5.0
  • org.apache.maven.plugins:maven-release-plugin 2.5.3
  • org.sonatype.plugins:nexus-staging-maven-plugin 1.6.13
  • org.apache.maven.plugins:maven-gpg-plugin 3.1.0
  • org.apache.maven.plugins:maven-compiler-plugin 3.11.0
  • org.apache.maven.plugins:maven-dependency-plugin 3.6.1
  • org.sonarsource.scanner.maven:sonar-maven-plugin 3.9.1.2184
  • org.apache.maven.plugins:maven-surefire-plugin 3.0.0-M7
  • org.jacoco:jacoco-maven-plugin 0.8.11
  • com.outbrain.swinfra:ci-friendly-flatten-maven-plugin 1.0.18
  • org.spigotmc:spigot-api 1.18.1-R0.1-SNAPSHOT
  • com.google.code.findbugs:jsr305 3.0.2
  • org.junit.jupiter:junit-jupiter 5.9.3
  • org.mockito:mockito-core 4.11.0
  • com.github.seeseemelk:MockBukkit-v1.18 1.26.1

  • Check this box to trigger a request for Renovate to run again on this repository

get block position y doesnt work when y < 0

Description (Required)

DynaTech uses BlockPosition to store the blocks, and as mc 1.18 comes out, the world's minimum height becomes -64 instead of 0.
When Dynatech is trying to get block from BlockPosition with y < 0, it will raise an error:
java.lang.IllegalArgumentException: y out of range (expected -64-320, got 4045)

Steps to reproduce the Issue (Required)

  1. Place water mill or water turbine from DynaTech underground (y < 0).

Expected behavior (Required)

BlockPosition#getY() should return correct value for y < 0.

Server Log / Error Report

https://pastebin.com/zvLniqi5

Server specs (Required)

  • Server Software: paper 216
  • Minecraft Version: 1.18.1

FULL plugins list (Required)

  + Slimefun DEV - 1008 (git 020094e0)
  + WhatIsThis 4.7
  + DynaTech DEV - 160 (git e1075a1c)
  + Vault 1.7.2-b107
  + ProtocolLib 4.7.0
  + Networks DEV - 33 (git 3474aec2)
  + SfItemsExporter 1.1
  + SlimeTinker DEV - 71 (git a226bf46)

Lands protection not loading

Description (Required)

Lands failed to load as a protection module due to a exception error

Steps to reproduce the Issue (Required)

Start the server, get the error

Expected behavior (Required)

Should just work

Server Log / Error Report

[01:47:20] [Server thread/ERROR]: [dough: protection] An Error occured while registering the Protection Module: "Lands" v5.23.0
java.lang.IllegalArgumentException: The provided plugin parameter must be a instance of your plugin on not the Lands plugin.
at me.angeschossen.lands.api.integration.LandsIntegration.(?:59) ~[Lands-5.23.0.jar:?]
at io.github.thebusybiscuit.slimefun4.libraries.dough.protection.modules.LandsProtectionModule.load(LandsProtectionModule.java:34) ~[Slimefun4 - DEV 987 (git 863b8).jar:?]
at io.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionManager.registerModule(ProtectionManager.java:120) ~[Slimefun4 - DEV 987 (git 863b8).jar:?]
at io.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionManager.registerModule(ProtectionManager.java:113) ~[Slimefun4 - DEV 987 (git 863b8).jar:?]
at io.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionManager.(ProtectionManager.java:72) ~[Slimefun4 - DEV 987 (git 863b8).jar:?]
at io.github.thebusybiscuit.slimefun4.integrations.IntegrationsManager.onServerStart(IntegrationsManager.java:143) ~[Slimefun4 - DEV 987 (git 863b8).jar:?]
at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.18.1.jar:git-Paper-82]
at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.18.1.jar:git-Paper-82]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1211) ~[paper-1.18.1.jar:git-Paper-82]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.18.1.jar:git-Paper-82]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

Server specs (Required)

  • Server Software: git-Paper-82 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 8c5be16)
  • Minecraft Version: 1.18.1

FULL plugins list (Required)

AdvancedCrates, AdvancedGUI*, AdvancedPortals, Alchema, AlchemicalArrows, ArmorStandTools, Aurora, BattlePass, BeehivesPro, BetterBackpacks, BetterEggs, BetterFarming, BetterRTP, BigDoors, BigDoorsOpener, BlocksHub, Bookshelf, Boss, ChatControlRed, ChestProtect, ChestTerminal, Citizens, CMI, CMILib, Codex, Companions, ComplexTurrets, ConsoleSpamFix, CoreArena, CoreProtect, CraftingStore, CrystamaeHistoria, CustomItems, CustomUniverse, DankTech2, DecentHolograms, Denizen, DiceFurniture, DiscordSRV, DisplayShops, DragonTagsV2, dtlTradersPlus, Dungeons, DyedBackpacks, DynaTech, eco, EcoArmor, EcoEnchants, EcoSkills, Elevator, ExoticGarden, ExtraHeads, F3NPerm, FancyWaystones, FeatherBoard, FlyingCarpet, FurnitureLib, GCore, GPS, HeadDatabase, HolographicDisplays, Infiniteannouncements, InfinityExpansion, InteractionVisualizer, InteractiveChat, InteractiveChatDiscordSrvAddon, Lands, LandsDiscordBot, LevelledMobs, LiquidTanks, LuckPerms, MarketPlace, MobCapturer, MoneyHunters, Multiverse-Core, MVdWPlaceholderAPI*, MythicMobs, NBTAPI, NexEngine, PlaceholderAPI, Plan, PotionExpansion, PremiumVanish, PrivateStorage, ProtectionLib, ProtocolLib, PyroFishingPro, PyroLib, PyroMining, QuestCreator, RotatingHeads, Roulette, RPGHealthIndicator, Shopkeepers, Slimefun, SlimefunOreChunks, SlimyTreeTaps, SmartInvs*, Spartan, Talismans, UltimateAutoRestart, UltimateTimber, UltraPunishments, UpgradeableHoppers, UpgradeableSpawners, Vault, VoidGen, Votifier, VotingPlugin, WITP

Residence slimefun error

Description (Required)

Error log, ancient altar cant be used

Steps to reproduce the Issue (Required)

no idea

Expected behavior (Required)

altar should work

Server Log / Error Report

(https://pastebin.com/5HEa19Ab)

Server specs (Required)

  • Server Software: This server is running Paper version git-Paper-155 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 99cf01f)
  • Minecraft Version: 1.18.1

FULL plugins list (Required)

AdvancedPortals, ajParkour, ArmorStandTools, AuctionHouse, AuthMe, bAnnouncer*, BlockParticles, ClickSort, CMILib, CoreProtect, dynmap, Dynmap-WorldGuard*, DynMap_Residence, EpicReplant, Essentials, EssentialsChat, EssentialsDiscord, EssentialsGeoIP, EssentialsProtect, EssentialsSpawn, ExoticGarden, ExtraGear, FakaHedaMinequery, FluffyMachines, GMusic, GSit, HolographicDisplays, InventoryRollbackPlus, Jobs, JumpPads, LuckPerms, Multiverse-Core, Multiverse-Inventories, Multiverse-NetherPortals, MyCommand, MythicMobs, PlaceholderAPI, PlayTime*, PrivateStorage, ProtocolLib, Residence, SignShop, SkinsRestorer, sleep-most, Slimefun, SoulJars, TAB, TNTRun_reloaded, UberEnchant, Vault, Votifier, VotingPlugin, WorldBorder, WorldEdit, WorldGuard, WorldGuardExtraFlags, WorldSpawn*

OBC class not found

Description (Required)

Just found this on bootup on Slimefun RC-27.
Walshy told me to report it.

Steps to reproduce the Issue (Required)

  1. Build RC-27
  2. Start a server using it

Expected behavior (Required)

It doesn't error

Server Log / Error Report

Server logs: https://haste.zneix.eu/oqamuvyxyv.yaml

Other error logs: https://haste.zneix.eu/padasivoka.properties
(idk about this one, i forgot what i did)

Server specs (Required)

  • Server Software: Paper-238
  • Minecraft Version: 1.17.1

FULL plugins list (Required)

> pl
[23:11:37 INFO]: Plugins (1): Slimefun

Update to 1.18

Update to 1.18

Another major version is here so another update is upon us.

Things to update:

  • TileEntitySkull#setGameProfile -> TileEntitySkull#setOwner
  • TBD

Error with PlotSquared (Outdated support for PlotSquared?)

Description (Required)

Console seems to be spammed with a error whenever i place a block
Issue looks to be outdated PlotSquared support maybe?
Seems to look for a permission class at a path where it doesn't exist anymore. Checks for the class: com/plotsquared/core/util/Permissions but such class doesn't exist. Whilst there's no Permissions class in utils there seems to be one in permissions folder? (https://github.com/IntellectualSites/PlotSquared/blob/main/Core/src/main/java/com/plotsquared/core/permissions/PermissionHolder.java)

Steps to reproduce the Issue (Required)

Went into my creative world, which uses PlotSquared. Placed blocks on road (I was op when doing this. Didn't try without op)
I generated the world using the built in PlotSquared /plot setup
Placed blocks on road (I was op when doing this. Didn't try without op)

Expected behavior (Required)

Console to no longer spammy spammy the error :3

Server Log / Error Report

https://paste.ee/p/xhspJ

Server specs (Required)

  • Server Software: Purpur-1995
  • Minecraft Version: 1.20.1

FULL plugins list (Required)

PlotSquared 7.0 exact build version not 100% certain, Compiled it straight from their repo.
Slimefun - DEV 1087
ExoticGarden - DEV 78
(if there's need for some other exact versions lemme know.)
Other plugins:
BanManager, BondrewdLikesHisEmotes, Citizens, CoreProtect, DecentHolograms, Denizen, DynamicShop, Essentials, EssentialsSelectors, EssentialsSpawn
ExoticGarden, FastAsyncWorldEdit, Graves, InteractionVisualizer, LuckPerms, Magic, MiniMOTD, MobArena, My_Worlds, PlaceholderAPI,PlotSquared, ProtocolLib, SkinsRestorer, Skulls, Slimefun, SlimeGlue, spark, SuperVanish, TAB, Vault
VoidGen, WorldGuard, WorldGuardExtraFlags

Can dough works on 1.12.2?

As the title, there are still lots of servers running on old versions such as 1.12.2. Is dought compatiable with 1.12.2?

dough with Slimefun4 error

Description (Required)

When the Slimefun4 plug-in equipped with dough is run on the 1.20.2 server, a problem pops up

Steps to reproduce the Issue (Required)

image

Expected behavior (Required)

Just ran Slimefun4 on the 1.20.2 server

Server Log / Error Report

https://pastes.dev/0GgOGyYnkw

Server specs (Required)

git-Purpur-2067 (MC: 1.20.2)

  • Server Software: Purpur
  • Minecraft Version: 1.20.2

FULL plugins list (Required)

spark, Slimefun

Skulls missing Owner Details when in BlockMenu

โ— Checklist

  • I am using the official english version of Slimefun and did not modify the jar.
  • I am using an up to date "DEV" (not "RC") version of Slimefun.
  • I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
  • I searched for similar open issues and could not find an existing bug report on this.

๐Ÿ“ Description

When getting a Player Head ItemStack using BlockMenu#getItemInSlot() the given ItemStack's SkullMeta does not have the owner details available.

๐Ÿ“‘ Reproduction Steps

image
In the above shot, instanceOne is derived from SlimfunItem#getRecipeOutput and has the owner details (for reference, it's a Cargo node). 'instanceTwo' is the ItemStack via BlockMenu#getItemInSlot and is the correct ItemStack in all bar this one element. The Skull meta has all details (including GameProfile with the correct UUID) but no owner name in the profile and thus 'getOwningPlayer()` is retuning null.

image
When pulling the ItemStack out by hand and checking the meta then, you get the above screenshot with the correct owner information within.

๐Ÿ’ก Expected Behavior

The ItemStacks should match each other perfectly - at least with the correct owner details.

๐Ÿ“ท Screenshots / Videos

image

๐Ÿ“œ Server Log

No response

๐Ÿ“‚ /error-reports/ folder

No response

๐Ÿ’ป Server Software

Paper

๐ŸŽฎ Minecraft Version

1.17.x

โญ Slimefun version

Dev 999

๐Ÿงญ Other plugins

No response

๐Ÿš€ Roadmap

๐Ÿ“– History

This project has just started out. Well kind of...
The original project's history actually dates all the way back to 2015, being first released as CS-CoreLib.
In 2019, this library was re-established as CS-CoreLib 2.
Now in 2021, the library is being rewritten and re-furnished as dough.

Dough is a multi-module Maven project which provides various utilities the average Spigot and Paper plugin developer may need. It's open-sourced and released under the permissive MIT License.
Contributions are very much welcome!

However, there are still lots of things to do, to fix and to clean up before we will have our first proper 1.0 release.
This issue serves as the starting ground and we will utilise GitHub's new sub-issue functionality here to create child issues off of this roadmap.

๐Ÿ‘๐Ÿป The team

The current maintainers of dough:

๐Ÿ“ The big TODO list

This list is ordered by priority, this does not necessarily mean that it needs to be fulfilled in sequence.

griefing claiming areas by slimefun

Description (Required)

there is a bug with android miner (slimefun) that when u put it outside of the claim and program it to dig and move forward it gonna dig into other claims and grief them !!!
it works with grief prevention and landlords I tried them both but not other claiming system

Steps to reproduce the Issue (Required)

cant make

Expected behavior (Required)

not to break in other claims

Server Log / Error Report

nothing

  • Server Software:
  • Minecraft Version: 1.19.1

FULL plugins list (Required)

griefprevention + slimefun
world edit + world guard + landlord + slimefun

test

Hello discord

Lands

Description (Required)

Is there any way to pass the actual plugin that uses dough, to the constructor of the Lands integration class in the protection module? It requires this, for flags etc.

https://github.com/baked-libs/dough/blob/fc572efd6c0042310156bba7d9f4516c8406c926/dough-protection/src/main/java/io/github/bakedlibs/dough/protection/ProtectionManager.java#L72

Here is the actual problem:
plugin = Lands, but it should be = plugin that uses dough
https://github.com/baked-libs/dough/blob/fc572efd6c0042310156bba7d9f4516c8406c926/dough-protection/src/main/java/io/github/bakedlibs/dough/protection/modules/LandsProtectionModule.java#L34

I haven't looked through the complete repo, but maybe passing the actual plugin to the constructor of the protection module manager would be an idea?

Unknown Error related to Slimefun.

Referred here by the Slimefun Discord
Referred to Slimefun Discord by PlotsSquared Discord - Note they stated it looks like an outdated api version being used by Slimefun.

Description (Required)

When using Slimefun and PlotsSquared I find an error occurs in console. I believe it coincides with entering worlds that have slimefun disabled in them. However, this is only what I noticed while trying to gather info for this bug report.

Steps to reproduce the Issue (Required)

Install slimefun and PlotsSquared (Latest versions of both are what I used so I recommend this when attempting to reproduce it.

Expected behavior (Required)

No errors in console or elsewhere

Server Log / Error Report

https://pastebin.com/nicLKeEc

Server specs (Required)

Purpur build 2078
Hosted by APEX Hosting

  • Server Software:
  • Minecraft Version: 1.20.2

FULL plugins list (Required)

Bukkit Plugins: (84):
AdvancedClaimGuardian, ArmoredElytra, AureliumSkills, Bank, BetterConcrete, BetterLogStrip, BetterPortals, BetterTridents, BigDoors, BlockEffects, BlockProt, BlueMap, ccNoEnderpearlDamage, ChestSort, Chunky, ChunkyBorder, Citizens, ClearFog, CMI, CMIEInjector, CMILib, CommandDefender, ConsoleSay, ConsoleSpamFix, Core, CraftBook, CustomCrafting, DecentHolograms, DisplayShops, DoorsReloaded, dtlTradersPlus, DyedBackpacks, EpicBackpacks, ExecutableBlocks, ExecutableItems, ExoticGarden, ExtraGear, ExtraTools, FastAsyncWorldEdit, GadgetsMenu, HeadDatabase, ImageFrame, InteractiveBoard, ItemsAdder, ItemsAdder-WorldEdit, Jobs, LibsDisguises, LightCleaner, LoneLibs, Lootin, PhatLoots, PlaceholderAPI, PlotSquared, ProtocolLib, PublicCrafters, RealisticSeasons, RealisticVillagers, Redye, SCore, SepareWorldItems, Wailat, WorldEditSelectionVisualizer, WorldGuard, xaero-map-spigot

##Additional info if it will help as taken using the command sf versions.
[Multicraft] EchocallingEarth ran command: sf version
[Server] INFO This Server uses the following setup of Slimefun:
[Server] INFO Purpur git-Purpur-2078 (MC: 1.20.2)
[Server] INFO Slimefun DEV - 1104 (git c977454e)
[Server] INFO Metrics-Module #29
[Server] INFO Java 17
[Server] INFO Installed Addons: (8)
[Server] INFO DyedBackpacks vDEV - 17 (git 8b329e96)
[Server] INFO AureliumSkills vBeta 1.3.23
[Server] INFO ExtraTools vDEV - 36 (git 922c0324)
[Server] INFO ntdLuckyBlock v2.8.12
[Server] INFO ExtraGear vDEV - 13 (git c62047e2)
[Server] INFO CMI v9.6.6.0
[Server] INFO ItemsAdder v3.6.1-beta
[Server] INFO ExoticGarden vDEV - 78 (git 7f9a5f63)

Any additional information I can provide please feel free to reach out to me here or via discord Username: echocallingearth (discord ID# 297596704935378945) Thank you in advance for your help with this matter.

Android robots can ignore the domain plug-in lands permission

Description (Required)

The robot can be placed at the edge of the lands territory for square digging and other operations

Steps to reproduce the Issue (Required)

  1. Place the robot on the edge of lands

  2. Execute the command of digging forward

  3. Dig out the blocks in the territory

Expected behavior (Required)

broken the block

Server Log / Error Report

[14:47:31 ERROR]: [dough: protection] An Error occured while querying the Protection Module: "Lands v6.26.0"
java.lang.NoSuchFieldError: BLOCK_BREAK
        at io.github.thebusybiscuit.slimefun4.libraries.dough.protection.modules.LandsProtectionModule.convert(LandsProtectionModule.java:56) ~[Slimefun4 - DEV 1035 (git 0b7c6).jar:?]
        at io.github.thebusybiscuit.slimefun4.libraries.dough.protection.modules.LandsProtectionModule.hasPermission(LandsProtectionModule.java:48) ~[Slimefun4 - DEV 1035 (git 0b7c6).jar:?]
        at io.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionManager.hasPermission(ProtectionManager.java:174) ~[Slimefun4 - DEV 1035 (git 0b7c6).jar:?]
        at io.github.thebusybiscuit.slimefun4.implementation.items.androids.MinerAndroid.dig(MinerAndroid.java:81) ~[Slimefun4 - DEV 1035 (git 0b7c6).jar:?]
        at io.github.thebusybiscuit.slimefun4.implementation.items.androids.Instruction.lambda$static$6(Instruction.java:105) ~[Slimefun4 - DEV 1035 (git 0b7c6).jar:?]
        at io.github.thebusybiscuit.slimefun4.implementation.items.androids.Instruction.execute(Instruction.java:286) ~[Slimefun4 - DEV 1035 (git 0b7c6).jar:?]
        at io.github.thebusybiscuit.slimefun4.implementation.items.androids.ProgrammableAndroid.executeInstruction(ProgrammableAndroid.java:739) ~[Slimefun4 - DEV 1035 (git 0b7c6).jar:?]
        at io.github.thebusybiscuit.slimefun4.implementation.items.androids.ProgrammableAndroid.tick(ProgrammableAndroid.java:709) ~[Slimefun4 - DEV 1035 (git 0b7c6).jar:?]
        at io.github.thebusybiscuit.slimefun4.implementation.items.androids.ProgrammableAndroid$4.tick(ProgrammableAndroid.java:227) ~[Slimefun4 - DEV 1035 (git 0b7c6).jar:?]
        at io.github.thebusybiscuit.slimefun4.implementation.tasks.TickerTask.tickBlock(TickerTask.java:189) ~[Slimefun4 - DEV 1035 (git 0b7c6).jar:?]
        at io.github.thebusybiscuit.slimefun4.implementation.tasks.TickerTask.lambda$tickLocation$2(TickerTask.java:170) ~[Slimefun4 - DEV 1035 (git 0b7c6).jar:?]
        at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.3.jar:git-Paper-353]        at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.3.jar:git-Paper-353]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1473) ~[paper-1.19.3.jar:git-Paper-353]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:440) ~[paper-1.19.3.jar:git-Paper-353]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.3.jar:git-Paper-353]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.19.3.jar:git-Paper-353]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.19.3.jar:git-Paper-353]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

Server specs (Required)

  • Server Software: Paper
  • Minecraft Version: 1.19.3

FULL plugins list (Required)

lands 6.26.0

Logblock compatibility

Description (Required)

Following up on Slimefun/Slimefun4#3404

I think the issue is LogBlock dependency is outdated?

Steps to reproduce the Issue (Required)

Using latest SF and latest LogBlock https://github.com/LogBlock/LogBlock

Expected behavior (Required)

Logging is not working properly? Exception fired...

Server Log / Error Report

[19:02:57 ERROR]: [dough: protection] An Error occured while logging for the Protection Module: "LogBlock"
java.lang.NoClassDefFoundError: de/diddiz/util/LoggingUtil
        at io.github.thebusybiscuit.slimefun4.libraries.dough.protection.loggers.LogBlockLogger.logAction(LogBlockLogger.java:33) ~[Slimefun4.jar:?]
        at io.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionManager.logAction(ProtectionManager.java:165) ~[Slimefun4.jar:?]
        at io.github.thebusybiscuit.slimefun4.implementation.listeners.BlockListener.dropItems(BlockListener.java:173) ~[Slimefun4.jar:?]
        at io.github.thebusybiscuit.slimefun4.implementation.listeners.BlockListener.onBlockBreak(BlockListener.java:129) ~[Slimefun4.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor385.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.1.jar:git-Paper-404]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.17.1.jar:git-Paper-404]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Paper-404]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[patched_1.17.1.jar:git-Paper-404]
        at net.minecraft.server.level.ServerPlayerGameMode.destroyBlock(ServerPlayerGameMode.java:402) ~[app:?]
        at net.minecraft.server.level.ServerPlayerGameMode.destroyAndAck(ServerPlayerGameMode.java:356) ~[app:?]
        at net.minecraft.server.level.ServerPlayerGameMode.handleBlockBreakAction(ServerPlayerGameMode.java:291) ~[app:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handlePlayerAction(ServerGamePacketListenerImpl.java:1739) ~[app:?]
        at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.handle(ServerboundPlayerActionPacket.java:34) ~[app:?]
        at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.handle(ServerboundPlayerActionPacket.java:8) ~[app:?]
        at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56) ~[app:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[patched_1.17.1.jar:git-Paper-404]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[app:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[app:?]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1426) ~[patched_1.17.1.jar:git-Paper-404]
        at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:192) ~[patched_1.17.1.jar:git-Paper-404]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[app:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1404) ~[patched_1.17.1.jar:git-Paper-404]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1397) ~[patched_1.17.1.jar:git-Paper-404]
        at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:110) ~[app:?]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1536) ~[patched_1.17.1.jar:git-Paper-404]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-404]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-404]
        at java.lang.Thread.run(Thread.java:831) ~[?:?]

Server specs (Required)

PaperSpigot 1.17

  • Server Software:
  • Minecraft Version: PaperSpigot 1.17

FULL plugins list (Required)

sf versions
[19:06:02 INFO]: This Server uses the following setup of Slimefun:
Paper git-Paper-404 (MC: 1.17.1)
Slimefun DEV - 990 (git 35e25eb)
Metrics-Module #28
Java 16

Installed Addons: (3)
EcoPower vDEV - 5 (git 5c1ecd68)
SlimefunLuckyBlocks vDEV - 36 (git 60f0c8dc)
ExoticGarden vDEV - 77 (git a2c4b6d3)

`maven-javadoc-plugin` fails for `dough-api`

I am at a complete loss here, I have no idea how to fix this, would appreciate if anyone had an idea...
The problem here is that dough-api aggregates the sources of all other modules but the javadoc generation (which is mandatory for maven-central) fails due to missing packages from the dependencies of the other modules...

https://pastebin.com/prze2V2Y

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.