All authors

Claude Skills by MrPippi
github.com/MrPippi43 skills0 installs58 views
- Nms Attribute Modifier透過 NMS AttributeMap/AttributeModifier 動態修改實體屬性(MAX_HEALTH、ATTACK_DAMAGE 等),比 Bukkit API 更精確(Paper NMS + Mojang-mapped)/ Dynamically modify entity attributes via NMS AttributeMap/AttributeModifierVotes: 0GitHub stars: 3
- Nms Block Entity實作自定義 NMS BlockEntity(含 NBT serialization、Tick 邏輯、Client sync),比 Bukkit BlockState 更靈活(Paper NMS + Mojang-mapped)/ Implement custom NMS BlockEntity with NBT serialization, tick logic, and client syncVotes: 0GitHub stars: 3
- Nms Boss Event透過 NMS ServerBossEvent 操作 Boss Bar 進度條、顏色、風格、可見性,實現每人獨立 Boss Bar(Paper NMS + Mojang-mapped)/ Operate Boss Bar progress, color, style, and per-player visibility via NMS ServerBossEventVotes: 0GitHub stars: 3
- Nms Chunk Access透過 NMS LevelChunk 直接讀寫方塊、高度圖、ChunkSection 資料,比 Bukkit Chunk API 更快更底層(Paper NMS + Mojang-mapped)/ Direct LevelChunk block, heightmap, and ChunkSection access for high-performance operationsVotes: 0GitHub stars: 3
- Nms Custom Entity建立自定義 NMS 實體:繼承現有 Mob 類別、自訂 PathfinderGoal、替換 vanilla 實體行為 / Create custom NMS entities with custom PathfinderGoal AIVotes: 0GitHub stars: 3
- Nms Custom Menu繼承 AbstractContainerMenu 建立自定義容器 GUI,支援 slot 事件攔截與資料同步(Paper NMS + Mojang-mapped)/ Build custom container GUIs by extending AbstractContainerMenu with slot event handlingVotes: 0GitHub stars: 3
- Nms Data Component操作 Minecraft DataComponentType(1.20.5+) 物品組件系統,讀寫 CustomData、MaxStackSize、Enchantments 等組件(Paper NMS + Mojang-mapped)/ Read and write 1.21 DataComponentType item components including CustomData, MaxStackSize, EnchantmentsVotes: 0GitHub stars: 3
- Nms Fake Player以真正的 NMS ServerPlayer 建立沒有客戶端的假玩家(機器人/訓練假人):空連線、皮膚、原版戰鬥與移動物理、NMS 限定在單一套件並在版本不符時只停用該功能(Paper NMS + Paperweight)/ Client-less fake players backed by a real NMS ServerPlayer with vanilla combat and movement, confined NMS and version guardVotes: 0GitHub stars: 3
- Nms Nbt Manipulation直接操作 CompoundTag 讀寫物品、實體、方塊實體的 NBT 資料(Paper NMS + Mojang-mapped)/ Read and write NBT data on items, entities, and block entities via CompoundTagVotes: 0GitHub stars: 3
- Nms Packet Interceptor透過 Netty ChannelDuplexHandler 注入玩家連線管線,攔截/修改 Clientbound 與 Serverbound 封包 / Intercept and modify packets via Netty pipeline injectionVotes: 0GitHub stars: 3
- Nms Packet Sender產生封包發送工具類,透過 ServerPlayer.connection 將 Clientbound 封包推送至客戶端(Paper NMS + Mojang-mapped)/ Generate packet sender utility to push Clientbound packets via ServerPlayer.connectionVotes: 0GitHub stars: 3
- Nms Particle Effect透過 ClientboundLevelParticlesPacket 實現進階 NMS 粒子效果:客戶端專屬、大量粒子、自定義參數(Paper NMS + Mojang-mapped)/ Advanced NMS particle effects via ClientboundLevelParticlesPacket with per-client and bulk supportVotes: 0GitHub stars: 3
- Nms Player Profile操作 GameProfile 進行 skin 注入,用於 NPC 外觀設定與假玩家實體(Paper NMS + Mojang-mapped)/ Manipulate GameProfile for skin injection used in NPC appearance and fake player entitiesVotes: 0GitHub stars: 3
- Nms Reflection Bridge反射式 NMS 存取橋接:避開 CraftBukkit 編譯期依賴(相容 Spigot 的 v1_xx_Rx 套件),透過 reflection 快取取得跨版本相容性 / Reflection-based NMS bridge for cross-version compatibility without Paperweight compile dependencyVotes: 0GitHub stars: 3
- Nms Scoreboard透過 NMS Scoreboard/Objective/Team API 操作 sidebar、tablist 顯示名稱與計分板(Paper NMS + Mojang-mapped)/ Operate sidebar, tablist, and scoreboard via NMS Scoreboard/Objective/Team APIVotes: 0GitHub stars: 3
- Nms Version Adapter多版本 NMS 相容性 Adapter 模式:抽象介面 + 版本特定實作 + runtime dispatch,讓同一 plugin 支援多個 MC 版本 / Multi-version NMS compatibility adapter patternVotes: 0GitHub stars: 3
- Paper Brigadier Command以 Paper Brigadier API 註冊指令:LifecycleEvents.COMMANDS、內建 ArgumentTypes、k/m/b 金額自訂參數、權限 requires、補全只讀快照、玩家/主控台處理與 reload 子指令 / Paper Brigadier commands with built-in and custom argument types, permission gates, snapshot-only suggestions and a reload subcommandVotes: 0GitHub stars: 3
- Paper Chest Gui以 Bukkit API 建立箱子介面 GUI:InventoryHolder 標記介面、單一 GuiListener 取消點擊/拖曳/Shift/數字鍵、每次點擊重新驗證、分頁與去彈跳、gui.yml 圖示、onDisable 關閉所有選單 / Chest-inventory GUIs with the Bukkit API: holder marker interface, one cancelling listener, per-click revalidation, paging, gui.yml icons, safe disableVotes: 0GitHub stars: 3
- Paper Client Side Effects只用 Paper API 做每位玩家各自看到的錯覺:虛擬世界邊界紅框、個人時間/天氣、hidePlayer 可見性、夜視並在事件後重新套用 / Per-player illusions with Paper API only: virtual world border vignette, personal time/weather, hidePlayer visibility, night vision with reconcile-after-eventVotes: 0GitHub stars: 3
- Paper Combat TagPvP 戰鬥標記:純邏輯 CombatTagService(UUID + 時間戳、可 JUnit)、傷害歸因矩陣(近戰/射擊物/藥水/TNT/水晶/重生錨/狼)、指令白名單、傳送封鎖、戰鬥登出判死,並以 ServicesManager 公開 CombatTagApi / PvP combat tagging with a Bukkit-free core service, damage attribution matrix, command whitelist, teleport block, combat-logout punishment and a ServicesManager APIVotes: 0GitHub stars: 3
- Paper Config LangPaper 插件的設定與訊息:config.yml 只解析一次成不可變 record(驗證、預設值、警告清單)、config-version、部署檔優先的分層預設、MiniMessage lang.yml、非同步 reload 後原子換快照 / Paper plugin config.yml parsed once into an immutable record, layered defaults, MiniMessage lang.yml with safe placeholders, async reload with atomic snapshot swapVotes: 0GitHub stars: 3
- Paper Custom RecipesPaper 自訂配方:有形狀/無形狀合成、ItemTypeChoice 多材料、ExactChoice 自訂物品、TransmuteRecipe 升級保留附魔、26.3 BrewingRecipe(1.21.11 用 PotionMix)、批次註冊後只同步一次、配方書解鎖與停用時移除 / Paper custom recipes: shaped and shapeless crafting, ItemTypeChoice alternatives, ExactChoice custom items, TransmuteRecipe upgrades that keep enchantments, 26.3 BrewingRecipe (PotionMix on 1.21.11), batch registration with one resync, recipe book unlocks and cleanup on disableVotes: 0GitHub stars: 3
- Paper Data ComponentsPaper Data Component API:不用 NMS 讀寫物品元件(食物、可食用效果、武器屬性、滑翔、裝備、提示框、冷卻),分清 set/unset/reset 與原型預設值,用 PDC 標記自訂物品並以 matchesWithoutData 比對 / Paper data component API: build and read item components without NMS (food, consumable effects, weapon attributes, glider, equippable, tooltip, cooldown), set vs unset vs reset against the prototype, PDC item ids and matchesWithoutData comparisonsVotes: 0GitHub stars: 3
- Paper Datapack BundlingPaper 插件內附資料包:在 PluginBootstrap 以 LifecycleEvents.DATAPACK_DISCOVERY 從 jar 載入資料包(配方、函式、進度、標籤),自動啟用、pack.mcmeta 版本範圍(1.21.11 = 94.1、26.3 = 121.0)、依版本選資料夾、DatapackManager 查詢 / Paper plugin-bundled data packs: discover a data pack inside the jar from a PluginBootstrap with LifecycleEvents.DATAPACK_DISCOVERY (recipes, functions, advancements, tags), auto-enable, pack.mcmeta format ranges (1.21.11 = 94.1, 26.3 = 121.0), per-version folders and DatapackManager checksVotes: 0GitHub stars: 3
- Paper Dialog UiPaper Dialog API 介面模式:薄 Dialogs 包裝、通知/確認/多按鈕/輸入表單、customClick 回呼切回主執行緒、確認鍵在右、暫停選單(pause_screen_additions)註冊 / Paper Dialog API UI patterns: thin helper, notice/confirm/multi-action/input dialogs, main-thread hop in callbacks, confirm-on-right, pause-screen registration from a bootstrapperVotes: 0GitHub stars: 3
- Paper Discord Bridge只用 JDK 的 Discord 聊天橋接(不需 JDA/DiscordSRV):遊戲 → Discord 以 webhook 佇列送出(429 照 Retry-After 重送一次、禁止 @提及、Markdown 跳脫),Discord → 遊戲以 Gateway WebSocket 狀態機(心跳、RESUME、致命關閉碼、退避)在單一執行緒接收後切回主執行緒;祕密不進 log / JDK-only Discord chat bridge (no JDA or DiscordSRV): outbound webhook queue with 429 retry, no mentions and markdown escaping; inbound Gateway WebSocket state machine (heartbeat, resume, fatal close codes, backoff) on one thread, hopping to the main thread; secrets never loggedVotes: 0GitHub stars: 3
- Paper Disposable World拋棄式世界與可重置競技場:VoidChunkGenerator、WorldCreator、流水號命名與殘留資料守衛、非同步複製模板(暫存後原子改名)、卸載後安全刪除、26.x dimensions 存檔路徑、預產生池,以及就地還原(變更格子基準表分批還原 + 殘留實體清掃)/ Throw-away Paper worlds and resettable arenas: void generator, serial naming with stale-data guard, async template copy with atomic rename, safe unload and delete, 26.x dimensions storage layout, pre-generated pool, and budgeted in-place reset with debris sweepVotes: 0GitHub stars: 3
- Paper Economy Ledger插件內建經濟核心:long 最小單位金額(不用 double)、多幣種、純 Ledger(OK/INSUFFICIENT/NO_ACCOUNT/INVALID_AMOUNT)、只增不改交易紀錄、k/m/b 簡寫解析與格式化、託管(escrow)例外安全、write-behind 持久化、內部 API 與選用 Vault Economy 提供端 / In-plugin economy core with long minor units, multi-currency pure Ledger, append-only transaction log, k/m/b parsing, exception-safe escrow, write-behind persistence, internal API and optional Vault providerVotes: 0GitHub stars: 3
- Paper Embedded Http在 Paper 插件內以 JDK HttpServer 提供唯讀 JSON/靜態頁面:預設只綁 127.0.0.1、有界 daemon 執行緒池、handler 零 Bukkit 呼叫(主執行緒定時發布不可變快照)、每 IP token bucket 限流 / Read-only JSON and static page endpoint inside a Paper plugin using the JDK HttpServer with loopback bind, bounded daemon pool, main-thread snapshots and per-IP rate limitingVotes: 0GitHub stars: 3
- Paper Menu Type GuiPaper MenuType 原版介面:不需要方塊就開啟可攜式工作台、鐵砧、切石機、鍛造台、砂輪、織布機、製圖台與自訂交易介面;鐵砧花費上限、方塊實體類介面的暫存陷阱、關閉時歸還物品 / Paper MenuType vanilla menus: open portable crafting tables, anvils, stonecutters, smithing tables, grindstones, looms, cartography tables and custom merchant screens without a block; anvil cost limits, the temporary block-entity trap, returning items on closeVotes: 0GitHub stars: 3
- Paper Packetevents Filter不碰 NMS 的封包過濾:以 PacketEvents(主)或 ProtocolLib 軟依賴監聽封包,Hook + Bridge 隔離、Netty 執行緒只讀不可變快照、fail-open / Packet filtering without NMS via soft-dependent PacketEvents (primary) or ProtocolLib with Hook + Bridge, snapshot-only Netty-thread reads and fail-openVotes: 0GitHub stars: 3
- Paper Registry EventsPaper 註冊表事件:在 PluginBootstrap 以 RegistryEvents 新增自訂附魔與傷害類型、用 entryAdd 修改原版項目、用 LifecycleEvents.TAGS 加入標籤,並在執行期以 RegistryAccess 取回 / Paper registry events: add custom enchantments and damage types from a PluginBootstrap with RegistryEvents, modify vanilla entries with entryAdd, extend tags with LifecycleEvents.TAGS, and look them up at runtime with RegistryAccessVotes: 0GitHub stars: 3
- Paper Safe Teleport安全隨機傳送(RTP)與安全落點傳送:getChunkAtAsync 後在主執行緒判定、teleportAsync 完成後重新驗證、暖機移動取消與冷卻、預找落點池 / Safe random teleport and safe-location teleports on Paper with async chunk loading, re-validation, warmup, cooldowns and a spot poolVotes: 0GitHub stars: 3
- Paper Service Api透過 Bukkit ServicesManager 發布與取用跨插件 API:只加不改的 api 介面、提供端註冊、使用端 Hook(每次 load、容忍版本落差)/ Cross-plugin API via ServicesManager with add-only interfaces and version-skew-tolerant consumer hooksVotes: 0GitHub stars: 3
- Paper Softdepend Hook安全使用第三方軟依賴(Vault、PlaceholderAPI、packetevents):softdepend 宣告、isPluginEnabled 先檢查再建構、Hook + Bridge 分離、避開 Bukkit 監聽器簽名陷阱、接 LinkageError、Vault 消費端/提供端、PlaceholderAPI expansion 快照 / Safe soft dependencies on third-party plugins with Hook + Bridge split and class-load boundary testsVotes: 0GitHub stars: 3
- Paper Sqlite RepositoryPaper 插件的 SQLite 持久化:單一連線(WAL、busy_timeout、foreign_keys)、PRAGMA user_version 遷移、Repository 介面與 PreparedStatement 實作、單一寫入執行緒的 write-behind、onDisable 同步落盤 / SQLite persistence for Paper plugins with versioned migrations, a Bukkit-free repository, and a single-writer write-behind flusherVotes: 0GitHub stars: 3
- Paper World ClockPaper 26.3 世界時鐘 API:每個世界獨立暫停、調整時間流速(白天長度)、固定時間的大廳、以 ClockTimeSkipEvent 攔截 /time 與睡覺跳夜,並處理沒有時鐘的維度(地獄);僅 26.3 / Paper 26.3 world clock API: pause or speed up time per world (day length), frozen-time lobbies, intercept /time and night skips with ClockTimeSkipEvent, and handle dimensions without a clock (the Nether); 26.3 onlyVotes: 0GitHub stars: 3
- Paper Display EntitiesPaper Display 實體:TextDisplay 全息字、ItemDisplay/BlockDisplay 展示與插值動畫,不用盔甲座或封包;非持久化實體+區塊載入時重建、以 PDC 標記清掉重複、只給單一玩家看(setVisibleByDefault+showEntity)、Folia 相容排程 / Paper display entities: TextDisplay holograms, ItemDisplay / BlockDisplay showcases and interpolated animations without armor stands or packets; non-persistent entities rebuilt on chunk load, PDC tags to remove duplicates, per-player holograms (setVisibleByDefault + showEntity), Folia-compatible schedulingVotes: 0GitHub stars: 3
- Paper Folia SchedulerPaper/Folia 共用排程:用 RegionScheduler(位置)、EntityScheduler(實體,含 retired 回呼)、GlobalRegionScheduler(全域)、AsyncScheduler(IO)取代 BukkitScheduler,同一份程式在 Paper 與 Folia 都能跑;folia-supported、teleportAsync、延遲至少 1 tick、事件在擁有該區域的執行緒 / Paper and Folia scheduling with one code path: RegionScheduler for locations, EntityScheduler (with a retired callback) for entities, GlobalRegionScheduler for global work and AsyncScheduler for IO instead of BukkitScheduler; folia-supported, teleportAsync, delays of at least one...Votes: 0GitHub stars: 3
- Paper Chat RendererPaper 聊天格式:AsyncChatEvent+ChatRenderer(每位觀看者各自渲染、提及高亮)、AsyncChatDecorateEvent 依權限開放玩家顏色標籤(不開放 click/hover)、viewers 做頻道與忽略名單、禁言取消事件、非同步聊天執行緒規則、簽章訊息與「已修改」標記 / Paper chat formatting: AsyncChatEvent + ChatRenderer (per-viewer rendering, mention highlights), AsyncChatDecorateEvent for permission-gated player color tags (never click / hover), viewers for channels and ignore lists, mutes by cancelling, async chat thread rules, signed messages and the modified indicatorVotes: 0GitHub stars: 3
- Paper Custom AdvancementsPaper 自訂進度:以插件內附資料包放進度 JSON(自己的分頁、背景、父子關係、隱藏挑戰、獎勵),只用不帶條件的 minecraft:impossible/tick 觸發讓同一份 JSON 在 1.21.11 與 26.3 都能載入,由 Java 授予條件(AdvancementProgress#awardCriteria)、多條件做進度條、PDC 計數、PlayerAdvancementDoneEvent 改公告 / Paper custom advancements: advancement JSON in a plugin-bundled data pack (own tab, background, parents, hidden challenges, rewards), only condition-free minecraft:impossible / tick triggers so one JSON loads on 1.21.11 and 26.3, criteria awarded from Java (AdvancementProgress#award...Votes: 0GitHub stars: 3
- Paper Proxy MessagingPaper 與 BungeeCord/Velocity 代理的 plugin messaging:BungeeCord 頻道(Connect 傳送、PlayerCount、GetServers、GetServer、Forward 跨伺服器自訂訊息)、需要線上玩家當載體、回應以 CompletableFuture 配對並逾時、Velocity bungee-plugin-message-channel、轉發資料視為不可信 / Paper plugin messaging with BungeeCord / Velocity proxies: the BungeeCord channel (Connect, PlayerCount, GetServers, GetServer, Forward for cross-server messages), a connected player as carrier, responses matched to CompletableFutures with timeouts, Velocity bungee-plugin-message-ch...Votes: 0GitHub stars: 3
- Paper Resource PackPaper 伺服器資源包:在設定階段(AsyncPlayerConnectionConfigureEvent)送出並等待載入完成才進服、多個資源包、固定 UUID 與 SHA-1、ResourcePackCallback 追蹤狀態、拒絕或下載失敗時中斷連線、遊戲中重新載入與依小遊戲加掛/移除 / Paper server resource packs: send during configuration (AsyncPlayerConnectionConfigureEvent) and wait until loaded before join, multiple packs, stable UUIDs and SHA-1, ResourcePackCallback status, disconnect on decline or failure, in-game reload and per-minigame packsVotes: 0GitHub stars: 3