Coder Social home page Coder Social logo

qveshn / shinyitems Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 110 KB

Enlighten your way with shiny items. Spigot plugin for Minecraft server.

Home Page: https://www.spigotmc.org/resources/%E2%98%85shinyitems%E2%98%85-fork.69716/

License: MIT License

Java 100.00%

shinyitems's People

Contributors

qveshn avatar sipsi133 avatar

Watchers

 avatar  avatar

Forkers

drkmatr1984

shinyitems's Issues

Can't compile

So I've been trying to compile the project from source. Everything works except for in the pom.xml you have

<dependency> <groupId>ru.beykerykt</groupId> <artifactId>lightapi</artifactId> <version>5.0.0</version> <scope>system</scope> <systemPath>${project.basedir}/lib/LightAPI-Bukkit-5.0.0.jar</systemPath> </dependency>

Which is unresolved. I built beykerykt's light api 5.0.0 from source and got the correct bukkit jar, however, he has changed the internal structure of the API and in LightAPIv5.java inside ShinyItems, these two imports are no longer found inside the new jar.

import ru.beykerykt.minecraft.lightapi.common.IChunkData; import ru.beykerykt.minecraft.lightapi.common.LightType;

I'm unsure where or how to replace the methods inside LightAPIv5.java 's code to match up with the newer LightAPI from beykerykt. Spigot uses your version of v3 currently, so I could just delete the v5 references inside ShinyItems and maintain in strictly as a bukkit plugin for myself, but I wanted to see if perhaps you had the old jar for v5 so I could compile cleanly or if you had a more elegant solution before I butcher some code :P

Thanks for your time!

Register ShinyItem Dynamically

Is there a way to register ShinyItems dynamically like from an API? I used to add them dynamically in 1.6.3 like this
https://github.com/MinevoltRPG/RPGAdditions/blob/d0a732ca82dd3e341c0ede4ae99b118ba64049bb/src/main/java/me/drkmatr1984/RPGAdditions/listeners/PostAPIInitListener.java#L48-L93
(That automatically registered Custom Glowstone Weapons from a custom items plugin I worked on previously as a new shinyitem with equal light levels to their parent item, Glowstone, Glowstone dust, or redstone)
but it no longer works in 1.7.3 as the list is no longer visible and you register the items differently now. If not, do you think you could provide some type of API to add ShinyItems from other plugins? Thanks!

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.