legendisreal_

Plugin Name: OrbitalRecording I need a Minecraft plugin with the following features:

When I type the command /orbitalrec, a INVENTORY GUI chest menu should open.

Inside the INVENTORY GUI there should be two toggle buttons:

PvP Toggle (Enable/Disable) Chat Toggle (Enable/Disable) When I type /orbitalgod <player>, that player should not die when their health reaches half a heart.

If the player is holding a Totem of Undying, the totem should pop/activate instead of the player dying.

If any player dies due to PvP or natural causes, the player should be automatically banned with the reason: "You Died in Hardcore Mode" There should be a revive command: /orbitalrevive <player> → Revives a specific banned player. /orbitalrevive all → Revives all banned players. And don't show that you're protected from God mode like and also don't show the extra that make it simple and in /orbitalrec INVENTORY GUI make the pvp on off as diamond sword and use red bed for chat on off

Kodari AI
KodariMar 23 at 2:41 pm 12,559 (v2)

I’ll create a comprehensive Minecraft plugin with GUI-based recording controls, god mode protection, and death banning system.

OrbitalRecording
A hardcore recording plugin with GUI-based PvP and chat toggles, god mode protection preventing death at half heart with totem support, and automatic death banning. Features player revival commands for unbanning individuals or all banned players. Designed for hardcore recording scenarios with simple, streamlined functionality.

All files created! Here’s what I’ve implemented:

Core Features:

  • /orbitalrec - Opens GUI with diamond sword (PvP toggle) and red bed (Chat toggle) buttons

  • /orbitalgod <player> - Silently enables god mode preventing death at half heart

  • /orbitalrevive <player|all> - Unbans specific or all banned players

  • Automatic death banning with reason “You Died in Hardcore Mode”

  • Totem priority - If holding totem when health drops to half heart, totem activates instead

GUI System:

  • Clean inventory-based interface with toggle buttons

  • Shows current state (Enabled/Disabled) with color codes

  • PvP toggle affects both dealing and receiving damage

  • Chat toggle hides chat messages when disabled

God Mode:

  • No messages shown to protected players

  • Respects totem mechanics - totem pops if held when fatal damage occurs

  • Works seamlessly with hardcore death system

legendisreal_

And tese commands can use only operators

Kodari AI
KodariMar 23 at 2:42 pm 5,391 (v2)

I’ll update the commands to only allow operators to use them.

All three commands now require operator permissions. Non-operators will receive a message stating they must be an operator to use the command.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
17 697
src/main/java/com/orbital/recording/OrbitalRecording.java
package com.orbital.recording;

import com.orbital.recording.command.OrbitalGodCommand;
import com.orbital.recording.command.OrbitalRecCommand;
import com.orbital.recording.command.OrbitalReviveCommand;
import com.orbital.recording.inventory.gui.GUIListener;
import com.orbital.recording.inventory.gui.GUIManager;
import com.orbital.recording.listener.ChatListener;
import com.orbital.recording.listener.DamageListener;
import com.orbital.recording.listener.DeathListener;
import com.orbital.recording.listener.PvPListener;
import com.orbital.recording.manager.DataManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class OrbitalRecording extends JavaPlugin {
    private DataManager dataManager;
    private GUIManager guiManager;

    @Override
    public void onEnable() {
        this.dataManager = new DataManager();
        this.guiManager = new GUIManager();

        registerCommands();
        registerListeners();

        getLogger().info("OrbitalRecording has been enabled!");
    }

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

    private void registerCommands() {
        getCommand("orbitalrec").setExecutor(new OrbitalRecCommand(this));
        getCommand("orbitalgod").setExecutor(new OrbitalGodCommand(this));
        getCommand("orbitalrevive").setExecutor(new OrbitalReviveCommand());
    }

    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new DamageListener(this), this);
        Bukkit.getPluginManager().registerEvents(new DeathListener(), this);
        Bukkit.getPluginManager().registerEvents(new ChatListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PvPListener(this), this);
    }
}