grzybcios

Potrzebuje plugin który działa tak

Komenda jest wykonywana przez konsole /znacznik (nick gracza) (nr. znacznika)

Pokazuje wtedy danemu graczowi taki znacznik gdzie ma iść. A jak podejdzie do niego na odległość około 3 bloków znacznik znika

W configu można ustawić dany znacznik na jakich jest kordach czy kolor

Dodaj też komendę /znacznik reload

1 image attached
Kodari AI
KodariApr 26 at 9:05 pm 6,821 (v2)

I’ll create a waypoint navigation plugin that shows visual particle beams guiding players to configured locations.

WaypointNavigator
A navigation system that creates visual particle beams guiding players to configured waypoint locations. Console operators can assign waypoints to players via command, creating a vertical beacon visible only to the target player. The beacon automatically disappears when the player reaches the destination (within 3 blocks). Features customizable colors, coordinates per waypoint, and distance-based auto-removal. Includes reload command for config changes.

✅ Created WaypointNavigator plugin

Features:

  • /znacznik <player> <waypoint_id> - Console command to assign waypoint beacon to player

  • /znacznik reload - Reload configuration

  • Vertical particle beam visible only to assigned player

  • Auto-removes when player reaches waypoint (within 3 blocks)

  • Configurable waypoints with coordinates, world, and particle colors

  • Configurable check interval, removal distance, beam height

Config includes:

  • 3 example waypoints with different colors (FLAME, REDSTONE, SOUL_FIRE_FLAME)

  • Customizable particle height (50 blocks default)

  • Distance checking every 5 ticks

  • All messages configurable with color codes

The particle beam creates a vertical column effect similar to the image you provided, guiding the player to the exact location.

grzybcios

A mogę to dać jako beacon?

Kodari AI
KodariApr 26 at 9:13 pm 32,355 (v2)

Tak! Beacon beam będzie wyglądał dużo lepiej. Zrobię to z prawdziwym beacon beamem używając packet spoofing (tylko gracz go zobaczy).

Zmienię system na prawdziwe beacon beamy! Użyję ProtocolLib do wysyłania fake beaconów.

Teraz przepiszę WaypointManager na beacon beamy:

Teraz zaktualizuję WaypointNavigator żeby poprawnie zamykał beacon beamy przy disable:

Dodaję brakujące metody do WaypointManager:

Widzę że są zduplikowane metody. Poprawię to:

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
8 478
src/main/java/com/waypointnav/WaypointNavigator.java
package com.waypointnav;

import com.waypointnav.command.WaypointCommand;
import com.waypointnav.manager.ConfigManager;
import com.waypointnav.manager.WaypointManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class WaypointNavigator extends JavaPlugin {
    private ConfigManager configManager;
    private WaypointManager waypointManager;
    
    @Override
    public void onEnable() {
        configManager = new ConfigManager(this);
        waypointManager = new WaypointManager(this);
        
        getCommand("znacznik").setExecutor(new WaypointCommand(this));
        
        waypointManager.start();
        
        getLogger().info("WaypointNavigator has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (waypointManager != null) {
            waypointManager.stop();
        }
        
        getLogger().info("WaypointNavigator has been disabled!");
    }
}