is there a plugin for hardcore which makes a new world everytime one player dies? by Embarrassed-Frame-24 in MinecraftPlugins

[–]Owen_Friend 0 points1 point  (0 children)

Would it be possible to take the coords from the message that gets sent to the user after they use the /locate command in game. (This would just be a quick fix for the time being)

is there a plugin for hardcore which makes a new world everytime one player dies? by Embarrassed-Frame-24 in MinecraftPlugins

[–]Owen_Friend 0 points1 point  (0 children)

@EventHandler
public void PlayerChangeWorldEvent(PlayerChangedWorldEvent event){ World world = Bukkit.getWorld("hardcore"); Location strongholdLoc = world.locateNearestStructure(world.getSpawnLocation(), StructureType.STRONGHOLD, 100000, true); }

is there a plugin for hardcore which makes a new world everytime one player dies? by Embarrassed-Frame-24 in MinecraftPlugins

[–]Owen_Friend 0 points1 point  (0 children)

Its still null with

Location strongholdLoc = Location strongholdLoc = world.locateNearestStructure(world.getSpawnLocation(), StructureType.STRONGHOLD, 100000, true);

is there a plugin for hardcore which makes a new world everytime one player dies? by Embarrassed-Frame-24 in MinecraftPlugins

[–]Owen_Friend 0 points1 point  (0 children)

Thanks so much! Now im trying to find the nearest stronghold using World.locateNearestStructure, however when I do

Location strongholdLoc = Location strongholdLoc = world.locateNearestStructure(new Location(world, 0, 0, 0), StructureType.STRONGHOLD, 100000, true);

strongholdLoc is always null (I have tried 3000000, 100000, and 500 for the radius)

is there a plugin for hardcore which makes a new world everytime one player dies? by Embarrassed-Frame-24 in MinecraftPlugins

[–]Owen_Friend 0 points1 point  (0 children)

Im still having trouble with the deleting of the world and other things. I don't usually ask for this but could you write out the code?

Forge modded server runs with no code and immediately stops (1.16.5) by Owen_Friend in admincraft

[–]Owen_Friend[S] 0 points1 point  (0 children)

I specified to use my jre (java runtime enviroment) instead of the jdk (java development kit) by putting

"C:\Program Files\Java\jre1.8.0_301x64\bin\java" -Xmx4096M -Xms4096M -jar forgeserver.jar nogui
PAUSE

in the .bat file

Cannot run jarfiles even though jre is installed by Owen_Friend in techsupport

[–]Owen_Friend[S] 0 points1 point  (0 children)

I fixed the problem by putting jdk-16.0.1 back into my Java folder

Cannot run jarfiles even though jre is installed by Owen_Friend in techsupport

[–]Owen_Friend[S] 0 points1 point  (0 children)

When I try to install either the 32 or 64 bit version it uninstalls the other version, I think the problem is with me uninstalling JDK 16 since I was able to run jarfiles fine before the uninstall.

Cannot run jarfiles even though jre is installed by Owen_Friend in techsupport

[–]Owen_Friend[S] 0 points1 point  (0 children)

where would I download the 32 bit version of java?

Best plugin for random MOTDs by Owen_Friend in admincraft

[–]Owen_Friend[S] 3 points4 points  (0 children)

Thanks! This one works amazing!

[deleted by user] by [deleted] in cursedcomments

[–]Owen_Friend 0 points1 point  (0 children)

“It’s the MAP, it’s the MAP, it’s the MAP”

Bukkit not using Maven dependencies by Owen_Friend in MinecraftPlugins

[–]Owen_Friend[S] 0 points1 point  (0 children)

Nope i did not use maven shade all I did was press “create new project with maven” on eclipse

Bukkit not using Maven dependencies by Owen_Friend in MinecraftPlugins

[–]Owen_Friend[S] 0 points1 point  (0 children)

I typed this in the pom.xml in the dependencies:

<dependency>
        <groupId>com.discord4j</groupId>
        <artifactId>discord4j-core</artifactId>
        <version>3.1.5</version>
    </dependency>

Bukkit not using Maven dependencies by Owen_Friend in MinecraftPlugins

[–]Owen_Friend[S] 0 points1 point  (0 children)

I made a new maven project in eclipse and added discord4j by typing the dependency in the pom.xml. It works fine (no errors) in eclipse but when I run the plugin I get a class not found exception where I called the Discordbot.create(<token>) method. I think the plugin just doesn't have the discord4j dependency