GithubHelp home page GithubHelp logo

Comments (31)

ItzFabb-uwu avatar ItzFabb-uwu commented on July 20, 2024

And no there is no issue at the console its just the wildtools you can break outlines/the border of the cubes + when i mines it the "items" won't get dropped inside the cubes

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

Do you have GenCubes's plugin name (the exact one from /pl) in the other-plugins list in your config file?

from wildtools.

ItzFabb-uwu avatar ItzFabb-uwu commented on July 20, 2024

yessir

from wildtools.

ItzFabb-uwu avatar ItzFabb-uwu commented on July 20, 2024

####################################################

WildTools Configuration

Developed by Ome_R

####################################################

Choose which prices plugin to check for prices (ShopGUIPlus, Essentials, CMI, newtShop, QuantumShop, EconomyShopGUI, WildTools).

prices-plugin: 'ShopGUIPlus'

Path to the logs file.

You may disable it by setting the path to be empty.

logs-file: 'logs.txt'

A list of prices. Use "TYPE" and "TYPE:DATA" formats.

prices-list:

  • 'STONE:5' #Each stone will cost $5
  • 'LOG:0:5' #Only oak logs will cost $5

Here you can configure which plugins will be called, etc.

Optimizing the lists will result better performance!

events-manipulations:

A list of all the plugins that handle claims here on your server.

If one of the plugins here cancel the events, then WT will know that the player doesn't have access.

claiming-plugins:
- SuperiorSkyblock2

A list of all the other plugins that needs to know about breaking of blocks.

You can add your custom shops plugins, spawners plugin and more.

WildTools will not care if events are cancelled from this list. Therefore, if WildTools needs to know

if the events are cancelled from a plugin, add it to the 'claiming-plugins' section.

other-plugins:
- GenCubes

from wildtools.

ItzFabb-uwu avatar ItzFabb-uwu commented on July 20, 2024

Me and Developer of Gencubes
Deadsilence4

https://media.discordapp.net/attachments/957858669637296128/959660274934218813/unknown.png

https://media.discordapp.net/attachments/957858669637296128/959660297201782794/unknown.png

https://media.discordapp.net/attachments/957858669637296128/959660749096103976/unknown.png

from wildtools.

ItzFabb-uwu avatar ItzFabb-uwu commented on July 20, 2024

!
Uploading unknown.png…
Uploading unknown.png…
Uploading unknown.png…

Few of the sneak peak for the wildtools & gencubes

from wildtools.

ItzFabb-uwu avatar ItzFabb-uwu commented on July 20, 2024

so any news?

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

so any news?

Patient dude.
Havent looked into it yet... its been less than a day...

Once I have more information I will let you know

from wildtools.

DeadSilenceIV avatar DeadSilenceIV commented on July 20, 2024

Hello Omer, looking into WildTools API i didn't find a way of preventing some blocks from being destroyed while using the Trench pickaxe, am i missing something?. I really appreciate your help thanks ❤️.

from wildtools.

DeadSilenceIV avatar DeadSilenceIV commented on July 20, 2024

i would also like to know if there's a way of preventing the blocks drops when using the Cuboid wand, maybe adding some kind of method to the CuboidWandUseEvent class might be helpful as i would be able to handle some blocks drops on my side.

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

Hello Omer, looking into WildTools API i didn't find a way of preventing some blocks from being destroyed while using the Trench pickaxe, am i missing something?. I really appreciate your help thanks ❤️.

Cancel BlockBreakEvent

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

i would also like to know if there's a way of preventing the blocks drops when using the Cuboid wand, maybe adding some kind of method to the CuboidWandUseEvent class might be helpful as i would be able to handle some blocks drops on my side.

People can configure the blocks to be dropped in the config file

from wildtools.

DeadSilenceIV avatar DeadSilenceIV commented on July 20, 2024

Hello Omer, looking into WildTools API i didn't find a way of preventing some blocks from being destroyed while using the Trench pickaxe, am i missing something?. I really appreciate your help thanks heart.

Cancel BlockBreakEvent

Yeah, the thing is that i don't want to cancel the whole action, i just want to exclude some blocks from being broken when the Cuboid wand is used.

from wildtools.

DeadSilenceIV avatar DeadSilenceIV commented on July 20, 2024

i would also like to know if there's a way of preventing the blocks drops when using the Cuboid wand, maybe adding some kind of method to the CuboidWandUseEvent class might be helpful as i would be able to handle some blocks drops on my side.

People can configure the blocks to be dropped in the config file

The reason of why i want to prevent the block drops it's because they're supposed to be added into the Cube's inventory and not being thrown on floor.

from wildtools.

DeadSilenceIV avatar DeadSilenceIV commented on July 20, 2024

In this case i would like to exclude the cube borders from being broken.

https://youtu.be/sV9V-7clfkk?t=25

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

Hello Omer, looking into WildTools API i didn't find a way of preventing some blocks from being destroyed while using the Trench pickaxe, am i missing something?. I really appreciate your help thanks heart.

Cancel BlockBreakEvent

Yeah, the thing is that i don't want to cancel the whole action, i just want to exclude some blocks from being broken when the Cuboid wand is used.

Its similar to vanilla - cancelling BlockBreakEvent to prevent people from breaking blocks... how else do you prevent them from breaking the blocks?

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

If you already cancel the event, then @ItzFabb-uwu should add the plugin to the claiming-plugins list so the plugin respects the cancelation of the event.

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

Any news regarding this?

from wildtools.

ItzFabb-uwu avatar ItzFabb-uwu commented on July 20, 2024

No fixes what soever.. im waiting till gencubes update

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

No fixes what soever.. im waiting till gencubes update

The issue is that players are able to break blocks that they cannot break while using regular pickaxes, right?

from wildtools.

ItzFabb-uwu avatar ItzFabb-uwu commented on July 20, 2024

Yeah

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

Yeah

Even after adding it to the claiming-plugins list in your config (Not other-plugins as I said before)?
I know I told you to this already, just making sure

from wildtools.

ItzFabb-uwu avatar ItzFabb-uwu commented on July 20, 2024

I have added that

  • GenCubes
  • gencubes
  • GENCUBES
  • Gencubes #still wont work

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

I have added that

  • GenCubes
  • gencubes
  • GENCUBES
  • Gencubes #still wont work

Send me your entire config.

@DeadSilenceIV , may I get access to your plugin so I can test it out on localhost?

from wildtools.

DeadSilenceIV avatar DeadSilenceIV commented on July 20, 2024

Sure, let me add you on spigot

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

Sure, let me add you on spigot

Thanks.
My spigot is Ome_R

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

I tested it and by adding GenCubes to the claiming-plugins list in the config, players cannot break the mine.

# Here you can configure which plugins will be called, etc.
# Optimizing the lists will result better performance!
events-manipulations:
  # A list of all the plugins that handle claims here on your server.
  # If one of the plugins here cancel the events, then WT will know that the player doesn't have access.
  claiming-plugins:
  - GenCubes
  # A list of all the other plugins that needs to know about breaking of blocks.
  # You can add your custom shops plugins, spawners plugin and more.
  # WildTools will not care if events are cancelled from this list. Therefore, if WildTools needs to know
  # if the events are cancelled from a plugin, add it to the 'claiming-plugins' section.
  other-plugins: []

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

@DeadSilenceIV If you want to override drops for WildTools (so blocks are not dropped inside mines), you can do that by registering your own DropsProvider. You can find javadocs here: https://bg-software.com/wildtools/api/

For registering your own DropsProvider, use WildToolsAPI.getWildTools().getProviders#addDropsProvider
You should check if the block that was broken is inside a GenCube, and if it is return an empty list (this way WildTools will think there are no drops to drop, and will not drop any), otherwise return null (to tell the plugin to handle drops on its own in the rest of the world)

from wildtools.

ItzFabb-uwu avatar ItzFabb-uwu commented on July 20, 2024

I dont know how it did get fixed the only issue is that the item dannot get stored inside the cubes
https://pastebin.com/pNSQWke2

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

I dont know how it did get fixed the only issue is that the item dannot get stored inside the cubes https://pastebin.com/pNSQWke2

Items were stored fine for me. They were stored as well as dropped, which I explained to @DeadSilenceIV how to fix it.

from wildtools.

OmerBenGera avatar OmerBenGera commented on July 20, 2024

I am closing this as it's fixed from WT's side.

from wildtools.

Related Issues (20)

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.