• 你好,Guest,欢迎回来!Nukkit-MOT BBS社区是专为Minecraft玩家和开发者提供的Nukkit-MOT平台技术论坛。Nukkit-MOT是一个多版本、内置实体AI、广泛插件兼容的我的世界服务器软件,采用Java编写,专为性能和可扩展性设计,支持插件开发和自定义功能。在Nukkit-MOT BBS,您可以轻松找到开服教程、插件开发资源和插件分享,帮助您快速搭建和管理Nukkit-MOT服务器,提升开发技能,推广您的插件。

    You can join [Discord] to get the latest notifications.
    为了避免一些意外情况,你可以【加入QQ群】来获取最新通知
  • 论坛小规模更新 | Forum Minor Update

    更新内容 | Update Content 主界面重制(Home Page Reconstruction) 英语翻译更新(English Translation Update)...
  • Plan | Player Analytics - 计划 | 玩家分析

    已安装在超过3000台服务器上! Player...
  • NukkitX

    Nukkit是一款为 Minecraft 基岩版 提供的核动力服务器软件…
  • Nukkit-MOT

    前言 Nukkit-MOT 是 Nukkit Minecraft Bedrock Edition 服务器软件的特殊版本。 它是基于 NukkitPetteriM1Edition...

MineClear -- Have fun clearing mines in the game

S
Sobadfish 提交新资源:

MineClear -- Have fun clearing mines in the game - This is a minesweeper game based on the core of Nukkit Mot.

MineClear - Mine Sweeper Game Plugin​

A mine sweeper game plugin developed for Nukkit servers, supporting custom game areas, timing functions, and game record saving.

Features​

  • ✅ Custom mine sweeper game areas
  • ✅ Game timing function
  • ✅ Game record saving
  • ✅ Automatic game reset when player leaves the area
  • ✅ Automatic game reset when player switches maps
  • ✅ Custom mine count setting
  • ✅ Beautiful game interface
...

阅读关于此资源更多信息...

  • Locked
MineClear -- Have fun clearing mines in the game

S
Sobadfish 提交新资源:

MineClear -- Have fun clearing mines in the game - This is a minesweeper game based on the core of Nukkit Mot.

MineClear - Mine Sweeper Game Plugin​

A mine sweeper game plugin developed for Nukkit servers, supporting custom game areas, timing functions, and game record saving.

Features​

  • ✅ Custom mine sweeper game areas
  • ✅ Game timing function
  • ✅ Game record saving
  • ✅ Automatic game reset when player leaves the area
  • ✅ Automatic game reset when player switches maps
  • ✅ Custom mine count setting
  • ✅ Beautiful game interface
...

阅读关于此资源更多信息...

Open Source Free Slow Development MineClear -- Have fun clearing mines in the game

S

MineClear - Mine Sweeper Game Plugin​

A mine sweeper game plugin developed for Nukkit servers, supporting custom game areas, timing functions, and game record saving.

Features​

  • ✅ Custom mine sweeper game areas
  • ✅ Game timing function
  • ✅ Game record saving
  • ✅ Automatic game reset when player leaves the area
  • ✅ Automatic game reset when player switches maps
  • ✅ Custom mine count setting
  • ✅ Beautiful game interface

Installation​

  1. Download the plugin's JAR file
  2. Put the JAR file into the server's plugins folder
  3. Restart the server
  4. The plugin will automatically generate configuration files

Command Instructions​

Create Game Area​

Use the following command to open the form for creating a game area:

/mt

In the form, you can set:

  • Room name
  • Game area width (5-20 blocks)
  • Game area height (5-20 blocks)
  • Mine count (1-50)

Delete Game Area​

Use the following command to delete the specified game area:

/mt remove <room name>

Gameplay​

  1. After creating a game area, click on the blocks in the area to start the game
  2. When clicking blocks, it will be processed according to mine sweeper rules:
    • Hit a mine: Game over, display time used
    • Hit a number: Display the number of mines around
    • Hit a blank: Automatically chain mine around blocks
  3. When all non-mine blocks are mined, the game is won, display time used and save the record

Configuration Files​

room.yml​

Stores game area configuration information, format as follows:

room:
- startX: 100
endX: 108
y: 64
startZ: 100
endZ: 108
mine: 10
levelName: world
roomName: Test Room

player.yml​

Stores player game records, format as follows:


PlayerName:
RoomName:
timeUsed: 10
lastPlayed: 1620000000000

Resource Pack​

The plugin includes a resource pack that provides textures and models needed for the mine sweeper game:

  • Mine textures and models
  • Number textures and models
  • Flag textures and models
  • Block textures and models

Permission Instructions​

  • Only OP players can use the /mt command to create and delete game areas
  • All players can participate in the mine sweeper game

Notes​

  • Game area size is recommended to be between 5x5 and 20x20
  • Mine count is recommended not to exceed 30% of the total blocks
  • The game will automatically reset when the player leaves the game area for more than 5 meters
  • The game will automatically reset when the player switches maps

Game​


View attachment 207 | View attachment 208

  • Locked
MineClear -- Have fun clearing mines in the game

S
Sobadfish 提交新资源:

MineClear -- Have fun clearing mines in the game - This is a minesweeper game based on the core of Nukkit Mot.

MineClear - Mine Sweeper Game Plugin​

A mine sweeper game plugin developed for Nukkit servers, supporting custom game areas, timing functions, and game record saving.

Features​

  • ✅ Custom mine sweeper game areas
  • ✅ Game timing function
  • ✅ Game record saving
  • ✅ Automatic game reset when player leaves the area
  • ✅ Automatic game reset when player switches maps
  • ✅ Custom mine count setting
  • ✅ Beautiful game interface
...

阅读关于此资源更多信息...

  • Locked
MineClear -- Have fun clearing mines in the game

S
Sobadfish 提交新资源:

MineClear -- Have fun clearing mines in the game - This is a minesweeper game based on the core of Nukkit Mot.

MineClear - Mine Sweeper Game Plugin​

A mine sweeper game plugin developed for Nukkit servers, supporting custom game areas, timing functions, and game record saving.

Features​

  • ✅ Custom mine sweeper game areas
  • ✅ Game timing function
  • ✅ Game record saving
  • ✅ Automatic game reset when player leaves the area
  • ✅ Automatic game reset when player switches maps
  • ✅ Custom mine count setting
  • ✅ Beautiful game interface
...

阅读关于此资源更多信息...

FakeInventories

lt_name 提交新资源:

FakeInventories - Easily create fake inventories that players can interact with.

Fake Inventories

Easily create fake inventories that players can interact with.

Download

Usage

1. Add Dependency in plugin.yml

depend:
  - FakeInventories

2. Get Service

public void onEnable() {
    RegisteredServiceProvider<FakeInventories> provider =
        getServer().getServiceManager().getProvider(FakeInventories.class);

    if (provider == null || provider.getProvider() == null) {...

阅读关于此资源更多信息...

Open Source FakeInventories

lt_name

Fake Inventories

Easily create fake inventories that players can interact with.

Download

Usage

1. Add Dependency in plugin.yml

depend:
  - FakeInventories

2. Get Service

public void onEnable() {
    RegisteredServiceProvider<FakeInventories> provider =
        getServer().getServiceManager().getProvider(FakeInventories.class);

    if (provider == null || provider.getProvider() == null) {
        getLogger().error("FakeInventories not found!");
        getServer().getPluginManager().disablePlugin(this);
        return;
    }

    FakeInventories fakeInventories = provider.getProvider();
}

3. Create Fake Inventory

Single Chest (27 slots):

ChestFakeInventory inventory = new ChestFakeInventory();
// or with custom title
ChestFakeInventory inventory = new ChestFakeInventory(null, "Custom Title");

Double Chest (54 slots):

DoubleChestFakeInventory inventory = new DoubleChestFakeInventory();
// or with custom title
DoubleChestFakeInventory inventory = new DoubleChestFakeInventory(null, "Custom Title");

Hopper (5 slots):

HopperFakeInventory inventory = new HopperFakeInventory();
// or with custom title
HopperFakeInventory inventory = new HopperFakeInventory(null, "Custom Title");

4. Set Items

inventory.setItem(0, Item.get(Item.DIAMOND));
inventory.setItem(1, Item.get(Item.GOLD_INGOT, 0, 64));

5. Add Event Listener

inventory.addListener(event -> {
    Player player = event.getPlayer();
    SlotChangeAction action = event.getAction();

    int slot = action.getSlot();
    Item sourceItem = action.getSourceItem();  // item before change
    Item targetItem = action.getTargetItem();  // item after change

    // Cancel the action (prevent item modification)
    event.setCancelled();

    // Handle click logic
    player.sendMessage("You clicked slot " + slot);
});

6. Show to Player

player.addWindow(inventory);

Complete Example

public class MyPlugin extends PluginBase {

    public void openMenu(Player player) {
        ChestFakeInventory menu = new ChestFakeInventory(null, "My Menu");

        // Set menu items
        menu.setItem(0, Item.get(Item.DIAMOND).setCustomName("Option 1"));
        menu.setItem(1, Item.get(Item.EMERALD).setCustomName("Option 2"));
        menu.setItem(2, Item.get(Item.GOLD_INGOT).setCustomName("Option 3"));

        // Handle clicks
        menu.addListener(event -> {
            event.setCancelled(); // Prevent taking items

            Player p = event.getPlayer();
            int slot = event.getAction().getSlot();

            switch (slot) {
                case 0:
                    p.sendMessage("Selected Option 1");
                    break;
                case 1:
                    p.sendMessage("Selected Option 2");
                    break;
                case 2:
                    p.sendMessage("Selected Option 3");
                    break;
            }

            p.removeWindow(event.getInventory()); // Close menu
        });

        player.addWindow(menu);
    }
}

Maven Dependency

    <repositories>
        <repository>
            <id>repo-lanink-cn</id>
            <url>https://repo.lanink.cn/repository/maven-public/</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>com.nukkitx</groupId>
            <artifactId>fakeinventories</artifactId>
            <version>1.0.3-MOT-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>

NewTipsVariables

stevei5mc
stevei5mc 升级了 NewTipsVariables 的新版本:

1.1.0

1.1.0


注意事项

  1. 从版本 1.0.1 配置文件的自动更新不会受到配置文件的控制,配置文件如果有新的内容将会自动执行更新
  2. 从版本 1.0.1 起会对配置文件的版本号有异常的配置文件进行重置,在重置时会对旧配置文件进行备份
  3. 不要随意修改配置文件的版本号,否则配置文件的更新机制所带来的后果需要自负
  4. 建议备份好已经配置好的配置文件,以便在配置文件自动更新时出现问题可以及时恢复

更新内容

  1. 删除代码中无用的参数 < ea296d7c >
  2. 调整并精简部分代码 <...

阅读此次升级的详细信息...

Filter

Latest threads Latest resources Last post in last

Members online

No members online now.

Forum statistics

Threads
75
Messages
139
Members
101
Latest member
AHCK