S

make a plugin that any player can do /ping <player> if they do /ping only they see theyre own ping in the action bar and also others and make it fade away after few seconds but make a command for only b4m4 that when he does /invi <player> he becomes unhittable and /uninvi <player> to disable dont make these commands auto tab and only b4m4 can do it and dont show for ops or in console that b4m4 tried it

Kodari AI
KodariMay 19 at 7:26 pm 5,101 (v2)

I’ll create a utility plugin with ping display and hidden invincibility commands for b4m4.

PingPlus
A utility plugin featuring player ping display via action bar and hidden invincibility commands. Players can check their own or others' ping with automatic fade-out messages. Includes secret admin commands for managing player invincibility, accessible only to specific users with no tab completion or logging.

Plugin created with ping display and hidden invincibility commands. The /ping command shows ping in the action bar (fades automatically), and /invi//uninvi commands are restricted to b4m4 only with no tab completion or logging.

S

instead of /invi make it /version1 <player> to enable and /version2 <player> to disable and make the thing not say in chat

Kodari AI
KodariMay 19 at 7:32 pm 3,402 (v2)

I’ll rename the commands to /version1 and /version2 and remove all chat feedback.

Commands renamed to /version1 and /version2 with all chat feedback removed. They now operate silently.

S

now it says in chat when i do /version1 <example: b4m4> it doesnt activate make it say only for me in chat "version1 enabled on <user i typed>"

Kodari AI
KodariMay 19 at 7:34 pm 3,077 (v2)

I’ll update the /version1 command to send feedback only to the command sender and ensure it activates properly.

Updated! Now /version1 <player> will send you “version1 enabled on <player>” and /version2 <player> will send you “version2 disabled on <player>”. Only you see these messages.

S

it prob doesnt work i cant test it alone and it says in chat littarly /version1 <player> make it say who it activated on

Kodari AI
KodariMay 19 at 7:37 pm 6,601 (v2)

I’ll fix the command to properly process the player argument and show the feedback correctly.

Updated both commands! Now they:

  • Use case-insensitive name check (works with b4m4, B4M4, etc.)

  • Show “version1 enabled on <playername>” when successful

  • Show “version2 disabled on <playername>” when successful

  • Give feedback if player not found or no argument provided

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
7 242
src/main/java/com/b4m4/pingplus/PingPlus.java
package com.b4m4.pingplus;

import org.bukkit.plugin.java.JavaPlugin;

public class PingPlus extends JavaPlugin {
    
    private InvincibilityManager invincibilityManager;
    
    @Override
    public void onEnable() {
        invincibilityManager = new InvincibilityManager();
        
        getCommand("ping").setExecutor(new PingCommand());
        getCommand("version1").setExecutor(new Version1Command(invincibilityManager));
        getCommand("version2").setExecutor(new Version2Command(invincibilityManager));
        
        getServer().getPluginManager().registerEvents(invincibilityManager, this);
    }
    
    @Override
    public void onDisable() {
        invincibilityManager.clearAll();
    }
}