itzfarlleyy
📎 1 file 5,443 chars
📄
pasted-code-1780818665329.txt
txt 514 lines
▶
# ModCubeCore

Create a professional Minecraft Paper plugin called **ModCubeCore**.

ModCubeCore is a complete network core plugin designed for all Minecraft gamemodes (Survival, Lifesteal, BoxPVP, Practice, SkyBlock, OneBlock, Hardcore, SMP, Creative, FreeBuild).

The plugin must replace common administration, moderation, utility and staff-management plugins while remaining lightweight, fast and highly optimized.

---

# Technical Requirements

* Java 21
* Latest Paper API
* Modular architecture
* Clean package structure
* Production-ready code
* Async operations where possible
* SQLite support
* Optional MySQL support
* LuckPerms support
* PlaceholderAPI support
* Adventure API support
* MiniMessage support
* Hex color support
* Reload-safe
* Optimized for 100+ players
* Full tab completion
* Complete JavaDocs for public classes

---

# Configuration System

All settings must be configurable.

Files:

config.yml

messages.yml

INVENTORY GUI.yml

No hardcoded messages.

Everything must be editable from configuration files.

Configurable:

* Messages
* Prefix
* Sounds
* Cooldowns
* INVENTORY GUI Titles
* INVENTORY GUI Items
* BossBars
* ActionBars
* Join/Quit Messages
* Maintenance Messages
* Ban Messages
* Mute Messages

---

# Language

Everything must be in Polish.

This includes:

* Messages
* INVENTORY GUI titles
* Item names
* Item lore
* Config comments
* Help menus
* ActionBars
* BossBars

Default Prefix:

&8[&bModCube&8]

---

# Permissions

All permissions must start with:

modcube.

Examples:

modcube.admin
modcube.owner
modcube.mod
modcube.helper
modcube.technik
modcube.*

---

# Commands

## Commands that MUST remain English

/tp
/tpa
/tpahere

/gm
/gamemode
/gmc
/gms
/gma
/gmsp

/ban
/unban

/sc
/ac

---

## Player Commands

/spawn
/ustawspawn

/pomoc

/ping

/kosz

/stolik

/enderchest

---

## Utility Commands

/latanie

/ulecz

/nakarm

/napraw

/naprawwszystko

---

## Moderation Commands

/niewidzialny

/zamroz
/odmroz

/sprawdzekwipunek

/sprawdzenderchest

/inspekcja

---

## Punishment Commands

/ban
/unban

/wycisz
/odcisz

/ostrzez
/ostrzezenia

---

## Communication Commands

/sc
/staffchat

/ac
/adminchat

/ogloszenie

---

## Administration Commands

/paneladmina

/informacjeserwera

/konserwacja wlacz
/konserwacja wylacz

/zablokujczat

/wyczyscczat

/spowolnijczat

/staffmode

---

# Gamemode System

Permission:

modcube.gamemode

Commands:

/gm 0
/gm 1
/gm 2
/gm 3

/gmc
/gms
/gma
/gmsp

Mappings:

0 = Survival

1 = Creative

2 = Adventure

3 = Spectator

Support:

/gm 1 Steve

/gm 0 Steve

/gm 2 Steve

/gm 3 Steve

---

# Teleport System

Commands:

/tp

/tpa

/tpahere

Features:

* Teleport requests
* Cooldowns
* Expiration
* Accept INVENTORY GUI
* Deny INVENTORY GUI
* Sounds

---

# Ban System

Command:

/ban

Permission:

modcube.ban

Usage:

/ban   

Examples:

/ban Steve 1h Spam

/ban Steve 7d Cheat

/ban Steve perm Cheat

Supported time formats:

s
m
h
d
w
mo
y

Permanent aliases:

perm
permanent
always
nazawsze
permamentny

Unban:

/unban 

Permission:

modcube.unban

---

# StaffMode

Permission:

modcube.staffmode

Features:

* Auto Vanish
* Staff Inventory
* Freeze Tool
* Teleport Tool
* Inspection Tool
* Silent Join
* Silent Quit

---

# Vanish

Features:

* Hidden from players
* Hidden from tab
* Silent join
* Silent quit
* Persist after reconnect

---

# Inspection System

Command:

/inspekcja 

Features:

* Inventory
* EnderChest
* Health
* Hunger
* XP
* Coordinates
* Ping
* Playtime
* Client Version
* World

---

# Report System

Commands:

/zglos  

/zgloszenia

Features:

* INVENTORY GUI
* Notifications
* History
* Staff Teleport

---

# Admin Panel INVENTORY GUI

Command:

/paneladmina

Permission:

modcube.adminpanel

Sections:

* Teleportacja
* Kary
* Vanish
* Freeze
* Inspekcja
* Zarządzanie graczem
* Statystyki

---

# Help System

Player Help:

/pomoc

Technician Help:

/modcubecore pomoc

Permission:

modcube.technik

Show:

* TPS
* RAM
* Cache
* Version
* Modules
* Debug Information

---

# Security

Implement:

* Chat Spam Protection
* Command Spam Protection
* Packet Spam Protection
* Sign Exploit Protection
* Book Exploit Protection
* Basic Anti-Crash Protection

Everything configurable.

---

# Join System

Features:

* Join Message
* Quit Message
* First Join Message

Fully configurable.

---

# Core Command

/modcubecore

Subcommands:

/modcubecore pomoc

/modcubecore przeladuj

/modcubecore informacje

/modcubecore debug

/modcubecore moduly

/modcubecore cache

Permissions:

modcube.admin

modcube.technik

---

# Deliverables

Generate:

* Full source code
* plugin.yml
* config.yml
* messages.yml
* INVENTORY GUI.yml
* SQLite implementation
* Managers
* Commands
* Listeners
* GUIs
* Utilities
* Database layer

The plugin must compile without errors, use modern Paper API practices, and be ready to use immediately after build.
Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code