DemonBoiAnzu / CustomAnvil

Just a plugin that allows anvils to combine enchantments over their max levels (up to level 999) - Made by request of 'DrugAddict420'
2 stars 0 forks source link

BUG LIST IF ANY (Discussion) #1

Open DrugAddict420 opened 3 years ago

DrugAddict420 commented 3 years ago

I will update this topic if i found any!

DrugAddict420 commented 3 years ago

Can you explain me how to compile your project? With eclipse i got some problems- i try to import and export but when i upload the plugin on the server the console cant load it because is missing some files

DemonBoiAnzu commented 3 years ago

I use IntelliJ IDEA Community Edition for my projects. Not sure if they will be openable on Eclipse, sorry, wish I could help there but I don't use Eclipse :c

DrugAddict420 commented 3 years ago

ill download intelliJ gime 10m

DrugAddict420 commented 3 years ago

Can you do a little tutorial? with intelliU?

DemonBoiAnzu commented 3 years ago

Wym?

DrugAddict420 commented 3 years ago

What to touch in the program for export the project to .jar

DemonBoiAnzu commented 3 years ago

image

DrugAddict420 commented 3 years ago

image

Cannot resolve plugin org.apache.maven.plugins:maven-shade-plugin:3.3.0-SNAPSHOT do u have any idea how to solve ?

DemonBoiAnzu commented 3 years ago

add these to the pom.xml under the dependencies section:

<dependency>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-install-plugin</artifactId>
    <version>2.4</version>
    <type>maven-plugin</type>
</dependency>

<dependency>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-deploy-plugin</artifactId>
    <version>2.7</version>
    <type>maven-plugin</type>
</dependency>

then a little icon will show at the top right to reload - click that - then you can remove those 2 from the dependencies

DrugAddict420 commented 3 years ago

nothing change same error

DrugAddict420 commented 3 years ago

i give up can you upload the .jar? Thanks

DemonBoiAnzu commented 3 years ago

it's already uploaded on the Releases

DrugAddict420 commented 3 years ago

Hi Steel, sup? I hope everything is OK. I've been busy these days and couldn't test the plugin like I should. I wanted to ask if you could add in case there wasn't a way to change experience and necessary stuff in case of advancement.

Also by adding two books how does the code change the statistics? Increase by? Could anything be done to change the amount of the boost as well? because I'm afraid that adding two books 5 + 5 the boost is too powerful.

I could solve by increasing the power of the mobs, but to create a fair PVP environment it would be better to know how much the books and objects are upgraded before adding this plugin.

DemonBoiAnzu commented 3 years ago

Everything is alright, but you can disable the 5+5 becoming 10 for instance. In the config if you turn addLevelsLiteral off, adding 5+5 will become 6 instead of 10.

DrugAddict420 commented 3 years ago

by increment we speak of an addition of the two books or two objects? In this case I would suggest changing the code in an increment based on this formula:

If an efficiency V book is merged with an efficiency V book the addition should be done this way

Efficiency v + 15 percent of the overall efficiency powers V

In practice each addition should be one book + 15 percent of the integer potential of the second book in this case the result would always be power of the book being modified more power than the one being added.

In this both the PVP and the game in general would be less OP.

And I'm talking hypothetically I don't know yet based on whether the result is made, I'm talking about that because if two books efficency V merge and end up having double the power it would look more like an X / level 10 boost, than a level VI / Level 6

DrugAddict420 commented 3 years ago

Everything is alright, but you can disable the 5+5 becoming 10 for instance. In the config if you turn addLevelsLiteral off, adding 5+5 will become 6 instead of 10.

what math is applied in both cases?

Can you add a Scoreboard based on which user has the most powerful weapon on the server?

DemonBoiAnzu commented 3 years ago

It's how minecraft adds enchantments normally. a level 2 plus a level 2 doesn't become a level 4, it becomes a level 3.

I added the literal option in case you wanted to make for instance level 2 + level 2 become level 4 instead of 3.

And I've never done scoreboard stuff.

DrugAddict420 commented 3 years ago

Let me know if u can implement (scoreboard based on weapon & Armor ) that! Ill buy u another coffeee <3

DemonBoiAnzu commented 3 years ago

Not entirely sure how it can be done, but I can try, I think it'd be a bit laggy, though

DrugAddict420 commented 3 years ago

How are you Steel? i hope everything ok, these days i have been busy completing the site, buying more stuff and configuring everything .. while i was doing a couple of stuff i got a crazy idea and i was hoping that if you were working on the scoreboard you could implement also this idea:

Scoreboard based on the best player on the server based on how many days he stayed alive without dying, being my server hardcore, this featuring would be very fun and competitive..

Let me know if can be implement and if u got any update!

EDIT: If I could also add settings like: If player Vip or Rank the scoreboeard score does not change, it would be a great implementation for the shop!