Introduction
There are a lot of minigames out in the world, where a block gets modified instantly or after time when a player steps on them. For example a blue concrete block turns red direct after a player steps on, and vanish 4 seconds later. The goal for the players is to stay as long as possible on the remaining blocks until they fall down. This plugin delivers only a mechanic for those kind of games.
Features
- Limit the modification e.g. to a material, a region, or to players having a specific permission etc.
- Multiple transitions (e.g. blue concrete => yellow concrete => red concrete => air) with different timers
- Multiple (non-overlapping) rules e.g. for different materials
- Filter for worlds can be set by regex, so it is compatible with plugins for dynamic world creation and destroying
- Dynamic BoundingBox size, so a player cannot hook on a block without triggering it
- Play a sound when a block gets modified
- Full featured API
- Custom events for a Gaming Framework to count modifications initiated by each player
- Detailed documentation as GitHub Wiki
Example
Code (Text):
rules:
ConcreteBlue:
fromMaterial: BLUE_CONCRETE
toMaterial: RED_CONCRETE
lifetime: 1
points: 1
continueModify: true
ConcreteRed:
fromMaterial: RED_CONCRETE
lifetime: 40
sound: BLOCK_STONE_BREAK
listener: Cascade
How to use
We assume the worldname you are using is "world" (which is the default name for new servers)
- Place the plugin in the server's plugin folder and restart the server
- Enter "hotblocks enable world" on the server console
- Log into the server with your player and place a blue concrete block
- Jump onto this block
As a result you will see that the blue concrete block will turn red and then vanishes.
This is only an example you can use with the default settings. You are free to define your own rules.
Documentation
Please see our GitHub Wiki at
https://github.com/Kirastur/HotBlocks/wiki
Support
For support please contact us as discord
https://discord.gg/MBJjqUHQHR