Giter Site home page Giter Site logo

vanillaenhancements's Introduction

vanillaenhancements's People

Contributors

sehrschlechtyt avatar

Watchers

 avatar

vanillaenhancements's Issues

Group/Categorize modules

1 group per module, multiple categories per module

  • Group in config
  • Sort by category in gui (soonβ„’)

Group ideas:

  • 23w13a_or_b
  • Recipes
  • VanillaTweaks

Category ideas:

  • Passive
  • Active
  • Chat
  • Entities
  • Blocks
  • Recipes

Add debug mode

  • Enable/disable modules temporarily per command
  • Reload the config
  • More things are logged

Lower required spigot version

Lower the required spigot version to 1.16 or sth
If a module requires a higher spigot version, it will be disabled on older versions

VEModule#isEnabled causes lag

Spark Analysis

image

Bad optimized code

The following code checks a config option each time a tick service is run. This will cause significant lag on a larger scale.
image

Solution

Replace the polling in the code with an event.

Remove/reduce debug messages

There are currently a lot of debug messages and therefore a lot of code that increases the plugin size and decreases the performance.
Either

  • Remove debug messages in the compiled production jar (bypass this with flag or sth) using some kind of regex pattern and a maven plugin

or

  • Reduce the amount of debug messages in general

Fix "Server resource pack couldn't be applied." prompt showing

image

Warning in client log:


File C:\[client-path]\server-resource-packs\23eb6c66a836d2d4106ce594bb76edee00f03ffb had wrong hash (expected f68ca51898050397ab86859507000a9a257c19be, found 264486443e176b080a4292e95b4fcf9166acd891).

Pack application failed: java.lang.RuntimeException: Hash check failure for file C:\[client-path]\server-resource-packs\23eb6c66a836d2d4106ce594bb76edee00f03ffb, see log, deleting file C:\[client-path]\server-resource-packs\23eb6c66a836d2d4106ce594bb76edee00f03ffb```

Support for >1.19.2

The plugin is currently developed and tested for 1.19-1.19.2.
Test and update the plugin to support Minecraft 1.20.2.

New ConfigOption system

Example:

@Option
public String exampleOption = "test";

Key: Name of the field (exampleOption)
ModuleKey: Retrieved from the field in VEModule
DefaultValue: Set value of the field

Update field value on config change or every x seconds

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.