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
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
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
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
Fake Inventories
Easily create fake inventories that players can interact with.
Download
Usage
1. Add Dependency in plugin.yml
depend: - FakeInventories2. Get Service
public void onEnable() { RegisteredServiceProvider<FakeInventories> provider = getServer().getServiceManager().getProvider(FakeInventories.class); if (provider == null || provider.getProvider() == null) {...
Easily create fake inventories that players can interact with.
depend:
- FakeInventories
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();
}
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");
inventory.setItem(0, Item.get(Item.DIAMOND));
inventory.setItem(1, Item.get(Item.GOLD_INGOT, 0, 64));
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);
});
player.addWindow(inventory);
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);
}
}
<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>
1.1.0
注意事项
- 从版本
1.0.1配置文件的自动更新不会受到配置文件的控制,配置文件如果有新的内容将会自动执行更新- 从版本
1.0.1起会对配置文件的版本号有异常的配置文件进行重置,在重置时会对旧配置文件进行备份- 不要随意修改配置文件的版本号,否则配置文件的更新机制所带来的后果需要自负
- 建议备份好已经配置好的配置文件,以便在配置文件自动更新时出现问题可以及时恢复
更新内容
- 删除代码中无用的参数 < ea296d7c >
- 调整并精简部分代码 <...
FireworkShow Plugin
A Nukkit plugin that creates spectacular automated firework displays in your Minecraft Bedrock Edition server.
Features
- Automated Firework Shows: Create stunning firework displays that run automatically in specified worlds
- Multi-World Support: Configure different firework shows for different worlds
- Customizable Positions: Set multiple spawn positions for fireworks in each world
-...
FireworkShow Plugin
A Nukkit plugin that creates spectacular automated firework displays in your Minecraft Bedrock Edition server.
Features
- Automated Firework Shows: Create stunning firework displays that run automatically in specified worlds
- Multi-World Support: Configure different firework shows for different worlds
- Customizable Positions: Set multiple spawn positions for fireworks in each world
-...
A Nukkit plugin that creates spectacular automated firework displays in your Minecraft Bedrock Edition server.
fireworkshow.admin (default: op)FireworkShow-3.0.0-SNAPSHOT.jar from releasesplugins folderconfig.yml fileThe plugin creates a config.yml file with the following structure:
configVersion: 4
# Global default settings (shared by all worlds)
global:
spawnTick: 40 # Ticks between spawns (20 = 1 second)
fireworkFlightDuration: 1 # Flight duration (1-3 recommended)
muteSpawnSound: false # Mute spawn sound
muteExplodeSound: false # Mute explosion sound
splitGroups: false # Alternate between position groups
# Per-world configurations
worlds:
lobby:
enabled: true
positions:
- {x: -12, y: 87, z: 29}
- {x: -29, y: 87, z: -12}
# ... more positions
spawnTick: Time between firework spawns (in ticks, 20 ticks = 1 second)fireworkFlightDuration: How long fireworks fly before exploding (1-3 recommended)muteSpawnSound: Whether to mute the firework launch soundmuteExplodeSound: Whether to mute the firework explosion soundsplitGroups: Split positions into alternating groups for varied patternsEach world can override global settings and has:
enabled: Whether fireworks are active in this worldpositions: List of coordinates where fireworks spawnAll commands use the base command /fireworkshow or /fws:
/fws help - Show command help/fws reload - Reload configuration/fws list - List all configured worlds/fws enable <world> - Enable fireworks in a world/fws disable <world> - Disable fireworks in a world/fws pos add <world> [x y z] - Add a firework spawn position/fws pos remove <world> <index> - Remove a position by index/fws pos list <world> - List all positions in a world/fws pos clear <world> - Clear all positions in a world/fws set <world> <setting> <value> - Set world-specific setting/fws global <setting> <value> - Set global settingspawnTick - Time between spawns (integer)flightDuration - Flight duration (integer, 1-3)muteSpawn - Mute spawn sound (true/false)muteExplode - Mute explosion sound (true/false)splitGroups - Use alternating groups (true/false) /fws pos add lobby 0 80 0
/fws pos add lobby 10 80 10
/fws enable lobby
/fws set lobby spawnTick 20
/fws set lobby flightDuration 2
/fws set lobby muteSpawn true
/fws set lobby muteExplode true
splitGroups option can help distribute load across multiple ticksfireworkshow.admin - Access to all plugin commands (default: op)The plugin supports multiple languages:
en_US)zh_CN)Language is automatically detected based on your server's language setting.