GithubHelp home page GithubHelp logo

happy-hop7 / realisticplantgrowth Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 488 KB

Powerful Spigot/Paper plugin that brings a new level of realism to the Minecraft flora, allowing you to fine-tune growth parameters on a per-biome basis.

License: GNU General Public License v3.0

Java 100.00%
minecraft paper paper-plugin papermc papermc-plugin spigot spigot-plugin spigotmc spigotmc-plugin

realisticplantgrowth's People

Contributors

happy-hop7 avatar

Stargazers

 avatar

Watchers

 avatar

realisticplantgrowth's Issues

Error on Spigot 1.20 to 1.20.4

Description:

Encountered a critical error while attempting to enable RealisticPlantGrowth on Spigot servers version 1.20 to 1.20.4. The following stack trace was logged:

Error occurred while enabling RealisticPlantGrowth vBETA-0.8.2 (Is it up to date?)
java.lang.NoSuchMethodError: 'org.fusesource.jansi.AnsiPrintStream org.fusesource.jansi.AnsiConsole.out()'
	at de.nightevolution.shade.ansi.JAnsiColorLevel.computeFromJAnsi(JAnsiColorLevel.java:50) ~[?:?]
	at de.nightevolution.shade.ansi.ColorLevel.compute(ColorLevel.java:207) ~[?:?]
	at de.nightevolution.shade.adventure.text.serializer.ansi.ANSIComponentSerializerImpl$Instances.lambda$static$0(ANSIComponentSerializerImpl.java:58) ~[?:?]
	at java.util.Optional.orElseGet(Optional.java:364) ~[?:?]
	at de.nightevolution.shade.adventure.text.serializer.ansi.ANSIComponentSerializerImpl$Instances.<clinit>(ANSIComponentSerializerImpl.java:58) ~[?:?]
	at de.nightevolution.shade.adventure.text.serializer.ansi.ANSIComponentSerializer.ansi(ANSIComponentSerializer.java:53) ~[?:?]
	at de.nightevolution.utils.Logger.log(Logger.java:75) ~[?:?]
	at de.nightevolution.ConfigManager.registerYamlConfigs(ConfigManager.java:182) ~[?:?]
	at de.nightevolution.ConfigManager.<init>(ConfigManager.java:121) ~[?:?]
	at de.nightevolution.ConfigManager.get(ConfigManager.java:163) ~[?:?]
	at de.nightevolution.RealisticPlantGrowth.onEnable(RealisticPlantGrowth.java:73) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:546) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3871-Spigot-d2eba2c-3f9263b]
	at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:460) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3871-Spigot-d2eba2c-3f9263b]
	at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:220) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3871-Spigot-d2eba2c-3f9263b]
	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:972) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3871-Spigot-d2eba2c-3f9263b]
	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:303) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3871-Spigot-d2eba2c-3f9263b]
	at java.lang.Thread.run(Thread.java:1583) ~[?:?]

Environment:

Minecraft Server Version: Spigot 1.20 to 1.20.4
RealisticPlantGrowth Version: vBETA-0.8.2


Steps to Reproduce:

  1. Install any RealisticPlantGrowth version on a Spigot server version 1.20 to 1.20.4.
  2. Attempt to start the server.

Expected Behavior:

RealisticPlantGrowth should enable without errors on the specified Spigot versions.


Actual Behavior:

The server encounters a java.lang.NoSuchMethodError during the plugin's initialization.


Notes:

This issue seems to be specific to Spigot server versions 1.20 to 1.20.4.
Paper and Purpur servers are not affected by this issue.

Players using a Water Bucket bypass 'require_hoe' setting for agricultural plants

Issue:

When the require_hoe setting in the Config.yml is activated, players can bypass this restriction by destroying plants using either a Piston/Flying machine or a bucket of Water.
This bug is present in all current plugin versions.

Steps to Reproduce:

  • Enable require_hoe setting in the Config.yml.
  • Plant agricultural crops (wheat, potatoes, carrots).
  • Use a Water Bucket or a Piston/Flying machine to destroy the plants.

Expected Behavior:

When require_hoe is enabled, players should not be able to destroy plants using methods other than a hoe.

Actual Behavior:

Players can bypass the require_hoe restriction by using a Water Bucket or a Piston/Flying machine to destroy plants.

Additional Information:

Plugin Version:

  • ALL VERSIONS

Minecraft Version:

  • 1.20.4

Solution:

Implement a mechanism where plants that aren't destroyed by a player using a hoe don't drop items when the require_hoe setting is enabled.

Implement Offline Plant Growth

This feature simulates plant growth in chunks that would typically remain static when unloaded.
Upon revisiting or reloading the chunk, plants resume growth as if the chunk had been consistently loaded.

Users can easily toggle this feature on or off in the config.yml file.

This enhancement is particularly beneficial for users in less frequented regions, enabling them to cultivate plants without the need for constant loading in the area.
Additionally, it ensures a level playing field by eliminating the advantage for users residing near heavily loaded areas, such as the spawn point."

Improve UV-Light: Implement Greedy Best-First Search Algorithm

The current functionality of the UV-Light module can be enhanced by implementing a Greedy Best-First Search algorithm.
This algorithm will help determine if there is any obstruction in the path between light source to the plant.
It will prevent the illumination of plants from underground sources and through solid walls.

Unable to Load plugin due to Java 21

Hi,

The MC Server Host i use doesn't use Java 21 and not selectable as an option....is there any chance you could compile it in Java 17.

Yours is the only plugin i have ever used that has this problem, really want to be able to use your plugin cos it makes farming better and more challenging.

Cheers
Steve

Add In-Game Debugging Mode

  • Visual Indicators for Surrounding Area
    Implement a feature that allows in-game operators to activate a debugging mode, marking the surrounding area with particle effects.
    This will facilitate a clearer understanding of the block distribution within the specified range.

  • Special Block Highlighting
    Extend the debugging mode to include a distinctive visual representation for special blocks like UV-Light blocks and Fertilizer Blocks within the designated range.
    This could involve a glowing effect or unique particle effects, making these blocks easily identifiable.

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.