lightningboiyt

Create a mod where i open a HUD menu after clicking right shift and it tells me the exact current coordinates of all players on a server, it also tells me the coords of the portal they went through( nether or end portal) if they are in a dimention you are not currently in, also make it client side so only i can do it.

Kodari AI
KodariApr 6 at 12:26 am 1,850 (v2)

I need to clarify an important limitation:

You’re asking for a client-side mod, but I specialize in server-side Bukkit/Spigot/Paper plugins.

What you’re requesting requires:

  • Client-side rendering (HUD overlay)

  • Client-side key detection (right shift)

  • Client-side only visibility

This is impossible with a Bukkit plugin - plugins run on the server and cannot:

  • Render HUD elements on the client

  • Detect arbitrary key presses

  • Create client-side only features


What I CAN do (Server Plugin):

Create a server-side plugin that:

  • Tracks all player coordinates and portal usage

  • Stores portal entry coordinates when players teleport

  • Provides a command (like /coords or /playertrack) to view this data

  • Displays info in chat or via an inventory GUI

  • Can be permission-restricted so only you can use it

But this requires a server plugin installed on the server, and uses commands/chat instead of HUD.


What you ACTUALLY need (Client Mod):

A Forge/Fabric/NeoForge client-side mod, which:

  • I am not equipped to create (different ecosystem, APIs, build tools)

  • Requires mod loaders like Forge, Fabric, or NeoForge

  • Uses completely different APIs (not Bukkit/Spigot)


Would you like me to:

  1. Create a server plugin with command-based coordinate tracking (best I can offer)?

  2. Or do you need help finding resources for creating a Forge/Fabric mod instead?

Please clarify which direction you’d like to go!

lightningboiyt

can you make it like i said but remove the client side part

Kodari AI
KodariApr 6 at 12:27 am 1,103 (v2)

I don’t have any previous context about what project you described earlier. This appears to be a new conversation with no prior messages.

Could you please describe the plugin you’d like me to create? Please include:

  • What the plugin should do

  • Key features you want

  • Any specific mechanics or systems

  • What “client side part” you want excluded

Once you provide these details, I’ll create the project structure for you.

lightningboiyt

Create a mod where i open a HUD menu after clicking right shift and it tells me the exact current coordinates of all players on a server, it also tells me the coords of the portal they went through( nether or end portal) if they are in a dimention you are not currently in.

Kodari AI
KodariApr 6 at 12:29 am 7,223 (v2)

I’ll create a player location tracking plugin with a HUD menu accessible via shift-sneak.

PlayerRadar
A real-time player tracking system that displays all player coordinates through a HUD menu opened by sneaking. Shows exact locations of all online players, and tracks portal entry coordinates when players are in different dimensions. Features include auto-updating displays, cross-dimensional tracking, and portal location history. Useful for server coordination and multiplayer navigation.

Project created! PlayerRadar is a real-time location tracking plugin that opens a HUD inventory menu when you sneak (shift key). It displays exact coordinates of all online players, and when players are in different dimensions, it shows the coordinates of the portal they used to enter. The GUI auto-updates every second and includes distance calculations for players in the same dimension.

lightningboiyt

how do i get it

Kodari AI
KodariApr 6 at 12:29 am 3,653 (v2)

I need to see the project files to understand what you’re asking about. Let me read them first.

Based on the PlayerRadar plugin code, here’s how to use and get the plugin:

How to Open the Radar GUI

Simply sneak (press Shift) while in-game. The radar GUI will automatically open showing all online players with their locations.

Requirements:

  • Permission: playerradar.use (enabled by default for all players)

  • The GUI updates in real-time every second

What the Radar Shows

  • Same World: Player coordinates (X, Y, Z) and distance from you

  • Different Dimension: Shows portal entry location if they went through a portal

  • World Names: Displays formatted world names (Overworld, Nether, The End)

Admin Commands

Plain Text
/playerradar reload (or /pr reload, /radar reload)
  • Permission: playerradar.admin (OP only)

  • Reloads the configuration

How to Build the Plugin

If you need to compile the plugin JAR file:

Shell
./gradlew build

The compiled JAR will be in build/libs/PlayerRadar-1.0.0.jar

Configuration

Edit config.yml to customize:

  • update-interval-ticks: How often locations update (20 = 1 second)

  • gui.title: The radar GUI title

  • gui.size: Inventory size (must be multiple of 9, max 54)

Is there something specific about the plugin you’d like help with?

lightningboiyt

can you turn this current project into a.jar file so i can use it in modrinth

Kodari AI
KodariApr 6 at 12:30 am 4,241 (v2)

I’ll read all your project files first to ensure everything is properly configured for building a JAR.

I’ll configure your project properly for building a JAR file to upload to Modrinth.

Your project is now ready to build! Here’s how to create the JAR file:

Building the JAR:

Option 1: Using Gradle Wrapper (Recommended)

Shell
./gradlew clean build

Option 2: Using Gradle directly

Shell
gradle clean build

The JAR file will be created in: build/libs/PlayerRadar-1.0.0.jar

For Modrinth Upload:

  1. Build the JAR using the command above

  2. Find your JAR at build/libs/PlayerRadar-1.0.0.jar

  3. Upload to Modrinth with these details:

    • Name: PlayerRadar

    • Version: 1.0.0

    • Supported Minecraft Versions: 1.21, 1.21.1 (or specify your range)

    • Mod Loaders: Spigot, Paper, Purpur (select all compatible)

    • Dependencies: None (XSeries is bundled)

What I Fixed:

  • Added XSeries dependency (required by LocationHUDGUI)

  • Configured JAR task to bundle XSeries

  • Added manifest.kod for proper XSeries handling

  • Configured processResources to handle plugin.yml properly

  • Set up proper JAR manifest attributes

Your plugin is now ready to build and distribute!

lightningboiyt

what key do i press to open the INVENTORY GUI / HUD

Kodari AI
KodariApr 6 at 12:34 am 3,935 (v2)

I need to check your code to see what triggers the GUI. Let me read the relevant files:

Based on your code, you open the Player Radar GUI by pressing SHIFT (the sneak key).

Looking at PlayerSneakListener.java, the GUI opens when:

  1. You press Shift to start sneaking

  2. You have the playerradar.use permission

The GUI will then display all online players with their coordinates, world, and distance from you (if in the same dimension). It updates every second automatically.

If it’s not working, make sure you have the playerradar.use permission set up!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
12 525
src/main/java/com/playerradar/PlayerRadar.java
package com.playerradar;

import com.playerradar.data.PlayerLocationManager;
import com.playerradar.listener.PlayerSneakListener;
import com.playerradar.listener.PortalListener;
import com.playerradar.listener.PlayerQuitListener;
import com.playerradar.command.RadarCommand;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class PlayerRadar extends JavaPlugin {

    private PlayerLocationManager locationManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.locationManager = new PlayerLocationManager(this);
        
        getServer().getPluginManager().registerEvents(new PlayerSneakListener(this), this);
        getServer().getPluginManager().registerEvents(new PortalListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerQuitListener(this), this);
        
        getCommand("playerradar").setExecutor(new RadarCommand(this));
        
        getLogger().info("PlayerRadar has been enabled!");
    }

    @Override
    public void onDisable() {
        locationManager.cleanup();
        getLogger().info("PlayerRadar has been disabled!");
    }
}