#help-archived
1 messages · Page 101 of 1
tbh as long as you just add and remove players it doesnt really matter
Yes, but objects like that shouldn't be used as a key in the first place. so use something better that is tied to the data.
I just changed a plugins source code, how would I compline that into the plugin itself on the server.
Okay what should i use instead of inventory?
if i need to store inventory objects
Well and another thing, ive still havent heard a proper reason why they shouldnt be used as a key
@torn robin in survival it doesnt duplicate
yeah so it's a creative mode thing
yes it is away
Inventory has a value comparison, multiple inventories can have the same value. So therefore a collision is possible.
if i remove line 33
UUIDs cannot have the same value for example, no collision is possible.
but can i prevent that it doesnt work in creative? @torn robin
(technically yes, but they are unique enough that the mathematical chance it will happen is longer than the universe will exist, so good enough!)
Inventory has a value comparison? what
how can multiple inventories have same value
when you create a new inventory you create a new instance of inventory
hi
how can there a collision happen
@tardy lance what are you trying to do exactly?
I just changed a plugins source code, how would I compline that into the plugin itself on the server?
contains/get uses equals internally and from what i can see thats not being overridden by inventory so it uses the hash to compare
also hi Alice
I want to lock this item in inventory
which is the same as uuid's
that you cant move it
@spring drift have you tried exporting like regularly
that's instance comparison, not value comparison. New instances can have the same values.
Long a = Long.parseLong("123");
Long b = Long.parseLong("123");
Both a and b are different instances, but they have the same value.
Verilyzed you could try setting the result to DENY
typos, who cares. ¯_(ツ)_/¯
What result?
event.setResult
I don't know anything of compiling. What does exporting mean @torn robin
uhhh
You're wrong in this case tho, only the objects hashes get compared, nothing about the contents of the inventory
Google "export" pig
how did you change the source code
event.setResult(null); ?
Result.DENY
I mean like how would I export
@spring drift usually people use maven or gradle to build their jars, but you can let intellij build the artifact too
or eclipse whatever you use
@worn temple no shit they are different instances but same values. Thats what we are fucking talking about all the time, if inventories have different instances, how would they collide then when you would use == to compare them
and you keep saying bullshit about "complex objects" that doesnt make no sense
because when inserting or getting something by key in Map is a value comparison, not instance comparison.
right click on the project and click export assuming you'r eusing elcipse
getting something by a key isnt a value comparison
exactly
which its not in this case
@torn robin Same issue
well no idea then
just stop talking @worn temple please
no need to be so rude, but yeah you're not correct
i dont wanna be rude but this guy is acting like he just studied 50 books of java but totally doesnt know shit
and everything he says makes no sense
Yeah welcome to spigot
hm
I've been working with Java for nearly a decade now. You're just an idiot. Its standard convention not to use mutables as map keys
You seriously suffer from the Dunning Kruger effect
you say that yet what you're saying is wrong
"not to use mutables as map keys"
alright
nearly a decade but everything you say is wrong
pathetic
i think the collision happens when the .equal has to go in a frenzy by checking the insides 🤔
"If an object’s hashCode() value can change based on its state, then we must be careful when using such objects as keys in hash-based collections to ensure that we don’t allow their state to change when they are being used as hash keys. All hash-based collections assume that an object’s hash value does not change while it is in use as a key in the collection. If a key’s hash code were to change while it was in a collection, some unpredictable and confusing consequences could follow. This is usually not a problem in practice — it is not common practice to use a mutable object like a List as a key in a HashMap."
locations are mutable i think
i havent tested if the hash changes of an inventory when its content change
yes
like in changing hashcode
unfortunately so
but if thats the case then you should most definitely not use them as keys
It does, back in my early dumb days I used it as a key, and would run into lots of issues
well but no one was using here a List as a key lol
Inventory hash does change tho
So, using it as a key doesn't work
And you keep saying to use it as a key
i think don't think they handle hashcode anymore in inventories
then that would mean it changes every time something about the object changes
what class is that?
craftinventory
what does hashcode from inventory return?
the java hashcode
alright
@brisk mango you could always try it out and see, get an inventory hash, add some itmes to it, see if the hash is the same after
but from what i can tell it should change
I can say safely it does change because its lead to issues in my super super old plugins from when i got into java.
well i don't see anything now related to it
so it probabily got removed in time
because i see the legacy call of it
like they did something to it and kept it overrided for some reason
Actually seems like i'm wrong after doing some research and asking some people. The hashcode is only generated once and cached. So it will not change when the contents of said object change. Unless the hashcode method is overriden @worn temple @brisk mango
Maybe, I know it at least was overridden at some point in time. Don't know if it is anymore. Point still stands tho that mutable objects shouldn't be used as keys
wht the event for gliding
Then use PlayerMoveEvent
how do i check if the player is gliding though
Javadocs will tell you pretty much everything. and if you can't find it, google is your best from for super simple questions like this.
^^
Weird request - does anyone know a plugin that uses TONS of ram?
i can do one if you want
until it crashes?
Yes :>
Run WorldEdit and do a MASSIVE edit with an async WE plugin
I mean, runnables are just lambdas, and so many many things can cause lag
oh
because of while loops
jeez
?
if i shoot into the air
the game stops proccesing until the target hits
the runnables arent changin that
So you still have a big while loop on the main thread
^
Yeah, clearly you aren't using runnables or aren't using them correctly.
Because not processing is caused by locking up the main server thread
@limber sierra version?
We really need to see the code to help you at this point
if(e.getItem() != null && e.getItem().getItemMeta().getLocalizedName().contains("staff3")) {
Player me = e.getPlayer();
Location loc = me.getEyeLocation();
World world = me.getWorld();
cooldown.put(me, (System.currentTimeMillis()/1000));
if((cooldown.get(me) + 5) >= (System.currentTimeMillis()/1000)) {
ItemStack stuff = e.getItem();
ItemMeta em = stuff.getItemMeta();
em.setCustomModelData(3);
em.setUnbreakable(true);
em.setLocalizedName("Staff1");
stuff.setItemMeta(im);
me.getItemInHand().setItemMeta(em);
me.updateInventory();
loc = loc.add(loc.getDirection());
new BukkitRunnable(){
@Override
public void run() {
Player me = e.getPlayer();
Location loc = me.getEyeLocation();
World world = me.getWorld();
loc = loc.add(loc.getDirection());
while(loc.getBlock().getType() == Material.AIR) {
loc = loc.add(loc.getDirection());
world.spawnParticle(Particle.FLAME, loc, 0);
world.playEffect(loc, Effect.BLAZE_SHOOT, 4);
for(Entity ent : getEntitiesByLocation(loc, 0.545f)) {
if(ent instanceof LivingEntity) {
((LivingEntity) ent).damage(10, me);
((LivingEntity) ent).setFireTicks(10);
}
}
}
}}.run();
}
Use codeblocks or upload that mess to haste/pastebin
its impossibel to read hrere
but Just from that, you're doing that wrong
possibly not the exact method you need, but that's how you should be using it, because right now you are just blocking the main thread
@limber sierra version?
@tiny dagger 1.12.2 ;D
is there any way to use BukkitRunnable
I literally just linked how to
are you sure thats the right link
thats just telling me how to use delays
also how do i get the plugin
Its the instance of your main class that implements Plugin
is there an event to check a switch between gamemodes?
Check the javadocs, questions like that are all answered if you look through the docs
do you have a link?
thanks
I’m looking for a plugin (free or premium) that is level based.
I will post screen shots to better show what I mean.
So in-game, you would show what level you are, and you lll have to finish quests to get to the next level.
does anyone know how to use world border?
Is it possible to change this value with the Bungee API? Was thinking of the MaintenanceMode plugin
https://gyazo.com/355ece1ad25b86883dec4d317e87fd5b
where do i find a documentation to the current config? What does
monsters-max-per-tick: 8
monsters-every: 400
monsters-for: 100
mean?
all explanation sites i found are incomplete/outdated
@torn robin i can not find these there
wake-up-inactive:
animals-max-per-tick: 4
animals-every: 1200
animals-for: 100
monsters-max-per-tick: 8
monsters-every: 400
monsters-for: 100
villagers-max-per-tick: 4
villagers-every: 600
villagers-for: 100
flying-monsters-max-per-tick: 8
flying-monsters-every: 200
flying-monsters-for: 100
what are those?
ok will do
How do i switch my paypal email for spigot.
Hi guys I'm new to using Maven and am trying to use a Google Cloud dependency with my plugin. I wish to "shade" the external jars into my plugin, as I'm getting NoClassDefFoundError.
This is what one of the google cloud dependencies looks like:
<dependency>
<groupId>com.google.auth</groupId>
<artifactId>google-auth-library-oauth2-http</artifactId>
<version>0.20.0</version>
</dependency>
How do I shade this into my plugin? I've looked around and got this so far, but am unsure what parts need to go where...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<artifactSet>
<includes>
<include> >>>>>>> NOT SURE WHAT TO PUT HERE :( <<<<<< </include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
Edit: Also not sure which version to use?
how can i save one item from dropping on death? didnt found something about it in the java docs
i'm settings dynmap with UltimateClaims but when i try registering to the website with the right code and ID it says registration failed
How do I make a player open some sign?
how to convert player to a humanentity?
Players are human entities
You can directly cast
Though really, you don't need to
just e.getPlayer()
Yea but it already inherits all methods and can be used where it is required
Player is fine
i'm settings dynmap with UltimateClaims but when i try registering to the website with the right code and ID it says registration failed
OOOOO
any helper ?
Hello guys! Can someone explain me how to setup fallback server? I have searched a lot in the internet and tried to set the priorities in the bungee config but doesn't work. When the "survival" for example is shut down doesn't get me to the lobby, it only shows "Server closed." and thats it
https://www.spigotmc.org/wiki/bungeecord-configuration-guide/
If you are using forced hosts, it will bypass the default server configuration
Sorry to tag you @subtle blade but you've been impeccably helpful in the past and was hoping would you be able to help me out with Maven dependencies?
This is my first time using Maven, or a plugin with a dependency. I'm trying to use some Google Cloud PubSub functionality in a plugin, and can't seem to get the dependencies right. I'm using Maven and Intellij.
Using these imports...
import com.google.api.gax.core.FixedCredentialsProvider;
import com.google.auth.oauth2.GoogleCredentials;
import com.google.cloud.pubsub.v1.AckReplyConsumer;
import com.google.cloud.pubsub.v1.MessageReceiver;
import com.google.cloud.pubsub.v1.Subscriber;
import com.google.common.collect.Lists;
import com.google.pubsub.v1.ProjectSubscriptionName;
import com.google.pubsub.v1.PubsubMessage;
I've deduced the depndencies down to...
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.15.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax</artifactId>
<version>1.56.0</version>
</dependency>
<dependency>
<groupId>com.google.auth</groupId>
<artifactId>google-auth-library-oauth2-http</artifactId>
<version>0.20.0</version>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsub</artifactId>
<version>1.105.1</version>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-pubsub-v1</artifactId>
<version>1.87.1</version>
</dependency>
<dependency>
<groupId>com.google.auth</groupId>
<artifactId>google-auth-library-credentials</artifactId>
<version>0.20.0</version>
</dependency>
</dependencies>
And I'm trying to shade them in with...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>com.google.api:gax</include>
<include>com.google.auth:google-auth-library-oauth2-http</include>
<include>com.google.cloud:google-cloud-pubsub</include>
<include>com.google.api.grpc:proto-google-cloud-pubsub-v1</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
But I still get NoClassDefFoundError exceptions for classes that I'm not explicitely using, but are a part of the classes I am using. :/
I tracked them down one by one, adding dependencies to NoClassDefFoundError exceptions and eliminating them one by one until I hit a roadblock where I got completely different Gcloud related errors most likely from other missing dependencies that it's not naming... :/
I guess what I'm looking for is like, an "include this class, and shade in all classes or jars related to this one." type of thing? I'm very new to Maven, literally only just started using it today and can't figure it out :/
I should also note that when I simply run the code I'm trying to run it works fine, just doesn't work when running it in a plugin on a server. If anyone else is able to offer a hand it would be greatly appreciated. Also sorry for the loong message.
how are you bilding the project
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>6</source>
<target>6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>com.google.api:gax</include>
<include>com.google.auth:google-auth-library-oauth2-http</include>
<include>com.google.cloud:google-cloud-pubsub</include>
<include>com.google.api.grpc:proto-google-cloud-pubsub-v1</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
this?
No, what command
Using intellij, I'm just double clicking the package cog on the right
please don't hurt me im a retarded noob
Have you tried to click the Build > Rebuild Project button?
sometimes that fixes weird maven issues for me
second thing i would try is running mvn clean install
true
building with IJ shouldn't be used if you are using a dependency manager unless you configure it to build with your dep manager
I'm sorry I'm really not sure what that means.
Is mvn clean install run on the command line? Or is there a place in intellij that you run such commands?
Rebuild Project is perfectly acceptable, it solves a lot of weird issues ive had with maven
yes, its on the command line
kk, I don't think i have the path configured
You need to install Maven, and then restart your IDE
alrighty
So just to confirm, this will most likely solve my issues? Or atleast, it should technically include all of the missing classes once I do this? (assuming the dependencies to all the import statements are correct?)
once you do that, go to the little terminal window mart said, and run mvn clean package and you will have a target folder with the .jar file. Assuming maven is configured correctly, it'll work
dont speak in absolutes
Alrighty so @worn temple, @wanton delta
thanks for the assistance so far.
Installed it and ran the command okay, but getting "No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?" :/
where does your JAVA_HOME variable point
Okay nevermind!! I just hadn't set the JAVA_HOME variable! 😄
@golden vault
@worn temple @wanton delta
Ran the command successfully and am still getting the same NoClassDefFoundError exceptions. :/
Is there an option with the shade plugin to "shade every class that has to do with this one?"
?
can u open dm i need help with resource
you need help doing what with a resource?
@manic raptor Check to see if its in the jar, I'm not sure what shading stuff you are doing since I've never needed that kind of thing, like ever, and have not had issues with maven packing in my deps.
I have to tell you privately, it is something with my premium resource
Ok so my server got hacked due to bungeecord issues. We fixed everything except the balances. They gave everyone $600k, but when I do /eco take ** 600000 it only took it from about 100 people before it said inssuficient funds
What could cause this?
Is there a way to roll back the economy?
@wanton delta @worn temple
The class calling the NoClassDefFoundError exception isn't in there. :/
Put you maven file on hastebin/pastebin and link it, I'll see if I can see anything that looks odd
Try just doing ```xml
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
for the shade instead. spigot won't get pulled in since its marked as provided. do `mvn clean package` again and see if its in the compiled jar
(ignore the formatting, pulled it from a badly formatted file)
Also, why are you compiling on j6? even mojang dropped support for j7 and below with 1.12
@worn temple It's looking good so far actually!! Server's crashing though but I think that's because my code is waiting for a PubSub message. I'm just gonna make it run on a different thread and will let you know.
I wasn't intending to compile/run on java 6. Im pretty sure its compiling on 8 because the jdk is a 1.8 one. Intellij added that automatically and it solved a problem where I couldn't put @Override on top of implemented methods.
Should be able to bump that up and not have an issue. if IJ is configured to import the maven pom for the project correctly, it'll use that for deciding what stuff to allow, so it would yell at you for using lambdas since it thinks you're on j6. Anyway, getting off point.
Good, that would be what's crashing it, since pub/sub systems using websockets always block until a connection is received. So you'd need to offload it to different threads and then sync it back onto the main server thread should you want to interact with the bukkit api on some action
Mmmm, it's crashing even before it gets to the pubsub stuff and it's on a different thread. The server won't even start because of "Invalid signature file figest for Manifest main attributes" from java.lang.SecurityException
What's the full error?
java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:330) ~[?:1.8.0_242]
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:263) ~[?:1.8.0_242]
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:318) ~[?:1.8.0_242]
at java.util.jar.JarVerifier.update(JarVerifier.java:230) ~[?:1.8.0_242]
at java.util.jar.JarFile.initializeVerifier(JarFile.java:383) ~[?:1.8.0_242]
at java.util.jar.JarFile.getInputStream(JarFile.java:455) ~[?:1.8.0_242]
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:163) ~[spigot-1.15.2.jar:git-Spigot-a03b1fd-bbe3d58]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:144) ~[spigot-1.15.2.jar:git-Spigot-a03b1fd-bbe3d58]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:353) ~[spigot-1.15.2.jar:git-Spigot-a03b1fd-bbe3d58]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:210) ~[spigot-1.15.2.jar:git-Spigot-a03b1fd-bbe3d58]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:784) [spigot-1.15.2.jar:git-Spigot-a03b1fd-bbe3d58]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
pastebin
Is it possible to prevent the showing of items in a PrepareCraftItemEvent now
@worn temple sorry, didn't see ur message https://pastebin.com/HatjNMmy
...found this:
https://stackoverflow.com/questions/34855649/invalid-signature-file-digest-for-manifest-main-attributes-exception-while-tryin
And the top answer makes sense kind of. I'm not sure if this is what I need to do though (disclude any "signed" jars)
Yeah, don't know which jar is signed tho... This may work: https://stackoverflow.com/questions/999489/invalid-signature-file-when-attempting-to-run-a-jar/6743609#6743609
You're basically telling maven not to include these sig files in the compiled output. I am curious what dep is signed, since I've never really run into one with google deps (I made a massive discord bot that hooks into the google calendar api).
It may be gax (no idea what that is tbh). The others all look pretty normal, and the auth libs seem fine too since I have a few of those in my projects
Honestly, this is a bit out of my usual skill set since I've never had an issue like this in particular.
HOLY SHIT
BRO
IT F***ING WORKED
What is your paypal, i'm buying you lunch pm me
@worn temple
You're actually a legend, I've been stuck on this shit for like 4 days and everywhere I posted nobody was able to help
Thanks ❤️ Glad I could help
Is anyone willing to help set up Voting Plugin with nuVotifier?
It shouldn’t be hard at all, simply make a vote on a site and it will he added to your vote sites file
Uh, I've tried... multiple times, it doesnt seem to work.
I even uninstalled and re-installed.
What voting plugin do you use with it?
Is the port it needs open? assuming it uses the same standard made by Votifier, you need to open a port in order to receive the votes.
"Voting Plugin"
Any reason why CraftingInventory#setResult() is not ... setting the result lol
the itemstack I'm passing in is not null
@rain plank is nuvotifier set up correctly? That's likely the root of the issue.
Are there errors? Hard to help when "doesn't seem to work" can mean many many things. What doesn't work, what are you doing? what is the expected outcome? etc.
when we vote, it's not calculating and giving rewards.
Not sure what's really that hard to comprehend in that.
lol
Its not that I don't understand it, its that there are many different things at play and I'm just trying to narrow down the issue. Are there errors?
No.
Is nuVotifier correctly picking up the votes? if so, its likely a configuration issue with VotingPlugin
I just re-installed that yesterday bc nuvotifier wasn't installed correctly.
Okay, but is it picking up the votes? If its not, its nuVotifier causing the issue. If it is, its probably VotingPlugin. You see why I was asking so many questions now? There's a lot of things it can be that we can't know with limited information
That's why I'm asking for some one to check the configs for both.
"help me set up"
lol?
I already said that it's not picking up votes, why are you being redundant.
But its probably not a config issue, it takes no configuration changes to receive the vote. So my original assumption is probably correct: Do you not have the port open?
the port is open.
For the router and the firewall? (assuming you are either self hosting at home or on a vps)
Yes.
And you are sure the server list site has the correct port for your server? (they can be changed in the listing settings)
Yes.
Usually voting sites will send a test vote whenever you update the listing's info. Does NuVotifier log anything when you update a listing?
Are you sure NuVotifier is even loading on server boot?
I mean, it should be just plug and play
Hey, I want to change my minecraft server hosting provider but I don’t wanna lose any data.
can someone help
@frigid ember All you have to transfer is world folders, plugin folders, and the configuration yml files.
aha thanks
Unless you have a MySQL database or some other thing... that should be pretty much it.
@rain plank What happens when you use this? https://mctools.org/votifier-tester
It should always log at least something.
If nothing is logged, NuVotifier didn't load properly; the port is closed or something.
says that i voted.
So NuVotifier is setup correctly.
That's what you weren't telling us.
If it logs that a vote happened, then NuVotifier is working. The issue is with VotingPlugin because votes are being registered but no one is getting rewards.
That's what I was finally looking for omg. Thanks for getting to the point Zax
anyone knows working non abusable /f shield ? :/
I told you it wasn't nuvotifier. omg.
No, you said it wasn't working before and you reinstalled it. You never confirmed if votes were being received like I asked 3 times.
So its probably VotingPlugin not loading correctly on start up, or a config issue.
looool
¯_(ツ)_/¯
I try not to spoon feed, but when they play dumb, you just gotta play dumb back
When you spoon feed them but they don’t understand.
yeee
I was just trying to figure out if votes were being received and processed correctly just so we can ignore that part of it all and handle the reward plugin lol
Lol
Need help, someone knows how to export and import with phpMyAdmin?
Anyone able to point me in the right direction? Trying to grab a certain inventory with a colored name instead of just the string of the name. Having an issue with translateAlternateColorCodes saying ChatColor is not applicable for the arguments (but it use to be ages ago)
as you can see, it takes a char and boolean not a char and string
but your IDE is just playing tricks on you though
it is correct to use char and string not sure why your IDE is complaining or stating otherwise lol
don't use eclipse, use intelliJ
for eclipse you probably have to do String#toChar to get it to play nice since eclipse is hella dumb
White IDE = 
Who has a white IDE?
Actually, @keen compass @gaunt thorn That's not correct, you are doing char, boolean. You need char, string. #contains is a boolean
So... you have your parans () messed up
How would I check if the title has the correct chatcolor assigned to it though without using .contains or .equals?
Checking the name of the inventory would work, however names can collide. Checking the inventory's viewers would be best. See if the player is in the viewers list of the inventory, and they are, they must be viewing the inventory.
I read it wrong as well initially. I don't use that IDE anymore, dropped it nearly a decade ago actually.
but I also didn't see that .contains() either
XD
Anyways, nice catch on that where I think most of us missed it 😛
My GF saw that the contains was getting passed in when I showed it to her (we both really don't like eclipse and will send each other stuff about how bad it is) and she said that it was seeing it all correctly.
I was half wrong then 😉
only half, so nice job!
I was just wrong about what the IDE was stating but was correct about the API
But yeah, still a nice catch though
I use Eclipse and in Eclipse when you highlight something that is wrong like that
it will explain in depth what is actually incorrect about it lol
Its why I love rainbow brackets for IJ, makes this easy to read https://owo.oooooooooooooo.ooo/i/945a.png
so I recently found the entire source for CB that I had XD
CB and bukkit, so I have all the versions going back to the first release 😛
I have 1.7.10-1.13 all hosted on a private repo only I can access
I am not worried if I put something up and its private or not
worst that happens is someone mails me a DMCA lmao
Needed it for plugins that require NMS code, notably my library that abstracts it all so plugins can work with multiple versions and not need to worry about nms nonsense
What software? never seen it before actually
Just maven
when you use maven-deploy it will setup the directories appropriately for you, as for the theme its just apaxy
So, all you are seeing is a maven repo
Ah, I prefer nexus, finer grain control over everything. Including keeping stuff private (like my CB builds and plugin APIs that aren't on maven) and for my APIs
for me to make something private its just a matter of just modifying the .htaccess file lol
I reach 1k downloads in a few hours for a simple plugin, how brilliant
@golden vault You mind helpin me out rq?
I started my server, and saw this error message:
[TAB] Group "owner" is not defined in sorting list! This will result in players in that group not being sorted correctly. To fix this, add group "owner" into group-sorting-priority-list in config.yml.
I don't suppose you would know how to fix this problem? I have tried a few things, but none of it worked. I am unsure of what to do now.
Thanks in advance!
stop server, add owner to group, start server. Should do it
Ya, idk what ever TAB is, a tablist i assume, you will need to follow their documentation.
Alright. Thanks for trying Weaves.
@worn temple the group: owner is already in the group-priority-sorting-list
Hello, does anybody know if there is a placeholder that returns if the server is Online, Offline or Whitelisted. Like %pinger_isonline_testplugins.com:25565% but it only returns Online/Offline. Is there one that checks if the server ip is whitelisted or not? So I can create a ph that combines all three
@worn temple Hi 😁 Long time no see
@wet otter Is it there for all the servers and everything? I usually see tab plugins act up when its a bungee tab plugin. Otherwise I couldn't say. Are you making sure to shutdown the server and then edit the file? because some plugins write to file on shutdown and "erase" user changes.
@frigid ember Hey, I'm bad with names so remind me?
Check our DM history, should ring a bell.
I was the one who suggested NovaFrost for your server name
ah right lol
Hey does anyone know if theres away to have a live holograms that shows the factions top players
Yeah, been just lurking on the forums, kinda lost motivation with working on mc stuff, came back since I had a bunch of people bugging me about updating my old stuff.
Oh I see, yeah I left for a while after finals, getting sick and having surgery again lol 😁 All good now though
I'm kidding idk who you are
You still running your server?
@frigid ember Was well known on the forums for quite some time. Disappeared for awhile lol
I have a fast question, if I put this in the config.yml ill be able to change it in the plugin by using (var == True) right?
Enable: True
@frigid ember technically. Its mostly dead an unmaintained, wanting to get back into it. just trying to finish up a rewrite on my discord bot to fix a lot of stability issues and then may rebuild my mc server
Like, it is a real true/false state
Oh DM me the server invite again, I left it after thinking it wasn't active anymore
I'll dm you my personal and dev studio invites. one sec
Alright thanks 🙂
How can I take that batman symbol that stays in my head ?
uh... what?
There's a symbol on my head
I don't know how to get out
I'd like to know the command to take that away.
I've got literally no fucking clue what you are talking about lol
Are there screenshots?? I really have no idea what you are doing/seeing
I have a way to send yes
I have legit no idea what caused that, but probably a plugin you have installed lol
that was a command i put
and that command is??
Do you have any commands i can delete my profile?
You're not making any sense. What command did you use in the first place?
and that command is??
@worn temple I don't know what it is
for context, user DM'd this screenshot: https://cdn.discordapp.com/attachments/714710209884585996/714710809313542144/Sem_titulo.png
So, you typed a command in, and that happened, and you don't know what you typed in?
Yes
LIke, I'm asking for the command, not if you completely understand it or not. What exactly did you do to make this happen
I don't remember what the command was, but there was a part that had the name Batman in the middle of the command!
@blissful trench Is that a server or a single player world?
@blissful trench Is that a server or a single player world?
@wet otter This is a server
Do you have console?
Do you have console?
@wet otter Not kkk
Its really hard to help you when you aren't giving information. If you could copy/paste what you typed to make it happen, we may be able to offer more help. But we know nothing other than you entered a command and don't know what you typed, and now see this.
@blissful trench Are you still logged into the server? If so you could probably just press T and then the ⬆️ on your keyboard until you find the command you've typed. If you can't, you should probably message a server staff or the owner directly, as they will likely have more information.
^
Its really hard to help you when you aren't giving information. If you could copy/paste what you typed to make it happen, we may be able to offer more help. But we know nothing other than you entered a command and don't know what you typed, and now see this.
@worn temple I really wanted to send the command I put in, only I don't remember what it was.
@blissful trench Are you still logged into the server? If so you could probably just press T and then the ⬆️ on your keyboard until you find the command you've typed. If you can't, you should probably message a server staff or the owner directly, as they will likely have more information.
@wet otter
@blissful trench Are you still logged into the server? If so you could probably just press T and then the ⬆️ on your keyboard until you find the command you've typed. If you can't, you should probably message a server staff or the owner directly, as they will likely have more information.
@wet otter I can't do that anymore. because I've already come out and i've gone in again
Then your best best is to message a staff member/server owner directly.
We can't help you without further information. Which we don't have.
so, contact the server staff. This server is more for help for server owners/developers.
I'm going to do this more carefully. Then I come into contact with them
thank you so much for helping me!
☺️
No problem, @blissful trench.
I have a fast question, if I put this in the config.yml ill be able to change it in the plugin by using (var == True) or (var == False) right?
Enable: True

You'd have to actually change the config through the config api
ty
a vs b 🤔
vo1d I mean you could get it as a string, put it to lowercase and parse it as a boolean
unless you're doing cryptography the second one is fine
SecureRandom has a very strong randomization and is ensured to respect this http://www.ietf.org/rfc/rfc1750.txt
who has time to read all that
ikr
I like cryptography
I mean it looks cool
although I've ever read that
but I just don't have time
when your random number generator is the last digit of used ram
you know theres something wrong
yeah it could pretty much be the same several times
really?
they use
srand(time(NULL))
wow
well java definetively ain't using the current time to generate random numbers
that would be baaaad
“yeah it could pretty much be the same several times”
In the case of a true random number generator, which we have not been able to create yet, that would still be true
Random means random, not “different every time”
i know but with time, the odds of having similar numbers are increased
even Clion will flag that if you do it
Predictable sequence means you can guess the next numbers with a strong likelihood
For example seeding with a constant
Seeding with the current time isn’t that bad if you want PRNG
You’ll get a different sequence every time you run
How can I make a switch, so when I choose a block to get that block from the config
case Material.valueOf(getconfig.getstring)
}
That is not the use case for a switch
You need to hard code constants
I thought about it
That's why that whole optimisation works
Sure. Thanks I will try 😉
switch (e.getCurrentItem().getType()) {
case DIAMOND, DIRT: {
//do stuff
}
}```
java 14 flexer
yeah...
lol its much better
Java 8 or bust
Java 8 or 95% of the people using your plugin will complain that it doesnt run
yeah
yeah you can't even use Java 11
You don't even have java 11+ runtimes Alex?
There have been so many improvements in the runtime
yh its kinda rip that minecraft plugin development would not likely update
Only on my WSL Ubuntu
javaver
if (o instanceof Player p) {
Mojang is always going to set the standard for what java is widely used on servers
When they bumped it to java 8 everyone had to go 8
yeah hope it gets added
Iirc they can't dump because java dropped support for some iGPUs or some shit
Fantastic
But that info is outdated by years, maybe I can ask ppl next week
If I don't forget it, lol
I mean there is quiete a huge jump between 8 and 14
record Player (String username, long score) {}
yh records are awesome
Once oracle started making me sign into an account to update my jdk I stopped updating it
lol
why you using Oracle
only openjdk
GraalVM here
yeah but doesn't have the password login
Fairs
I meant graal
AdoptOpenJDK 👋
Isn't graals licence like worse than Oracle jdk?
It’s terrible
🤷♂️ I've never read it tbh
does anyone know how to do the chest shop for essentials ?
here soon mojang will need to update their java version again
either they will go with 11, or maybe we can hope they just make the jump to 14 😛
hopefully
the next LTS version from java 8 is Java 11
I just set an reminder for next week to ask dinnerbone about that
Idk, sticking to LTS is kinda stupid if you aren't a company with running hundrets of servers
👍 .
they might have to rewrite some of their code if they upgrade to Java 11
it would be nice if they would jump to java 14
They actually don't need to re-write anything since all the way to java 14, java 8 bytecode is supported
There is even java 9+ only code in there already
Or was that paper code, now I don't remember
The whole cleaner thing for pooling
then what about releasing 1.16 with the latest java?
the only problem with them supporting later versions after java 8
is that they need to ship their own JFX or whatever
since that was removed from the JRE
do mc uses jfx?
They use javafx???
If you compile on 11 you need to change of bunch of things
But that isn't required for shipping
They could just ship a new version in the launcher, see how it goes and later change the compile target
what about bundling the jre?
They do that?
they already do that if you don't have java installed
or use a version that isn't directly supported
does anyone know what you put on the sign for the chest shop that comes with essentials ?
https://wiki.mc-ess.net/wiki/Sign_Tutorial
@lavish crescent
thank you
or you know, consult the wiki @pastel condor 😛
Lol I forgot they had one
Have java added constant as a keyword or was that only kotlin?
yeah
What the difference between constant and final?
const is for values that are already known at compile time
Oh okay
You can also use final for those
final just makes sure the reference can't be re-assigned
Ah I see
What’s the purpose of kotlin?
ease up for the devs
Death and destruction
Okay so I'm having issues with chunks saving in my overworld.. It always happens at villages, seemingly only while villagers are spawned
https://pastebin.com/XQJZxJdY
the full save error is there
Any help with that would be greatly appreciated, this has been happening for a few days now and I really don't know what to do about it
it's mainly maintained because many developers like how it works more than java
the only issues i had with Kotlin were binary operators being weird
Eventually kotlin can be pretty nice for core
But I mean doing frameworks or libs then you should probably stick to java?
K
Mostly just preferences
you have to consider that when you use kotlin, you need to have the Kotlin Stdlib
otherwise it won't run
@terse schooner do you have any plugins that mess with entities?
Or their NBT
The only potential candidate should be mythic mobs, but it's 1.15.2 stable and has no effect on vanilla villagers
doesn't mean it can't be causing it. The problem the server is reporting is that it can't save entities
because something about the entity is null
Every village or specific types of village
should test without that plugin to see if the server saves just fine
odds are it will
How reproducible is it
Does it happen whenever you try to save a village chunk or only sometimes
accordingly from the OP it happens everytime whenever there is villagers spawned
in villages
Seems easy to test that theory then
Hello, what's the best way to find the centre of a schematic with worldedit api thanks
the center of a schematic or the location from where the schematic was takem?
because the center would be the middle of the cuboid
okay thanks
What is the best way to create a timer or something?
using a Runneable with TaskTimer or DelayedTimer
Hello again sorry about this, how can I create a empty world thanks?
use voidworld
I have problems with my Server Icon, it is not loading correctly, often it is blank. I use latest 1.15.2 Build....
(ClickEvent.Action.RUN_COMMAND, What do I have to put after RUN_COMMAND in TextComponent.
I've checked the wiki about it and I didn't find anything, so I'm asking here
Is there a way to delete the default world w/o affecting inventories of players?
You can if you store all their data into a config then grab it in the other world like /store and /restore
just delete everyting in the world directory except the one that says playerdata
Kk, so I can transfer the playerdata to another existing world's folder, then set it's name as the world in both multicraft and server.properties?
just copy the playerdata to another directory and it should work fine, as usualy make backups first
in case it doesn't work out for whatever reason
alrighty, thanks a ton c:
That will probably put them in the same coordinates in the new world though
Unless you have an auto spawn plugin
it's all g, the old world was never used - does it delete data from chests as well?
Chests are stored in the world, not in the player data
Wait, if the old world was never used why are you worried about player inventories?
Surely there wouldn’t be any data?
for some reason, all playerdata is stored in that world
other worlds have empty folders for playerdata
Kk thanks, this is a bit worrying
I transferred it tho, hmm maybe instead of transferring it made a duplicate
¯_(ツ)_/¯
fingers crossed that's the cased, if not I'll just have to deal with my slow internet in uploading the backup I made lol
case*
should I try to make an injector to save player data in MySQL database? 🤔
Yeah, my internet's really really slow tho so it takes awhole
awhile*
I cant spell omg
what's the difference of <uuid>.dat and <uuid>.json?
the file extension 😂
Arite lads
so my servers are crashing, moved over to a small host
and it's whenever there's sqlite activity
are there usually any sqlite libraries that i can download for stuff to not crash?
maybe check what's wrong with sqlite file first?
Uh my account is saying its been verified already, what do i do?
it's not just one plugin
that's the issue
it's whatever uses sqlite
e.g. Statz, AuctionHouse-Legacy, Jobs, etc
I've disabled Statz as that records everything you do
but whenever something is auctioned off or whenever someone starts a job, it crashes
and all three of them relate to whenever the sqlite db is being updated
is there some kind of lib that I should apt-get, or?
@abstract knoll I should note ender chest data I believe is also stored in the player data files.
cc: @inland oxide ^^
Spigot has SQLite drivers shaded in
@keen compass thanks! which though the .dat or .json
Whenever I used Spigot or Paper, it still crashed
what Spigot version
1.12.2
probably both, not entirely sure @abstract knoll those are files I normally don't mess with lol
pretty sure it's .dat file
I think so too
Minecraft's .dat is gzip compressed nbt data
so far I still have my stuff so I hope it's all g c:
makes me wonder what's in the .json ones tho 🤔
if I recall contains players last location, bed spawn location etc
open it, its just a json file
should be readable
the .dat file isn't readable and would require an NBT reader to view it
gotcha,so it's just localized into the world then (except the bed stuff)
I kinda removed it alr so big rip
use that site if you want to see what is in the .dat file
what Spigot version
@sturdy oar more specifically:
This server is running Paper version git-Paper-1618 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
Checking version, please wait...
You are running the latest version
well, that isn't spigot per-se
however you are also on an outdated version
also it sounds like your problem is I/O related
it could be that the host you went with has too many other VPS's on the same box as your VPS
Which is causing I/O for you to be horrible
it just doesn't really make sense though :/ it's only sqlite databases
E.g. I switched SpleefX to write from a db into flatfiles, and that turned out all fine
did they allow you to upload your own jars for the server? or do they provide one for you?
you need more than horrible IO to break SQlite though 🤔
They allow me to upload jars
does it throw any errors?
Apart from the crash, no
It creates a fat 1gb core dump and slaps a crash log in my directory
then the only thing I can think of is that there is so much data that sqlite just can't keep up with it. Or they are all trying to use the same DB
?paste
paste the crash log
it sometimes contains helpful stuff
core dump is helpful if you have a heap dump viewer
you can see what the server was doing just before it crashed
But that crash log would be helpful too
heap dump doesn't always correlate to the allocated amount of ram @obtuse rose especially if the ram allocated is dynamically set. That is the initial heap size is not set to the same size as the max
in that case it will only dump what was being used
how would i go about on creating a snapshot of the attributes? 🤔
i was thinking about enum map attribute base value
but i'm not sure if that's good
But that crash log would be helpful too
@keen compass https://paste.md-5.net/obufahomuh.makefile
well, interesting you start the server with just 128M
probably should start with a bigger allocation lol
that shouldn't be the problem though
^^
that problem would goes away when JVM warms up
i mean
i'm p sure startup memory isn't causing the sqlite problem :S
but i'll change the startup memory
well the last thing that was doing anything with SQLite is leaderheads
It's segmentation fault
it doesn't matter what plugin do what
@limber sierra is it running in docker?
Pterodactyl?
that would probably explain some problems
SQLite shouldn't generally cause the JVM to crash
at least not directly
Application crash sure, but a JVM crash is usually more serious though XD
so a segmentation error?
@limber sierra what hosting is it if I may ask?
i mean, could it possibly be because of permissions in server files?
real small one, used them for a little while though with vpses
only thing I can think of that would cause that is docker not playing nice or a memory module starting to fail
guys where can i find a shop plugin for 1.14.4?
kernel could probably do it, but I am not familiar enough with alpine linux
guys where can i find a shop plugin for 1.14.4?
@crisp nest on google
its possible alpine linux and docker don't play well together
which could result in segmentation faults
i know bruh
its just that the best ones dont show up when i do /plugin
Chestshop still exists
and usually gets updated
@limber sierra do you have access to SSH?
or do you have to use that panel to access your files
i have to use the panel
however, i'm working closely with the host team
so i could request whatever
That makes more sense, so it probably could be a file perms problem but that doesn't really make sense unless something is setting the perms on those sqlite files
pterodactyl is sftp, so i can edit permissions on them
Chestshop still exists
@keen compass
I dont know how to use it :/
read the instructions
no, pterodactyl set all files permission when server start
it has a very thorough documentation for it
Unlikely to be pterodactyl problem imo
start with updating docker and kernel might be something you should try @limber sierra
But it doesn't make sense there would be file perm issues on those sqlite files unless something else is interfering with that
@obtuse rose they don't have access to the VPS
that is fine
even when it recreates and tries to update, it still crashes
ah so the "hosting team" means the hosting company?
so do they give you a docker container or is the docker container running inside the VPS?
they give me a docker container
Sounds more like hardware failure then
but can't know for sure because you don't have access to the files that would indicate as such or perform any tests to know
I would give your hosting provider that crash log
and ask them if they could check the hardware to rule out hardware problems
docker isn't like normal VM's so it makes use of the underlying host hardware
but either it is a docker problem or a host hardware problem. That is about much info I can give, but that is only because you are only able to give limited info as well. Hopefully your hosting provider helps out.
so i am trying i did the tutorial but, it doesnt work (sorry but im new to plugins)
Yes I am aware kernel does exist however this is a docker container so the OS in the container shouldn't be the issue. It could be the kernel on the host but odds are it isn't either. But segfault means memory was being read/wrote to in an illegal location
and this is the JVM that crashed, not the application, so there isn't very many things that can cause the JVM itself to segfault.
in all cases of what caused it, its outside of this persons capability to fix it
illegal location, do you know what of the cause that make the location illegal?
the freaking kernel deny access to it 😒
Or the location is no longer valid because of memory module failing
send the dump
yea let's forget about kernel which is more common segfault cause and skip to hardware okay
Anyways regardless like I said, the hosting provider will have to fix it
https://paste.md-5.net/obufahomuh.makefile
@silk gate
I am going with HW because it isn't very common for the kernel to freak out about the JVM
something has to have caused the JVM to attempt to access an illegal location
it's a mission for JNI to not crash the jvm
So, the only thing that comes to mind where I have rarely seen it, is a memory module failing
yeah does look like dead ram
but that's quite rare though
it happens
it is, but it does happen
I've had a dead ram stick
would need to reconsider hosting company xD
no he wouldnt
it may not be their fault
dead ram can happen to anyone
hardware fails all the time
all that needs to happen is for them to locate the dead ram card
and replace it
and then all is good
its more common for ram to go bad in servers then it is for desktops is because servers are generally running 24/7. Where as most desktops don't run 24/7 and don't run as extensively as servers do either.
although I would expect better maintainance, but yea could be bad timings happens I guess
can't really predict when they will go bad
even with good maintenance
they can still die XD
"The kernel and docker are updated frequently"
just got that from the hosting provider
then it's hardware
Figured it wouldn't be the kernel or docker. But never hurts to check as that is the easiest 😉
core dump looks a lot similar to one I had looked at that was a memory module failing
Do any of you know SQLite database? I got a problem with it.
Method org/sqlite/RS.isClosed()Z is abstract
What should I do for it?
SQLMain.java (OnPlayerJoin Event): https://hasteb.in/udofezaj.java
SQLBase.java (SQL Methods): https://hasteb.in/vejiwire.java
although I would expect better maintainance, but yea could be bad timings happens I guess
@obtuse rose speaking of which - should i get timing reportings, if that helps?
nah
its not going to help in this case
whatever had failed, your hosting company is the one who have to take care of it
core dump looks a lot similar to one I had looked at that was a memory module failing
@keen compass segfault dump looks the same though? 🤔
well its a core dump, just means the JVM crashed. But they don't all look the same
Usually when the core dump doesn't make sense in why it attempted to access an illegal memory location. One of two things happened. Either the kernel freaked out which is rare unless you are using a kernel that isn't common to use which in this case isn't the case as they are using alpine linux as well as the OS contained in docker. So that means docker would have attempted to access an illegal memory location, but if that happened docker would have crashed as well which doesn't appear to have happened. Or the memory module is failing and the location it wanted simply according to the host no longer exists because it can't be accessed IE it died or just lost the information it was suppose to contain.
core dump looks a lot similar to one I had looked at that was a memory module failing
I am saying that statement is false, because you can't tell what cause segfault by looking at core dump
how can I reduce an ores experience point
For example if player mines lapis ore I want to give 0 exp
@lilac quarry change it in BlockBreakEvent
@obtuse rose but then how did I correctly suspected it was HW then? o.O
they won't be completely the same
but they will share similarities
Where can I find the BlockBreakEvent?
where can I find the plugin othedrop on version mc 1.15.2 ?
@obtuse rose I don't know anything about BlockBreakEvent, How can I do?
How can I listen for the equipping of Armor in spigot 1.8.8?
How can I listen for the equipping of Armor in spigot 1.8.8?
@idle zodiac you can check wich slot have an item
@barren abyss Should I put that in a Loop?
Neh, theres probably an easy way let me see
thanks lopl
You just want to check if he put on the armor?
I think you can do it with InventoryMoveEvent
You can probably check if the item [Material.LEATHER_HELMET] has been moved to head slot and do stuff then
I can't get the player name from that
Im sure you can
oh..
whatever had failed, your hosting company is the one who have to take care of it
@obtuse rose @keen compass the hosting company have taken a look at the sqlite plugins on a test server, and it seems to all be fine apparently (just tried on regular spigot 1.12.2 as well)
Edit: never mind
whos playing 1.8 in 2020?
Me
me

Also literally everyone on the hypixel network
^
oh yeh, they have those minigames right?
?
I don't play that much minecraft
just make plugins for people tho
Cool
Maybe check armor on player?(no idea if its possible)
It look so tricky can't find an easy way to do it ..
Ye...
If that isnt possible
Is there a way with 1.8 NMS to alter the amount of defence points a player has?
I am saying that statement is false, because you can't tell what cause segfault by looking at core dump
@obtuse rose sir that is the point of a core dump
i just realised i didnt have an eventhandler i am so stupid kill me now

it still doesnt work
@silk gate
SIGSEGV - segmentation fault
SEGV_MAPERR - address not mapped to object
But it doesn't explicitly tell you what cause SEGV_MAPERR
The rest is the running process, data in the stack etc etc
@obtuse rose yeah and by reading that you can figure out whats going on
having a ton of unknown values in registers points to a faulty memory module
it still in a process, even if it's in a docker
it won't get access to entire docker memory
yeah but dockers ideology is single process per container
so it's really unlikely
also brb phone 1%
trust me, process in docker doesn't get entire docker memory access
yeah ofc
but
whats the likelihood that another process has magically been given that memory
quite a lot actually
I just start up minecraft server
notice that it's scattered into multiple places
now take a heapdump of that process and see if any registers come up as unknown
file permissions can cause a segfault, but that doesn't explain unknown values in registers or empty registers. It is possible that it could be the sqlite library if its happening in the native library, but according to this core dump, its happening outside of JVM control so not the library being loaded. We can see all the libraries being loaded just fine actually even the sqlite one. It could be a problem with semaphores but highly unlikely.
An outside process could have caused it, but then that would be a question of, what process was running in the docker that tried to access JVM memory
@silk gate you'll find the same result in a running docker, it still share memory pool with it's host
although I am not willing to spin up docker to show this, you're welcome to test it by yourself though 🤷♀️
org.bukkit.craftbukkit.v1_15_R1.CraftWorld cannot be cast to com.sk89q.worldedit.world.World
what should i do to get worldedit's world?
however, it will have mapped memory for its specific use, and the processes inside docker would use that mapped address space that docker created
if something from the outside attempted to access dockers memory space, the docker container would have crashed and not just the JVM
WorldEdit has Bukkit adapters
Class is like BukkitAdapter or something. Some static methods to convert
the only other possibility would be a buffer overflow
but interesting that the JVM or docker would be creating that
a buffer overflow in the sqlite lib wouldve been discovered long ago
i did this but it is wrong
final EditSession editSession = WorldEdit.getInstance().getEditSessionFactory().getEditSession((World) p.getWorld(), -1);
its jni, no?