AntiSlime
Revents slimes from spawning around certain blocks. for minecraft 1.2.5
AntiSlime
AntiSlime Plugin
A Minecraft (Bukkit) 1.2.5 plugin that prevents slimes from spawning around certain blocks.
Features
- Blocks slime spawning in a 10x10 block area around a certain type of block (default is bedrock) - Ability to set a custom block type that will function as an "anti-slime" block - Automatic removal of slimes that appear in protected areas - Simple command system for managing the plugin - Ability to create an anti-slime block directly via command (admin only) - Protection works permanently even after server restarts - Ability to restore all protective blocks with a single command
Installation
1. Download the `SlimeBlock.jar` file from the `dist/` directory 2. Copy the file to the `plugins/` directory on your Bukkit server 3. Restart the server or use a plugin manager to load the plugin 4. Done!
Usage
Slime Protection
1. Place a bedrock block where you want to create a slime-free zone (requires creative mode) 2. OR use the command `/slimeblock create` to create a block at your position (requires admin permissions) 3. OR use the command `/slimeblock set x y z` to create a block at specific coordinates 4. Slimes will now not spawn in the 10x10 block area around this block 5. If you destroy the block, the protection in this area will be removed 6. All blocks are saved to the configuration file and restored upon server restart
Commands
- `/slimeblock` - Displays basic help - `/slimeblock info` - Displays information about the plugin - `/slimeblock material` - Displays the currently set material for anti-slime blocks - `/slimeblock material [NAME]` - Sets a new material for anti-slime blocks (requires `slimeblock.admin` permission) - `/slimeblock create` - Creates an anti-slime block at the player's position (requires `slimeblock.admin` permission) - `/slimeblock set x y z [world]` - Creates an anti-slime block at the specified coordinates (requires `slimeblock.admin` permission) - `/slimeblock restore` - Restores all anti-slime blocks that may have been destroyed (requires `slimeblock.admin` permission)
Permissions
- `slimeblock.use` - Allows using basic commands of the plugin (default: everyone) - `slimeblock.admin` - Allows changing plugin settings and creating blocks (default: operators)
Configuration
The plugin automatically creates a configuration file upon first launch. In the `plugins/SlimeBlock/config.yml` file, you can set:
```yaml anti_slime_material: BEDROCK anti_slime_blocks: world: - "100,64,200" - "150,65,250" world_nether: - "50,40,50" ```